Dear Friends
 
I downloaded the bugzilla and bonsai. Then I moved bugzilla into htdocs and created the appropriate directory listing in apache.
 
Then as root I did various configurations it was asking me to do and finally I ran checksetup.pl which shows me that I am running short of some perl modules.
I downloaded them ftp did not work, perl -M -e did not work, downloaded with wget and the moved into appropriate .cpan directory and finally installed with perl -MCPAN -e'install "xxx"'.
 
Now the problem creeps in. The bugzilla manual says I shall have to run checksetup.pl again as wwwrun which runs the apache. but when I su as wwwrun and execute the perl file it still says Template module not installed. When I run as root, checksetup.pl identifies the Template module and installs bugzilla. Now when I access it from browser, I get accesss forbidden. But then I changed owner of all the files in bugzilla directory to wwwrun and I get following error:
 
========
[Sat Dec 21 07:45:30 2002] [crit] [client 192.168.0.201] (13)Permission denied: /srv/www/htdocs/bugzilla/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Uncaught exception from user code:
        Base class package "Template::Base" is empty.
        (Perhaps you need to 'use' the module which defines that package first.) at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Template.pm line 25
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Template.pm line 25.
Compilation failed in require at globals.pl line 1529.
BEGIN failed--compilation aborted at globals.pl line 1529.
Compilation failed in require at CGI.pl line 53.
Compilation failed in require at /srv/www/htdocs/bugzilla/index.cgi line 38.
[Sat Dec 21 07:46:20 2002] [error] [client 192.168.0.201] Premature end of script headers: /srv/www/htdocs/bugzilla/index.cgi
Uncaught exception from user code:
        Base class package "Template::Base" is empty.
        (Perhaps you need to 'use' the module which defines that package first.) at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Template.pm line 25
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Template.pm line 25.
Compilation failed in require at globals.pl line 1529.
BEGIN failed--compilation aborted at globals.pl line 1529.
Compilation failed in require at CGI.pl line 53.
Compilation failed in require at /srv/www/htdocs/bugzilla/index.cgi line 38.
[Sat Dec 21 07:46:25 2002] [error] [client 192.168.0.201] Premature end of script headers: /srv/www/htdocs/bugzilla/index.cgi
Uncaught exception from user code:
        Base class package "Template::Base" is empty.
        (Perhaps you need to 'use' the module which defines that package first.) at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Template.pm line 25
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Template.pm line 25.
Compilation failed in require at globals.pl line 1529.
BEGIN failed--compilation aborted at globals.pl line 1529.
Compilation failed in require at CGI.pl line 53.
Compilation failed in require at /srv/www/htdocs/bugzilla/index.cgi line 38.
[Sat Dec 21 07:46:27 2002] [error] [client 192.168.0.201] Premature end of script headers: /srv/www/htdocs/bugzilla/index.cgi
==================
 
 
I did not touch the template.pm at all.
 
Anyone having experience in bugzilla here, please help me out ?
 
 
-- Amit

Reply via email to