Re: Post-Reboot Issue: Postmaster Not Accessible - Mailing list pgsql-general

From Rich Shepard
Subject Re: Post-Reboot Issue: Postmaster Not Accessible
Date
Msg-id Pine.LNX.4.64.0702280839370.16174@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Post-Reboot Issue: Postmaster Not Accessible  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Wed, 28 Feb 2007, Tom Lane wrote:

> Stop the postmaster, remove the bogus socket file by hand, start the
> postmaster.

Tom,

   That did it.

> I imagine that if you check the postmaster log you will notice a bleat
> near the beginning about failing to open the socket file (because of the
> pre-existence of the root-owned file).  It would come up anyway as long as
> it could establish a TCP listen socket.

   I see.

> Offhand I would guess that things got this way because of some errant
> tmp-cleaning script; perhaps the socket file got chown'd to root sometime
> in the past during the previous postmaster's life.

   Something certainly did the wrong thing. Now that I know I can safely
delete the socket file I'm prepared if this ever happens again.

Thank you,

Rich

--
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Post-Reboot Issue: Postmaster Not Accessible
Next
From: Kris Jurka
Date:
Subject: Re: PostgreSQL 8.2.3, Jboss 4.0.3 and postgresql-8.2-504.jdbc4