Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 4531

Summary: execution of perl cgi fails : (2)No such file or directory
Product: [Retired] Red Hat Linux Reporter: leolize.it
Component: apacheAssignee: Preston Brown <pbrown>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-27 15:35:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description leolize.it 1999-08-15 14:03:09 UTC
perl cgi-scripts won't work at the apache server with the
standard redhat 6.0 configuration files. The configuration
files have been changed according to the manuals.

I get an "internal server error" (which is 500) when I
access a .cgi file in my cgi-bin from a web browser.

in the error_log two entries show up:
[Fri Aug 13 23:49:27 1999] [error] (2)No such file or
directory: exec of /home/httpd/cgi-bin/hello.cgi failed

[Fri Aug 13 23:49:27 1999] [error] [client 192.168.1.1]
Premature end of script header

Of course the file does exists and access to the apache
user is given. The location of perl in the first line of
the script is correct, too ....

Comment 1 Preston Brown 1999-08-23 14:53:59 UTC
we can't duplicate this problem here.  What is the first line of your
cgi script?  Does your script have the execute bit set?

Comment 2 Preston Brown 1999-08-27 15:35:59 UTC
no additional feedback, and it works here.  Assume user configuration
error, or the cgi script was not executable, or the path to perl in
the script was specified incorrectly.