LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-26-2012, 12:30 AM   #1
Sharath Ravi
Member
 
Registered: Jun 2012
Posts: 37

Rep: Reputation: Disabled
issue in bugzilla


Hi,

I have installed bugzilla on centos 5. When opening in the browser i am getting this error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.3 (CentOS) Server at 172.16.0.133 Port 80


when i opening my httpd error log file i found this error

Permission denied: exec of '/var/www/html/bugzilla/index.cgi' failed
Premature end of script headers: index.cgi


Can some1 please help me out on this issue

Thanks...
 
Old 11-26-2012, 03:12 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,956

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Hi,

Check if it's a SELinux problem by disabling it temporarily. To do so, run
Code:
setenforce 0
and the check if bugzilla works.

Regards
 
Old 11-26-2012, 03:34 AM   #3
Sharath Ravi
Member
 
Registered: Jun 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
hi bathory,

same issue after trying that step....
 
Old 11-26-2012, 04:13 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,956

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Make sure that the index.cgi is executable and the whole bugzilla directory is owned by the apache user:
Code:
ls -l /var/www/html/bugzilla/index.cgi
chown -R apache:apache /var/www/html/bugzilla
Also you'll need to have the following in httpd.conf
Code:
Alias /bugzilla "/var/www/bugzilla"
<Directory "/var/www/bugzilla">
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit FileInfo Indexes
</Directory>
 
  


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
Bugzilla :- 403 forbidden issue shah_ankitb Linux - Software 0 04-27-2012 03:06 AM
After installation of Bugzilla on linux machine, cannot see Bugzilla page on UI manasi_chitre@yahoo.com Linux - Software 0 03-15-2012 05:00 AM
bugzilla installation issue kathirvel Linux - Software 2 09-16-2011 02:24 AM
Apache and/or Bugzilla issue macombej Linux - Software 4 04-03-2011 04:10 AM
Bugzilla permissions issue HHEEELLPP! tekmann33 Linux - Software 1 04-03-2007 06:58 AM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
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