Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Issues with DBD::Oracle and an apache environment

by JupiterCrash (Monk)
on Jun 17, 2005 at 15:37 UTC ( [id://467771]=note: print w/replies, xml ) Need Help??


in reply to Issues with DBD::Oracle and an apache environment

Compare the environment when ran from the web to the environment when ran from the command line. Have your perl script print out the entire environment and look for differences.

You might find something like TNS_ADMIN is set in one, but not the other.

It sounds like you are already setting LD_LIBRARY_PATH, ORACLE_HOME, and ORACLE_SIDE -- but also make sure that your library files in the LD_LIBRARY_PATH have adequate permissions for the user who runs your Apache to access them.

Matt
  • Comment on Re: Issues with DBD::Oracle and an apache environment

Replies are listed 'Best First'.
Re^2: Issues with DBD::Oracle and an apache environment
by l2kashe (Deacon) on Jun 17, 2005 at 15:51 UTC

    It is amazing how humbling system administration can be.

    Matt, Thank You.
    I forgot under Linux the default permissions on home directories is 600 and long story short oracle is installed in a users dir.

    Problem solved

    use perl;
    Everyone should spend some time pounding nails with their forehead for a while before they graduate to complicated stuff like hammers. - Dominus

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-19 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found