Technical article 118295

The syslog facility on OpenServer 5.0.6 does not accept remote system messages on UDP port 514, even though this service is enabled in the /etc/services file.

OpenServer 6.0.0OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

The syslog facility on OpenServer 5.0.6 does not accept remote system
messages on UDP port 514, even though this service is enabled in the
/etc/services file.  This had worked as expected on previous release
of OpenServer.

Solution

Beginning with Openserver 5.0.6, a new flag was added to syslogd, the
daemon responsible for logging system messages.  This new flag, "-r",
provides daemon level control for servicing remote system messages
that previously could only be disabled by commenting out the
"syslog  514/udp" line from the /etc/services file.
By default, OpenServer is now configured to not allow remote system
logging.  If this functionality is desired, edit the /etc/bcheckrc
file and find following line near the bottom of the file:
[ -x /etc/syslogd -a -f /etc/syslog.conf ] && /etc/syslogd
Change this to:
[ -x /etc/syslogd -a -f /etc/syslog.conf ] && /etc/syslogd -r
The  next time the system is rebooted, the /etc/bcheckrc file will
run and remote system logging will be enabled.

To enable this functionality immediately, kill the existing syslogd process and restart it with the following command:

/etc/syslogd -r

On the remote server, enter into /etc/syslog.conf:

*.info              @servername

And ensuring that <servername> is resolvable and that 'syslogd' is restarted with a kill -1 then information, such as:

# logger test

should go to both this and the remote server too.

See also

ta111184, "How to prevent syslogd from receiving messages from remote hosts." syslogd(ADM)

From the Xinuos technical article database, record 118295. Reproduced with permission. The original is at www.sco.com/ta/118295, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.