[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



[...]


    Eric> server log shows the following: (8)Exec format error: exec
    Eric> of '/var/www/etools/chocolate/html/perltest.pl' failed
    Eric> Premature end of script headers: perltest.pl

    Eric> script runs fine from command line, eg 'perl perltest.pl'

Don't run it explicitly with perl.  Try and run:

/var/www/etools/chocolate/html/perltest.pl

If that fails with the same error check that the #! line's pointing at
the correct perl interpreter.  Also if the file has ever been through
a Wintendo machine make sure there's not a trailing ^M on the end of
the #! either.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org|  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00458" href="msg00458.html">[ale] problems running perl scripts thru apache 2.0.52</a></strong>
<ul><li><em>From:</em> etoxen at yahoo.com (Eric T)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00482.html">[ale] Mail frmo dynamic host</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00484.html">[ale] Perl Obfuscation</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00460.html">[ale] problems running perl scripts thru apache 2.0.52</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00541.html">[ale] problems running perl scripts thru apache 2.0.52</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00483"><strong>Date</strong></a></li>
<li><a href="threads.html#00483"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>