Re: refdbctl do not stop deamon
Wei-Wei Guo <[email protected]> Mon, 11 May 2009 17:54:53 +0800
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Refdb-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/refdb-users