[Nagiosplug-help] Statusmap - no image shown

nagios nagios nagios_news at hotmail.com
Mon Apr 28 19:12:24 CEST 2003


Hi all, I was wondering if there has been a reply to the below message? As I 
seem to be having a similar issue.

The page loads up except for the image. The html has reseved the space for 
the image however there has been no image generated to show. What is the go 
here?

below is the statusmap references I have. Can any one help? Thanks. Daniel

bash-2.03$ ldd statusmap.cgi
        libz.so =>       /usr/lib/libz.so
        libm.so.1 =>     /usr/lib/libm.so.1
        libpng12.so.0 =>         /usr/lib/libpng12.so.0
        libjpeg.so.62 =>         /usr/lib/libjpeg.so.62
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1



Original Message:
-------------------- 01/04/2003 Msg: Matthew --------------------

Hi, I am running Nagios 1.0 with the following libraries installed:
jpeg-6b,libpng-1.2.5,libpng-1.2.5,zlib-1.1.4

My platform=Solaris 8 on Ultra-10

I am able to compile Nagios with gd support. But when i tried to access
statusmap, trends or histogram cgis in the browser, i got the following
error in the Apache server error log ->

ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or
directory
[Tue Apr  1 15:03:28 2003] [error] [client 10.10.140.124] Premature end of
script headers: /usr/local/nagios/sbin/statusmap.cgi

Below is the output when i did a ldd of the statusmap.cgi ->

ldd  statusmap.cgi
         libgd.so.2 =>    /usr/local/lib/libgd.so.2
         libm.so.1 =>     /usr/lib/libm.so.1
         libjpeg.so.62 =>         /usr/local/lib/libjpeg.so.62
         libc.so.1 =>     /usr/lib/libc.so.1
         libXpm.so.4.11 =>        /usr/local/lib/libXpm.so.4.11
         libX11.so.4 =>   /usr/lib/libX11.so.4
         libdl.so.1 =>    /usr/lib/libdl.so.1
         libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
         libsocket.so.1 =>        /usr/lib/libsocket.so.1
         libnsl.so.1 =>   /usr/lib/libnsl.so.1
         libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
         libmp.so.2 =>    /usr/lib/libmp.so.2
         /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

It seems like statusmap.cgi know where to find the gd libraries, but why do
i still get the error above in the Apache logs when i tried to access the
statusmap.cgi?

Regards,
Matthew






_________________________________________________________________
Hotmail now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/hotmail_mobile.asp





More information about the Help mailing list