« Return to Thread: launchd question

Re: launchd question

by Axel Luttgens :: Rate this Message:

Reply to Author | View in Thread

On 28/02/07 13:32, Christopher Hunt wrote:

> Really, the last update this time. :-)
>
> I managed to re-direct the output of stderr to a file via launchd  
> (very option that one):
>
> 2007-02-28 22:38:10.503 osascript[9069] CFLog (0): CFMessagePort:  
> bootstrap_register(): failed 1100 (0x44c), port = 0x2103, name =  
> 'Processes-0.35782657'
> See /usr/include/servers/bootstrap_defs.h for the error codes.
> 2007-02-28 22:38:10.511 osascript[9069] CFLog (99):  
> CFMessagePortCreateLocal(): failed to name Mach port  
> (Processes-0.35782657)
> CFMessagePortCreateLocal failed (name = Processes-0.35782657 error = 0)
>
> The error code 1100 equates to BOOTSTRAP_NOT_PRIVILEGED. This is all  
> that I could find on this error:
>
> ***
> A deactivated bootstrap namespace allows you to look up services, but  
> it does not allow you to register new services. Any attempt to  
> register a service in a deactivate namespace will fail with an error  
> BOOTSTRAP_NOT_PRIVILEGED (1100). Similarly, any high-level wrapper  
> that registers a service will fail. For example,  
> CFMessagePortCreateLocal will print an error message and return NULL  
> if you call it after your namespace has been deactivated.
> ***
>
> Any ideas?

Where have you saved the plist?
In /S/L/LaunchDaemons?
In /L/LaunchDaemons?
Or in ~/L/LaunchDaemons, where ~ denotes the home directory of the user
who is running application "World" (the one to be quit at 00:00)?

If the latter, the plist should automatically be read and loaded when
the user logs in, within the correct context.

HTH,
Axel

_______________________________________________
MacOSX-admin mailing list
MacOSX-admin@...
http://www.omnigroup.com/mailman/listinfo/macosx-admin

 « Return to Thread: launchd question