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 |