problems running psql

From: Marcos Lloret <marcos(at)second(dot)ival(dot)es>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: problems running psql
Date: 2000-06-07 09:22:34
Message-ID: 393E145A.26355E71@second.ival.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

[marcos(at)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(at)ival(dot)es

Browse pgsql-general by date

  From Date Subject
Next Message Horák Daniel 2000-06-07 09:47:20 RE: Running PostgreSQL 7.0 on WinNT w/cygwinb20 and cyg win-ipc
Previous Message Marcos Lloret 2000-06-07 08:49:35 'copy-and-paste' old database