RES: RE: User-supplied coords in custom status mao layout

Sandro Merg Vaz sandro at opservices.com.br
Tue Nov 26 20:45:34 CET 2002


Greg:

The battle goes on. After installing gdlib 2.0.8, the problem persists.
We have RedHat here, and below the libraries dependencies of
statusmap.cgi. The error is the same: "Premature End of Script Headers".

[root at redhat nagios-1.0]# ldd /usr/local/nagios/sbin/statusmap.cgi
        libgd.so.2 => /usr/local/lib/libgd.so.2 (0x4001d000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40054000)
        libm.so.6 => /lib/libm.so.6 (0x40062000)
        libpng.so.3 => /usr/local/lib/libpng.so.3 (0x40084000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400b1000)
        libc.so.6 => /lib/libc.so.6 (0x400d1000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40207000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40216000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x402f4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

As last hope, i beg to someone who has the user-supplied coords map
layout WORKING in a RedHat 7.2, that send his/her ldd of statusmap.cgi
for comparison.
 
Any help, clue, idea, hint, is valuable.
 
Sandro Vaz


-----Mensagem original-----
De: Potter, G M (Greg) [mailto:GPotter at MarathonOil.com] 
Enviada em: segunda-feira, 25 de novembro de 2002 11:42
Para: Sandro Merg Vaz; nagios-users at lists.sourceforge.net
Assunto: RE: [Nagios-users] RE: User-supplied coords in custom status
mao layout


I believe you are having the same problem I did.  I would look into
re-compiling your libgd.

Greg

> -----Original Message-----
> From: Sandro Merg Vaz [mailto:sandro at opservices.com.br]
> Sent: Monday, November 25, 2002 9:44 AM
> To: Potter, G M (Greg); nagios-users at lists.sourceforge.net
> Cc: 'Alessandro Ren'
> Subject: RES: [Nagios-users] RE: User-supplied coords in custom status

> mao layout
> 
> 
> Yes.
> 
> [Mon Nov 25 12:37:38 2002] [error] [client 192.168.3.50] Premature end

> of script headers: /usr/local/nagios/sbin/statusmap.cgi
> 
> I´ve tried to use the new Nagios 1.0, without success.
> 
> Nowhere to go.
>  
> Att.,
>  
> SMV
> 
> 
> -----Mensagem original-----
> De: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de
> Potter, G M
> (Greg)
> Enviada em: segunda-feira, 25 de novembro de 2002 10:58
> Para: Sandro Merg Vaz; nagios-users at lists.sourceforge.net
> Cc: Alessandro Ren
> Assunto: RE: [Nagios-users] RE: User-supplied coords in custom status
> mao layout
> 
> 
> Do you get the error message in your web server error log about 
> statusmap.cgi ending prematurely?  I don't know why but the use of the

> gd library is finicky.  I had to re-compile Nagios, libgd, libpng, and

> apache to get them all to work together.
> 
> Greg
> 
> > -----Original Message-----
> > From: Sandro Merg Vaz [mailto:sandro at opservices.com.br]
> > Sent: Friday, November 22, 2002 5:27 PM
> > To: Potter, G M (Greg); nagios-users at lists.sourceforge.net
> > Cc: 'Alessandro Ren'
> > Subject: RES: [Nagios-users] RE: User-supplied coords in
> custom status
> 
> > mao layout
> > 
> > 
> > Greg and all Nagiosmates:
> > 
> > In our RedHat instalation, we configured the Nagios compiling 
> > process to use the following libraries:
> > 
> > /usr/lib/libgd.a           /usr/lib/libgdk-1.2.so.0
> > /usr/lib/libgd.so.1
> > /usr/lib/libgdbm.so.2      /usr/lib/libgdk-1.2.so.0.9.1
> > /usr/lib/libgd.so.1.8
> > /usr/lib/libgdbm.so.2.0.0  /usr/lib/libgd.so /usr/lib/libgd.so.1.8.4
> > 
> > Insted of:
> > 
> > /usr/local/lib/libgd.a   /usr/local/lib/libgd.so
> > /usr/local/lib/libgd.so.2.0.0
> > /usr/local/lib/libgd.la  /usr/local/lib/libgd.so.2
> > 
> > But instead of working the user-defined map, all others layouts 
> > stopped to work with same symptom (blank image).
> > 
> > Thanks for you help. If some other friend have another clue, PLMK
> > 
> > Sandro Merg Vaz
> > 
> > 
> > -----Mensagem original-----
> > De: nagios-users-admin at lists.sourceforge.net
> > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Potter,

> > G M
> > (Greg)
> > Enviada em: terça-feira, 19 de novembro de 2002 16:18
> > Para: nagios-users at lists.sourceforge.net
> > Assunto: [Nagios-users] RE: User-supplied coords in custom
> status mao
> > layout
> > 
> > 
> > I had the same problem.  It turned out to be a problem with the 
> > libgd.so library.  Look in the web server error log.  My error
> complained about
> > statusmap.cgi not completing correctly.
> > 
> > From apache error_log:
> > [Wed Oct 30 15:38:39 2002] [error] [client 192.168.123.12] Premature

> > end of script headers: /usr/local/nagios/sbin/statusmap.cgi
> > 
> > This was on a Solaris 7 server.  I had the same trouble on
> Solaris 8,
> > but after re-compiling Apache, libgd, libpng, Nagios.  It started
> > working correctly on Solaris 8.  I have not been able to re-compile 
> > everything on Solaris 7 yet.
> > 
> > Hope this helps some.
> > 
> > Greg M. Potter
> > mailto:gpotter at marathonoil.com
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: To learn the basics of securing 
> > your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> > Server Certificate: http://www.gothawte.com/rd524.html
> > _______________________________________________
> > Nagios-users mailing list Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.419 / Virus Database: 235 - Release Date: 13/11/2002
> >  
> > 
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002
> >  
> > 
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002
>  
> 
> 

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.423 / Virus Database: 238 - Release Date: 25/11/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.423 / Virus Database: 238 - Release Date: 25/11/2002
 



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en




More information about the Users mailing list