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

Daniel nagios nagios_news at hotmail.com
Tue Apr 29 17:05:43 CEST 2003


Thanks Mario,

I have checked the image permissions and they are set correctly and do 
display However, I am having a problem with the images produced by the cgi 
files eg. statusmap.cgi - no image seems to be created. The rest of the 
webpage works fine and seems to have the mouse over popups. but when I check 
out the properties of the image that hasn't displayed the size is = to 
-1bytes. Hence the image was never generated. From what i understand of a 
cgi script it serves the entire page including generated images to your 
browser and thus doesn't actually create an image on the server.

So the cgi's aren't creating the images. Help.

thanks,
Daniel

>From: Mario.Moldenhauer at SARTORIUS.com
>To: nagiosplug-help at lists.sourceforge.net
>Subject: AW: [Nagiosplug-help] Statusmap - no image shown
>Date: Tue, 29 Apr 2003 07:43:48 +0200
>
>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.
>
>
>
>-------------------------------------------------------
>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


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





More information about the Help mailing list