Re: [Networker] large messages file
I setup a seperate startup script that runs the unix standard logrotator
command. Run this script before Networker startup.
#(echo 'rotating NetWorker Messages:') > /dev/console
#if [ -f /usr/local/sbin/logrotate ]; then
# (/usr/local/sbin/logrotate /opt/local/etc/networker-
n/sleep 15) > /dev/console 2>&1
# (echo 'rotated Networker Messages') > /dev/console
This is what my logrotator.conf for networker looks like
# sample logrotate configuration file
I like this approach for a couple reasons.
1. I can tell by looking at the dates of the rotated messages files when
my server was rebooted.
2. Networker writes to the messages file through the syslog daemon and I
know the syslog daemon has been restarted at boot.
Why hasn't EMC/Legato provided a built in log rotation of the messages
file yet? This has been a problem for many, many, years.
Brown University - CIS
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER