-2

I'm creating a solaris service using SMF by following steps:

  1. Create SMF manifest
  2. Import manifest via svccfg
  3. Enable it using svcadm
  4. 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

bikram990
  • 101

1 Answers1

1

If 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".

voretaq7
  • 80,749