Lists: | pgsql-general |
---|
From: | Ying Lu <ying_lu(at)cs(dot)concordia(dot)ca> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | About "lock file postmaster.pid" Error , cannot setup postmaster |
Date: | 2004-08-31 19:41:36 |
Message-ID: | 4134D470.40607@cs.concordia.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Hello all,
I met a problem about cannot start postmaster.
The situation I met is that I was running postmaster, but because of the
server closed all my konsole. As a result, I did not shutdown postmaster
successfully. Next time, when I tried to run
postmaster -D /usr/local/postgresql/data, I got the following error:
FATAL: lock file "/usr/local/postgresql/data/postmaster.pid" already exists
Thanks in advance,
Emi
From: | "gnari" <gnari(at)simnet(dot)is> |
---|---|
To: | "Ying Lu" <ying_lu(at)cs(dot)concordia(dot)ca>, "pgsql-general" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: About "lock file postmaster.pid" Error , cannot setup postmaster |
Date: | 2004-08-31 19:55:34 |
Message-ID: | 002201c48f94$7a7f9590$0100000a@wp2000 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
From: "Ying Lu" <ying_lu(at)cs(dot)concordia(dot)ca>
> The situation I met is that I was running postmaster, but because of the
> server closed all my konsole. As a result, I did not shutdown postmaster
> successfully. Next time, when I tried to run
> postmaster -D /usr/local/postgresql/data, I got the following error:
>
> FATAL: lock file "/usr/local/postgresql/data/postmaster.pid" already
exists
did you try to rm /usr/local/postgresql/data/postmaster.pid ?
gnari
From: | Ying Lu <ying_lu(at)cs(dot)concordia(dot)ca> |
---|---|
To: | gnari <gnari(at)simnet(dot)is> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: About "lock file postmaster.pid" Error , cannot setup |
Date: | 2004-08-31 20:08:47 |
Message-ID: | 4134DACF.4060402@cs.concordia.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Thank you gnari,
I deleted the postmaster.pid and /tmp/.s.PGSQL.5432.lock files; now it
works :)
gnari wrote:
>From: "Ying Lu" <ying_lu(at)cs(dot)concordia(dot)ca>
>
>
>>The situation I met is that I was running postmaster, but because of the
>>server closed all my konsole. As a result, I did not shutdown postmaster
>>successfully. Next time, when I tried to run
>>postmaster -D /usr/local/postgresql/data, I got the following error:
>>
>>FATAL: lock file "/usr/local/postgresql/data/postmaster.pid" already
>>
>>
>exists
>
>did you try to rm /usr/local/postgresql/data/postmaster.pid ?
>
>gnari
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>