cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

We are currently installing a distributed NW 7.31 system with Oracle RAC on ASM.

SCS ran successfully ,and now we are trying to install db instance.

During phase 'Create database' the installation stops with error code 1.

The log is:

WARNING    2014-04-28 19:14:00.451
           CJSlibModule::writeWarning_impl()
Execution of the command "/oracle/ISP/112/bin/srvctl add database -d ISP -o /oracle/ISP/112 -p +ISP_DATA/ISP/spfileISP.ora -a ISP_DATA" finished with return code 1. Output:
/oracle/ISP/112/bin/srvctl: line 87: dirname: No such file or directory
/oracle/ISP/112/bin/srvctl: line 94: dirname: No such file or directory
/oracle/ISP/112/bin/srvctl: line 148: uname: No such file or directory
****ORACLE_HOME environment variable is not set.
    ORACLE_HOME should be set to the main
    directory that contains Oracle products.
    Set and export ORACLE_HOME, then re-run.

ERROR      2014-04-28 19:14:00.454
           CJSlibModule::writeError_impl()
CJS-30023  Process call '/oracle/ISP/112/bin/srvctl add database -d ISP -o /oracle/ISP/112 -p +ISP_DATA/ISP/spfileISP.ora -a ISP_DATA' exits with error code 1. For details see log file(s) srvctl.log.

I don't know why the SWPM asks for the spfile if this is a fresh installation. The only file that exists is initISP.ora

Perhaps SWPM was supposed to create an spfile<SID>.ora from init<SID>.ora?


I hope someone out there has encountered this before

Best Regards,

Fabian

0 Likes
View Entire Topic
Former Member
0 Likes

Hi ,

We are facing the same issue

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

ls -l /oracle/ECP/112/lib/libsrvmhas11*

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

Pls provide the exact solution as we are stuck in production environment.

Thanks

Kishore