Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > StartupItems not starting

StartupItems not starting
Thread Tools
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
May 15, 2003, 10:06 AM
 
Does anyone have any idea why some startup items would start at startup and others wouldn't? For example, I have three startup items: MySQL (installed by the MySQL package), VNC (installed by Share My Desktop), and Perforce (which I made myself, and which formerly worked under 10.1). When I reboot, the MySQL item always starts, and the VNC and Perforce items never do.

The VNC and MySQL items use the old style, and Perforce uses the new style (with stop, start and restart supported).

Has anyone had similar experiences? I am using /Library/StartupItems in lieu of /System/Library/StartupItems since an Apple document said that this is where non-Apple stuff should go. All three items are in the same location.

BTW, I can issue sudo SystemStarter start VNC for VNC and Perforce and they start right up.

Where can I see logs if the startup process fails? I checked /var/log/system.log and it was very uninteresting - not boot stuff at all.
     
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status: Offline
Reply With Quote
May 15, 2003, 10:16 AM
 
You want /var/log/console.log to see the StartupItems status (or reboot in verbose mode).

Have you checked permissions on your StartupItems? Have you tried converting the StartupItems to the newer format?
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
May 15, 2003, 10:25 AM
 
Originally posted by gatorparrots:
You want /var/log/console.log to see the StartupItems status (or reboot in verbose mode).

Have you checked permissions on your StartupItems? Have you tried converting the StartupItems to the newer format?
I am connected by ssh at the moment so I can't use verbose startup, but I swear I don't have a console.log in /var/log.

Anyway, I was able to fix the Perforce item - it was using a repository on a mounted partition and I think it was executing before the volume was mounted. So, I added a requires entry for "Disks" and "Network" and now it works fine. I thought that they weren't being executed but they were.

I have been fighting this since 10.2.0! I can't believe that it took this long. Another thing, I specified my preference as "Late", but I used "Preference" instead of "OrderPreference" so I don't know if that made a difference.

The VNC server appears to be working now too (because I just rebooted) but after a while it will stop accepting connections and I can't restart it. Oh, well, at least I understand StartupItems better now
(Last edited by absmiths; May 15, 2003 at 10:38 AM. )
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
May 15, 2003, 10:37 AM
 
     
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status: Offline
Reply With Quote
May 15, 2003, 05:20 PM
 
Sorry, I was quoting from memory. It's /var/tmp/console.log
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2