Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Oracle DBD problems with mod_perl

by dragonchild (Archbishop)
on Sep 08, 2004 at 15:29 UTC ( #389404=note: print w/replies, xml ) Need Help??


in reply to Oracle DBD problems with mod_perl

Try setting $ENV{ORACLE_HOME} in your startup.pl. I tried every iteration of this, and setting it in the actual handler/script didn't work. I ended up having to set it before use'ing DBI, even.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested

Replies are listed 'Best First'.
Re^2: Oracle DBD problems with mod_perl
by waswas-fng (Curate) on Sep 08, 2004 at 15:48 UTC
    I have had the same experience dragonchild, very frustrating -- I thought I was the only one. ++


    -Waswas
      THANK YOU BOTH! This worked.

      Here's the crazy part. I had this same idea yesterday, tried it, and no luck. I can't figure out what I did differently yesterday when it didn't work, because I even removed the environment from being set in my script so that when the error dumped the environment, I proved to myself that it was set by the startup.pl. Must have been a typo or something in the environment yesterday.

      Anyhow, this is great. Thanks again!
        That solved that problem for me also, just took me to the next one.
        httpd: ../../../libraries/libldap/getentry.c:35: ldap_first_entry: Ass +ertion `( (ld)->ld_options.ldo_valid == 0x2 )' failed.
        I commented out;
        #LoadModule ldap_module modules/mod_ldap.so #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
        but still no luck. Using LD_PRELOAD before starting Apache2 doesn't seem to have any impact. Any ideas?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://389404]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2019-12-15 20:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?