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
Request clarification before answering.
To anyone facing the same or similar issue:
Check oracle user's environment variables. I was able to install successfully, but had to write in .bash_profile the following:
PATH=$PATH:$HOME/bin
PATH=$PATH:$HOME/bin:/oracle/ISP/112/bin
ORACLE_HOME=/oracle/ISP/112
ORACLE_SID=ISP
ORACLE_BASE=/oracle
GRID_HOME=/oracle/GRID/11203
LD_LIBRARY_PATH=/oracle/ISP/112/lib
export PATH
export ORACLE_HOME
export ORACLE_SID
export ORACLE_BASE
export LD_LIBRARY_PATH
Also, the environment variable ORACLE_BASE is supposed to be /oracle/SID (recommended by the oracle white paper referenced by SAP in )
But it only work for us with ORACLE_BASE set to /oracle
Good luck,
Fabian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.