Problem running osh shell

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
megamic
Participant
Posts: 12
Joined: Wed Oct 18, 2006 9:09 pm

Problem running osh shell

Post by megamic »

Hello,

When I attemp to run the osh shell:

/opt/IBM/Ascential/DataStage/PXEngine.752.1/bin/osh

I get the following message:

ld.so.1: osh: fatal: liborchoslsun4.so: open failed: No such file or directory

The file liborchoslsun4.so exists, ie:
$ find /opt/IBM/ -name 'liborchoslsun4.so' 2>/dev/null
/opt/IBM/Ascential/DataStage/PXEngine.752.1/lib/liborchoslsun4.so
/opt/IBM/Ascential/apt.7501.1/lib/liborchoslsun4.so

Where does osh expect to find this file?

Thanks
Mick
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In the shared library search path; the set of directories specified by the LD_LIBRARY_PATH, SHLIB_PATH or LIBPATH environment variable, depending upon your operating system.
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 »

In addition to the LIBPATH, you also have to set the APT_CONFIG_FILE env variable.
Regards,
S. Kirtikumar.
megamic
Participant
Posts: 12
Joined: Wed Oct 18, 2006 9:09 pm

Post by megamic »

ray.wurlod wrote:In the shared library search path; the set of directories specified by the LD_LIBRARY_PATH, SHLIB_PATH or LIBPATH environment variable, depending upon your operating system. ...
Yes, LD_LIBRARY_PATH works, thanks for that.
I also need to set some environment vars:
APT_CONFIG_FILE
APT_ORCHHOME
Any ideas what the best setting for these are?

Cheers
Mick
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

APT_CONFIG_FILE needs to contain the pathname of a configuration file, for example $DSHOME/../Configurations/default.apt

APT_ORCHHOME needs to contain the location of the parallel engine directory, by default $DSHOME/../PXEngine
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

APT_CONFIG_FILE needs to point to a configuration file, by default $DSHOME/../Configurations/default.apt

APT_ORCHHOME needs to point to the parallel engine directory, by default $DSHOME/../PXEngine
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Chuah
Participant
Posts: 46
Joined: Thu May 18, 2006 9:13 pm
Location: Melbourne

Post by Chuah »

megamic wrote:
ray.wurlod wrote:In the shared library search path; the set of directories specified by the LD_LIBRARY_PATH, SHLIB_PATH or LIBPATH environment variable, depending upon your operating system. ...
Yes, LD_LIBRARY_PATH works, thanks for that.
I also need to set some environment vars:
APT_CONFIG_FILE
APT_ORCHHOME
Any ideas what the best setting for these are?

Cheers
Mick
Hi Mick,
Are you referring to what values you want to set within the APT_CONFIG_FILE ? The online guide for Parallel Developer's Guide has a section on it.a lot depends on your environment e.g server config,database setup etc.

Chin
megamic
Participant
Posts: 12
Joined: Wed Oct 18, 2006 9:09 pm

Post by megamic »

Yes thanks, i have all the environment vars sorted out. I just looked at what DataStage set them to, and used that, which worked.
Cheers
Post Reply