Statusmap./

Brad Dunn bdunn at rdac.com.au
Fri Jan 16 04:13:47 CET 2004


Hi,

I've got the ever so usual "cant view status map" problem. I had a
similar problem a long time ago but it's a different system now and I've
got a different problem. I think it's actually related to the zlib
library.
Anyway..

The OS is rh9, nagios 1.0
Nagios is working fine, the stausmap.cgi and trends.cgi are installed
fine, except the images are broken I'm assuming due to library problems.

As it currently stands. I have run the following to see if my libraries
are ok.

ldconfig -v > check.txt

Ive grepped this file and it seems the following exsist.

libgd.so.1.8 -> libgd.so.1.8.4
libpng12.so.0 -> libpng12.so.0.1.2.2
libjpeg.so.62 -> libjpeg.so.62.0.0

however I cant see any zlib libraries. 

I have checked /etc/ld.so.conf

/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib

And none of those directories contain any zlib files.

I did a locate for zlib

/usr/lib/python2.2/lib-dynload/zlibmodule.so
/usr/lib/python2.2/test/output/test_zlib
/usr/lib/python2.2/test/test_zlib.py
/usr/lib/python2.2/encodings/zlib_codec.py
/usr/lib/python2.2/encodings/zlib_codec.pyc
/usr/lib/python2.2/encodings/zlib_codec.pyo
/usr/share/doc/zlib-1.1.4
/usr/share/doc/zlib-1.1.4/README
/usr/share/doc/zlib-devel-1.1.4
/usr/share/doc/zlib-devel-1.1.4/algorithm.txt
/usr/share/doc/zlib-devel-1.1.4/ChangeLog
/usr/share/doc/zlib-devel-1.1.4/example.c
/usr/share/doc/zlib-devel-1.1.4/minigzip.c
/usr/share/man/man3/zlib.3.gz
/usr/include/zlib.h
/home/brad/nagios_image_librarys/zlib-1.2.0.7-2.i386.rpm
/lib/modules/2.4.20-8/kernel/lib/zlib_deflate
/lib/modules/2.4.20-8/kernel/lib/zlib_deflate/zlib_deflate.o


And I'm slightly unsure about if its installed properly, or even if it's
the correct version. I've tried adding what I thought might be the
correct directories into ld.so.conf

Eg the /usr/include/ and even gave /usr/lib/python2.2/lib-dynload/
directories but they didn't seem to help.

When I ran the configure including --with-gd-lib=LIBDIR
--with-gd-inc=INCDIR

I did notice one thing that makes me think it might not be zlib,

It displays

checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no

is this stating that the libpng files arnt correct or something?


anyway, any help anyone could give me in locating whats wrong with my
libraries I would be in debt. Thanks again.

- Brad Dunn



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list