beautypg.com

Comtech EF Data CMR-5940 Manual User Manual

Page 58

background image

CMR-5940 Digicast Media Router PID Filter RS-422

Revision A

System Log Configuration

MN/PIDFILDC4.IOM

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.

NOTE

After making the changes you must restart

syslogd.




On most machines, entering “service syslog restart” should complete the configuration.

2

This file may be in a different location.

B–2