How do I display solaris 10 services which do not work?



  • To display solaris 10 service which do not work for one reason or another sun the following command:

    # svcs -xv
    svc:/application/print/server:default (LP print server)
     State: disabled since Fri May 04 15:15:33 2007
    Reason: Disabled by an administrator.
       See: http://sun.com/msg/SMF-8000-05
       See: man -M /usr/share/man -s 1M lpsched
    Impact: 2 dependent services are not running:
            svc:/application/print/rfc1179:default
            svc:/application/print/ipp-listener:default
    
    svc:/system/cluster/cl-svc-cluster-milestone:default (Synchronizing the cluster userland services)
     State: disabled since Fri May 04 15:16:26 2007
    Reason: Disabled by an administrator.
       See: http://sun.com/msg/SMF-8000-05
    Impact: 1 dependent service is not running:
            svc:/system/cluster/sckeysync:default
    
    svc:/network/http:apache2 (Apache 2 HTTP server)
     State: maintenance since Wed May 09 12:37:16 2007
    Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
       See: http://sun.com/msg/SMF-8000-KS
       See: man -M /usr/apache2/man -s 8 httpd
       See: /var/svc/log/network-http:apache2.log
    Impact: This service is not running.
    

    To run the command for just one service, do this:

    # svcs -xv svc:/network/http:apache2
    svc:/network/http:apache2 (Apache 2 HTTP server)
     State: maintenance since Wed May 09 12:37:16 2007
    Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
       See: http://sun.com/msg/SMF-8000-KS
       See: man -M /usr/apache2/man -s 8 httpd
       See: /var/svc/log/network-http:apache2.log
    Impact: This service is not running.
    

Log in to reply
 

© Lightnetics 2024