Re: System logging not working.

From: Anton Erasmus (junk_at_junk.net)
Date: 09/30/03


Date: Tue, 30 Sep 2003 20:28:35 +0200

On 27 Sep 2003 18:25:35 GMT, Davide Bianchi
<davideyeahsure@onlyforfun.net> wrote:

>Anton Erasmus <junk@junk.net> wrote:
>> cat /var/run/syslogd.pid
>> I get 2061
>
>And if you ps -ef | grep 2061 (or whatever PID is in the /var/run/syslog.pid)
>what you see?
>
>> get a line indicating that syslogd has been restarted.
>
>So it looks like is started and running, but is not logging anything.
>Maybe is a problem in the syslog.conf file. Have you checked it?
>

Below is a transcript of what I get.

[anton@duzi anton]$ tail /var/log/messages
Sep 28 12:30:35 duzi syslogd 1.3-0: restart.
[root@duzi anton]# cat /var/run/syslogd.pid
2061
[root@duzi anton]# ps -ef | grep 2061
root 2061 1 0 19:32 ? 00:00:00 syslogd -m 0
root 3065 3032 0 20:34 pts/1 00:00:00 grep 2061
[root@duzi anton]# tail /var/log/messages
Sep 28 12:30:35 duzi syslogd 1.3-0: restart.
[root@duzi anton]# kill -SIGHUP 2061
[root@duzi anton]# tail /var/log/messages
Sep 28 12:30:35 duzi syslogd 1.3-0: restart.
Sep 30 20:34:46 duzi syslogd 1.3-0: restart.

I have not touched the syslog.conf file. It should be as originally
installed. I have another RH9 box, where the syslog works as
it should. I will copy it's syslog.conf file to the box that is giving
problems.

Regards
   Anton Erasmus



Relevant Pages

  • Re: syslogd not logging messages from remote host
    ... Did you restart syslogd after making this change? ... The logger command, as well as anything using the syslogfunction on ... a message from the kernel - that's probably not relevant though. ...
    (comp.unix.bsd.freebsd.misc)
  • syslogd fails to start after dist-upgrade(sarge)
    ... Why does syslogd need a services entry if logging is being done locally? ... services file messed up during the upgrade? ... colin@spanky~/$invoke-rc.d sysklogd restart ...
    (Debian-User)
  • Re: ipmon via syslog
    ... Troy ... >> You need to restart syslogd. ... >>> When ever my log roles over there is a four hour lag. ...
    (FreeBSD-Security)
  • Re: ipmon via syslog
    ... Troy ... >> You need to restart syslogd. ... >>> When ever my log roles over there is a four hour lag. ...
    (FreeBSD-Security)