|
From: Leif M. <le...@ta...> - 2007-02-27 05:20:00
|
Mark, There is a bug in the sh script for OSX. Please download the latest script here: http://wrapper.svn.sourceforge.net/viewvc/*checkout*/wrapper/trunk/wrapper/src/bin/sh.script.in This will be fixed in the 3.2.4 release. Cheers, Lei Mark Leone wrote: > On Mac OS 10.4.8 with Wrapper_3.2.3, I launch my app as a daemon by > typing "./RCBServer start", and it starts up properly. However, when I > try to stop it via "./RCBServer stop" I get unexpected behavior. I get > an error message on the command line saying that the daemon wasn't > running, but in fact it continues to run indefinitely. I know it's > running because it's listening for TCP connections on a high port, and > I'm able to connect to it. I can also see the connection established via > netstat. The only way I can stop the daemon is to kill the process named > wrapper. > > Here's what I get when I try to stop the daemon when it's running. It > looks like it's having trouble with the pid file. I left the PIDDIR set > to "." in wrapper.conf. After starting the daemon I see the pid file in > RCB Server/bin, and it has the pid of the process named wrapper. > > mac_mini:/Applications/Remote Clipboard/bin <username>$ ./RCBServer stop > Stopping RCBServer... > ps: args: keyword not found > ps: no valid keywords > Removed stale pid file: /Applications/Remote Clipboard/bin/./RCBServer.pid > RCBServer was not running. > mac_mini:/Applications/Remote Clipboard/bin <username>$ > |