dsjob path search failure

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sydphi
Premium Member
Premium Member
Posts: 13
Joined: Thu Mar 20, 2008 3:03 pm

dsjob path search failure

Post by sydphi »

Hello,

I have a job that runs correctly from Director and Designer, however, when submitted via command line through dsjob, it fails to load oracle library. The ./dsenv has been checked and excuted from the command line prior to running dsjob. The job logs indicate that the path is correct. Examples below.

Any ideas what could be going on? I did not find anything in searching.

Thanks

main_program: Error loading "orchoracle": Could not load "orchoracle": libclntsh.so.10.1: cannot open shared object file: No such file or directory.

LD_LIBRARY_PATH=/opt/IBM/InformationServer/Server/Projects/rstewart/buildop:/opt/IBM/InformationServer/Server/DSComponents/lib:/opt/IBM/InformationServer/Server/DSComponents/bin:/opt/IBM/InformationServer/Server/DSParallel:/opt/IBM/InformationServer/Server/PXEngine/user_lib:/opt/IBM/InformationServer/Server/PXEngine/lib:/opt/IBM/InformationServer/Server/Projects/rstewart/RT_BP117.O:/opt/IBM/InformationServer/Server/branded_odbc/lib:/opt/IBM/InformationServer/Server/DSEngine/lib:/opt/IBM/InformationServer/Server/DSEngine/uvdlls:/opt/IBM/InformationServer/ASBNode/apps/jre/bin:/opt/IBM/InformationServer/ASBNode/apps/jre/bin/classic:/opt/IBM/InformationServer/ASBNode/lib/cpp:/opt/IBM/InformationServer/ASBNode/apps/proxy/cpp/linux-all-x86:/opt/IBM/db2/V9/lib32:/opt/oracle/product/10.2.0/db_1/lib32:/usr/lib:.:/lib

PATH=/opt/IBM/InformationServer/Server/Projects/rstewart/wrapped:/opt/IBM/InformationServer/Server/Projects/rstewart/buildop:/opt/IBM/InformationServer/Server/Projects/rstewart/RT_BP117.O:/opt/IBM/InformationServer/Server/DSComponents/lib:/opt/IBM/InformationServer/Server/DSComponents/bin:/opt/IBM/InformationServer/Server/DSParallel:/opt/IBM/InformationServer/Server/PXEngine/user_osh_wrappers:/opt/IBM/InformationServer/Server/PXEngine/osh_wrappers:/opt/IBM/InformationServer/Server/PXEngine/bin:/sbin:/usr/sbin:/bin:/usr/bin:/opt/oracle/product/10.2.0/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/usr/X11R6/bin:.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

It will be easier to help you if you post your dsjob's syntax.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Find out where libclntsh.so.10.1 is on your system, then verify whether or not its parent directory is mentioned in the shared library search list (LD_LIBRARY_PATH) used by the DataStage user (that is, the list set up in dsenv script).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Moderator: please move to parallel forum
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply