
Hi All,
I'm having trouble with OTRS with mod_perl 2. Thanks to looking through
the archives and reading posts on the subject I was able to get this
far. The problem now is that I get a DB error which follows:
<error>
Traceback: ERROR: OTRS-CGI-99 Perl: 5.8.3 OS: linux Time: Thu Nov 17
13:55:51 2005
Message: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
Traceback (23108):
Module: Kernel::System::DB::new (v1.44) Line: 168
Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 150
Module:
ModPerl::ROOT::ModPerl::Registry::usr_local_apache2_otrs_bin_cgi_2dbin_index_2epl::handler
(v) Line: 47
Module: (eval) (v1.80) Line: 203
Module: ModPerl::RegistryCooker::run (v1.80) Line: 203
Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 169
Module: ModPerl::Registry::handler (v1.99) Line: 30
</error>
Works fine without mod_perl. Any ideas?? Here is my httpd.conf:
<snip>
ScriptAlias /otrs/ "/usr/local/apache2/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/usr/local/apache2/otrs/var/httpd/htdocs/"
Perlrequire /usr/local/apache2/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
PerlModule ModPerl::Registry