[Bio-Linux] Firewall logs and backup drives (maximal mount count reached errors)
Dan Swan
dswan at ceh.ac.uk
Wed Jan 28 03:44:31 EST 2004
Dear all,
It has been pointed out that currently there is no /var/log/firewall.log
for firewall alerts as there was in Bio-Linux 2.X. These messages are
currently being logged but not in a centralised location.
To remedy this please add the following line to /etc/syslog.conf at the
top of the file:
kern.=debug -/var/log/firewall.log
then restart syslogd with:
sudo pkill -HUP syslogd
This is now fixed on the latest image.
Also if you are seeing messages like this:
Jan 26 04:02:01 yeastimp kernel: EXT3-fs warning: maximal mount count
reached, running e2fsck is recommended
in /var/log/messages then it's because the backup drive /dev/hdb1 has
been mounted by the backup script enough times to trigger a warning
limit. It is not a major problem.
In order to comply with the suggestion you can run the following:
sudo umount /backups
sudo /sbin/e2fsck /dev/hdb1
You could add these lines to a file called check.sh in /etc/cron.monthly
to ensure a monthly check takes place.
#!/bin/sh
umount /backups
/sbin/e2fsck /dev/hdb1
regards,
Dan
--
Dr Dan Swan - Bio-Linux Developer | RHCE
EGTDC, CEH, Mansfield Road, Oxford, OX1 3SR
Tel: 01865 281 658 Fax: 01865 281 696
http://bio-linux.net/ | dswan at ceh.ac.uk
More information about the Bio-linux-list
mailing list