The init script of mrtg sets LANG=C if LANG=*utf8 in order to make mrtg start. The script does, however, miss the case where LANG=*UTF-8 (with a dash): # set | grep LANG LANG=en_DK.UTF-8 # /etc/init.d/mrtg start ----------------------------------------------------------------------- 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 --check /etc/mrtg.conf ----------------------------------------------------------------------- * Starting mrtg ... [ ok ]
Created attachment 61504 [details, diff] mrtg.rc.patch Patch to fix UTF-8 locales
Tested and confirmed it. Thanks for reporting, your fix is in CVS.