Page 1 of 1

Error While running dsjob utility

Posted: Thu Jun 04, 2009 5:39 am
by sudeepmantri
Dear all,

I am trying to run dsjob utility from an Unix script. Below is the simple content of the script

cd /FINODS/IBM2/InformationServer/Server/DSEngine
./dsenv
cd bin
./dsjob -domain virat:9081 -user dsadmin -password dsadmin -server virat -run -wait FINODS2 Test

Am getting the below error on this

exec(): 0509-036 Cannot load program ./dsjob because of the following errors:
0509-150 Dependent module libvmdsapi.so could not be loaded.
0509-022 Cannot load module libvmdsapi.so.
0509-026 System error: A file or directory in the path name does not exist.

Can anyone help me out with this please?

TIA,

Posted: Thu Jun 04, 2009 5:56 am
by nagarjuna
First execute the dsenv file and after that trigger dsjob command

Posted: Thu Jun 04, 2009 6:00 am
by sudeepmantri
As you can see in the script I have first sources the dsenv and then am trying to run the dsjob

Posted: Thu Jun 04, 2009 6:07 am
by nagarjuna
Oops i didnt that ./dsenv statement ....after executing dsenv try to echo some ds variable present in dsenv ( may be echo $DSHOME) just to make sure that it got executed successfully ...also check all the permissions on the executable ...

Posted: Thu Jun 04, 2009 6:11 am
by chulett
You're not "sourcing" it correctly.

Code: Select all

. ./dsenv
Dot-space-dot-slash-dsenv.

Posted: Thu Jun 04, 2009 6:15 am
by chulett
A) See previous reply. B) Mark as Resolved using button at top of screen.