-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

has anybody successfully connected otrs to a postgresql database with 
mod_perl2? I tried with the following line in apache2-perl-startup.pl:

use Apache ();
use Apache::DBI ();
use DBI ();
use DBD::Pg ();
Apache::DBI->connect_on_init('DBI:Pg:dbname=otrs-1.3.2-01;host=10.0.3.1','user','pass');

However, I get strange errors in my apache errorlog:


[Sun Mar  6 20:15:52 2005] -e: Database handle destroyed without explicit 
disconnect at /usr/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 146, <DATA> 
line 225.
[Sun Mar  6 20:15:52 2005] -e: Database handle destroyed without explicit 
disconnect at /usr/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 146, <DATA> 
line 225.
...

Can anybody tell me what's wrong? AFAIK this shouldn't happen since we already 
use connect_on_init() and not connect()...

- -- 
Regards,
 
 Wiktor Wodecki
    
 net mobile AG - 40470 Duesseldorf - Germany
 923B DCF8 070C 9FDD 5E05  9AE3 E923 5A35 182C 9783

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCK1mb6SNaNRgsl4MRAp1TAJ9+LaQ7zdGlsQ43+HHSFclZ0DKPOQCgvUdR
Px9nyxIyhqkq4wSvInoNBt8=
=O7CD
-----END PGP SIGNATURE-----
_______________________________________________
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