is ORACLE_HOME set in the server config? Also setting DBI_TRACE=2 in the server config should allow you to see the connect call.
On Mon, 2002-03-25 at 15:35, Rhugga wrote: > > Yes, this script works fine from the command line. trace will not help since > the script does not even get past the DBI->connect. > > ??? > > -Chuck > > ----- Original Message ----- > From: "David Talkington" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, March 25, 2002 12:29 PM > Subject: Re: ARG: Anyone using DBD::Oracle from Red Hat 7.2 > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Rhugga wrote: > > > > >print "DEBUG: datasource=$datasource db_login=$db_login > > >db_passwd=$db_passwd\n"; # This is okay, all variables visible > > >print STDERR "Testing apache error log\n"; # this works > > >my $dbh = DBI->connect($datasource, $db_login, $db_passwd) or die "Can't > > >connect to DB: $DBI::errstr\n"; # Script dies with no error message print > > >anywhere > > > > Silly question, perhaps, but you _do_ have the Oracle driver installed, > > right? DBI->available_drivers gives a list of what's available ... > > > > You might also get more information using DBI->trace to get error > > messages from the attempted transactions. > > > > - -d > > > > > > - -- > > David Talkington > > > > PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGP 6.5.8 > > Comment: Made with pgp4pine 1.75-6 > > > > iQA/AwUBPJ+IwL9BpdPKTBGtEQL4dACgrUQNLl26vmj57h5wEZcrKyfodFoAoIAJ > > Fl94Inc1OjuGwTVgVsYfyPy3 > > =/03/ > > -----END PGP SIGNATURE----- > > > > > > > > > > _______________________________________________ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list