Bug 75913
| Summary: | mrtg gives many errors when ran - LANG problem | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Dale Lovelace <dlovelace> |
| Component: | mrtg | Assignee: | Miloslav Trmač <mitr> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | bruno, josh.howlett, shishz, zach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-08-16 21:02:05 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: | |||
|
Description
Dale Lovelace
2002-10-14 21:26:42 UTC
I'm having the same error: Malformed UTF-8 character (unexpected continuation byte 0xa4, with no preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 248. Malformed UTF-8 character (unexpected continuation byte 0xa4, with no preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 248. Malformed UTF-8 character (unexpected continuation byte 0xa4, with no preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 248. Malformed UTF-8 character (unexpected non-continuation byte 0xc6, 1 byte after start byte 0xe5, expected 3 bytes) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 248. Malformed UTF-8 character (unexpected continuation byte 0xa7, with no preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 248. Malformed UTF-8 character (unexpected continuation byte 0xaa, with no preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 248. Malformed UTF-8 character (unexpected non-continuation byte 0x0a, immediately after start byte 0xcc) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 248. etc...... I've tried changing the LANG setting, but still fails. josh. Did you try 'export LANG="C"' before running mrtg? I think you need to reboot before changing the setting in /etc/sysconfig/i18n will take effect. If mrtg still gives all the errors try typing 'set | grep LANG' and see what it says. # export LANG="C" That did the trick! Thanks for your help in resolving this. josh. MRTG's cfgmaker also has problems with the RH8/9 LANG setting. It doesn't abort, but outputs a corrupt mrtg.cfg file with lots of extra junk in it. Changing LANG to "C" also fixes the problem with cfgmaker. This problem exists in FC1 as well. I didn't expect that, given the extensive review process for FC1. This is not a problem for the default setup using cron because cron doesn't pass any LANG value. When mrtg-2.10.5-3 is run from the command line, it prints a detailed error message if LANG specifies UTF-8. |