LaunchDaemons won't start after upgrade to Leopard

I just upgraded from Tiger to Leopard on my iMac....
I have a couple of launch daemons whose .plist files are found in /Library/LaunchDaemons...they trigger the execution of shell scripts under my home folder. The daemons worked under 10.4 but don't work under 10.5. Originally, the .plist files were owned by "scooter" but after reading a couple things I changed ownership to "root" but that didn't help.
Here is there message that shows up in the system.log:
4/19/09 3:06:46 PM com.apple.launchd[1] (com.scooter.resourceMonitor[54]) Stray process with PGID equal to this dead job: PID 55 PPID 1 bash
I can run the shell scripts (that the daemons try to run) manually.
Anything special I need to do now that I'm running Leopard?

scooter4j wrote:
uh...ok. didn't think anyone would need the details since the daemons ran under 10.4... in any case, here is one of them:
Contents of /Library/LaunchDaemons:
-rw-r--r-- 1 root wheel 499 Nov 12 2006 com.scooter.cvCalendarBackups.plist
-rw-r--r-- 1 root wheel 385 Nov 13 07:07 com.scooter.resourceMonitor.plist
Contents of com.scooter.resourceMonitor.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>Label</key>
<string>com.scooter.resourceMonitor</string>
<key>Program</key>
<string>/Users/scooter/myApps/resourceMonitor/startMonitors.sh</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of startMonitors.sh (note the lines are wrapping so this looks wrong but it is actually formatted correctly and runs if executed from command line):
#!/bin/bash
# set the environment variables
CONFIG_FILES_DIR=/Users/scooter/myApps/resourceMonitor
LIB_DIR=/Users/scooter/myApps/resourceMonitor/lib
CLASSES_DIR=/Users/scooter/myApps/resourceMonitor/bin
LOGS_DIR=/Users/scooter/myApps/resourceMonitor/logs
nohup /usr/bin/java -cp $CLASSES_DIR:$LIB_DIR/mail.jar:$LIB_DIR/activation.jar:$LIB_DIR/xercesImpl-2.6. 2.jar:$LIB_DIR/xml-apis-1.0.b2.jar com.scooter.MonitorManager $CONFIG_FILES_DIR/application.properties $CONFIG_FILES_DIR/monitorTargets.xml &
echo $! > $LOGS_DIR/resourceMonitor.pid
Note that a new resourceMonitor.pid file is created at startup, meaning the shell script is being run, but then something happens and launchd apparently thinks the thread is dead and garbage collects it or something.
try adding the following line to your launch daemon
<key>AbandonProcessGroup</key>
<true/>
so that it looks like this
<?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>Label</key>
<string>com.scooter.resourceMonitor</string>
<key>Program</key>
<string>/Users/scooter/myApps/resourceMonitor/startMonitors.sh</string>
<key>RunAtLoad</key>
<true/>
<key>AbandonProcessGroup</key>
<true/>
</dict>
</plist>
Message was edited by: V.K.

