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

Hello everyone.

Now we solve the problem, thank you very much for the help.

Solution: change archive srvctl "/oracle/<SID>/11204/bin/srvctl"  add the following line.

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:/oracle/<SID>/11204/bin

Best Regards.

Ricardo Cardona

fabianlarav
Explorer
0 Likes

Ricardo,

Thank you for sharing your solution. It appears SAP has to make amendments to the current installer. I hope they do that soon.

Best Regards,

Fabian Lara

antonionunes
Explorer
0 Likes

Hello Ricardo,

Changing the bin srvctl with the PATH solved my problem!

SAP should advise this error....

Best regards

António