XP is just a number | |
PerlMonks |
dbiproxyby jadame (Initiate) |
on Sep 24, 2002 at 19:43 UTC ( [id://200471]=perlquestion: print w/replies, xml ) | Need Help?? |
jadame has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to connect to an Oracle database via the DBI::ProxyServer module. I am able to connect to the dbiproxy application, but the application fails to return a database handle. I am a bit baffled, however, as I am able to connect to the database using DBI on the local machine.
Below is the error I get, as well as the connection being logged in the dbiproxy log: DBI->connect(hostname=139.61.200.119;port=12000;debug=1;dsn=DBI:Oracle:testca) failed: Constructor didn't return a handle. The error occurs in line 129 of DBD::Proxy. I can see, in the dbiproxy log, that the dbiproxy application is accepting the connection on port 12000, but the child process it forks immediately dies. See log entry below: Mon Sep 23 17:58:53 2002 debug, Connection from 139.61.200.119, port 1562 Mon Sep 23 17:58:53 2002 debug, Child clone: DBI::ProxyServer=HASH(0x14035cef8) Mon Sep 23 17:58:53 2002 debug, New child starting (DBI::ProxyServer=HASH(0x14035cef8)). Mon Sep 23 17:58:53 2002 debug, Accepting client from 139.61.200.119, port 1562 Mon Sep 23 17:58:53 2002 debug, Client logs in: Application DBI:Oracle:prodca, version 0.2003, user amex_ca_loading Mon Sep 23 17:58:53 2002 debug, Connecting to DBI:Oracle:prodca as amex_ca_loading Mon Sep 23 17:58:54 2002 debug, Accepting client Mon Sep 23 17:58:54 2002 debug, Child terminating.
Back to
Seekers of Perl Wisdom
|
|