DBD::DB2::dr connect warning: [unixODBC][Driver Manager]Data

Hilfe zu Znuny Problemen aller Art
Locked
mocfr01
Znuny newbie
Posts: 2
Joined: 26 May 2009, 23:59
Znuny Version: 2.4.0

DBD::DB2::dr connect warning: [unixODBC][Driver Manager]Data

Post by mocfr01 »

Hallo, ich habe ein seltsames Phänomen. Meine DB2 Einstellungen sind in Ordnung.

Code: Select all

root@user-desktop:/opt/otrs/bin# ./CheckDB.pl
It looks Ok!
Wenn ich jedoch OTRS im Browser starte kommt folgende Melddung:

Code: Select all

[Tue May 26 18:04:11 2009] -e: cDBD::DB2::dr connect warning: [unixODBC][Driver Manager]Data source name not found, and no default driver specified at /usr/lib/perl5/DBI.pm line 638.
[Tue May 26 18:04:11 2009] -e: DBI connect('otrs','otrs',...) failed: [unixODBC][Driver Manager]Data source name not found, and no default driver specified at /opt/otrs//Kernel/System/DB.pm line 214
ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Tue May 26 18:04:11 2009

 Message: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

 Traceback (10883):
   Module: Kernel::System::DB::new (v1.103) Line: 188
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.42) Line: 143
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48
   Module: (eval) (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31
Das Ganze ist unter einem Ubuntu 8.04 LTS installiert. Ich benutze DBD-DB2-1.71.

Da CheckDB.pl sowie andere Batch Jobs z.B. otrs.AddGroup laufen muss ja der DB Zugriff in Config.pm korrekt definiert sein. Ich vermute dass an apache2-perl-startup.pl noch Änderungen gemacht werden müssen.

Kan mir jemand mit einem Tip weiterhelfen?
OTRS 2.4.0 - Ubuntu 8.04 LTS - DB2
mocfr01
Znuny newbie
Posts: 2
Joined: 26 May 2009, 23:59
Znuny Version: 2.4.0

DBD::DB2::dr connect warning: [unixODBC][Driver Manager]Data

Post by mocfr01 »

Solved

Problem with mod_perl. Runs with CGI only!
OTRS 2.4.0 - Ubuntu 8.04 LTS - DB2
Locked