Operating System - HP-UX
1850573 Members
2912 Online
104054 Solutions
New Discussion

Syslogd: getting logs for mail

 
SOLVED
Go to solution
Mike_Ca Li
Regular Advisor

Syslogd: getting logs for mail

I have the following in syslog.conf
# @(#)B.11.11_LR
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *

syslod daemon restarted, how come I don't see anything in /var/adm/syslog/mail.log or syslog.log?
Thanks
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Syslogd: getting logs for mail

Hi Mike,

What if do 'kill -HUP '. Do you see any 'syslog restart' message in syslog.log?. Try 'logger "some test message"' and see if it gets logged.

#kill
#syslogd -D

See if it helps. Since this is the default configuration, try replacing it with a fresh configuration file to rule out any special characters in the file.

#cp /usr/newconfig/etc/syslog.conf /etc
#/sbin/init.d/syslogd stop
#/sbin/init.d/syslogd start

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Mike_Ca Li
Regular Advisor

Re: Syslogd: getting logs for mail

Works now. Thanks a lot