The system was not coming up for a few of the critical services went into maintenance mode. In this article, we will see how we can fix this issue.
Login to the OS in maintenance mode:
Enter user name for system maintenance (control-d to bypass): root Enter root password (control-d to bypass): single-user privilege assigned to root on /dev/console. Entering System Maintenance Mode May 22 12:44:51 su: 'su root' succeeded for root on /dev/console Oracle Solaris 11.4.49.126.2 Assembled August 2022 You have new mail. root@ijrpscrm-p-w2:~#Check the services impacted:
root@ijrpscrm-p-w2:~# svcs -x
svc:/system/filesystem/minimal:default (minimal file system mounts)
State: maintenance since 2023-02-22T12:41:29
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://support.oracle.com/msg/SMF-8000-KS
See: /var/svc/log/system-filesystem-minimal:default.log
Impact: 126 dependent services are not running. (Use -v for list.)
svc:/network/rpc/smserver:default (removable media management)
State: uninitialized since 2023-02-22T12:41:21
Reason: Restarter svc:/network/inetd:default is not running.
See: http://support.oracle.com/msg/SMF-8000-5H
See: rpc.smserverd(8)
Impact: 4 dependent services are not running. (Use -v for list.)
svc:/system/system-log:rsyslog (reliable and extended system log daemon)
State: disabled since 2023-02-22T12:41:19
Reason: Disabled by an administrator.
See: http://support.oracle.com/msg/SMF-8000-02
See: rsyslogd(8)
See: /var/svc/log/system-system-log:rsyslog.log
Impact: 1 dependent service is not running. (Use -v for list.)
svc:/milestone/goals:default (goals services for the system)
State: maintenance since 2023-02-22T12:41:29
Reason: goal service has dependencies that cannot be satisfied without administrative intervention.
Reason: Service svc:/system/filesystem/minimal:default
is not running because a method failed.
See: http://support.oracle.com/msg/SMF-8000-GE
Reason: Service svc:/network/rpc/smserver:default is uninitialized.
See: http://support.oracle.com/msg/SMF-8000-GE
See: http://support.oracle.com/msg/(null)
See: smf(7)
See: svcadm(8)
See: /var/svc/log/milestone-goals:default.log
Impact: This service is not running.
root@ijrpscrm-p-w2:~#
using svcadm clear the service errors:
root@ijrpscrm-p-w2:~# svcadm clear svc:/system/filesystem/minimal:defaultAfter executing this reboot the OS and you should be able to login to OS without any further issues with related to services.
thanks,
zaheer
Comments