From: John H. <web...@ew...> - 2013-12-20 02:59:59
|
Hi Jamie, Since updating to CentOS 6.5, MRTG has this error message after each cron run. ----------------------------------------------------------------------- ERROR: Mrtg will most likely not work properly when the environment variable LANG is set to UTF-8. Please run mrtg in an environment where this is not the case. Try the following command to start: env LANG=C /usr/bin/mrtg /etc/mrtg/webmin.cfg ----------------------------------------------------------------------- I am running MRTG via cron. And in fact after the upgrade MRTG did not create proper output. So, I changed the command in my cronjob to the line above. MRTG then started to work again as expected. However, I'm still getting the above error message every 5 minutes which is the cron run timing. So, I very much liked getting this error which was great in fixing the problem. But, now how to make it stop when the right command is run. Thanks, John Hinton |