First off, wow am I out of touch, that said here is my process/contract: # svcs -l /application/sand/agent fmri svc:/application/sand/agent:default enabled true state online next_state none state_time Mon May 08 08:52:35 2006 alt_logfile /etc/svc/volatile/application-sand-agent:default.log restarter svc:/system/svc/restarter:default contract_id 13
With the process running I stop the process and the log file shows nothing. I restart the process and it shows nothing.. And yet I see: # svcs -l /application/sandcherry/agent fmri svc:/application/sandcherry/agent:default enabled true state online next_state none state_time Mon May 08 08:52:35 2006 alt_logfile /etc/svc/volatile/application-sandcherry-agent:default.log restarter svc:/system/svc/restarter:default contract_id 13 Previously I saw: [ May 5 20:00:25 Method "stop" exited with status 0 ] [ May 5 20:00:49 Method or service exit timed out. Killing contract 115 ] [ May 5 20:03:57 Enabled. ] So questions... ctrun requires a contract id.. Do I have to find the currently running version of the service and deregister it and then reregister the new process or can I just use ctrun. But then I need a valid contract id... Thoughts? This message posted from opensolaris.org