Re: Re: [GENERAL] postmaster does not start up - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: Re: [GENERAL] postmaster does not start up
Date
Msg-id 200012130559.AAA07670@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: [GENERAL] postmaster does not start up  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-admin
> Lamar Owen wrote:
>   >Tom Lane wrote:
>   >> Hmm.  Where are you invoking psql from, and is it the same one you
>   >> compiled yourself?
>   >
>   >> ISTR that the Debian RPMs use a nonstandard location of the pgsql Unix
>   >> socket file, which means that an RPM psql will NOT talk to a standard
>   >> compilation of the postmaster, nor vice versa.
>   >
>   >Um, the Debian packages are .deb's, not RPM's.  Is the standard socket
>   >location not /tmp? That's where the RPM's put it.  I don't know about
>   >the DEB's -- ask Oliver.
>
> No. /var/run/postgresql - it was necessary to move them, because long-open
> sockets were being deleted from /tmp (it is, after all, a _temporary_
> directory) by tmpreaper.

/var/run seems like a good spot for it.  How do you make sure clients
see it?  Do you have a symlink in /tmp?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-admin by date:

Previous
From: esandquist@ihms.net
Date:
Subject:
Next
From: "Michael B. Babakov"
Date:
Subject: Re: users work now with PostgreSQL