trends.cgi and statusmap.cgi still not working

Evan Mann emann at questinc.org
Wed Dec 4 21:50:59 CET 2002


Greg,

You are the man.  That fixed it!  Evereything works now.

-----Original Message-----
From: Potter, G M (Greg) [mailto:GPotter at MarathonOil.com]
Sent: Wednesday, December 04, 2002 3:40 PM
To: Evan Mann
Cc: Nagios-users (E-mail)
Subject: RE: [Nagios-users] trends.cgi and statusmap.cgi still not
working


Are you using apache?  If so you probably need to add the following to your
httpd.conf file:

SetENV LD_LIBRARY_PATH /usr/local/lib

or point it to where ever your shared libraries are, and re-start your web
server.

Greg

> -----Original Message-----
> From: Evan Mann [mailto:emann at questinc.org]
> Sent: Wednesday, December 04, 2002 2:33 PM
> To: Potter, G M (Greg)
> Subject: RE: [Nagios-users] trends.cgi and statusmap.cgi still not
> working
> 
> 
> [Wed Dec 04 15:31:37 2002] [error] [client 10.10.1.99] 
> Premature end of
> script headers: trends.cgi, referer: 
> http://10.10.1.20/nagios/side.html
> [Wed Dec 04 15:31:37 2002] [error] [client 10.10.1.99]
> /usr/local/nagios/sbin/trends.cgi: error while loading shared 
> libraries:
> libpng.so.3: cannot open shared object file: No such file or 
> directory,
> referer: http://10.10.1.20/nagios/side.html
> [Wed Dec 04 15:31:38 2002] [error] [client 10.10.1.99] 
> Premature end of
> script headers: statusmap.cgi, referer: 
> http://10.10.1.20/nagios/side.html
> [Wed Dec 04 15:31:38 2002] [error] [client 10.10.1.99]
> /usr/local/nagios/sbin/statusmap.cgi: error while loading 
> shared libraries:
> libpng.so.3: cannot open shared object file: No such file or 
> directory,
> referer: http://10.10.1.20/nagios/side.html
> 
> Well I do have one of the problems you do, but apparently 
> there is still a
> libpng error.  Not sure why though. My libpng error may be 
> the causing my
> script headers problem too.  
> 
> -----Original Message-----
> From: Potter, G M (Greg) [mailto:GPotter at MarathonOil.com]
> Sent: Wednesday, December 04, 2002 3:29 PM
> To: Evan Mann
> Cc: Nagios-users (E-mail)
> Subject: RE: [Nagios-users] trends.cgi and statusmap.cgi still not
> working
> 
> 
> In your Web server error log do you see an entry that says 
> something like
> the following:
> 
> [Tue Dec  3 07:38:37 2002] [error] [client 192.168.1.2] 
> Premature end of
> script headers: /usr/local/nagios/sbin/statusmap.cgi
> 
> If so we may have the same problem.
> 
> Greg
> 
> 
> > -----Original Message-----
> > From: Evan Mann [mailto:emann at questinc.org]
> > Sent: Wednesday, December 04, 2002 2:20 PM
> > To: Potter, G M (Greg)
> > Subject: RE: [Nagios-users] trends.cgi and statusmap.cgi still not
> > working
> > 
> > 
> > The Nagios-USers group didn't have much help for me.  
> > Originally I got some
> > LD errors on lib dependancie swith GD, but I no logner have 
> > any of those
> > with Nagios 1.0 and the newest GD/ZLIB/LIBPNG.  So I'm 
> > totally out of ideas.
> > 
> > -----Original Message-----
> > From: Potter, G M (Greg) [mailto:GPotter at MarathonOil.com]
> > Sent: Wednesday, December 04, 2002 3:18 PM
> > To: Evan Mann
> > Subject: RE: [Nagios-users] trends.cgi and statusmap.cgi still not
> > working
> > 
> > 
> > I have been doing some research on this problem.  I believe 
> > that the process
> > is giving a SEGFAULT when it tries to manipulate the graphics 
> > images.  This
> > is on my Solaris 7 machine. It does not SEGFAULT on my 
> > Solaris 8 machine.  I
> > have turned on some debugging in the gd modules, and added 
> > some debug output
> > to statusmap.cgi.  That along with truss are giving me some 
> > indication where
> > the SEGFAULT is occurring.  As I get more data I will post it 
> > to this site.
> > Has anyone else been down this road and found a solution yet? 
> >  I wouldn't
> > mind using someone else's solution instead of banging my head 
> > against the
> > wall.  :-(
> > 
> > Greg Potter
> > 
> > > -----Original Message-----
> > > From: Evan Mann [mailto:emann at questinc.org]
> > > Sent: Wednesday, December 04, 2002 1:28 PM
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] trends.cgi and statusmap.cgi still 
> > not working
> > > 
> > > 
> > > Just compiled all newest version of jpeg-6b, zlib, libpng, and gd.
> > > 
> > > Compiled Nagios-1.0 and 1.3.0-beta2 plugins
> > > 
> > > Installed over my existing Nagios.
> > > 
> > > trends.cgi and statusmap.cgi STILL return an Internal server 
> > > error (Apache
> > > 2.0.43)
> > > 
> > > With the new libs and version of Nagios I received NO 
> > > compiler warnings like
> > > I did previous with trends and statusmap CGI's.
> > > 
> > > Any ideas now?
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Microsoft Visual Studio.NET 
> > > comprehensive development tool, built to increase your 
> > > productivity. Try a free online hosted session at:
> > > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > 
> > 
> 


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en




More information about the Users mailing list