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