Am 30.03.2010 15:31, schrieb Xi Shen: > hi, > > my system is gentoo amd64, postgresql 8.2.14. the postgresql service > can start without any error; but when i try to stop it, it reports > failure. the process of postgresql are actually terminated. if i try > to stop the service again, i got > > "start-stop-daemon: fopen `/var/lib/postgresql/data/postmaster.pid': > No such file or direc" > > i will have to use zap to reset the service status. how to fix this? > >
I guess it is just a timeout issue. Take a look at the stop()-function in /etc/init.d/postgresql. It calls start-stop-daemon [...] --retry -TERM/${WAIT_FOR_DISCONNECT}/-INT/${WAIT_FOR_CLEANUP}/-QUIT [...] I have the same issue with a virtual server. At the moment, I just ignore it. I guess it would be safer to increase the timeout somehow. Hope this helps, Florian Philipp
signature.asc
Description: OpenPGP digital signature