SMF service always shows offline even when it is up and running
I have added a service to SMF under /var/svc/manifest/application and am successful in starting it, but state always shows offline. How can I get it to show up as "online"?
Output of svcs -l command:
bash-3.00# svcs -l esm
fmri svc:/application/esm:default
enabledtrue
stateoffline
next_stateonline
state_timeFri 01 Jun 2007 11:02:47 AM PDT
logfile/var/svc/log/application-esm:default.log
restartersvc:/system/svc/restarter:default
contract_id 1113
dependencyrequire_all/none svc:/system/filesystem/local (online)
dependencyrequire_all/none svc:/network/mysql (online)
ouput of svcs -x command:
bash-3.00# svcs -x esm
svc:/application/esm:default (?)
State: offline since Fri 01 Jun 2007 11:02:47 AM PDT
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: /var/svc/log/application-esm:default.log
Impact: This service is not running.

