I’m creating a solaris service using SMF by following steps:
- Create SMF manifest
- Import manifest via svccfg
- Enable it using svcadm
- Check status using svcs
Now in this process i had frequently added/deleted/modified the manifest. Sometimes i killed the service also. But suddenly it stopped showing any status in svcs. No logs are being generated in /var/svc/log/. How to bring it back working?
Currently i made it working again by rebooting the machine. Is there any software method also to perform the task?
Solaris 10 sparc architecture
svcs is not showing anything you’ve managed to hose SMF.
This tends to happen when you Kermit Flail on systems (
frequently added/deleted/modified the manifest. Sometimes i killed the service also).
In this situation rebooting is your best option — SMF is not designed to be “restarted”.
Source : Link , Question Author : bikram990 , Answer Author : voretaq7