[mrtg] Re: MRTG running, but no PNG graphs
Grover, Ross
RGrover at oldrepnatl.com
Wed Jan 8 16:45:13 MET 2003
Thanks again Larry. My attempt to edit /etc/profile (as per Eric) was a bust
(I'm still a bit green with RedHat, so I think I did it wrong). Taking your
advice I looked at my env variables and sure enough, it was still:
LANG="en_US.UTF-8"
...rather than:
LANG="en_US"
My fix was to edit the /etc/sysconfig/i18n file and change the LANG variable
there (then: source /etc/sysconfig/i18n). As you said, this removed the
first block of errors. Now I'm left with only one error (which repeats
several times) - no graphs yet, but considerable progress:
gd-png: fatal libpng error: Invalid filter type specified
gd-png error: setjmp returns error condition
When you re-installed your libpng/mrtg software, were you able to install an
RPM or did you compile from source?
Thanks again,
-ross
-----Original Message-----
From: Roberts, Larry [mailto:Larry.Roberts at expanets.com]
Sent: Tuesday, January 07, 2003 4:56 PM
To: 'Grover, Ross'; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Re: MRTG running, but no PNG graphs
Ok,
Type env...
See what your LANG is equal to.
If you changed the file, but didn't log out and back in the change didn't
get implemented.
You can type those to commands at a command prompt to change the current
running shell variables and avoid a logout/login as well.
Thanks
Larry
-----Original Message-----
From: Grover, Ross [mailto:RGrover at oldrepnatl.com]
Sent: Tuesday, January 07, 2003 4:59 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG running, but no PNG graphs
Thanks for the help Eric and Larry. Unfortunately the problem still
persists:
When I installed RedHat the dependant RPM's were already installed:
gd-1.8.4-9
zlib-1.1.4-4
libpng-1.2.2-6
...as per Eric I added:
LANG='en_US'
export LANG
...to my /etc/profile
...and taking Larry's advice, I went ahead and re-downloaded/installed the
dependencies with a --force option:
gd-1.8.4-9
zlib-1.1.4-4
libpng-1.2.2-6
Still no luck, and the same errors:
Malformed UTF-8 character (unexpected continuation byte 0xa4, with no
preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 277.
(this error repeats many times with many, many different line numbers)
gd-png: fatal libpng error: Invalid filter type specified gd-png error:
setjmp returns error condition (this error repeats several times as well)
I'm feeling rather newbish here. I have MRTG running flawlessly with an
older version on another RedHat system (one that I had compiled rather than
RPM'd). Unfortunately we're trying to keep this particular system loaded
with 'easy' RPM's.
Any other ideas?
Thanks again,
--
Ross Grover
Network Administrator
Old Republic National Title Insurance
rgrover at oldrepnatl.com
-----Original Message-----
From: Roberts, Larry [mailto:Larry.Roberts at expanets.com]
Sent: Tuesday, January 07, 2003 11:44 AM
To: 'Grover, Ross'; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Re: MRTG running, but no PNG graphs
The language fix will help the Line 277 error, however by default RH doesn't
install any of the PNG software.
I had the same issue and had to download all the separate libpng software,
install it, then re-install MRTG.
At least that's what happened with me.
The good news is that after redoing the MRTG install and adding the stuff
the Eric added, MRTG is running like a champ on RH8.0
Thanks
Larry
-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com]
Sent: Tuesday, January 07, 2003 11:41 AM
To: 'Grover, Ross'; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG running, but no PNG graphs
LANG='en_US'
export LANG
Put that in your /etc/profile
Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department 512.336.3331
Eric.Brander at acs-inc.com
-----Original Message-----
From: Grover, Ross [mailto:RGrover at oldrepnatl.com]
Sent: Tuesday, January 07, 2003 10:21 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG running, but no PNG graphs
I'm new to this mailing list, so I apologize if this topic has already been
covered. I have looked through many FAQ's, and posts for answers to this
question - I've found many others with this same issue, but no answers yet:
I'm running Linux RedHat (version 8), and have installed the
mrtg-2.9.25-1.7.2.i386.rpm
Regarding dependencies, I have the following installed: gd-1.8.4-9
zlib-1.1.4-4 libpng-1.2.2-6
-------------------
After the install, SNMP data is collected, and everything seems to be
running fine. But on the web page, no graphs are displayed. In my html
directory, the .png files are seemingly created, but only 75 bytes long.
Below are the errors I receive:
Malformed UTF-8 character (unexpected continuation byte 0xa4, with no
preceding start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 277.
(this error repeats many times with different line numbers)
gd-png: fatal libpng error: Invalid filter type specified gd-png error:
setjmp returns error condition (this error repeats several times as well)
Any help would be greatly appreciated. Thanks gang,
--
Ross Grover
Network Administrator
Old Republic National Title Insurance
rgrover at oldrepnatl.com
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list