Problem about corrupted cacao SMF service
By ejannett on avr. 21, 2008
On solaris 1x the Common Agent Container is registered under SMF. Sometimes (mainly due
to user violent/wrong usage of packaging) the service configuration is corrupted and
trying to start CAC messages like the following ones may appear.
match any instances
Error when reseting SMF service maintenance state:
Error when trying to start SMF service:
One way to recover from that is to uninstall the package and to cleanup the repository if needed.
Note that CAC configuration remains on the host across installations. Also note that operation will not
solve all possible corruptions but I hope this will help most of people facing that issue
- uninstall the package
- remove any stale service registrations
Be careful to only remove FMRI relative to your installation
disabled Dec_03 svc:/application/management/common-agent-container-4:default
disabled Dec_03 svc:/application/management/common-agent-container-6:default
disabled Dec_03 svc:/application/management/common-agent-container-7:default
disabled Dec_03 svc:/application/management/common-agent-container-8:default
online Apr_02 svc:/application/management/common-agent-container-9:default
#svcprop -p common-agent-container/basedir svc:/application/management/common-agent-container\\\*
svc:/application/management/common-agent-container-9:default/:properties/common-agent-container/basedir astring /
svc:/application/management/common-agent-container-8:default/:properties/common-agent-container/basedir astring /
svc:/application/management/common-agent-container-7:default/:properties/common-agent-container/basedir astring /var/tmp/root/cacao_2.2/
svc:/application/management/common-agent-container-6:default/:properties/common-agent-container/basedir astring /var/tmp/kkoteste/cacao_2.1/
svc:/application/management/common-agent-container-4:default/:properties/common-agent-container/basedir astring /var/tmp/cacao_2.0/
here, 4,6 and 7 are obviously not ours
svccfg delete svc:/application/management/common-agent-container-8:default
svccfg delete svc:/application/management/common-agent-container-9:default
- install the package back on the host.
- check everything is back to green.
#cacaoadm statusdefault instance is DISABLED at system startup.default instance is not running.