2008年7月6日 星期日

MRTG error after reboot system.

Reboot Ubunut linux with error in MRTG software.

Error message:
ERROR: Creating templock /var/lock/mrtg/_etc_mrtg.cfg_l_5409: No such file or directory at /usr/bin/mrtg line 1761.

Solution:
Make a directory "/var/lock/mrtg".

We can add the command into /etc/rc.local
# mkdir /var/lock/mrtg