LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-20-2007, 02:01 PM   #1
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
Bugzilla permissions issue HHEEELLPP!


I have been working on installing Bugzilla for days now and their mailing list is for s*?!

I have narrowed down my problem to what looks like a permission issue. So this may not be a Bugzilla problem but an Apache configuration problem.

I have installed Bugzilla on a Fedora Core machine and SELinux has been disabled.


Here is my setup:

My bugzilla directory is on a Linux Fedora Core machine in the /var/www/bugzilla-2.22.2 directory.

The apache web service (httpd) is running as the user “apache” under the group “apache”

The $webservergroup variable in the localconfig file in the bugzilla directory is “apache”

The permissions on my bugziaal-2.22.2 directory as will as all the files within the directory are owned by root and have apache group permissions.

The permission on the bugzilla-2.22.2 directory is drwxrwxr-x 13 root apache 4096 Mar 20 08:37 bugzilla-2.22.2/

My DirectoryRoot and Directory Block in the httpd.conf is the following:

Code:
DocumentRoot "/var/www/bugzilla-2.22.2


<Directory "/var/www/bugzilla-2.22.2">

        Options +FollowSymLinks

        AddHandler cgi-script   .cgi
        Options +Indexes +ExecCGI
        DirectoryIndex index.cgi
        AllowOverride Limit

</Directory>
I run checksetup.pl from the bugzilla-2.22.2 directory and my results look good. Here are the last few lines of my output:
Code:
Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for      DBD::mysql (v2.9003) ok: found v4.003
Checking for           MySQL (v4.0.14) ok: found v5.0.22-log

Populating duplicates table...
Now that you have installed Bugzilla, you should visit the 
'Parameters' page (linked in the footer of the Administrator 
account) to ensure it is set up as you wish - this includes 
setting the 'urlbase' option to the correct url.
I then run the testserver.pl within the Bugzilla directory and I receive this:

Code:
[root@BriansFC bugzilla-2.22.2]# ./testserver.pl http://localhost
TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of skins/standard/index/front.png failed
Your webserver could not fetch http://localhost/skins/standard/index/front.png.
Check your webserver configuration and try again.
[root@BriansFC bugzilla-2.22.2]#
I checked the permission in the (Document Root)/skins/standard/index/front.png and everything looks like it should be accessible by anyone in the apache group (Which is what my Webserver is running as)

Code:
root     18576     1  0 08:47 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18602 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18603 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18604 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18605 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18606 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18621 18576  0 08:52 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
root     18791 18534  0 09:26 pts/1    00:00:00 grep httpd
The bugzilla-2.22.2 and all subdirectories underneath have read and executable rights for the apache group. All cgi files in the bugzilla -2.22.2 directory have read and executable rights. The file front.png has read rights from the apache group.

I check my error logs “/usr/local/apache2/logs/error_log and this is what I have:
Code:
[Tue Mar 20 09:14:55 2007] [error] [client 127.0.0.1] client denied by server configuration: /var/www/bugzilla
-2.22.2/skins/standard/index/front.png
I type in the IP address of my server and I have the message:

Code:
Forbidden
You don't have permission to access / on this server.
This looks to me like a permission issue, but everything looks like it should have access to these files. The Webserver is running as user apache, which is a member of the group apache. The bugzilla directory have group user apache rights as well as the files within that directory.

Can anyone offer any insight into this? I would be eternally grateful!

Last edited by tekmann33; 03-20-2007 at 02:02 PM.
 
Old 04-03-2007, 06:58 AM   #2
lwj888
LQ Newbie
 
Registered: Feb 2007
Location: China, Shanghai
Posts: 1

Rep: Reputation: 0
Unhappy I meet the same problem too

I meet the same problem too, is there have some suggestions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't su (permissions issue) WeNdeL Linux - General 3 12-05-2005 11:48 AM
Permissions issue? thoffland Debian 8 07-06-2005 03:17 PM
permissions issue with X gvaught Debian 3 01-02-2005 01:07 PM
Group Permissions issue EnigmaX Linux - General 9 06-13-2004 01:44 AM
Folder Permissions Issue Aman9090 Slackware 2 10-18-2003 12:03 AM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration