Sybase OC Error - libct.so: open failed:

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
gjacob
Charter Member
Charter Member
Posts: 17
Joined: Fri Apr 23, 2004 12:51 pm

Sybase OC Error - libct.so: open failed:

Post by gjacob »

We are installing a new DataStage 7.0 Server. When trying to use the Sybase OC plugin, I get an error:

"ds_loadlibrary: error in dlopen of sybaseoc.so - ld.so.1: dsapi_slave: fatal: libct.so: open failed: No such file or directory"

The path and ld_library_path seems correct in the dsenv file, and the library file exists. The server was restarted.

Is there anything else I need to do? We had Accential install version 6.0, so I'm not sure if further configuration is needed.

Here is what I added to the dsenv:
export PATH=/home/sybase/ASE119/bin:$PATH
export SYBASE_OCS=ASE119
export SYBASE=/home/sybase
export LD_LIBRARY_PATH=/home/sybase/ASE119/lib:$LD_LIBRARY_PATH


Thanks,
Greg
gjacob
Charter Member
Charter Member
Posts: 17
Joined: Fri Apr 23, 2004 12:51 pm

Resolution

Post by gjacob »

Just to update the issue, in case someone else runs into this:

The problem was that when we ran the "uv -admin -stop" command, the dsrpcd process was not killed. This is the process that environmental variables are read from (hence, it only reads dsenv when that process is started/restarted).

This was related to the product being installed by root, and the admin user was set later. Only root could kill that process. We fixed the problem by changing permissions on some of the files to be SUID.
ccormack
Participant
Posts: 6
Joined: Fri Aug 27, 2004 2:11 am
Location: London

Re: Resolution

Post by ccormack »

gjacob wrote:Just to update the issue...

The problem was that when we ran the "uv -admin -stop" command, the dsrpcd process was not killed ... We fixed the problem by changing permissions on some of the files to be SUID.


I am having a similar problem. Does anyone know, will changing uv to have suid permissions solve this or there additional files that must be changed?

Thanks in advance.

Chris.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There are other files.
Scripts are provided (in the sample directory IIRC) for enabling or disabling impersonation mode. These will look after setting permissions correctly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply