From: | Jan Muhammad <janmuhd(at)yahoo(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | How to check whether PostgreSQL server is up and running? |
Date: | 2009-05-08 09:11:21 |
Message-ID: | 476250.40203.qm@web38704.mail.mud.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi,
After having various error message in starting PostgreSQL version 8.2.11; finally uninstalled/deleted it. Now trying my luck on 8.3.7, but things haven't changed for me.
When I try to check that postmaster server is running or not? I get the following error:
$ postmaster -D /usr/local/pgsql/data
LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
.......................................................................
Similarly when I try to start postgres server with
[postgres(at)callisto postgresql-8.3.7]$ pg_ctl -D pg8 start
postgres cannot access the server configuration file "/usr/local/pgsql/postgresql-8.3.7/pg8/postgresql.conf": No such file or directory
server starting
Have no idea what's wrong and where the problem is? Do I need to change/edit some of Environment variable settings or what? Or should I reinstall PostgreSQL with Yum?? Or should give up using PostgreSQL and switch to some other DB like MySQL etc... No idea what to do.....?
Thanks in advance for help.
-Jan Muhammad
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Monnerie | 2009-05-08 10:03:04 | Re: How to check whether PostgreSQL server is up and running? |
Previous Message | Andy Shellam | 2009-05-08 06:26:15 | Re: Getting image from a DB |