The important svcs command...

I just wanted to document another small thing that I ran into tonight.

I have set my Solaris 11 server up with one of its highlight features: branded zones. The last zone I had set up contains the apache and mysql services which I had set up as Solaris services.

A need for a reboot showed that neither of these services had started back up. After much looking at logs which showed no meaningful information and blindly trying to redo the import of manifests, I found the "svcs" command when looking at Solaris startup and shutdown. Ssh was also not working post reboot. I normally log into my zones via ssh, but you can log in via: sudo zlogin -l <user> <zone>

The svcs command showed that the sendmail service was in maintenance mode and had meant the whole network infrastructure had stalled. I disabled them because I had deleted sendmail from this zone earlier planning to replace with postfix later.

Once I disabled the sendmail service and cleared the stalled ones, everything started up normally.