Re: [Refdb-users] refdbctl do not stop deamon
Status: Beta
Brought to you by:
mhoenicka
|
From: Wei-Wei G. <ww...@gm...> - 2009-05-11 09:44:30
|
Markus Hoenicka 写道: > Thanks again. Both commands work as expected. Therefore the script > should work as well. Can you still reproduce the script failure? Also, > which shell did you use for these tests, i.e. what is your login shell? > If it is not bash, you may try repeating the above tests using bash: > type "bash" at your prompt, repeat the above tests, and type exit again > to return to your login shell. If that should give different results, > try editing the first line of refdbctl (something like > "#!/usr/bin/bash") and make it point to your login shell. > I opened /usr/bin/refdbctl and happened to find the problem. the script refdbctl set PIDFILE to: PIDFILE='/var/lib/run/refdbd.pid' instead of PIDFILE='/var/run/refdbd.pid' After changing the variable, the refdbd can be stopped correctly. It seems refdbctl doesn't use the variable set in refdbdrc. Thanks for help! Best wishes, Wei-Wei |