Re: Troubleshooting Postgres7.4

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Bobb Shields <dudomann(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Troubleshooting Postgres7.4
Date: 2005-04-21 14:39:17
Message-ID: 20050421143917.GA16183@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Apr 21, 2005 at 09:53:37AM -0400, Bobb Shields wrote:

> ps ax | grep postmaster does not return anything. I don't know what it
> should return anyways...
>
> I tried to start postgres by su'ing from root to " - postgres", and running
> postmaster. I get an error that says that the lock file already exists, and
> asks whether another instance of postmaster is already running.

Since you already confirmed that there isn't (because ps ax | grep
postmaster returned empty), you can delete the PID file mentioned in the
error message and retry.

After it's up, try the ps | grep trick again and see what it looks like,
just so you know what it should look like under normal operation.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"Endurecerse, pero jamás perder la ternura" (E. Guevara)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nigel Bishop 2005-04-21 15:25:44 PG SQL scripts
Previous Message Bobb Shields 2005-04-21 13:53:37 Re: Troubleshooting Postgres7.4