Kbase 21580: Turn off SETUID to resolve Dsrv. ORACLE AIX, Could Not Load Module libclntsh.a(shr.o)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Unverified
FACT(s) (Environment):
IBM AIX
ORACLE DataServer
SYMPTOM(s):
Could not load program ./_progres:
Dependent module libclntsh.a(shr.o) could not be loaded.
Could not load program ./_orasrv:
Dependent module libclntsh.a(shr.o) could not be loaded
Could not load module libclntsh.a(shr.o).
Error was: No such file or directory
Errors occur when running _progres executable linked to ORACLE
Errors occur when running _orasrv executable linked to ORACLE
LIBPATH environment variable includes $ORACLE_HOME/lib/ which libclntsh.a is in
SETUID on for the executable that generates the error
Soft link under /usr/lib for the shared library can not be created due to security reasons
CAUSE:
Because of AIX security implementation, when the SETUID bit is enabled for an executable, the system will search and load shared libraries from /usr/lib only. It will not search the shared library path, i.e., LIBPATH that is defined in the environment
FIX:
Turn SETUID off executables, _progres and _orasrv.
Syntax:
chmod -s $DLC/bin/_progres (or location for _progres)
chmod -s $DLC/bin/_orasrv (or location for _orasrv)