postmaster.pid in version 7.4

Started by Dario Mariniover 22 years ago2 messagesbugs
Jump to latest
#1Dario Marini
dario.marini@st.com

My postmaster.pid is something like:

23479
/export/home1/staff/marini/pgsql/data
5432001 11703

I don't know if there is something wrong with my installation (I run
postgresql on Ultra-2 station with Solaris 6), for sure I cannot stop
postgrsql server using:

kill `cat /usr/local/pgsql/data/postmaster.pid`

as described in INSTALL file.
The right stop command should be:

kill `cat /usr/local/pgsql/data/postmaster.pid|head -1`

Best regards

Dario Marini

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Dario Marini (#1)
Re: postmaster.pid in version 7.4

Dario Marini wrote:

My postmaster.pid is something like:

23479
/export/home1/staff/marini/pgsql/data
5432001 11703

I don't know if there is something wrong with my installation (I run
postgresql on Ultra-2 station with Solaris 6), for sure I cannot stop
postgrsql server using:

kill `cat /usr/local/pgsql/data/postmaster.pid`

I've fixed the installation instructions as you suggest. At one point
this worked, but later we added more information to the pid file.
Thanks for the report.