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
Sybase OC Error - libct.so: open failed:
Moderators: chulett, rschirm, roy
Resolution
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.
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.
Re: Resolution
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:
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.
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
