System Administration Guide: Basic Administration

ProcedureDebugging a Service That Is Not Starting

In this procedure, the print service is disabled.

  1. 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.

  2. Request information about the hung service.

    # svcs -xv
    svc:/application/print/server:default (LP Print Service)
     State: disabled since Wed 13 Oct 2004 02:20:37 PM PDT
    Reason: Disabled by an administrator.
       See: man -M /usr/share/man -s 1M lpsched
    Impact: 2 services are not running:

    The -x option provides additional information about the service instances that are impacted.

  3. Enable the service.

    # svcadm enable application/print/server