SUMMARY: System logging problems

From: Gilbert, Ashley <Ashley.Gilbert_at_eadvancemed.com>
Date: Fri, 16 Nov 2001 12:49:20 -0500

I figured out the answer. The SIGHUP has to be sent to the process to
initiate the use of my updated configuration file. It closes all
previously opened log files and opens the newly specified ones, if there
are any. It's always the simple solutions that get me ; )

kill -SIGHUP `cat /var/adm/run/syslog.pid`

Thanks to everyone for their suggestions. I've mentioned a few below.

Jonathan Burelback
Try changing kern.*, etc to kern.debug. This will log everything at
debug & higher to the file.

Pat O'Brien
logger -b "some chars" will log to the binary.errlog to be viewed with
dia,
or evm. to test your config log on as you and su - ,and then enter the
wrong password. this should create a entry in the auth log. Your
syslog.conf should probably be modified on the lpr line to lpr.notice.
Else
you should get other messages from lpr wizard stating this is not ideal.



-----Original Message-----
From: Gilbert, Ashley
Sent: Friday, November 16, 2001 12:15 PM
To: tru64 unix-managers
Subject: System logging problems


Hi there,

I've tried pretty much everything, including checking the list archives
for a solution to my System logging problems. Originally, my intent was
to check for all failed and successful su attempts. The system is a
Alpha 2100 running Tru64 5.1A.

My syslog.conf file has a static link in the /etc directory pointing to
/cluster/members/{memb}/etc/syslog.conf. The permissions on the link
are: -lrwxr-xr-x root system. The directory the link is pointed to is
-rwxr-xr-x bin bin, which looks about right to me.
There are no spaces in the file, only tabs. I also tried stopping and
restarting the syslogd daemon. What is really interesting is logger
will not write to the log files either; I tried logger -p kern.debug
"testing...", but nothing showed in any of the logs or the console.

The contents of the syslog.conf file are as follows:

# syslogd config file
#
# facilities: kern user mail daemon auth syslog lpr binary
# priorities: emerg alert crit err warning notice info debug
kern.* /var/adm/syslog.dated/kern.log
user.* /var/adm/syslog.dated/user.log
mail.* /var/adm/syslog.dated/mail.log
daemon.* /var/adm/syslog.dated/daemon.log
auth.* /var/adm/syslog.dated/auth.log
syslog.* /var/adm/syslog.dated/syslog.log
lpr.* /var/adm/syslog.dated/lpr.log

msgbuf.* /var/adm/crash/msgbuf.savecore

kern.debug /var/adm/messages
kern.debug /dev/console
*.emerg *

I would appreciate any help.

TIA,
Ashley
Received on Fri Nov 16 2001 - 17:50:09 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT