You discovered that the network/ipmp:default is not starting on boot. You listed the service and
discovered the name of the log file. You now want to examine the log file entry created at boot.
In which two locations can you find the log file created at startup?
A.
/lib/svc/volatile
B.
/etc/svc/volatile
C.
/var/svc/volatile
D.
/var/run
E.
/var/tmp
F.
/var/svc/log
G.
/lib/svc/log
Explanation:
CF: Always start with svcs -x
svcs -x will display the service logfile, if it exists:
/var/svc/log
/etc/svc/volatile
Note:: If a service is in the maintenance state, first make sure that all associated processes have
died:
svcs -p FMRI
Next, (for all processes displayed by the above):
pkill -9 PID
Consult the appropriate logs in /var/svc/log to check any errors; perform any needed maintenance.
Restore the service:
svcadm clear FMRI
Incorrect:
Not B: /etc/svc/volatile
Contains transient data, eg. lock files, init state and some log files. Allocated from swap
B & F:
root@t5120:~# ls -l /etc/svc/volatile
lrwxrwxrwx 1 root root 21 May 30 15:42 /etc/svc/volatile -> ../../system/volatile
root@t5120:~# ls -l /etc/svc/volatile/system-zones:default.log
-rw-r–r– 1 root root 29 May 30 16:01 /etc/svc/volatile/system-zones:default.log
root@t5120:~# ls -l /var/svc/log/system-zones:default.log
-rw-r–r– 1 root root 541 May 30 16:01 /var/svc/log/system-zones:default.log
root@t5120:~#
B + F