Help - Search - Members - Calendar
Full Version: Bugzilla installation
The Planet Forums > System Administration > Web Hosting
ns1
I have Centos P4 server with Cpanel 11.23.4-STABLE 26138.

I want to install Bugzilla for one of my users.
I have followed instructions from here:
http://www.bugzilla.org/docs/3.0/html/installation.html and Configuration
and as far as I understood I should be able to start bugzilla from directory where it is installed:
www.irialeona.com/bugzilla/bugzilla
or /home/user/public_html/bugzilla/bugzilla
i have used the second line for httpd.conf

however i still cannot launch it...

any thoughts, help please...
only thing i haven't installed is perl magic but it is optional...

this is from checksetup.pl:

* This is Bugzilla 3.0.4 on perl 5.8.8
* Running on Linux 2.6.9-67.0.15.ELsmp #1 SMP Thu May 8 10:52:19 EDT 2008

Checking perl modules...
Checking for CGI.pm (v2.93) ok: found v3.38
Checking for TimeDate (v2.21) ok: found v2.22
Checking for DBI (v1.41) ok: found v1.605
Checking for PathTools (v0.84) ok: found v3.25
Checking for Template-Toolkit (v2.12) ok: found v2.19
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME-Modifier (any) ok: found v1.442

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v2.9003) ok: found v4.007

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.35
Checking for Template-GD (any) ok: found v1.56
Checking for Chart (v1.0) ok: found v2.4.1
Checking for GDGraph (any) ok: found v1.44
Checking for GDTextUtil (any) ok: found v0.86
Checking for XML-Twig (any) ok: found v3.32
Checking for MIME-tools (v5.406) ok: found v5.427
Checking for libwww-perl (any) ok: found v5.810
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) ok: found v0.36
Checking for SOAP-Lite (any) ok: found v0.69
Checking for HTML-Parser (v3.40) ok: found v3.56
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.314
Checking for Email-Reply (any) ok: found v1.202
Checking for mod_perl (v1.999022) ok: found v2.000004
Checking for CGI.pm (v3.11) ok: found v3.38

* NOTE: You must run any commands listed below as root.

************************************************** ********************
* OPTIONAL MODULES *
************************************************** ********************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
************************************************** ********************

************************************************** *********************
* MODULE NAME * ENABLES FEATURE(S) *
************************************************** *********************
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
************************************************** *********************
COMMANDS TO INSTALL:

PerlMagick: /usr/bin/perl -MCPAN -e 'install "Image::Magick"'
Reading ./localconfig...
Checking for DBD-mysql (v2.9003) ok: found v4.007
Checking for MySQL (v4.1.2) ok: found v4.1.22-standard

Creating .htaccess...
Removing existing compiled templates ...
Precompiling templates...
Fixing file permissions...

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.
eth00
The link gives a forbidden error. Take a look at the apache log and see what it is saying, it is probably permissions or something like a .htaccess or mod_security blocking it.
ns1
thx eth00, i looked at the log and it says he cannot read httaces:

CODE
[client 87.252.128.56] (13)Permission denied: /home/user/public_html/bugzilla/bugzilla/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Aug 03 20:23:42 2008] [error] [client 87.252.128.56] File does not exist: /home/user/public_html/403.shtml


i have checked and there is htaccess file and is readable (644) and all there is in it is:

CODE
# Don't allow people to retrieve non-cgi executable files or our private data
<FilesMatch ^(.*\.pm|.*\.pl|.*localconfig.*)$>
  deny from all
</FilesMatch>


if it is something to do with mod_security how do I do it?

also, i have php4 and php5 configured to:
CODE
Default PHP Version (.php files)      4
PHP 5 Handler     cgi
PHP 4 Handler     none
Apache suEXEC     on
ns1
argh,

i solved the first problem: it was due to chmod permissions, for some reason installation changed entire directory and its contents to 640. I changed it to 755.

However, after that another problem came:
CODE
Internal Server Error

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

Please contact the server administrator, webmaster@irialeona.com 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.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I looked it up in error_log and this is what i get:

CODE
[Tue Aug 05 22:57:47 2008] [error] [client 87.252.130.137] Premature end of script headers: index.cgi, referer: http://www.irialeona.com/bugzilla/
[Tue Aug 05 22:57:47 2008] [error] [client 87.252.130.137] File does not exist: /home/midri723/public_html/500.shtml, referer: http://www.irialeona.com/bugzilla/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.