orchadmin command execution

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
muralisankarr
Premium Member
Premium Member
Posts: 83
Joined: Tue Oct 28, 2008 1:55 am
Location: Chennai

orchadmin command execution

Post by muralisankarr »

When I invoke the 'orchadmin check' command, I got the below error
/usr/lib/hpux64/dld.so: Unable to find library 'liborchgeneralhpia64.so'.
Killed
After a search in this forum I tried setting the below three environment variables & executed the same 'orchadmin check' command. But there is no use.
PATH=$PATH:/opt/app/Ascential/DataStage/PXEngine.751.2/bin
SHLIB_PATH = $SHLIB_PATH:/opt/app/Ascential/DataStage/PXEngine.751.2/bin
LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/opt/app/Ascential/DataStage/PXEngine.751.2/bin
Please help with this

Many Thanks
MSR
The minute you start talking about what you're going to do if you lose, you have lost
yousuff1710
Participant
Posts: 56
Joined: Fri Sep 21, 2007 9:10 am
Location: Bangalore

Post by yousuff1710 »


Set these:
export APT_ORCHHOME=/opt/app/Ascential/DataStage/PXEngine.
&
export APT_CONFIG_FILE=opt/app/Ascential/DataStage/Configuations/default.apt
in the working directory where you are running the command.
muralisankarr
Premium Member
Premium Member
Posts: 83
Joined: Tue Oct 28, 2008 1:55 am
Location: Chennai

Post by muralisankarr »

yousuff1710 wrote: Set these:
export APT_ORCHHOME=/opt/app/Ascential/DataStage/PXEngine.
&
export APT_CONFIG_FILE=opt/app/Ascential/DataStage/Configuations/default.apt
in the working directory where you are running the command.
Setting the APT_ORCHHOME & APT_CONFIG_FILE doesn't help me come out the error message.
The minute you start talking about what you're going to do if you lose, you have lost
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

What flavour of unix are unix are you using ?

Do you have the directory /opt/app/Ascential/DataStage/PXEngine.751.2/bin ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No spaces around the "=" characters when setting variables.

You probably also need to export the variables.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
muralisankarr
Premium Member
Premium Member
Posts: 83
Joined: Tue Oct 28, 2008 1:55 am
Location: Chennai

Post by muralisankarr »

ray.wurlod wrote:No spaces around the "=" characters when setting variables.
You probably also need to export the variables.
Yes. I have removed the spaces and exported them. But there is no use :(
Sainath.Srinivasan wrote: What flavour of unix are unix are you using ?
v10.24
Sainath.Srinivasan wrote: Do you have the directory /opt/app/Ascential/DataStage/PXEngine.751.2/bin ?
Yes We have. But none of the above help us to come out of it & get it worked. Please help

Many Thanks
MSR
The minute you start talking about what you're going to do if you lose, you have lost
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Neither SHLIB_PATH nor LD_LIBRARY_PATH should be set to a "bin" directory, but rather need to be set to a "lib" directory. And you set one or the other, depending on your O/S, never both. HP/UX uses the former from what I recall, but it can depend on the chipset I believe. Been awhile. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
muralisankarr
Premium Member
Premium Member
Posts: 83
Joined: Tue Oct 28, 2008 1:55 am
Location: Chennai

Post by muralisankarr »

chulett wrote:Neither SHLIB_PATH nor LD_LIBRARY_PATH should be set to a "bin" directory, but rather need to be set to a "lib" directory. And you set one or the other, depending on your O/S, never both. HP/UX uses the former from what I recall, but it can depend on the chipset I believe. Been awhile. :?
Yes setting the SHLIB_PATH has resolved my issue
PATH=$PATH:/opt/app/Ascential/DataStage/PXEngine.751.2/bin
SHLIB_PATH=$SHLIB_PATH:/opt/app/Ascential/DataStage/PXEngine.751.2/lib
APT_ORCHHOME=/opt/app/Ascential/DataStage/PXEngine.751.2
APT_CONFIG_FILE=/opt/app/Ascential/DataStage/Configurations/default.apt
Many Thanks for Ray, Srini, yousuff and chulett
The minute you start talking about what you're going to do if you lose, you have lost
Post Reply