[launchd-dev] launchd not loading for me in Leopard

Eddy Martinez fasteddy760 at gmail.com
Fri Jan 18 16:46:16 PST 2008


Nathan & Dave, thanks for the help.

Feel free to take the rest of the day off,
Eddy


On Jan 18, 2008, at 4:11 PM, Dave Zarzycki wrote:

> Eddy,
>
> Your program appears to be overloading the launchd schema for the  
> storage of private preferences. That was not supported in Tiger,  
> and that is now enforced in Leopard. Please update the code to  
> manage preferences elsewhere.
>
> Thanks!
>
> davez
>
>
> On Jan 18, 2008, at 3:16 PM, Eddy Martinez wrote:
>
>> Plist -
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http:// 
>> www.apple.com/DTDs/PropertyList-1.0.dtd">
>> <plist version="1.0">
>> <dict>
>>         <key>CustomerID</key>
>>         <string>8587928649</string>
>>         <key>Enabled</key>
>>         <true/>
>>         <key>Label</key>
>>         <string>com.devapp.AgentLauncher</string>
>>         <key>Program</key>
>>         <string>/usr/local/sbin/AgentLauncher</string>
>>         <key>ProgramArguments</key>
>>         <array>
>>                 <string>/usr/local/sbin/AgentLauncher</string>
>>         </array>
>>         <key>ServiceDescription</key>
>>         <string>devapp launcher</string>
>>         <key>ServiceIPC</key>
>>         <true/>
>>         <key>StandardErrorPath</key>
>>         <string>/tmp/agentLauncher.stderr</string>
>>         <key>StandardOutPath</key>
>>         <string>/tmp/agentLauncher.stdout</string>
>>         <key>StartCalendarInterval</key>
>>         <dict>
>>                 <key>Hour</key>
>>                 <integer>22</integer>
>>                 <key>Minute</key>
>>                 <integer>55</integer>
>>         </dict>
>>         <key>UserName</key>
>>         <string>root</string>
>>         <key>WorkingDirectory</key>
>>         <string>/tmp</string>
>>         <key>cistern</key>
>>         <string>bucket</string>
>>         <key>excluded</key>
>>         <array/>
>>         <key>finish</key>
>>         <integer>360</integer>
>>         <key>included</key>
>>         <array>
>>                 <string>/Users/eddy/Desktop</string>
>>         </array>
>>         <key>server</key>
>>         <string>server.devappdevappdevapp.com</string>
>> </dict>
>> </plist>
>>
>>
>>
>>
>> On Jan 18, 2008, at 11:52 AM, Eddy Martinez wrote:
>>
>>> Hello,
>>>
>>> I've been searching around and have not been able to find any  
>>> hints. I have a plist, pref
>>> pane based app that fires off at a preset time. With Tiger its  
>>> all good. However Leopard
>>> is failing to run the app at the scheduled time.
>>>
>>> Pasted are some errors that I hope will help to identify the  
>>> problem. I'm not the developer,
>>> who is a contractor dealing with another deadline. I'm hoping to  
>>> gather information on his
>>> behalf in order to expedite the resolution.
>>>
>>> I have access to the dev boxes and can run commands and capture  
>>> any needed output.
>>>
>>> Any help appreciated, and thanks in advance,
>>> Eddy
>>>
>>> vmini01:~ $ cat /tmp/agentLauncher.stderr
>>> 2008-01-17 12:38:00.136 AgentLauncher[218:20b] Cannot checkin  
>>> with launchd, exiting.
>>> 2008-01-17 14:14:00.032 AgentLauncher[323:20b] Cannot checkin  
>>> with launchd, exiting.
>>> 2008-01-17 14:36:00.057 AgentLauncher[389:20b] Cannot checkin  
>>> with launchd, exiting.
>>> vmini01:~ $
>>>
>>>
>>> vmini01:~$ tail -f /var/log/system.log | grep devapp
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key for array: excluded
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key for boolean: Enabled
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key for array: included
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key: ServiceDescription
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key: server
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key for string: cistern
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key: bucket
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key for integer: finish
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key for string: CustomerID
>>> Jan 18 10:54:44 vmini01 com.apple.launchd[1]  
>>> (com.devapp.AgentLauncher): Unknown key: CustomerID
>>>
>>>
>>> vmini01:~ eddy$ sudo launchctl list  | grep devapp
>>> -       1       com.devapp.AgentLauncher
>>>
>>> vmini01:~ $ ls -la /Library/LaunchDaemons/
>>> total 8
>>> drwxr-xr-x   3 root  wheel   102 Jan 18 10:54 .
>>> drwxrwxr-t+ 46 root  admin  1564 Sep 14 10:14 ..
>>> -rw-r--r--   1 root  wheel  1248 Jan 18 10:54  
>>> com.devapp.AgentLauncher.plist
>>> vmini01:~ $
>>>
>>>
>>> --
>>> Eddy Martinez
>>> fasteddy760 at gmail.com
>>>
>>>
>>>
>>> _______________________________________________
>>> launchd-dev mailing list
>>> launchd-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo/launchd-dev
>>
>>
>>
>> --
>> Eddy Martinez
>> fasteddy760 at gmail.com
>>
>>
>>
>> _______________________________________________
>> launchd-dev mailing list
>> launchd-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/launchd-dev
>

--
Eddy Martinez
fasteddy760 at gmail.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-dev/attachments/20080118/e3d07f68/attachment-0001.html


More information about the launchd-dev mailing list