Oh one more thing. There was an old email in archive about similar problems writing to dhcp log file. The answer there was his libol version was too low. I'm using old redhat7.3 and installed newest syslog-ng from source..... is it possible even redhat7.3 is too old for syslog-ng source??? Perhaps a little libol upgrade would fix?? I dunno why newer libol version would negate need for HUP but who knows. Chris On Mon, Apr 07, 2003 at 06:27:10PM -0400, Jacob Steinberger wrote:
In your logrotate settings, did you send a restart to syslog-ng or a HUP to it? You need to do one of the two because the INODE on the file changes and syslog-ng isn't built to follow INODEs...
Jacob
For some reason every time logrotate rotates /var/log/messages, my syslog-ng stops working.
The permissions look ok..
[office root /var/log] # ls -l mess* -rw------- 1 root root 0 Apr 6 04:02 messages -rw------- 1 root root 378135 Apr 7 15:15 messages.1 -rw------- 1 root root 908864 Mar 31 15:50 messages.2 -rw------- 1 root root 1795514 Mar 25 14:06 messages.3 -rw------- 1 root root 945373 Mar 19 11:31 messages.4 -rw------- 1 root root 7 Apr 7 14:24 messages.offset
Why does logrotate cause syslog-ng to not put any new stuff in /var/log/messages?
Chris
-- _______________________________________
Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A.
Phone: (619) 553-9973 Fax: (619) 553-6521 Email: seberino@spawar.navy.mil _______________________________________ _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
-- _______________________________________ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A. Phone: (619) 553-9973 Fax: (619) 553-6521 Email: seberino@spawar.navy.mil _______________________________________