postgresql install problem - is package broken?

adi zebic azebic at gmail.com
Wed Jan 26 12:03:41 UTC 2005


Postgresql server was installed on my ubuntu warty. For some reason I
do apt-get --purge remove postrgesql.... Today, I try to install
phpgroupware with postgresql support, so I'm trying to install
postgresql again, and here is the log of what 's hapening whet apt-get
install postgresql
#######################begin log##########################################
Preconfiguring packages ...
Sélection du paquet postgresql précédemment désélectionné.
(Lecture de la base de données... 59922 fichiers et répertoires déjà installés.)
Dépaquetage de postgresql (à partir de
.../postgresql_7.4.5-3ubuntu0.1_i386.deb) ...
Paramétrage de postgresql (7.4.5-3ubuntu0.1) ...

Creating config file /etc/postgresql/postmaster.conf with new version
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /var/lib/postgres/data... ok
creating directory /var/lib/postgres/data/base... ok
creating directory /var/lib/postgres/data/global... ok
creating directory /var/lib/postgres/data/pg_xlog... ok
creating directory /var/lib/postgres/data/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /var/lib/postgres/data/base/1... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ok
setting privileges on built-in objects... ok
creating information schema... ok
vacuuming database template1... ok
copying template1 to template0... ok

Success. The database server should be started automatically.
If not, you can start the database server using:

    /etc/init.d/postgresql start

Creating config file /etc/postgresql/postgresql.conf with new version

#################################################################
chmod: échec d'obtention des attributs de
`/etc/postgresql/postgresql.env': Aucun fichier ou répertoire de ce
type
################TRANSLATE########################################
chmod: can't obtain attributs from /etc/postgresql/postgresql.env:
File or folder does'nt exists
#################END TRANSLATE##################################
postgresql failed to start. /usr/sbin/invoke-rc.d is probably broken.
Stopping PostgreSQL database server: postmasterThe programs
"postmaster" and "psql" are needed by pg_ctl but
were not found in the directory "/usr/lib/postgresql/bin".
Check your installation.
.
Starting PostgreSQL database server: postmaster(FAILED)
ERROR: The programs "postmaster" and "psql" are needed by pg_ctl but
were not found in the directory "/usr/lib/postgresql/bin".
Check your installation.
#####################END LOG####################################

Check your installation... I would like, but how to find that binary
"postmater" or "psql" if not in package.
Do you have some issue about my problem...

Thanks a lot

ADI




More information about the ubuntu-users mailing list