We have a set of scripts running the datastage sequencers in Datastage 6.0.......
recently we upgraded the datastage to 7.5.1 and this is causing the problem
I am getting an error saying "ld.so.1: dsjob: fatal: libvmdsapi.so: open failed: No such file or directory Killed "
when i try to use the dsJob command to run the job.
any have any guess why is this???
Any new setting needed for running a job from Unix script
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 143
- Joined: Thu Nov 04, 2004 6:53 am
Code: Select all
DSHOME=`cat /.dshome`
export DSHOME
LD_LIBRARY_PATH=$DSHOME/java/jre/lib/sparc/client:$DSHOME/java/jre/lib/sparc:`dirname $DSHOME`/branded_odbc/lib:$DSHOME/lib:$DSHOME/uvdlls:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
Mamu Kim
Next time before you install a new DataStage beckup critical files with:
The sudo command gives you root access. You need a workaround for that if you do not have sudo. You could just download it from sourceforge.
Code: Select all
#!/bin/ksh
set -x
cd
mkdir $HOME/SavedFiles
cp .profile SavedFiles
DSHOME=`cat /.dshome`
cd $DSHOME
sudo cp .[a-z]* $HOME/SavedFiles
cp dsenv* $HOME/SavedFiles
cp uvodbc* $HOME/SavedFiles
cp uvconfig* $HOME/SavedFiles
cd ../Projects
find . -name uvodbc.config -print | cpio -padmuv $HOME/SavedFiles
find . -name .developer.adm -print | cpio -padmuv $HOME/SavedFiles
find . -name .operator.adm -print | cpio -padmuv $HOME/SavedFiles
find . -name .prodmgr.adm -print | cpio -padmuv $HOME/SavedFiles
cd $ORACLE_HOME/network/admin
cp tnsname* $HOME/SavedFiles
# backup crontabs
mkdir $HOME/SavedFiles/crontabs
cd /var/spool/cron/crontabs
sudo find . -group dstage -print | sudo cpio -padmuv $HOME/SavedFiles/crontabs
sudo find . -group dstage2 -print | sudo cpio -padmuv $HOME/SavedFiles/crontabs
sudo find . -group dstage3 -print | sudo cpio -padmuv $HOME/SavedFiles/crontabs
# exit
sudo cp /etc/passwd $HOME/SavedFiles
sudo cp /etc/group $HOME/SavedFiles
sudo cp /etc/shadow $HOME/SavedFiles
sudo chown -R dsadm $HOME/SavedFiles
sudo chmod -R u+rwx $HOME/SavedFiles
Mamu Kim