How to invoke Orchadmin?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
venkat_kp
Charter Member
Charter Member
Posts: 33
Joined: Sun May 07, 2006 8:16 am

How to invoke Orchadmin?

Post by venkat_kp »

While trying to do orchadmin -help it says command not found. I ran this while in the bin dir where this orchadmin is located.

What all other things I should check wrt the configuration? Parallel jobs run fine.


Thanks.
manojkumarnayak
Participant
Posts: 21
Joined: Fri Nov 04, 2005 11:31 am

Post by manojkumarnayak »

If the file exists there then run with ./orchadmin or set the path for it and then run from any where
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Hi,
Please read the Orchestrate 7.5 administration guide. The syntax for checking the configuration file's correctness is:
orchadmin -check
venkat_kp
Charter Member
Charter Member
Posts: 33
Joined: Sun May 07, 2006 8:16 am

liborchgenerali686.so: cannot open shared object file:

Post by venkat_kp »

manojkumarnayak wrote:If the file exists there then run with ./orchadmin or set the path for it and then run from any where

Now getting $ ./orchadmin
./orchadmin: error while loading shared libraries: liborchgenerali686.so: cannot open shared object file: No such file or directory. But it's there in lib dir.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Command not found means that PATH is not correct.
Library not found means that LD_LIBRARY_PATH (or SHLIB_PATH or LIBPATH) is not correct.
In either case you might also have a permissions issue, but this is less likely.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

Due to library not found message, when I run the command, normally I set the LIBPATH and config file path.

So the steps I follow:

Code: Select all

#. `cat /.dshome`/.dsenv
#export APT_CONFIG_FILE=/DataStageApp/Ascential/DataStage/Configurations/default.apt 
#export LIBPATH=/DataStageApp751_adc/Ascential/DataStage/PXEngine/lib:$LIBPATH
Once this is done change you $PATH variable to have directory where orchadmin is located.
Regards,
S. Kirtikumar.
manojkumarnayak
Participant
Posts: 21
Joined: Fri Nov 04, 2005 11:31 am

Post by manojkumarnayak »

Check for LD_LIBRARY_PATH.Here you can give the library path and export it.
venkat_kp
Charter Member
Charter Member
Posts: 33
Joined: Sun May 07, 2006 8:16 am

Post by venkat_kp »

Added the paths to the LD_LIBRARY_PATH in the dsenv file. Sourced it. But still is says command not found. It's on linux.

$ echo $LD_LIBRARY_PATH
/usr/lib:/lib:/home/dsadm/Ascential/DataStage/PXEngine/lib:/home/dsadm/Ascential/DataStage/PXEngine/bin:/home/dsadm/Ascential/DataStage/PXEngine/osh_wrappers:/usr/odbc/lib:/usr/odbc/drivers:/home/dsadm/Ascential/DataStage/branded_odbc/lib:/home/dsadm/Ascential/DataStage/DSEngine/lib:/home/dsadm/Ascential/DataStage/DSEngine/uvdlls:/home/dsadm/Ascential/DataStage/DSEngine/java/jre/lib/i386/client:/home/dsadm/Ascential/DataStage/DSEngine/java/jre/lib/i386:/usr/lib:/lib:/opt/oracle/product/10.2.0/lib:/opt/oracle/product/10.2.0/rdbms/lib:/usr/lib:/lib:/opt/oracle/product/10.2.0/lib:/opt/oracle/product/10.2.0/rdbms/lib:/home/db2inst1/sqllib/lib:db2inst1/lib:/home/dsadm/Ascential/DataStage/PXEngine/lib:/home/dsadm/Ascential/DataStage/PXEngine/bin:/home/dsadm/Ascential/DataStage/PXEngine/osh_wrappers:/usr/odbc/lib:/usr/odbc/drivers:/home/dsadm/Ascential/DataStage/branded_odbc/lib:/home/dsadm/Ascential/DataStage/DSEngine/lib:/home/dsadm/Ascential/DataStage/DSEngine/uvdlls:/home/dsadm/Ascential/DataStage/DSEngine/java/jre/lib/i386/client:/home/dsadm/Ascential/DataStage/DSEngine/java/jre/lib/i386:/usr/lib:/lib:/opt/oracle/product/10.2.0/lib:/opt/oracle/product/10.2.0/rdbms/lib:/usr/lib:/lib:/opt/oracle/product/10.2.0/lib:/opt/oracle/product/10.2.0/rdbms/lib:/home/db2inst1/sqllib/lib:/opt/oracle/product/10.2.0/lib:/opt/oracle/product/10.2.0/rdbms/lib
venkat_kp
Charter Member
Charter Member
Posts: 33
Joined: Sun May 07, 2006 8:16 am

Now got it working

Post by venkat_kp »

After I made LD_LIBRARY_PATH entry in the bash profile of the user and copied the default.apt as config.apt into PXEngine/etc then it worked.

Thank you all.
Post Reply