Search Postgresql Archives

Re: Postgres does not start, gives no error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
It says,
pg_ctl: 5432: not found
postmaster successfully started

But when I check the status, by using the command pg_ctl status,
Its says,
pg_ctl: postmaster or postgres is not running

Any idea when the postmaster.pid file is created?, because after giving
the start command I cannot see the .pid file in the directory it is
supposed to be.
Logically, I am assuming that, when the start command is given, pg_ctl
start, the postmaster.pid file gets created.

But this does not happen in my case, is there a way to debug, whether
any script has gotten corrupted?



-----Original Message-----
From: Joshua Drake [mailto:jd@xxxxxxxxxxxxxxxxx] 
Sent: Wednesday, September 03, 2008 3:13 PM
To: Akhtar Yasmin-B05532
Cc: pgsql-general@xxxxxxxxxxxxxx
Subject: Re: [GENERAL] Postgres does not start, gives no error

On Wed, 3 Sep 2008 14:58:45 -0700
"Akhtar Yasmin-B05532" <B05532@xxxxxxxxxxxxx> wrote:

>  
> Hi,
> 
> I am using the following command to start the database:
> 
> pg_ctl start -p 5432 -D /home/data/www/pg7/data
> 
> Yes I know, 7.2 is a very old version, but that's what we have to work

> with for now..

So what does your logging say? 

Joshua D. Drake


--
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/ Donate
to the PostgreSQL Project: http://www.postgresql.org/about/donate




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux