[launchd-dev] launch_msg(): Socket is not connected error in Leopard

Arun arun.ka at gmail.com
Tue Feb 9 05:34:24 PST 2010


Hi All,

I have a setup in which when the Mac reboots, i will be launching a script
through launchd.
This daemon writes multiple plist files in /Library/LaunchAgents and tries
to load the same for all the users currently logged in.
The loading of the agents is failing with "launch_msg(): Socket is not
connected".
However if i run the script in Terminal as root user, the error does not
come.
Any idea why this is happening with launchd triggered script?

Thanks
Arun KA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-dev/attachments/20100209/d7424845/attachment.html>


More information about the launchd-dev mailing list