Re: Tiger: wotaskd exits code 1
Re: Tiger: wotaskd exits code 1
- Subject: Re: Tiger: wotaskd exits code 1
- From: Tom Woteki <email@hidden>
- Date: Thu, 12 May 2005 10:38:10 -0400
Thanks for the help. Please see below. Tom On May 11, 2005, at 6:51 PM, Sacha Mallais wrote: Under the kitty before Tiger, you had to have the setuid bit of wotaskd set: -rwsr-xr-x 1 appserve appserve 10K 13 Sep 02:46:27 2003 wotaskd ^ this "s" means setuid
Here is my current setup: drwxr-xr-x 6 appserve appserve 204 May 10 19:08 wotaskd.woa -rwsr-sr-x 1 appserve 11051 Mar 29 00:24 wotaskd Can you launch it from the command line? Can you launch it as the appserver user?
Yes I can launch from the command line (I get no error exit code anyway) but this does not make launchd aware of it. With the above settings I can execute: sudo ./wotaskd -WOPort 34567 I can then access wotaskd at the specified port. you can look in /Library/LaunchAgents or /Library/LaunchDaemons and see the XML startup file for wotaskd. Try posting that.
In the following, user is root and launchd launches wotaskd successfuly. If I change user to "appserver" and group to "appserverusr" wotaskd exits with error code 1 and launchd gives up after 10 attempts.
<?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>Disabled</key> <false/> <key>GroupName</key> <string>wheel</string> <key>Label</key> <string>com.webobjects.wotaskd</string> <key>OnDemand</key> <false/> <key>Program</key> <string>/System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd</string> <key>ProgramArguments</key> <array> <string>wotaskd</string> <string>-WOPort</string> <string>1085</string> </array> <key>ServiceIPC</key> <false/> <key>UserName</key> <string>root</string> </dict> </plist>
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden