From: | Jonathan Bartlett <johnnyb(at)eskimo(dot)com> |
---|---|
To: | Zengfa Gao <zfgao(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Lock file "/tmp/.s.PGSQL.5432.lock" already exists. |
Date: | 2003-07-14 22:12:21 |
Message-ID: | Pine.GSU.4.44.0307141511360.3520-100000@eskimo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
This is usually what happens after an unclean shutdown.
1) Make sure there are no postgres-owned processes running
2) remove the file
3) Restart PostgreSQL
Jon
On Mon, 14 Jul 2003, Zengfa Gao wrote:
> All,
>
> I am using PgSQL 7.3.1. After I application shutdown
> and restart, I can't get PgSQL restart again.
>
> Lock file "/tmp/.s.PGSQL.5432.lock" already exists.
> Is another postmaster (pid 1979) using
> "/tmp/.s.PGSQL.5432"?
> /opt/iexpress/postgresql/bin/postmaster: cannot create
> UNIX stream port
>
>
> Does anyone know what kind of operation can cause this
> error?
>
> Thanks a lot!
>
> Zengfa
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Terence Chang | 2003-07-14 22:16:36 | Are you frustrated with PostgreSQL |
Previous Message | Kathy Zhu | 2003-07-14 22:10:15 | change NAMEDATALEN to 64 |