Nagios 1.1 and statusmap.cgi problem

Tielman De Villiers tvilliers at Lastminute.com
Fri Aug 1 11:13:55 CEST 2003


That's what I suspected. 

One hint though :: I struggled quite a bit compiling with libraries in
'non-standard' places, and /usr/local/lib could be one of these places (I
installed from /home/user) ... the problem was that the cgi's run fine from
the command line, but not when called by apache (as is the case with you ),
so this solved the problem:

first export LD_RUN_PATH=/usr/local/lib   ### or wherever your custom
libraries are installed

and then run configure
make all ++ make install



Tielman de Villiers
Back Office Developer
Address: 4 Buckingham Gate, London SW1E 6JP 
Tel: +44(0)20.7802.4393
Fax: +44(0)20.7802.9302 
email: tvilliers at lastminute.com

do something lastminute.com


> -----Original Message-----
> From: Franck MAHE [mailto:fmahe at jemspartners.com]
> Sent: 01 August 2003 10:04
> To: 'Tielman De Villiers'
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE : [Nagios-users] Nagios 1.1 and statusmap.cgi problem
> 
> 
> Well,
> 
> Here are the results
> 
> libpng warning: Application was compiled with png.h from libpng-1.0.3
> libpng warning: Application  is  running with png.c from libpng-1.2.2
> gd-png:  fatal libpng error: Incompatible libpng version in 
> application and
> library
> [Fri Aug  1 11:01:55 2003] [error] [client 10.0.0.44] Premature end of
> script headers: /usr/local/nagios/sbin/statusmap.cgi
> 
> So I need to recompile statusmap.cgi and trends.cgi with the 
> correct version
> of libpng
> 
> Thanks
> 
> Franck
> 
> 
> 
> 
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Tielman De
> Villiers
> Sent: Friday, August 01, 2003 10:37 AM
> To: 'Franck MAHE'
> Cc: 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] Nagios 1.1 and statusmap.cgi problem
> 
> 
> Check the apache log -- what's the error there??
> 
> Tielman de Villiers
> Back Office Developer
> Address: 4 Buckingham Gate, London SW1E 6JP 
> Tel: +44(0)20.7802.4393
> Fax: +44(0)20.7802.9302 
> email: tvilliers at lastminute.com
> 
> do something lastminute.com
> 
> 
> > -----Original Message-----
> > From: Franck MAHE [mailto:fmahe at jemspartners.com]
> > Sent: 01 August 2003 08:49
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Nagios 1.1 and statusmap.cgi problem
> > 
> > 
> > I've a new installation of nagios 1.1 with mysql support on a
> > linux box with
> > kernel 2.2.19.
> > 
> > I've a problem with the building of images when I tried to
> > access to Status
> > Map. It's the same with Trends. The image appears like a 
> > broken object.
> > Strange
> > 
> > 
> > Here is the information of static libraries link to statusmap.cgi
> > 
> >         libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6
> > (0x40015000)
> >         libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000)
> >         libm.so.6 => /lib/libm.so.6 (0x40065000)
> >         libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000)
> >         libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000)
> >         libc.so.6 => /lib/libc.so.6 (0x400e0000)
> >         libnsl.so.1 => /lib/libnsl.so.1 (0x401db000)
> >         libz.so.1 => /usr/lib/libz.so.1 (0x401f1000)
> >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000)
> >         libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> > 
> > For trends.cgi
> > 
> >         libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6
> > (0x40015000)
> >         libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000)
> >         libm.so.6 => /lib/libm.so.6 (0x40065000)
> >         libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000)
> >         libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000)
> >         libc.so.6 => /lib/libc.so.6 (0x400e0000)
> >         libnsl.so.1 => /lib/libnsl.so.1 (0x401db000)
> >         libz.so.1 => /usr/lib/libz.so.1 (0x401f1000)
> >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000)
> >         libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> > 
> > 
> > Have a clue for me?
> > 
> > Thanks
> > 
> > Franck
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET 
> sites including 
> > Data Reports, E-commerce, Portals, and Forums are available now. 
> > Download today and enter to win an XBOX or Visual Studio .NET. 
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> > _072303_01/01
> > _______________________________________________
> > 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
> > 
> > ______________________________________________________________
> > __________
> > This e-mail has been scanned for all viruses by Star Internet. The 
> > service is powered by MessageLabs. For more information on 
> a proactive 
> > anti-virus service working around the clock, around the 
> globe, visit: 
> > http://www.star.net.uk 
> > ______________________________________________________________
> > __________
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including Data
> Reports, E-commerce, Portals, and Forums are available now. 
> Download today
> and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> _072303_01/01
> _______________________________________________
> 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
> 
> 
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________
> 


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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