Comment 20 for bug 193696

kanenk (kanenk) wrote :

Good evening,

I have some problems with postgresql-8.3 too. A fresh install of ubuntu 8.04 server Beta1 from zero. I followed the installation process and checked postgresql during the installation. All seemed to be okay.
Installation finished, postgresql does not appear in a 'ps -edf' list. Nothing appears in the /etc/postgres/ and /var/log/postgres/ folders.
The user postgres and group postgres exists in /etc/passwd. When I launch /etc/init.d/postgresql-8.3, nothing happens.
I have the same problem even after a "dpkg-reconfigure postgresql" or after downloaded the package from ubuntu site and a "dpkg -i postgresql_8.3.1-1_all.deb".
I have :

psql -l -p 5432
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

I have no ~/.postgresqlrc file

The file /etc/postgresql-common/user_clusters is all commented

And : "readlink /usr/bin/psql" prints
../share/postgresql-common/pg_wrapper

me@server:~$ sudo /etc/init.d/postgresql-8.3 stop
me@server:~$ ps -edf | grep postgres
me 30935 30782 0 01:24 pts/0 00:00:00 grep postgres
me@server:~$ sudo /etc/init.d/postgresql-8.3 start
me@server:~$ ps -edf | grep postgres
me 30939 30782 0 01:24 pts/0 00:00:00 grep postgres
me@server:~$ psql
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Thank you for the help.