try svcadm restart restarter
before rebooting. Antonello Keith Cantrell wrote: > Does anyone know if I can kill the restarter and start it back up? Will > it regain ownership of the existing contracts? Or, am I better off > rebooting? > > Keith > > Keith Cantrell wrote: >> I was trying to restart the printer server and now SMF is stuck trying >> to kill it: >> >> # svcadm restart print/server >> # svcs -l print/server >> fmri svc:/application/print/server:default >> name LP print server >> enabled false >> state online >> next_state offline >> state_time Wed Oct 22 09:42:35 2008 >> logfile /var/svc/log/application-print-server:default.log >> restarter svc:/system/svc/restarter:default >> contract_id 58 >> dependency require_all/none svc:/system/filesystem/local (online) >> dependency require_all/none svc:/system/filesystem/usr (online) >> dependency require_all/refresh svc:/system/identity:domain (online) >> dependency optional_all/none svc:/system/system-log (online) >> # tail -f /var/svc/log/application-print-server:default.log >> Print services started. >> [ Oct 3 00:11:34 Method "start" exited with status 0 ] >> [ Oct 22 09:42:35 Stopping because service restarting. ] >> [ Oct 22 09:42:35 Executing stop method ("/lib/svc/method/print-svc >> stop") ] >> Print services stopped. >> [ Oct 22 09:42:35 Method "stop" exited with status 0 ] >> [ Oct 22 09:43:35 Method or service exit timed out. Killing contract >> 58 ] >> [ Oct 22 09:43:36 Method or service exit timed out. Killing contract >> 58 ] >> [ Oct 22 09:43:37 Method or service exit timed out. Killing contract >> 58 ] >> [ Oct 22 09:43:38 Method or service exit timed out. Killing contract >> 58 ] >> [ Oct 22 09:43:39 Method or service exit timed out. Killing contract >> 58 ] >> [ Oct 22 09:43:40 Method or service exit timed out. Killing contract >> 58 ] >> >> >> The last line just keeps repeating every second and has for over an >> hour now. I tried doing an "svcadm disable print/server" to no avail. >> >> More data: >> >> # ctstat -i 58 -v >> CTID ZONEID TYPE STATE HOLDER EVENTS QTIME NTIME >> 58 0 process owned 7 0 - - >> cookie: 0x20 >> informative event set: none >> critical event set: core signal hwerr empty >> fatal event set: none >> parameter set: inherit regent >> member processes: 23371 >> inherited contracts: none >> # ps -fp 23371 >> UID PID PPID C STIME TTY TIME CMD >> root 23371 1 0 - ? 0:00 <defunct> >> # preap 23371 >> preap: Failed to reap 23371: the only non-defunct ancestor is 'init' >> # kill -9 23371 >> # ps -fp 23371 >> UID PID PPID C STIME TTY TIME CMD >> root 23371 1 0 - ? 0:00 <defunct> >> >> >> Can you restart the restarter? >> >> >> Thanks, >> >> Keith >> >> >> > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org