i am using postgres 9.2 on redhat 6
i'm a little confused as to why the following is happening with postgres
when postgres is running, performing "service postgresql92-postgresql status" as root results in "postmaster (pid 1379) is running..." (as expected)
as postgres run "pg_ctl stop -D $PGDATA -ms" to stop postgres
as postgres run "pg_ctl -D $PGDATA start" to start postgres (postgres is now running correctly)
now as root run "service postgresql92-postgresql status", output is now "postmaster dead but pid file exists"
my confusion is why am i getting the message in step 4 when postgres is running correctly? am i stopping/starting postgres incorrectly?
thanks Dave
this has been answered for me over at dba.stackexchange, this thread explains whats was going on
https://dba.stackexchange.com/questions/98117/postmaster-dead-but-pid-file-exists/98122#98122
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.