Virtual TapeServer 6.04.03 Operations and Administration Guide

138 | Troubleshooting
c. Add the -r parameter to the command line for the syslog daemon. This can be done by
modifying the /etc/sysconf/syslog file and setting the SYSLOGD_OPTIONS
variable.
Here is an example of a default /etc/sysconf/syslog file:
# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages received with -r
# See syslogd(8) for more details
SYSLOGD_OPTIONS="-m 1"
# Options to klogd
# -2 prints all kernel oops messages twice; once for klogd to
# decode, and once for processing with 'ksymoops'
# -x disables all klogd processing of oops messages entirely
# See klogd(8) for more details
KLOGD_OPTIONS="-x"
To enable the system to receive remote syslog messages, change this line:
SYSLOGD_OPTIONS="-m 1"
to this:
SYSLOGD_OPTIONS="-m 1 -r"
d. Restart the syslog daemon by entering this command:
service syslog restart
e. On the local system, verify that messages are being logged in the remote system. For
example, use the logger utility:
logger -p kern.info test message
This should result in an entry such as “Jun 29 15:29:51 vtsdev24 bill: test message”
appearing in the remote system's log file.
Note
The syslog.conf file on the remote system will determine if and where the
message is logged.
To test the remote logging, log in to the VTS system using SSH but specify an incorrect user
or password. Messages about this attempt should appear in the remote log. The log files in
which messages are placed on the remote system depends on its configuration.
Other log files
The following log files are generated and saved in various directories on the VTS server.
Operating system logs:
/var/log/messages
/var/log/cron
/var/log/boot.log
Apache web server logs:
/var/log/httpd/error_log
/var/log/httpd/access_log