Go to main content

Managing Faults, Defects, and Alerts in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020

Displaying Information About Defective Services

The fmadm list-defect command can display information about problems in SMF services.

Example 6  fmadm list-defect Output

The following example shows that the devchassis daemon SMF service has transitioned into the maintenance state:

# fmadm list-defect
--------------- ------------------------------------  -------------- ---------
TIME            EVENT-ID                              MSG-ID         SEVERITY
--------------- ------------------------------------  -------------- ---------
Apr 23 02:33:12 bca0052c-5aa4-4ebf-b9c7-92ce645cf3af  SMF-8000-YX    major

Problem Status    : isolated
Diag Engine       : software-diagnosis / 0.1
    Manufacturer  : Oracle Corporation
    Name          : Sun Netra X4270 M3
    Part_Number   : NILE-P1LRQT-8
    Serial_Number : 1211FM200D

System Component
    Manufacturer  : Oracle
    Name          : Sun Netra X4270 M3
    Part_Number   : NILE-P1LRQT-8
    Serial_Number : 1211FM200D
    Host_ID       : 008167b1

Suspect 1 of 1 :
   Problem class : defect.sunos.smf.svc.maintenance
   Certainty   : 100%
   Affects     : svc:///system/devchassis:daemon
   Status      : faulted and taken out of service

     FMRI             : "svc:///system/devchassis:daemon"
     Status           : faulted and taken out of service

Description : A service failed - a method is failing in a retryable manner but
              too often.

Response    : The service has been placed into the maintenance state.

Impact      : svc:/system/devchassis:daemon is unavailable.

Action      : Run 'svcs -xv svc:/system/devchassis:daemon' to determine the
              generic reason why the service failed, the location of any
              logfiles, and a list of other services impacted. Please refer to
              the associated reference document at
              http://support.oracle.com/msg/SMF-8000-YX for the latest service
              procedures and policies regarding this diagnosis.
Example 7  Showing Information About a Defective Service

Follow the instructions given in the Action section in the fmadm output to display information about the defective service. The references in the See lines provide more information about this problem.

$ svcs -xv svc:/system/devchassis:daemon
svc:/system/devchassis:daemon (/dev/chassis namespace support service)
 State: maintenance since Thu Apr 23 02:33:12 2015
Reason: Start method failed repeatedly, last exited with status 127.
   See: http://support.oracle.com/msg/SMF-8000-KS
   See: man -M /usr/share/man/ -s 7FS devchassis
   See: /var/svc/log/system-devchassis:daemon.log
Impact: This service is not running.

In addition to the svcs -xv command described above, you can use the svcs -xL command to display the full path name of the log file and the last few lines of the log file, and you can use the svcs -Lv command to display the entire log file.