Gustavson, John (ECSS) <[EMAIL PROTECTED]> writes:
> We are running 2.4.7 kernel, which comes with Apache 1.3.19.
> We moved a Web Application from a Sun box, and all pages
> work, except for the PERL CGI scripts which receive "Internal
> Sever Error" on the
> web page, and
>
> "[Mon Apr 15 10:58:39 2002] [error] (2)No such file or
> directory: exec of /u03/h
> tpd1.5/cgi-bin/dictionary/abbv_gen_name.pl failed

The odds are good that Perl is not installed in the same place
on the two systems.  Perl programs intended to be exec'ed
typically begin with "#!/usr/local/perl" or something similar,
to tell the shell where the Perl interpreter is located.  If Perl
isn't in the same place on both systems, the shell can't run
the Perl interpreter and the Perl program will fail.  This should
be very easy to confirm.

If this is the problem, your best bet is probably to symlink the
the Perl interpreter to where the Sun-based CGI scripts expect
it to be.

Good luck,
Ross Patterson
Computer Associates

Reply via email to