 |
 |
StartupItems not starting
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status:
Offline
|
|
Sorry, I was quoting from memory. It's /var/tmp/console.log
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|