Re: refdbctl do not stop deamon
Wei-Wei Guo <[email protected]> Mon, 11 May 2009 16:53:29 +0800
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
Markus Hoenicka 写道: > Thanks for running these tests. Both look ok, so I'm entirely clueless > why the script fails on your box. refdbctl uses two shell commands to > isolate the process ID from the ps output and from the PID file. Maybe > one of these commands fails on your box. Could you please test those > shell commands manually? You'll have to replace two variables with their > real values, like this (using the values "2908" as the PID and > "/var/run/refdbd.pid" as the full path of the PID file in this example): > > cat /var/run/refdbd.pid|sed 's/^ *\([0-9]*\).*/\1/' > > and > > ps ax | grep -i "^ *2908.*[r]efdbd" | sed 's/^ *\([0-9]*\).*/\1/' > > Both commands should return the process ID, i.e. "2908" in this example. > Is this what you mean? $ ls /var/run/refdb* /var/run/refdbd.pid $ ps -C refdbd PID TTY TIME CMD 2904 ? 00:00:00 refdbd $ cat /var/run/refdbd.pid|sed 's/^ *\([0-9]*\).*/\1/' 2904 $ ps ax | grep -i "^ *2904.*[r]efdbd" | sed 's/^ *\([0-9]*\).*/ 1/' 2904 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