Which option will identify the missing file?

The network/ssh service is offline and you suspect that one of its configuration files may be
missing. Which option will identify the missing file?

The network/ssh service is offline and you suspect that one of its configuration files may be
missing. Which option will identify the missing file?

A.
svcs –l

B.
svcs –d

C.
svcs –D

D.
svcs –x

E.
svcadm clear

F.
viewing the network/ssh log file

Explanation:
svcs -x: Explains why a service is not available.
Incorrect:
not A: svcs -l FMRI: Provides a long listing of information about FMRI; includes dependency
information
not B, not C: svcs -d FMRI: Lists dependencies for FMRI.
not e: svcadm clear FMRI: Clear faults for FMRI.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


picoman

picoman

root@solaris:/etc/ssh# svcs -l svc:/network/ssh:default
fmri svc:/network/ssh:default
name SSH server
enabled true
state offline
next_state none
state_time March 23, 2015 10:27:31 PM CST
logfile /var/svc/log/network-ssh:default.log
restarter svc:/system/svc/restarter:default
contract_id
manifest /etc/svc/profile/generic.xml
manifest /lib/svc/manifest/network/ssh.xml
dependency require_all/none svc:/system/filesystem/local (online)
dependency optional_all/none svc:/system/filesystem/autofs (online)
dependency require_all/none svc:/network/loopback (online)
dependency require_all/none svc:/network/physical:default (online)
dependency require_all/none svc:/system/cryptosvc (online)
dependency require_all/none svc:/system/utmp (online)
dependency optional_all/error svc:/network/ipfilter:default (disabled)
dependency require_all/restart file://localhost/etc/ssh/sshd_config (absent)
root@solaris:/etc/ssh# svcs -x svc:/network/ssh:default
svc:/network/ssh:default (SSH server)
State: offline since March 23, 2015 10:27:31 PM CST
Reason: Dependency file://localhost/etc/ssh/sshd_config is absent.
See: http://support.oracle.com/msg/SMF-8000-E2
See: sshd(1M)
See: /var/svc/log/network-ssh:default.log
Impact: This service is not running.

A,D,F