can't run cgi scripts
stuart rowland
swrowland2003 at yahoo.com
Sun Aug 4 23:03:25 UTC 2024
I am running Fedora 40 with SElinux. My bugzilla is located at /usr/share/bugzilla.
./checksetup.pl runs fine only warning that some optional perl modules are not installed.httpd.conf consains the following:
<Directory /usr/share/bugzilla>
AddHandler cgi-script .cgi
Options +ExecCGI +FollowSymLinks
DirectoryIndex index.cgi index.html
AllowOverride All
</Directory>
ScriptAlias /bugzilla /usr/share/bugzilla
testserver fails:
./testserver.pl http://localhost/bugzilla
TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/bugzilla/images/padlock.png.
Check your web server configuration and try again.
The bugzillla main page contains only text.
The error_log contains:
[Sun Aug 04 08:38:55.104714 2024] [lbmethod_heartbeat:notice] [pid 18212:tid 18212] AH02282: No slotmem from mod_heartmonitor
[Sun Aug 04 08:38:55.106176 2024] [systemd:notice] [pid 18212:tid 18212] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Aug 04 08:38:55.106404 2024] [mpm_event:notice] [pid 18212:tid 18212] AH00489: Apache/2.4.62 (Fedora Linux) configured -- resuming normal operations
[Sun Aug 04 08:38:55.106426 2024] [core:notice] [pid 18212:tid 18212] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Aug 04 08:38:55.107527 2024] [:warn] [pid 19251:tid 19251] ./mod_dnssd.c: No services found to register
[Sun Aug 04 08:38:56.109269 2024] [mpm_event:warn] [pid 18212:tid 18212] AH00488: long lost child came home! (pid 19251)
[Sun Aug 04 15:37:37.425352 2024] [cgid:error] [pid 19268:tid 19389] [client ::1:60976] AH01215: stderr from /usr/share/bugzilla/images/padlock.png: AH01241: error spawning CGI child: exec of '/usr/share/bugzilla/images/padlock.png' failed (Permission denied)
[Sun Aug 04 15:37:37.426217 2024] [cgid:error] [pid 19268:tid 19389] [client ::1:60976] End of script output before headers: padlock.png
[Sun Aug 04 15:39:42.678075 2024] [cgid:error] [pid 19268:tid 19398] [client 127.0.0.1:52256] AH01215: stderr from /usr/share/bugzilla/skins/standard/global.css: AH01241: error spawning CGI child: exec of '/usr/share/bugzilla/skins/standard/global.css' failed (Permission denied), referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.678900 2024] [cgid:error] [pid 19268:tid 19398] [client 127.0.0.1:52256] End of script output before headers: global.css, referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.680949 2024] [cgid:error] [pid 19268:tid 19402] [client 127.0.0.1:52274] AH01215: stderr from /usr/share/bugzilla/js/yui/yahoo-dom-event/yahoo-dom-event.js: AH01241: error spawning CGI child: exec of '/usr/share/bugzilla/js/yui/yahoo-dom-event/yahoo-dom-event.js' failed (Permission denied), referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.681017 2024] [cgid:error] [pid 19268:tid 19402] [client 127.0.0.1:52274] End of script output before headers: yahoo-dom-event.js, referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.681033 2024] [cgid:error] [pid 19254:tid 19353] [client 127.0.0.1:52262] AH01215: stderr from /usr/share/bugzilla/skins/contrib/Dusk/global.css: AH01241: error spawning CGI child: exec of '/usr/share/bugzilla/skins/contrib/Dusk/global.css' failed (Permission denied), referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.681175 2024] [cgid:error] [pid 19254:tid 19353] [client 127.0.0.1:52262] End of script output before headers: global.css, referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.682289 2024] [cgid:error] [pid 19254:tid 19357] [client 127.0.0.1:52280] AH01215: stderr from /usr/share/bugzilla/js/yui/cookie/cookie-min.js: AH01241: error spawning CGI child: exec of '/usr/share/bugzilla/js/yui/cookie/cookie-min.js' failed (Permission denied), referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.682631 2024] [cgid:error] [pid 19254:tid 19357] [client 127.0.0.1:52280] End of script output before headers: cookie-min.js, referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.683288 2024] [cgid:error] [pid 19253:tid 19316] [client 127.0.0.1:52292] AH01215: stderr from /usr/share/bugzilla/js/global.js: AH01241: error spawning CGI child: exec of '/usr/share/bugzilla/js/global.js' failed (Permission denied), referer: http://localhost/bugzilla/
[Sun Aug 04 15:39:42.683703 2024] [cgid:error] [pid 19253:tid 19316] [client 127.0.0.1:52292] End of script output before headers: global.js, referer: http://localhost/bugzilla/
I have been workin on this for several day now. I do not understand why this is failing. Google found several cases reporting this problem, but none of the "solutions" (like removing the .htaccess files) worked. Any assistance is greatly appreciated. Thank you.
Stuart Rowland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/support-list/attachments/20240804/c72643ae/attachment.html>
More information about the support-list
mailing list