Bug 167530
| Summary: | mrtg cron job not working in UTF-8 enabled environment | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Bieringer <pb> |
| Component: | mrtg | Assignee: | Miloslav Trmač <mitr> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.12.2-2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-09-12 00:43:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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. |
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.