Consultor Eletrônico



Kbase P54828: Getting memory violation with _setuid() in Oracle DataServer 8.3x
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/21/2003
Status: Unverified

FACT(s) (Environment):

Progress 8.3E
Oracle DataServer
Solaris 5.6
Oracle 8.1.7

SYMPTOM(s):

Using Oracle 8.1.7 client

Getting error 49 when connecting to ORACLE

Memory violation and protrace created

Setuid bit is off on _progres

ORACLE_HOME and ORACLE_HOME/bin is within $PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib

C-compiler /opt/SUNWspro/SC4.2/bin/cc

Created soft link ln -s /usr/lib/libc.so.1 $ORACLE_HOME/lib/libc.so.1

Function within protrace that is dying
_setuid() +0x60 from: /usr/lib/libc.so.1

CAUSE:

The actual c-compiler is included within the PATH; i.e.,
PATH=/opt/SUNWspro/SC4.2/bin/cc:$DLC etc...

FIX:

Only need to reference the directory of the c-compiler. The correct specification is;
PATH=/opt/SUNWspro/SC4.2/bin:$DLC etc..