Please help me wat to do to connect to the database - Mailing list pgsql-bugs

From praveenkumar
Subject Please help me wat to do to connect to the database
Date
Msg-id 20130526161345.12161.qmail@f5mail-224-129.rediffmail.com
Whole thread Raw
List pgsql-bugs

HI iam unable to connect to my postgres server im getting below error

 psql -U postgres
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
 and 

/etc/init.d/postgresql start
Starting PostgreSQL ... from
Password:
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
You have new mail.
Sourcing /userhome/postgres/.profile-EIS.....
pg_ctl: another postmaster may be running; trying to start postmaster anyway
pg_ctl: could not start postmaster
Examine the log output.
PostgreSQL failed to start




Thanks & Regards,
PraveenKumar



Get your own FREE website and domain with business email solutions, click here

pgsql-bugs by date:

Previous
From: stronny@celestia.ru
Date:
Subject: BUG #8177: initscript should create /var/run/postgresql
Next
From:
Date:
Subject: Postgres help pls