root@JUI:/etc/mrtg# mrtg router-traffic.cfg
Saturday, 23 December 2006 at 17:19: ERROR: Creating templock /var/lock/mrtg/ectory at /usr/bin/mrtg line 1757.
root@JUI:/etc/mrtg# env LANG=C /usr/bin/mrtg router-traffic.cfg
Saturday, 23 December 2006 at 17:26: ERROR: Creating templock /var/lock/mrtg/router-traffic.cfg_l_21684: No such file or directory at /usr/bin/mrtg line 1757.
Ref Solution
Bug #30428:
/var/lock/mrtg disappears on reboot
Solve
add "mkdir /var/lock/mrtg" to /etc/rc.local
No comments:
Post a Comment