Help! Random server crash (10.5.3) - services die.. couldn't spawn task??

BlueC

Registered
Every so often (maybe once a week) our 10.5.3 server has a fit. The symptoms are something like this:

Server Admin becomes unresponsive.
Server Admin reports that "This server does not have any services marked as configured"
The services "go down" - basically when we come in in the morning nothing works - no DHCP, no DNS, nothing.

The first entry in system.log that looks relevant is:

Code:
Jun 20 04:22:52 kiribati servermgrd[97]: pipe(status) error: 24
Jun 20 04:22:52 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/sso_util, errno 24
Jun 20 04:22:55 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x2a89a0
Jun 20 04:23:25: --- last message repeated 1 time ---

This is followed later by many similar errors:

Code:
Jun 20 04:29:11 kiribati servermgrd[97]: pipe(status) error: 24
Jun 20 04:29:11 kiribati servermgrd[97]: pipe(stderr) error: 24
Jun 20 04:29:11 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/netstat, errno 24
Jun 20 04:29:11 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/sso_util, errno 24
Jun 20 04:29:14 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x4fac140
Jun 20 04:29:14: --- last message repeated 1 time ---
Jun 20 04:29:14 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x2a89a0
Jun 20 04:29:44: --- last message repeated 1 time ---
Jun 20 04:31:17 kiribati servermgrd[97]: pipe(status) error: 24
Jun 20 04:31:17 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/netstat, errno 24
Jun 20 04:31:20 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x4fac140
Jun 20 04:32:20: --- last message repeated 1 time ---
Jun 20 04:32:20 kiribati servermgrd[97]: pipe(stderr) error: 24
Jun 20 04:32:21 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/caladmin, errno 24
Jun 20 04:32:21 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x61517e0
Jun 20 04:32:51: --- last message repeated 1 time ---
Jun 20 04:33:22 kiribati servermgrd[97]: servermgrd: readFile File /Library/Preferences/com.apple.AppleFileServer.plist is not a valid plist
Jun 20 04:33:22 kiribati servermgrd[97]: pipe(stdin) error: 24
Jun 20 04:33:22 kiribati servermgrd[97]: pipe(stderr) error: 24
Jun 20 04:33:22 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/caladmin, errno 24
Jun 20 04:33:22 kiribati servermgrd[97]: pipe(stdin) error: 24
Jun 20 04:33:22 kiribati servermgrd[97]: pipe(stderr) error: 24
Jun 20 04:33:22 kiribati servermgrd[97]: servermgr_dns: :Error:exeption thrown in getState: couldn't spawn task: path = /usr/sbin/rndc, errno 24
Jun 20 04:33:22 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/netstat, errno 24
Jun 20 04:33:22 kiribati servermgrd[97]: Exception in doCommand: couldn't spawn task: path = /usr/sbin/sso_util, errno 24
Jun 20 04:33:23 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x669e6f0
Jun 20 04:33:23: --- last message repeated 1 time ---
Jun 20 04:33:23 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x61517e0
Jun 20 04:33:23: --- last message repeated 1 time ---
Jun 20 04:33:23 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x4fac140
Jun 20 04:33:23: --- last message repeated 1 time ---
Jun 20 04:33:23 kiribati Server Admin[8737]: *** -[ServiceEntry sessionHost]: unrecognized selector sent to instance 0x2a89a0
Jun 20 04:33:53: --- last message repeated 1 time ---
Jun 20 04:34:24 kiribati servermgrd[97]: pipe(status) error: 24
Jun 20 04:34:24 kiribati servermgrd[97]: pipe(stdout) error: 24
Jun 20 04:34:24 kiribati servermgrd[97]: servermgr_dns: :Error:exeption thrown in getState: couldn't spawn task: path = /usr/sbin/named, errno 24

And these continue in a similar fashion ad-nauseum until we reboot the server. Full log file here: http://dpaste.com/hold/57713/

Anyone experienced anything similar or have any idea why this might be happening?

Thanks
C
 
Do you have any scheduled restarts? I had errors with the windows service not starting up and needing to be reconfigured after a reboot from cron. I set it to be a scheduled shutdown and start up through sys prefs and fixed it.

It may be a pain, but its better than a fresh install, you can reset and reconfigure open directory.

Mediocer
 
Back
Top