Comments on How to install Bugzilla 5.0 on CentOS 7
This tutorial will walk you through the installation of Bugzilla 5.0 on CentOS 7. Bugzilla is an advanced bug tracking system, developed by the Mozilla Foundation (the organization that develops the famous Firefox browser). Bugzilla allows you to track software defects and code changes in your applications, organizes the communicate in your dev team and makes it easy to submit and review patches.
25 Comment(s)
Comments
Thank you so much for this tutorial. It is very well written and easy to follow!
Thank you so much for this tutorial. I know they take a long time to put together and debug. It was very detailed, I found zero errors or omissions.
Thank you for the excellent write detailed write up. It is really useful. I could install everything successfully. But at the end, when I try to open the Bugzilla web interface, I am seeing "Internal Server Error". Please help. The errors in the error_log is as follows: [Fri Jan 15 01:44:15.552736 2016] [core:notice] [pid 21502] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Fri Jan 15 01:44:25.497747 2016] [cgi:error] [pid 21503] [client 10.0.38.14:54379] AH01215: (13)Permission denied: exec of '/var/www/html/bugzilla/index.cgi' failed [Fri Jan 15 01:44:25.498329 2016] [cgi:error] [pid 21503] [client 10.0.38.14:54379] End of script output before headers: index.cgi
@umailtonikhil please check
https://bugzilla.mozilla.org/show_bug.cgi?id=1133690#c27
you have to change the bugzilla.conf such that the line
AllowOverride Limit FileInfo Indexes
reads
AllowOverride Limit FileInfo Indexes Options AuthConfig
Then everything should work just fine.
Thanks your comment was lifesaver.
Can you please what exactly happen due to those lines.
This suggestion really helped. I am able to get rid of Internal Server Error and login to Bugzilla.
Suggesting to disable SELinux until an official package is released is a bad idea. Doesn't anyone know how to configure SELinux so that it can support Bugzilla?
Brilliant tutorial! I failed installing Bugzilla several times before reading this. Following your instructions made it very easy. Very clear explanation at each step. Thank you!
This tutorial was very helpfu. Great job, and thank you!
Thank you for the tutorial. It is very clear.
I would like to add two important points though, based on our experience installing bugzilla on CentOS 7.2, that would save others time trying to debug Internal Server errors or the famous Forbidden error:
- I had to turn off selinux, was causing so many issues and it is not a requirements in my environment
- Didn't use the .htaccess file in the main directory. All configurations I've done in httpd.conf using <Directory>
- This one is very important: Make sure to use AuthConfig with the line:
AllowOverride Limit FileInfo Indexes Options AuthConfigafter doing everything i am seeing below message
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost 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.
After completing this steps i have rebooted the server and got this message
Can't locate Math/Random/ISAAC.pm in @INC (@INC contains: . lib/x86_64-linux-thread-multi lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Bugzilla/RNG.pm line 17. BEGIN failed--compilation aborted at Bugzilla/RNG.pm line 17. Compilation failed in require at Bugzilla/Util.pm line 30. BEGIN failed--compilation aborted at Bugzilla/Util.pm line 30. Compilation failed in require at Bugzilla/Mailer.pm line 20. BEGIN failed--compilation aborted at Bugzilla/Mailer.pm line 20. Compilation failed in require at Bugzilla/Auth.pm line 22. BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 22. Compilation failed in require at Bugzilla.pm line 23. BEGIN failed--compilation aborted at Bugzilla.pm line 23. Compilation failed in require at /var/www/html/bugzilla/index.cgi line 15. BEGIN failed--compilation aborted at /var/www/html/bugzilla/index.cgi line 15.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
Found the same issues. There is SOMETHING in the step:
[root@localhost bugzilla]# /usr/bin/perl install-module.pl --all
SOMETHING that leads to a variety of perl modules being installed into /root/perl5 rather than someplace more appropriate like /usr/lib64/perl5 or /usr/share/perl5.
Hi,
Why do you recommend disabling SELinux?
What errors did you encounter?
It should not be necessary to disable SELinux anymore. Probably all you need is to set some booleans.
Regards
Only issue I ran into was needing to modify bugzilla.conf per Ahmed's instructions (see bold).
#/etc/httpd/conf.d/bugzilla.conf<VirtualHost *:80>DocumentRoot /var/www/html/bugzilla/</VirtualHost><Directory /var/www/html/bugzilla>AddHandler cgi-script .cgiOptions +Indexes +ExecCGIDirectoryIndex index.cgiAllowOverride Limit FileInfo Indexes Options AuthConfig</Directory>
Great tutorial. There were no issues the whole way thru. Bra-vo!
Great tutorial. It was very helpful. Thank you.
Think one needs to add "--global" to the step:
[root@localhost bugzilla]# /usr/bin/perl install-module.pl --all --global
Great tutorial. Was able to easily install.
@vincebhh: Thank you. I encountered same error and found the solution from your comment.
Hi, I get this:
Software error: Can't locate Email/Sender/Simple.pm in @INC (@INC contains: . lib/x86_64-linux-thread-multi lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Bugzilla/Mailer.pm line 27. BEGIN failed--compilation aborted at Bugzilla/Mailer.pm line 27. Compilation failed in require at Bugzilla/Auth.pm line 22. BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 22. Compilation failed in require at Bugzilla.pm line 23. BEGIN failed--compilation aborted at Bugzilla.pm line 23. Compilation failed in require at /var/www/html/bugzilla/index.cgi line 15. BEGIN failed--compilation aborted at /var/www/html/bugzilla/index.cgi line 15.For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
Any ideas?
Thank you very much for this tutorials.
Can you please let me know how do we implement SSL certificate for the same?
Thanks in advance.
Thanks,
Suresh
Thank you very much for this tutorials.
Can you please let me know how do we implement SSL certificate for the same?
Thanks in advance.
Thanks,
Suresh
Grazie, precisa e puntuale guida. Tutto funziona perfettamente.
Thanks, precise and timely guidance. Everything works perfectly.
Your guide doesn't explain how to generate a new site_wide_secret, eg after a compromise.
Here's a command to generate a random seed matching the length of the one generated by install:
perl -e '$size=256; print join("", map{ ('0'..'9','a'..'z','A'..'Z')[rand 62] } (1..$size))."\n";'
Hi, thanks for the nice article i setup up bugzilla on server but im facing an issue where system fields are not showing while searching any bug id. snapshot attached below. please help me to resolve this issue if possible. thanks in advance