[sisyphus] postgresql из sisyphus, установка?
Anton Farygin
=?iso-8859-1?q?rider_=CE=C1_altlinux=2Ecom?=
Пт Апр 12 01:53:03 MSD 2002
Вот - последняя версия 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
Это что?
И как лечить?
Rgds,
Rider
Подробная информация о списке рассылки Sisyphus