Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 4531 - execution of perl cgi fails : (2)No such file or directory
execution of perl cgi fails : (2)No such file or directory
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Preston Brown
Depends On:
  Show dependency treegraph
Reported: 1999-08-15 10:03 EDT by leolize.it
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-27 11:35:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description leolize.it 1999-08-15 10:03:09 EDT
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]
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 10:53:59 EDT
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 11:35:59 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.