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
  <Location /otrs>
    SetHandler  perl-script
    PerlResponseHandler ModPerl::Registry
    Options +ExecCGI
    PerlOptions +ParseHeaders
    PerlOptions +SetupEnv
  </Location>

</snip>

Also, before you ask, I did change the lib path in apache2-perl-startup.pl. It reads:

<snip>

use lib "/usr/local/apache2/otrs/";
use lib "/usr/local/apache2/otrs/Kernel/cpan-lib";

</snip>

Thanks,

Matt M.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to