AW: [Nagiosplug-help] Statusmap - no image shown

Mario.Moldenhauer at SARTORIUS.com Mario.Moldenhauer at SARTORIUS.com
Mon Apr 28 22:45:02 CEST 2003


Hello!

Have you checked the permissons of the image files? I have had the problem
that the apache user was not able to read this files. After changing the
file permissions everything worked properly.

Best regards,
Mario

-----Ursprüngliche Nachricht-----
Von: nagios nagios [mailto:nagios_news at hotmail.com]
Gesendet: Dienstag, 29. April 2003 04:09
An: nagiosplug-help at lists.sourceforge.net
Betreff: [Nagiosplug-help] Statusmap - no image shown


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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Disclaimer : 

The information contained in this e-mail is confidential or may otherwise be
legally privileged. It is intended for the named recipient only. If you have
received it in error, please notify us immediately by reply or by calling
the telephone number above and delete this message and all its attachments.
Please note that any unauthorised review, copying, disclosing or otherwise
making use of the information is strictly prohibited. Thank you.

The sender shall not be authorized to conclude any binding agreement with
another party by email for the company for which he acts.

Furthermore, the company for which the sender acts shall accept no liability
for the content of this email or for the consequences of any actions taken
on the basis of the information provided therein, unless that information is
subsequently confirmed in writing by this company. If verification is
required, please request a hard-copy version.

Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company
for which he acts.





More information about the Help mailing list