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.
In reply to dbiproxy
by jadame
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.