dsjob - libvmdsapi.so could not be loaded

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
RAI ROUSES
Participant
Posts: 176
Joined: Wed Nov 15, 2006 5:48 am

dsjob - libvmdsapi.so could not be loaded

Post by RAI ROUSES »

Datastage version 7.5.3
OS : Sun Solaris
Hi,
We can run our jobs using Datastage Director, but now we want to run our jobs using the command line dsjob, but when we try to executed the command it return the fowling message :

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin\ $ dsjob
Could not load program dsjob:
Dependent module libvmdsapi.so could not be loaded.
Could not load module libvmdsapi.so.
System error: No such file or directory

The library exist and the user have access.

Any ideas what could be the problem ?

merci
8) Rai 8)
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Check if the LD_LIBRARY_PATH is correctly set for your environment.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
rupeshg
Premium Member
Premium Member
Posts: 60
Joined: Thu Dec 22, 2005 6:02 am
Location: United Kingdom

Post by rupeshg »

LD_LIBRARY_PATH system variable must have the DSEngine/lib path. Hope the quote below helps.
/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # ./dsjob
./dsjob: error while loading shared libraries: libvmdsapi.so: cannot open shared object file: No such file or directory

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/lib/; export LD_LIBRARY_PATH;

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # echo $LD_LIBRARY_PATH
/opt/CA/SharedComponents/lib:/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/lib/

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # ./dsjob
Command Syntax:
dsjob [-file <file> <server> | [-server <server>][-user <user>][-password <password>]]
<primary command> [<arguments>]

Valid primary command options are:
-run
-stop
-lprojects
-ljobs
-linvocations
-lstages
-llinks
-projectinfo
-jobinfo
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
-import

Status code = -9999 DSJE_DSJOB_ERROR

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin #
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need to "source" dsenv before-hand to set the environment.

Code: Select all

cd $DSHOME
. ./dsenv
-craig

"You can never have too many knives" -- Logan Nine Fingers
RAI ROUSES
Participant
Posts: 176
Joined: Wed Nov 15, 2006 5:48 am

Post by RAI ROUSES »

Yes,
These users must have specified in the .profile the variables of datastage (dsenv).

Closed

merci
8) Rai 8)
rupeshg
Premium Member
Premium Member
Posts: 60
Joined: Thu Dec 22, 2005 6:02 am
Location: United Kingdom

Post by rupeshg »

If you are have the resolution, please mark the topic as resolved.
Post Reply