From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6 Description of problem: mrtg claim about UTF-8 environment and cronjob won't run Version-Release number of selected component (if applicable): mrtg-2.11.1-3 How reproducible: Always Steps to Reproduce: 1. install mrtg 2. configure mrtg 3. run cron script manually for tests Actual Results: # /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok ----------------------------------------------------------------------- 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/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok ----------------------------------------------------------------------- Expected Results: Working Additional info: Note that applying the hint "env LANG=C" to /etc/cron.d/mrtg will solve this issue. BTW: looks like the distributed version is not IPv6-enabled: WARNING: IPv6 libraries not found, IPv6 disabled.
Yes, it is quite obvious what to do; nevertheless I have added the necessary environment variable settings to rawhide /etc/cron.d/mrtg for convenience. mrtg is currently as IPv6 enabled as the upstream is; the problem is that the necessary Perl modules for IPv6 support are not included in Fedora Core. Thanks for your report.