You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by System <sy...@eluminoustechnologies.com> on 2003/03/25 12:32:11 UTC

[users@httpd] cgi error

Hello All,

I am trying to run a cgi script on redhat linux 7.2 with perl 5.6.0
installed. I am getting this error while running the script. Can anyone help
me please.

Thank you,

Tina...

[Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
/var/ww
w/cgi-bin/install.cgi failed
[Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
script
 headers: /var/www/cgi-bin/install.cgi
[Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
/var/ww
w/cgi-bin/install.cgi failed
[Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
script
 headers: /var/www/cgi-bin/install.cgi
[Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
/var/ww
w/cgi-bin/install.cgi failed
[Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
script
 headers: /var/www/cgi-bin/install.cgi
[Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
/var/ww
w/cgi-bin/install.cgi failed
[Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
script
 headers: /var/www/cgi-bin/install.cgi
[Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
/var/ww
w/cgi-bin/install.cgi failed
[Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
script
 headers: /var/www/cgi-bin/install.cgi



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] cgi error

Posted by BAO RuiXian <ba...@atbusiness.com>.
Please check the shebang line, and make sure the Perl path is correct.

Bao

----- Original Message -----
From: "System" <sy...@eluminoustechnologies.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, March 25, 2003 1:32 PM
Subject: [users@httpd] cgi error


> Hello All,
>
> I am trying to run a cgi script on redhat linux 7.2 with perl 5.6.0
> installed. I am getting this error while running the script. Can anyone
help
> me please.
>
> Thank you,
>
> Tina...
>
> [Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
> /var/ww
> w/cgi-bin/install.cgi failed
> [Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
> script
>  headers: /var/www/cgi-bin/install.cgi
> [Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
> /var/ww
> w/cgi-bin/install.cgi failed
> [Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
> script
>  headers: /var/www/cgi-bin/install.cgi
> [Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
> /var/ww
> w/cgi-bin/install.cgi failed
> [Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
> script
>  headers: /var/www/cgi-bin/install.cgi
> [Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of
> /var/ww
> w/cgi-bin/install.cgi failed
> [Tue Mar 25 05:02:44 2003] [error] [client 192.168.1.26] Premature end of
> script
>  headers: /var/www/cgi-bin/install.cgi
> [Tue Mar 25 05:02:44 2003] [error] (2)No such file or directory: exec of


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org