[rt-users] Apache won't start at boot But will from the command line

Ruslan Zakirov ruslan.zakirov at gmail.com
Wed Apr 19 16:22:53 EDT 2006


1) Apache::DBI works with both versions MP1 and MP2
2) Try to comment this module at all, it's optional


On 4/19/06, Winn Johnston <winn_johnston at yahoo.com> wrote:
>
> I have a very strange issue. It seems when i enable apache2 to start at
> boot, during the boot process i get an error about PerlModule Apache::DBI
> that is in my vhost.conf for RT 3.4.5. However when i start apache at the
> command line it doesn't throw-up all over the place and the program runs
> fine. I started looking on CPAN for Apache2::DBI but found nothing. Has
> anyone else seen this issue? Is there an Apache2::DBI i could download?
>
> System nfo:
>      SuSe 9.0 Network Enterpise
>      RT 3.4.5
>      Apache2
>      Mod_Perl2
>
> RT.vhost.conf
>
> <IfDefine SSL>
> <IfDefine !NOSSL>
> Listen 443
> LoadModule apreq_module /usr/lib/apache2/mod_apreq2.so
> <VirtualHost *:443>
> ServerName rt.newrt.dnc.org:443
> DocumentRoot /opt/rt3/share/html
> LogLevel debug
> ErrorLog /var/log/apache2/rt_error_log
> TransferLog /var/log/apache2/rt_access_log
> PerlSetVar MasonArgsMethod CGI
> RewriteEngine On
> RewriteRule ^(.*)/$ $1/index.html
> PerlModule Apache::DBI
> <Location />
> SetHandler perl-script
> PerlHandler RT::Mason
> </Location>
> SSLEngine on
> SSLCipherSuite
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
> SSLCertificateFile /etc/apache2/ssl.crt/newcert.crt
> SSLCertificateKeyFile /etc/apache2/ssl.key/newkey.pem
>
>
> <Files ~ "\.(cgi|shtml|phtml|php3?)$">
> SSLOptions +StdEnvVars
> </Files>
> <Directory "/srv/www/cgi-bin">
> SSLOptions +StdEnvVars
> </Directory>
>
> SetEnvIf User-Agent ".*MSIE.*" \
> nokeepalive ssl-unclean-shutdown \
> downgrade-1.0 force-response-1.0
>
> CustomLog /var/log/apache2/rt_ssl_error_log ssl_combined
>
> </VirtualHost>
>
> </IfDefine>
>
> Error Msg at boot:
> [Wed Apr 19 13:56:32 2006] [error] Can't locate Apache/DBI.pm in @INC (@INC
> contains: /usr/lib/perl5/5.8.3/i586-linux-thread-multi
> /usr/lib/perl5/5.8.3
> /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl
> . /srv/www) at (_eval 2) line 3.\n
> [Wed Apr 19 13:56:32 2006] [error] Can't load Perl module Apache::DBI for
> server rt.newrt.dnc.org:443, exiting...
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical:
> http://bestpractical.com/about/jobs.html
>
>


--
Best regards, Ruslan.


More information about the rt-users mailing list