Statusmap error
Steve Bonds
r1p6os402 at sneakemail.com
Wed Jan 22 22:06:57 CET 2003
On 22 Jan 2003, Jayson Kliger jayson-at-sonictrading.com |Nagios| wrote:
> ok..I took the gd2 image that I had and used: gd2topng to convert it
> back to see if the png image was ok..it was.., so if my situation is
> the same as what you went through, I should use the gd-1.8.4
> "pngtogd2", is it possible to just compile that specific utillity or
> would I have to compile the whole version ..Thanks again for you
> advice
If that worked, then it's likely that the gd2 image is valid. (gd2topng
coredumped on me when I tried it.)
The only other thing I can think of is perhaps Nagios' statusmap CGI was
built against an older version of gd, in which case using the older
pngtogd2 will probably help. If you installed Nagios as binaries it's
likely this is causing your problems.
Since you do not have the older libraries installed you would have to
build the whole gd-1.8.4 set in order to make pngtogd2. (If you look at
the source for this utility you can see it's just making GD calls and
really nothing else.)
So I would try (in order):
+ Rebuild Nagios from source on the system where you'll be running iy
to ensure that it links with the right GD libraries.
+ Build gd 1.8.4 and re-convert your PNGs using the older converter.
-- Steve
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
More information about the Users
mailing list