[rhn-users] /var/log/messages empty (more info) SOLVED

FM dist-list at LEXUM.UMontreal.CA
Wed Feb 16 21:47:23 UTC 2005


Thanks for the reply,
I had a  typo in the syslog.conf

I used the -d to find it.

Thanks !

Sullivan, Michael wrote:
> When was the last entry in any of your /var/log/messages or /var/log/syslog
> file made?  When was the last time the box was rebooted? Was it a
> hard-failure or init 6 ? 
> 
> You can try running the syslogd with the -d option (debug).  The out put is
> displayed to the current tty.  You should see the /var/log/messages and the
> others listed.  Any errors will be displayed. 
> 
> #syslogd -d
> 
> --Mike. 
> 
> CONFIDENTIALITY NOTICE:  This email from EDS is for the sole use of the
> intended recipient and may contain confidential and privileged information.
> Any unauthorized review or use, including disclosure or distribution is
> prohibited.  If you are not the intended recipient, please contact the
> sender and destroy all copies of the email.
> 
> 
> -----Original Message-----
> From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com] On
> Behalf Of FM
> Sent: Wednesday, February 16, 2005 8:53 AM
> To: Red Hat Network Users List
> Subject: Re: [rhn-users] /var/log/messages empty (more info)
> 
> 
> Here more info
> 
> 
> # lsof  | grep /var/log/messages
> 
> 
> # lsof  | grep /var/log/secure
> syslogd   26655     root    1w   REG        8,9      28488     160521 
> /var/log/secure
> 
> 
> So even after restarting syslogd it do not open the messages file
> 
> FM wrote:
> 
>>REHL 3 AS Update 4
>>
>>Hello for several days now /var/log/messages is empty.
>>
>>I did not change logrotate and syslog config file
>>
>>All logrotate do a postscript kill -SIGHUP of the syslog PID
>>
>>How can I troubleshoot syslog ?
>>
>>thanks !
>>
>>_______________________________________________
>>rhn-users mailing list
>>rhn-users at redhat.com https://www.redhat.com/mailman/listinfo/rhn-users
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com https://www.redhat.com/mailman/listinfo/rhn-users
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users




More information about the rhn-users mailing list