From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 12 Apr 2002 09:38:09 +0600 From: Konstantin Timoshenko To: sisyphus@altlinux.ru Subject: Re: [sisyphus] postgresql =?KOI8-R?B?ydo=?= sisyphus, =?KOI8-R?B?1Q==?= =?KOI8-R?B?09TBzs/Xy8E/?= Message-Id: <20020412093809.15a6172f.kt@tura.ru> In-Reply-To: <3CB605BF.1010706@altlinux.com> References: <3CB605BF.1010706@altlinux.com> Organization: ComTel X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i586-alt-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: On Fri, 12 Apr 2002 01:53:03 +0400 Anton Farygin wrote: > Вот - последняя версия PostgreSQL: > Building Dependency Tree... Done > The following NEW packages will be installed: > postgresql > 0 packages upgraded, 1 newly installed, 0 to remove(replace) and 0 not > upgraded. > Need to get 0B/481kB of archives. After unpacking 1328kB will be used. > Executing RPM (/bin/rpm -Uv --replacepkgs -h --fancypercent)... > Preparing... ########################################### > [100%] > 1: postgresql ########################################### > [100%] > [root@riderbook root]# apt-get install postgresql-server > Processing File Dependencies... Done > Reading Package Lists... Done > Building Dependency Tree... Done > The following extra packages will be installed: > mt-st > The following NEW packages will be installed: > mt-st postgresql-server > 0 packages upgraded, 2 newly installed, 0 to remove(replace) and 0 not > upgraded. > Need to get 0B/1695kB of archives. After unpacking 3735kB will be used. > Do you want to continue? [Y/n] > Executing RPM (/bin/rpm -Uv --replacepkgs -h --fancypercent)... > Preparing... ########################################### > [100%] > 1: mt-st ########################################### > [ 50%] > 2: postgresql-server ########################################### > [100%] > [root@riderbook root]# service postgresql start > Adjusting environment for postgresql: > [ OK ] > Creating default database: The files belonging to this database system > will be o > wned by user "postgres". > This user must also own the server process. > > Fixing permissions on existing directory > /var/lib/pgsql-root/var/lib/pgsql/data. > .. ok > creating directory /var/lib/pgsql-root/var/lib/pgsql/data/base... ok > creating directory /var/lib/pgsql-root/var/lib/pgsql/data/global... ok > creating directory /var/lib/pgsql-root/var/lib/pgsql/data/pg_xlog... ok > creating directory /var/lib/pgsql-root/var/lib/pgsql/data/pg_clog... ok > creating template1 database in > /var/lib/pgsql-root/var/lib/pgsql/data/base/1... > rm: cannot lstat `.': Permission denied > > initdb failed. > > [FAILED] > Starting postgresql: FATAL 1: File /var/lib/pgsql/data/PG_VERSION is > missing. T > his is not a valid data directory. > > [FAILED] > ls: /var/lib/pgsql-root/tmp/.s.PGSQL.*: No such file or directory > > Это что? какая версия стояла и на какую менял можно узнать? -- Kostya. mailto:kt@tura.ru