On Tue, Jul 15, 2003 at 05:21:23PM +0200, Ulrich Roth wrote:
Hi Edwin,
I just found strange problem on my server. I run Susefirewall2 on 7.3, and i just found that since 3 days ago my firewall didn't write the log to /var/log/firewall and the file size is 0. I try touch firewall to that file but still don't work. Stop the firewall, delete the file and restart the firewall. I think that will do the job.
s/firewall/syslog/ in fact, a HUP signal to your friendly syslogd or "rcsyslog reload" will do the job.
If you move/rename a file while a process has it open for writing, this process will still write to that file. Try it out. But I don't know what happens if you zip the file.
well, the original file is deleted, the zipfile is a new file. But the filedescriptor is still open - try "lsof|grep deleted" and you will see your old /var/log/firewall, the new one has a new filedescriptor and is created by the "touch" command. -- Stefan Seyfried Senior Consultant community4you GmbH, Chemnitz, Germany. http://www.community4you.de http://www.open-eis.com