cancel
Showing results for 
Search instead for 
Did you mean: 

SWPM RAC DB instance install error on srvctl add database -d

Former Member
0 Kudos

We are doing DB creation for one of the RAC setups using below SAP tool (SWPM) .  But while DB creation we are getting the below error as shown in the screen shot.

RAC & Oracle S/W installation has been done from “oracle” user. Also, when we try to run this command manually it executes perfectly fine.

OS Version – Solaris 11

RAC – 11.2.0.3

Oracle S/W – 11.2.0.3

oracle@psapecpdb01:~$ cat .profile

export GRID_BASE=/oracle/grid/app

export GRID_HOME=/oracle/grid/11203

export ORACLE_BASE=/oracle

export ORACLE_HOME=/oracle/ECP/112

export ORACLE_SID=ECP

PATH=/oracle/ECP/112/bin:$PATH

export PATH

LD_LIBRARY_PATH=/oracle/ECP/112/lib

export LD_LIBRARY_PATH

oracle@psapecpdb01:~$ which srvctl

/oracle/ECP/112/bin/srvctl

oracle@psapecpdb01:/sapinstDB$ cat srvctl.log

/oracle/ECP/11203/bin/srvctl[87]: dirname: not found [No such file or directory]

/oracle/ECP/11203/bin/srvctl[94]: dirname: not found [No such file or directory]

/oracle/ECP/11203/bin/srvctl[148]: uname: not found [No such file or directory]

PRKH-1010 : Unable to communicate with CRS services.

PRKH-1000 : Unable to load the SRVM HAS shared library

PRKN-1008 : Unable to load the shared library "libsrvmhas11.so"

  or a dependent library, from

  LD_LIBRARY_PATH="/oracle/ECP/11203/lib"

  [java.lang.UnsatisfiedLinkError: /oracle/ECP/11203/lib/libsrvmhas11.so: ld.so.1: java: fatal: /oracle/ECP/11203/lib/libsrvmhas11.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)]

oracle@psapecpdb01:/oracle/grid/11203/bin$ ./crsctl check crs

CRS-4638: Oracle High Availability Services is online

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

racle@psapecpdb01:/oracle/grid/11203/bin$ ls -l /oracle/ECP/112/lib/libsrvmhas11*

-rw-r--r--   1 oracle   oinstall 2095128 Sep 16  2011 /oracle/ECP/112/lib/libsrvmhas11.so

Accepted Solutions (0)

Answers (2)

Answers (2)

Sriram2009
Active Contributor
0 Kudos

Hi Kishore

kindly refer the Oracle link. for below error message

Oracle Real Application Clusters Tools Messages

'PRKH-1010 : Unable to communicate with CRS services.

PRKH-1000 : Unable to load the SRVM HAS shared library

PRKN-1008 : Unable to load the shared library "libsrvmhas11.so"

Regards

Sriram

Former Member
0 Kudos

Hi

Can you check this?

wrong ELF class: ELFCLASS64 error | Oracle Community

fatal: /export/home3/oracle/product/9.2.0.4/lib/libocijdbc9.so: wrong ELF class: ELFCLASS64

-------------------------------------------------------------------------------

Everything I've read says this is caused by using the 64bit libraries instead of the 32bit ones. Change your LD_LIBRARY_PATH to point to $ORACLE_HOME/lib32.

And indeed, doing:

### Change your LD_LIBRARY_PATH to point to $ORACLE_HOME/lib32.

LD_LIBRARY_PATH=$ORACLE_HOME/lib32:${LD_LIBRARY_PATH}

export LD_LIBRARY_PATH

removed the error for me.

FWIW, and decidedly late in replying here...

JPReyes
Active Contributor
0 Kudos

The problem is the path you install it on /oracle/ECP/112 and the installer is looking for =/oracle/ECP/11203 also user should be ora<sid>.


Please check and follow the instructions on the installation guide.


Regards, Juan

Former Member
0 Kudos


Hi Juan,

there is soft link between /oracle/ECP/11203 and /oracle/ECP/112.

I am doing installation with Oracle RAC environment and in case of RAC we have user Oracle not the ORASID

Regards

Kishore