Re: Premature end of script headers for mini-graph.cgi

Jeff Penhale <[email protected]> Thu, 13 Sep 2007 18:12:47 +1000
Newsgroups gmane.network.cricket.user
Message-ID <4242E42288B6E842A52B88D4B3A3E62009BC5BA2@AUSMELMBX01.ad.infosys.com>
Thanks for the response.

These are the locations of my libz.so* files.

/usr/lib/libz.so
/usr/lib/libz.so.1
/usr/lib/sparcv9/libz.so
/usr/lib/sparcv9/libz.so.1
/data/opt/csw/lib/sparcv8plus+vis/libz.so
/data/opt/csw/lib/sparcv8plus+vis/libz.so.1
/data/opt/csw/lib/sparcv8plus+vis/libz.so.1.2.3
/data/opt/csw/lib/sparcv9/libz.so
/data/opt/csw/lib/sparcv9/libz.so.1
/data/opt/csw/lib/sparcv9/libz.so.1.2.3
/data/opt/csw/lib/libz.so
/data/opt/csw/lib/libz.so.1
/data/opt/csw/lib/libz.so.1.2.3


As requested, here's the output of ldd.

ldd /usr/local/rrdtool/lib/librrd.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1

Thanks again.

________________________________
From: Mike Fisher [[email protected]]
Sent: Thursday, 13 September 2007 6:59 AM
To: Jeff Penhale
Cc: [email protected]
Subject: Re: [cricket-users] Premature end of script headers for mini-graph.cgi

On 9/12/07, Jeff Penhale <[email protected]<mailto:[email protected]>> wrote:
[Wed Sep 12 16:55:36 2007] [error] [client 10.81.2.18<http://10.81.2.18>] Premature end of script headers: /home/cricket/public_html/cricket/mini-graph.cgi ld.so.1: perl: fatal: relocation error: file /usr/local/rrdtool/lib/librrd.so.2: symbol deflateInit2_: referenced symbol not found


Sounds like it's failing to find a library somewhere along the line.  I think deflateInit2_ is part of libz so  libz.so.*  Try doing "ldd /usr/local/rrdtool/lib/librrd.so.2" as the user that the web server is running as.

Mike

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stor
 ed on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/