Similar Messages

  • IPhoto won't start after upgrade 1.1 for my new iMac. Now what do I do?

    Had to upgrade according to screen.  iPhoto won't start after upgrade 1.1 for my new iMac. Now what do I do?
    I have restarted the computer. Brand new iMac intel. v 10.9.4

    You need to upgrade iPhoto for Mavericks. Download the upgrade using App Store.

  • IPhone won't sync after upgrading to Leopard

    My iPhone won't sync, or even show up in iTunes, after upgrading to Leopard. I've tried restarting my Macbook Pro, trying different USB slots, closing and reopening iTunes, everything. Has anyone else had this problem??
    I've tried everything apple suggests:
    1. The iPhone battery might need to be recharged. For information about charging iPhone, see "Charging the Battery" in the iPhone User's Guide.
    2. If that doesn't work, disconnect other USB devices from your computer and connect iPhone to a different USB 2.0 port on your computer (not on your keyboard).
    3. If that doesn't work, turn iPhone off and turn it on again. Press and hold the Sleep/Wake button on top of iPhone for a few seconds until a red slider appears, and then slide the slider. Then press and hold the Sleep/Wake button until the Apple logo appears.
    Note: If you enter the PIN incorrectly three times, you may need to contact your carrier for a Personal Unlocking Key (PUK) to enable your SIM card again.
    4. If that doesn't work, restart your computer and reconnect iPhone to your computer.
    5. If that doesn't work, download and install (or reinstall) the latest version of iTunes from www.apple.com/itunes.

    You might need to remove and reinstall the Apple Mobile Device Service. Follow the link below for info on how to do this.
    http://docs.info.apple.com/article.html?artnum=306637

  • Macbook Pro won't start after upgrade to 10.5.2

    I just updated my Macbook Pro 1.Generation to 10.5.2 via software update. After a double boot, the apple logo and the loading wheel appeard as expected. After several minutes of loading, i had to login. After login, the leopard wallpaper appears and then nothing happens. I cannot do anything. It seems that the finder and the dock won't start up.
    I have several apps installed, which may cause this issue. For example DockDoctor.
    What can i do? Do i have to reinstall leopard and try again to install 10.5.2 via CombiPackage?
    Thanks for help

    Start by:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now shutdown the computer for a couple of minutes and then restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.1 for Leopard) and/or TechTool Pro (4.6.1 for Leopard) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Then download the standalone updater and reinstall 10.5.2. If that doesn't solve your problem then you will have to do an Archive and Install.
    How to Perform an Archive and Install
    1. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    2. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    3. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    4. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    5. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • RADIUS won't start after upgrading to 10.6

    I upgraded a Mac mini from 10.5 to 10.6 recently, and for some reason RADIUS won't start. The only way I can get it going is to run "radiusd -X" from the CLI which starts it in debug mode.
    Has anyone else had this problem? It doesn't seem to log any error when trying to start normally through Server Admin; it just doesn't start.

    I solved the problem.
    For some reason I could not even start RADIUS using launchctl.
    $ cd /System/Library/LaunchDaemons
    $ launchctl start org.freeradius.radiusd
    launchctl start error: No such process
    Doing a "launchctl list" didn't even list the radiusd even though the file was there.
    I then ran:
    $ launchctl load -w ./org.freeradius.radiusd.plist
    And that did the ticket. I can now start and stop RADIUS from within Server Admin.
    Hopefully this helps someone else should they go through such a painful upgrade as we did.

  • InDesign CS3 won't open after upgrading to Leopard.

    I'm having an issue starting up Indesign CS3 since upgrading to Leopard. It seems like everything else has been working great, including the rest of CS3, so I'm kinda baffled as to why this doesn't.
    When I open it, after loading for a few seconds, I get this error:
    http://img525.imageshack.us/img525/255/picture1lg9.png
    Any ideas?

    WOOOO HOOOO! IT IS JUST A FONT CONFLICT!!!!! I think....
    After days of trying to figure out why, after installing Leopard, InDesign CS3 crashes every time I tried to open "certain" files... I finally figured it out - at least on my system. I emphasize "certain" files, because InDesign would open certain InDesign files flawlessly... and crash when trying to other InDesign files. I narrowed it down to a handful of files and the only thing that these files had in common was one particular font. Well as it turns out, upon installation, Leopard put a bunch of new fonts into my system folder. I am also using Suitcase Fusion to manage my fonts. When starting the "culprit" files, Suitcase Fusion would try to "auto-activate" a font that was already activated at start-up in the system folder. After removing the "duplicate" font from my system folder - and restarting my computer - everything was back to normal seems to work fine now. I am not much of a computer technician.... but this worked for me. Let me know if this helps you too.

  • FireFox won't start after upgrading

    This morning I upgraded to FireFox 5.0, when it was done installing the upgrade the last window had the option to start FireFox on completion, I left this option checked but after clicking the "Finish" button nothing happened so I clicked the new FF icon on my desktop. Still nothing. I opened Task Manager and nothing was listed on the "Applications" tab but when I clicked on the "Processes" tab there were several instances of FF running so I selected each one and clicked the "End Process" button which worked to exit all but one of them. No matter what I tried it would not terminate that one instance of FF so I shut down the computer. After firing up the computer I tried re-running the FF install app but it kept telling me that I had to exit FF before it could run, I looked in Windows Task Manager again and there was FF listed under "Processes". I restarted the computer to get rid of the running FF and then downloaded the FF file again, but am getting the same results. It just won't start (and it won't even give an error message)! I surfed the Web and found info stating that you could SHIFT click the FF icon to open it in Safe Mode, but that didn't happen either. Any ideas????

    it does not work even in windows safe mode with networking. same issue. if i wait for some time firefox comes but in not responding mode. then a pop shows up with - script: chrome//browser/content/tabbrowser.xml 2123 .

  • [SOLVED] Alsa won't start after upgrade

    This is my last update:
    [2010-07-18 08:59] Running 'pacman -Syu'
    [2010-07-18 08:59] synchronizing package lists
    [2010-07-18 08:59] starting full system upgrade
    [2010-07-18 09:00] upgraded gtk-aurora-engine (1.5.1-1 -> 1.5.1-2)
    [2010-07-18 09:00] #####################################
    [2010-07-18 09:00] themes are moved in an extra package:
    [2010-07-18 09:00] community/murrine-themes-collection
    [2010-07-18 09:00] upgraded gtk-engine-murrine (0.90.3-1 -> 0.90.3-2)
    [2010-07-18 09:00] upgraded imagemagick (6.6.2.0-22 -> 6.6.2.10-1)
    [2010-07-18 09:00] Running OSS update script...
    [2010-07-18 09:00]
    [2010-07-18 09:00] -------------------------------------------------------------
    [2010-07-18 09:00] Open Sound System was updated. Now you should restart the
    [2010-07-18 09:00] daemon by running /etc/rc.d/oss restart.
    [2010-07-18 09:00]
    [2010-07-18 09:00] Please note that OSS stores some of its configuration files
    [2010-07-18 09:00] at /usr/lib/oss. If you are upgrading from an older OSS
    [2010-07-18 09:00] release and it doesn't work properly, try removing that
    [2010-07-18 09:00] directory and reinstall this package.
    [2010-07-18 09:00] -------------------------------------------------------------
    [2010-07-18 09:00] upgraded oss (4.2_2002-2 -> 4.2_2003-1)
    [2010-07-18 09:00] upgraded supertux (0.3.1-5 -> 0.3.3-1)
    [2010-07-18 09:00] upgraded xine-lib (1.1.18.1-1 -> 1.1.18.1-2)
    Pacman said to restart oss, so I did it. But I got loads of errors and a [FAIL], then I rebooted and got a [FAIL] for shutting down alsa.
    Now alsa won't start at boot.
    sudo /etc/rc.d/alsa start
    Password:
    :: Restoring ALSA Levels [BUSY] /usr/sbin/alsactl: load_state:1610: No soundcards found...
    [FAIL]
    And alsamixer won't run too:
    alsamixer
    cannot open mixer: No such file or directory
    What can I do to fix this?
    EDIT: I just removed the oss package and now it works fine
    Last edited by spiridow (2010-07-18 08:17:16)

    startx at the command line.
    I just tried Xorg -reconfigure again, adding the AutoAddDevices = false option - still doesn't work, giving the error about config/hal. Without the option, it just goes back to the terminal with no errors.
    Pacman log says the only thing upgraded today (after pacman) was the kernel, nvidia, and kernel-firmware. cdfs conflicted with the new kernel, so I removed it. Then I rebooted, and X stopped working. Downgrading those back again doesn't fix it. I don't get it.
    >>EDIT:
    Okay - what does cdfs have to do with Xorg???? This makes no sense. I downgraded the kernel pkgs and nvidia again, and this time installed cdfs, which I forgot to do last time. Now X starts. I don't really get it.
    Maybe hal in xfce or some plugin needs to use cdfs for something?? I don't really know - but I'm just glad it's working. I guess I'll file a bug report for cdfs so it can be built to the new kernel and hold off upgrading until it's fixed with 2.6.31. sheesh! too weird.
    Last edited by userlander (2009-10-10 23:27:36)

  • ITunes won't start after upgrading to v9 on WinXP

    I dutifully upgraded to iTunes 9, and now it won't start. It attempts to start, and I get a few moments of the hourglass icon. And the Task Manager shows the iTunes process is running. But the UI never appears. I tried deleting via the control panel and reinstalling but same problem. Never had a problem before - this is aggravating since I don't have access to my library and there doesn't seem to be a way to downgrade back to v8. I turned off (actually deinstalled) Norton but that didn't help. Tried disabling a bunch of start up processes at boot time and that didn't help either. Any ideas would be greatly appreciated!

    I had a similar issue. After doing the upgrade, tried to open iTunes & got an error message saying that I needed the latest Quicktime version and telling me to uninstall and reinstall iTunes. Doing so resulted in the same error message.
    Per a suggestion in another thread here, I repaired Quicktime (control panel- add/remove programs- Quicktime- repair). This disappeared iTunes but once I reinstalled it the problem went away.

  • ITunes won't start after upgrade--error message

    When I launched iTunes after upgrading to 6.0.1, I got the following message after agreeing to the usual legal terms:
    "The folder "iTunes" cannot be found or created, and is required. The default location for this folder is inside the "Music" folder."
    Any suggestions?

    Jeff,
    Thank you for the reply and your suggestions.
    Yes, I did take a look in the Music folder--and no, the file was not there. I then used Spotlight and did find an iTunes Music folder, but when I tried to copy it to the Music folder I got error message -36, saying that parts of the file weren't readable and, therefore, not copyable.
    I also used my disk utility to repair permissions and re started the computer---with the same results.
    I'm not sure what else to try and may take my computer to my local expert.
    best,
    als

  • FCE file won't open after upgrading to Leopard

    After upgrading a Dual 1.8 GHz PowerPC G5 from OS 10.4.x Tiger to OS 10.5.8 Leopard, a Final Cut Express file on an external HD will no longer open. The error message is “File Error: Access Denied.”
    Other files on the external drive using other applications launch with no problem.
    The FCE file opens OK on another Mac running OS 10.6.
    Any suggestions?

    Different OSes handle it differently, besides the normally hidden UIDs.
    I wonder if ACLs got enabled on those other drives?
    http://x704.net/bbs/viewtopic.php?f=12&t=2180&p=26242

  • PowerBook G4 17 won;t start after upgrading Hard disk Please help!

    Hi Folks! need your help in order to diagnose aPowerBook G4 1Ghz Serial V731556CMVZ. It worked perfectly untill start to have problems with hard drive. I bought a new Seagate Momentus 7200RPM and followed the instructions ifixit.com without any problem.
    After finishing, the PowerBook won't start. I can not hear any noise form HD, or SuperDrive, no startup chim sound.
    I disasembly and assembly again the PB and nothing. I try to reset PRAM SHIFT CTRL ALT POWER and nothing.
    It's frustrating. Please Help!

    I would make sure the keyboard ribbon is squarely seeded and in the right position. That clip is extremely tiny and fragile. Any damage to it whatsoever could cause major issues. Did it fracture at all during the installation process?

  • Calendar won't start after upgrade to Mountain Lion

    Hi,
    After upgrading to ML, my calendar service didn't want to start.
    There is a "Error reading settings" message in the Server window when selecting "Calendar". Additionally, when clicking the "on" button, I get the following error:
    The error occurred while processing a command of type 'getLocationList' in plug-in 'servermgr_calendar'.
    Where do I start troubleshooting this issue?

    Hm, sorry. I found more errors!
    22:09:14.233 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-afctlmigrator.pl
    RESULT CODE: 1
    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:14.306 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-ftpconfigmigrator.pl
    RESULT CODE: 1
    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:14.457 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-natconfigmigrator.pl
    RESULT CODE: 1
    STDOUT: --targetRoot is the key for value /
    --sourceRoot is the key for value /Library/Server/Previous
    --purge is the key for value 1
    --sourceVersion is the key for value 10.7.4
    --sourceType is the key for value System
    --language is the key for value sv
    22:09:14.571 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-serverperflogconfigmigrator.pl
    RESULT CODE: 1
    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:14.692 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-snmpconfigmigrator.pl
    RESULT CODE: 1
    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:14.763 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-xsannotificationsmigrator.pl
    RESULT CODE: 1
    STDOUT: --targetRoot is the key for value /
    --sourceRoot is the key for value /Library/Server/Previous
    --purge is the key for value 1
    --sourceVersion is the key for value 10.7.4
    --sourceType is the key for value System
    --language is the key for value sv
    sourceVersion := 10.7.4
    Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:14.836 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/50-vpnconfigmigrator.pl
    RESULT CODE: 1
    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:14.910 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/58_jabbermigrator.pl
    RESULT CODE: 1
    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:51.870 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/65_mail_migrator.pl
    RESULT CODE: 1
    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    22:09:53.035 Setup extra failed:
    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/70_calendarmigrator.py
    RESULT CODE: 2
    STDOUT:
    STDERR: Usage: 70_calendarmigrator.py [options]
    70_calendarmigrator.py: error: option --language: invalid choice: 'sv' (choose from 'en', 'fr', 'de', 'ja')
    Everyone with: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]
    I use Swedish as my language in finder.....
    Message was edited by: noben

  • Preview won't start after upgrade to mavericks

    After Upgrading to Mavericks this afternoon (30th Oct 2013, 1420hrs)
    - i face the following problems. (there could be more problems that i may not have found out yet)
    1.
    The Preview application cant start.
    when i double click the prview applicaiton icn, the screen flashes momentarily, but nothing happens. the preview does not start.
    however, when i press the space bar, i can quick look at all the various file type such as *.pdf or *.jpg etc. but i can open it on preview.
    2.
    The same goes to the textEdit application - it does'nt start. the screen just flashes and nothing happens.
    3.
    When i click "Software Update.." from the Apple menu, nothing happens
    Up till now, I have a perfect smooth OS until i migrated to Mavericks.
    Please, can some one show me how can i solve these ?
    I cant open any of my pdfs and any of my txt files since i upgraded to mavericks...
    For you information :
    My current Mac Nook Air is:
    Software  OS X 10.9 (13A603)
    Any assistance from you all will be great.
    Thank you all...

    Back up all data. Quit Preview if it's running.
    Hold down the option key and select Go ▹ Library from the Finder menu bar. From the Library folder, delete the following items, if they exist:
              Containers/com.apple.Preview
              Preferences/com.apple.Preview.LSSharedFileList.plist
              Preferences/com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist
              Saved Application State/com.apple.Preview.savedState
    Log out and log back in. Launch the application and test.

  • QuarkXPress 6.5 won't start after upgrading to OS 10.3.9

    I recently updgraded to OS 10.3.9 and now my QuarkXPress 6.5 won't start. The Quark window comes up, but then I get the spinning color wheel. It doesn't stop until I force quit.
    Are there any known issues with this upgrade?
    I have a ton of work to do, and need to resolve this ASAP.
    Any help would be greatly appreciated. Thanks in advance.
    Dual 1Ghz PowerPC G4   Mac OS X (10.3.9)  

    I trashed the preferences file:
    (~user>Library>Preferences>Quark>QuarkXPress 6.0>XPress Preferences.prf)
    and it started right up.
    Thanks anyway, but I solved the problem myself.

Maybe you are looking for