Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] postgresql 8.2.14 cannot stop
Date: Tue, 30 Mar 2010 21:15:02
Message-Id: 4BB268CB.8020301@f_philipp.fastmail.net
In Reply to: [gentoo-user] postgresql 8.2.14 cannot stop by Xi Shen
1 Am 30.03.2010 15:31, schrieb Xi Shen:
2 > hi,
3 >
4 > my system is gentoo amd64, postgresql 8.2.14. the postgresql service
5 > can start without any error; but when i try to stop it, it reports
6 > failure. the process of postgresql are actually terminated. if i try
7 > to stop the service again, i got
8 >
9 > "start-stop-daemon: fopen `/var/lib/postgresql/data/postmaster.pid':
10 > No such file or direc"
11 >
12 > i will have to use zap to reset the service status. how to fix this?
13 >
14 >
15
16 I guess it is just a timeout issue. Take a look at the stop()-function
17 in /etc/init.d/postgresql. It calls
18 start-stop-daemon [...]
19 --retry -TERM/${WAIT_FOR_DISCONNECT}/-INT/${WAIT_FOR_CLEANUP}/-QUIT [...]
20
21 I have the same issue with a virtual server. At the moment, I just
22 ignore it. I guess it would be safer to increase the timeout somehow.
23
24 Hope this helps,
25 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature