Wednesday, September 14, 2011

ORA-* errors during rediscovery of host : grid control

while installing the oracle agent 10.2.0.5 agent and rediscovering I received several errors in the instances monitored :


< ORA-00603: ORACLE server session terminated by fatal error
< ORA-27504: IPC error creating OSD context
< ORA-27300: OS system dependent operation:IPC init failed with status: 65
< ORA-27301: OS failure message: Package not installed
< ORA-27302: failure occurred at: skgxpcini
< ORA-27303: additional information: libskgxpd.so called
< ORA-00603: ORACLE server session terminated by fatal error
< ORA-27504: IPC error creating OSD context
< ORA-27300: OS system dependent operation:IPC init failed with status: 65
< ORA-27301: OS failure message: Package not installed
< ORA-27302: failure occurred at: skgxpcini
< ORA-27303: additional information: libskgxpd.so called

further investigation pointed me to metalink notes

Ora-00603 When Invoking Sqlplus Via Grid Control OS Command Job (Doc ID 1327675.1)
ORA-7445 [KSXPSIGOSDERR()+252] ERROR IN A RAC DATABASE (Doc ID 984963.1)



I basically adapted the emctl script of the agent and just added the following: 

LD_LIBRARY_PATH_64=$ORACLE_HOME/lib:$LD_LIBRARY_PATH_64

I did this straight after this section of the script

#
# Make sure certain environment variables are set
#