[EXTERNAL] Re: index.cgi denied permission when attempting to access Bugzilla via Website

Hunt, Ron (PERATON) Ronald.Hunt at peraton.com
Mon Dec 16 13:56:02 UTC 2024


Thank you, that was the clue I needed. I confirmed that when I ran the following command on the index.cgi file I got the following output

# ls -Z index.cgi
bugzilla-5.2]# ls -Z index.cgi
unconfined_u:object_r:httpd_sys_content_t:s0 index.cgi

What I should have got is the following:
bugzilla-5.0.6]# ls -Z index.cgi
-rwxr-x---. root apache unconfined_u:object_r:etc_t:s0   index.cgi

From: support-list <support-list-bounces at bugzilla.org> On Behalf Of David Miller
Sent: Saturday, December 14, 2024 1:51 PM
To: support-list at bugzilla.org
Subject: [EXTERNAL] Re: index.cgi denied permission when attempting to access Bugzilla via Website


Do you have SELinux enabled? If you don't have the SELinux context set correctly on the Bugzilla directory it can do that, too.  /var/log/audit should be able to tell you if that's getting tripped.
On 12/14/24 10:43 AM, Hunt, Ron (PERATON) wrote:
Hello,

I have just completed my install of RHEL 8, MySql 8 and Bugzilla 5.2 and ran .checksetup.pl script with success. When I attempt to access Bugzilla website via URL I am getting the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at name at company.com<mailto:name at company.com> to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.

ssl_error_log:
[Sat Dec 14 09:32:18.796299 2024] [cgid:error] [pid 1208958:tid 140685705258752] [client 10.236.7.209:58477] AH01241: error spawning CGI child: exec of '/var/www/html/bugzilla-5.2/index.cgi' failed (Permission denied): /var/www/html/bugzilla-5.2/index.cgi
[Sat Dec 14 09:32:18.796611 2024] [cgid:error] [pid 1208958:tid 140685705258752] [client 10.236.7.209:58477] End of script output before headers: index.cgi

I have double checked all permissions under the bugzilla-5.2 directory to ensure owner is root and group is apache but still no luck. I also made sure that the current permission for the index.cgi file is set to 0750.
-rwxr-x---.  1 root apache  2171 Sep  3 09:36 index.cgi

I have gone through bugzilla_5.2 directory to ensure permissions are set to owner root and group apache. Any thoughts on what else could be causing the permission denied error?

Thanks,
Ron



_______________________________________________

support-list mailing list

support-list at bugzilla.org<mailto:support-list at bugzilla.org>

https://lists.bugzilla.org/listinfo/support-list [lists.bugzilla.org]<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.bugzilla.org_listinfo_support-2Dlist&d=DwMFaQ&c=YC-d702opsuYKpiO2BmlzoCJLBBaYgI2o4jaaBXxW1A&r=_11PJmUyrZSTpWNUTvbOl4XURRwYPDaHjN6ItLonIpk&m=YM-3mhxMEqB0oVsrekMFOeoCz4XN_L9c-QFS5FGE4cBXT4CvYDzk6xrKXk598xRq&s=CCdeJFIFwjhoTpIk6VeIQi1WbHwNIFb3Y47Djv2C5tM&e=>
[[Bugzilla Logo]]
Dave Miller
Project Leader
Bugzilla Project
https://bugzilla.org/ [bugzilla.org]<https://urldefense.proofpoint.com/v2/url?u=https-3A__bugzilla.org_&d=DwMFaQ&c=YC-d702opsuYKpiO2BmlzoCJLBBaYgI2o4jaaBXxW1A&r=_11PJmUyrZSTpWNUTvbOl4XURRwYPDaHjN6ItLonIpk&m=YM-3mhxMEqB0oVsrekMFOeoCz4XN_L9c-QFS5FGE4cBXT4CvYDzk6xrKXk598xRq&s=zSRcqid7Sa5OJTpQrJ4sgIdUlJL3u7LztQO8ccjC-F8&e=>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/support-list/attachments/20241216/fa5d63b4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7345 bytes
Desc: image001.png
URL: <http://lists.bugzilla.org/pipermail/support-list/attachments/20241216/fa5d63b4/attachment-0001.png>


More information about the support-list mailing list