Re: Perl lib version not match executable version



You may have more than one problem, but this one I
recognize - see this near the top of the errors

Premature end of script headers:

This means that your script is writing out an incomplete
html document, and it most likely means that the headers
are incomplete. IIRC, to begin your html document you
need to write out the Content-type line and then a blank
line and then you can start your html tag, like this

Content-type: text/html

<html>
<head>
<title>This is the Title of My Document</title>
</head>
<body>

your content goes here

</body>
</html>

HTH.

Hardy Merrill

On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling" <Wei-Ling.Chong@xxxxxxx>
wrote:
Hi Tim,

Need your advise.

I have Solaris 5.8 (x86) server and running Oracle Application
Server, I
install perl-5.8.7-sol10-x86-local.gz.

When I run my perl script, I am getting error below. How to resolve
the
problem?

Thanks a lot.

[Fri Dec 8 14:18:45 2006] [error] [client 165.204.172.185] [ecid:
1165558725:165.204.178.145:8267
:0:37,0] Premature end of script headers:
/oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl
Perl lib version (v5.6.1) doesn't match executable version (v5.8.7)
at
/oracle/app/oracle/product/
oas10.1.2.0.2/perl/lib/5.6.1/i86pc-solaris/Config.pm line 21.
Compilation failed in require at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86pc-sol
aris/DynaLoader.pm line 25.
BEGIN failed--compilation aborted at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86pc
-solaris/DynaLoader.pm line 25.
Compilation failed in require at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5.6.1
/i86pc-solaris/DBI.pm line 152.
BEGIN failed--compilation aborted at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5
.6.1/i86pc-solaris/DBI.pm line 152.
Compilation failed in require at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5.6.1
/i86pc-solaris/Oraperl.pm line 25.
BEGIN failed--compilation aborted at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/5
.6.1/i86pc-solaris/Oraperl.pm line 25.
Compilation failed in require at
/oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line 33.
BEGIN failed--compilation aborted at
/oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line
33.
.



Relevant Pages

  • Re: premature end of script headers
    ... what is in the error log on the web server that reported "premature end of script headers". ... Can your web server even find perl, or know that this is a Perl script? ...
    (comp.lang.perl.misc)
  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • my perl script for ripping mp3s...aka MP3scRIPt
    ... This is a Perl script to convert audio cd tracks to mp3s. ... Possibly root privs to access the cdrom device ... - this is mainly a problem on 'variety cds', mp3 files suffering from this ill ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Perl script to mimic uniq
    ... mdfoster44@netscape.net spits TOFU in my face: ... > # Perl script to find most common CS ... > So I'm back to my original script which looks like this. ... > identify a sequence as unique. ...
    (comp.lang.perl)
  • Re: Slow Performance When Using DBI, otherwise Not
    ... If I run the same perl script on the database server itself it runs ... check versions of DBI and DBD (I greped for version on every module under ...
    (perl.dbi.users)