in reply to DBD::Oracle error

Hey I have figured out there is something wrong with my DBD installation, I corrected it and it run fine when I do it manually on command line, but still getting same error when crontab calls it. I read it on some other site that people suggest to set LD_LIBRARY_PATH to point to where the shared library is. But as you can see, I have set it to the location where "libclntsh.so.10.1" is located. =(

Replies are listed 'Best First'.
Re^2: DBD::Oracle error
by roboticus (Chancellor) on Jan 27, 2011 at 02:20 UTC

    williamshen25:

    Keep in mind that your login environment and the environment that crontab provides to the processes it spawns are different. I'd check that first if you're using the same user ID for your login and crontab. If you're running under a different user, you'll also have to check permissions and such.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.