After installing the OS, you boot the system and notice that the syslogd daemon is not accepting
messages from remote systems.
Which two options should you select to modify the syslogd daemon configuration so that it accepts
messages from remote systems?
A.
svccfg -s svc:/system/system -log setprop start/exec= “syslogd -t”
Restart the syslogd daemon.
B.
Set the following parameter in the /etc/syslogd.conf file: LOG_FROM_REMOTE= YES
Restart the syslogd daemon.
C.
svcadm enable svc:/system/system -log/config/log_from_remote
Restart the syslogd daemon.
D.
svccfg -s svc:/system/system-log setprop config/log_from_remote=true
Restart the syslogd daemon.
E.
Set the following parameter in the /etc/default/syslogd file: LOG_FROM_REMOTE=YES
Restart the syslogd daemon.
Explanation:
B: The /etc/default/syslogd file contains the following default parameter settings.
See FILES.
LOG_FROM_REMOTE
Specifies whether remote messages are logged. LOG_FROM_REMOTE=NO is equivalent to the -t command-line option. The default value for LOG_FROM_REMOTE is YES.
D,E
B is incorrect as it would be /etc/default/syslogd in any case.. as stated in E
D,E
D,E
root@sol11:/etc# grep REMOTE /etc/default/syslogd
# The LOG_FROM_REMOTE setting used to affect the logging of remote
#LOG_FROM_REMOTE=YES
root@sol11:/etc# svccfg -s svc:/system/system-log setprop config/log_from_remote=true
root@sol11:/etc# svcadm restart svc:/system/system-log
D, E is Okay
http://docs.oracle.com/cd/E23824_01/html/821-1462/syslogd-1m.html