
-----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-----

Hello! I'm not using Postgresql, but I've had weird problems with mod_perl2. Take a look at http://lists.otrs.org/pipermail/otrs/2005-February/007379.html Maybe this helps you too. Good luck! Regards, On 6 Mar 2005 at 20:27, Wiktor Wodecki wrote:
-----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-----
--- Victor R. Rodriguez Departamento de Sistemas Valoraciones del Mediterraneo, S.A. ---
participants (2)
-
victor.rodriguez@valmesa.es
-
Wiktor Wodecki