Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Determine if any process that are dependent to the service have not stopped.
Normally, when a service instance is in a maintenance state, all processes associated with that instance have stopped. However, you should make sure before you proceed. The following command lists all of the processes that are associated with a service instance as well as the PIDs for those processes.
# svcs -p FMRI |
(Optional) Kill any remaining processes.
Repeat this step for all processes that are displayed by the svcs command.
# pkill -9 PID |
If necessary, repair the service configuration.
Consult the appropriate service log files in /var/svc/log for a list of errors.
Restore the service.
# svcadm clear FMRI |