problems running psql - Mailing list pgsql-general

From Marcos Lloret
Subject problems running psql
Date
Msg-id 393E145A.26355E71@second.ival.es
Whole thread Raw
List pgsql-general
[marcos@patanegra bin]$ psql template
Connection to database 'template' failed.
connectDB() failed: Is the postmaster running and accepting connections
at 'UNIX Socket' on port '5432'?

this is what i get. if i do it from root or postgres user it gets the
same.

i do not why but the database server does not start as i restart the
computer.  i put this line in the /etc/inittab  file.

    pg:2345:respawn:/bin/su - postgres -c
"/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >>
/usr/local/pgsql/server.log 2>&1 < /dev/null"

if i do a ps aux | grep postgres  or  ps aux | grep postmaster    i see
nothing.

.....

i am running psql from the computer and also from a telnet session from
other computer.

-......

i have not changed the file  pg_hba.conf.. i do not know what to change



thanks in advance,


marcos
marcos@ival.es






pgsql-general by date:

Previous
From: Marcos Lloret
Date:
Subject: 'copy-and-paste' old database
Next
From: Horák Daniel
Date:
Subject: RE: Running PostgreSQL 7.0 on WinNT w/cygwinb20 and cyg win-ipc