Page 1 of 1
orchadmin command execution
Posted: Thu Nov 12, 2009 2:12 am
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
Posted: Thu Nov 12, 2009 2:29 am
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.
Posted: Thu Nov 12, 2009 2:51 am
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.
Posted: Thu Nov 12, 2009 3:46 am
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 ?
Posted: Thu Nov 12, 2009 3:56 am
by ray.wurlod
No spaces around the "=" characters when setting variables.
You probably also need to export the variables.
Posted: Thu Nov 12, 2009 7:21 am
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
Posted: Thu Nov 12, 2009 8:30 am
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.
![Confused :?](./images/smilies/icon_confused.gif)
Posted: Thu Nov 12, 2009 11:30 pm
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.
![Confused :?](./images/smilies/icon_confused.gif)
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