Comtech EF Data CMR-5975 Manual User Manual
Page 98

Digicast Media Router S2 Receiver CMR-5975 (MR-S2)
Revision 3
System Log Configuration
MN-CMR5975-IOM
C–2
Looking in the top of file /etc/init.d/syslog
2
, the following is usually displayed:
#!/bin/bash
#
# syslog Starts syslogd/klogd.
#
#
# chkconfig: 2345 12 88
# description: Syslog is the facility by which many daemons use to log \
# messages to various system log files. It is a good idea to always \
# run syslog.
# Source function library.
. /etc/init.d/functions
[ -f /sbin/syslogd ] || exit 0
[ -f /sbin/klogd ] || exit 0
# Source config
if [ -f /etc/sysconfig/syslog ] ; then
.
/etc/sysconfig/syslog
else
SYSLOGD_OPTIONS=”-m
0”
KLOGD_OPTIONS=”-2”
fi
Of specific interest is the following line:
SYSLOGD_OPTIONS=”-m 0”
By adding a –r suffix, this allows the server to accept messages from remote machines.
The edited line should read as follows:
SYSLOGD_OPTIONS=”-m 0 –r”
Check the services file, normally at /etc/services, to ensure that PORT 514 is defined.
By default this should be enabled on most machines.
On most machines, entering “service syslog restart” should complete the configuration.
2
This file may be in a different location.
NOTE
After making the changes you must restart
syslogd.