Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

srvctl add database failed in SWPM DB instance

$
0
0

Hi

i'm doing a migration on a oracle RAC on ASM 11.2.0.4 in linux environment

During the first phase of database instance installation, i have a problem during the add database with srvctl:

 

WARNING    2015-05-20 17:23:45.102

           CJSlibModule::writeWarning_impl()

Execution of the command "/oracle/P1E/112/bin/srvctl add database -d P1E -o /oracle/P1E/112 -p +P1E_DATA/P1E/spfileP1E.ora -a P1E_DATA" finished with return code 2. Output:

/bin/sh: mc: line 1: syntax error: unexpected end of file

/bin/sh: error importing function definition for `mc'

PRCD-1025 : Failed to create database P1E

PRCT-1011 : Failed to run "srvctl". Detailed error: [/bin/sh: mc: line 1: syntax error: unexpected end of file, /bin/sh: error importing function definition for `mc']

 

 

ERROR      2015-05-20 17:23:45.103

           CJSlibModule::writeError_impl()

CJS-30023  Process call '/oracle/P1E/112/bin/srvctl add database -d P1E -o /oracle/P1E/112 -p +P1E_DATA/P1E/spfileP1E.ora -a P1E_DATA' exits with error code 2. For details see log file(s) srvctl.log.

 

 

ERROR      2015-05-20 17:23:45.276 [CSiStepExecute.cpp:1187]

FCO-00011  The step createRACPreSteps with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_OraDBCheck|ind|ind|ind|ind|ora|0|NW_OraDBMain|ind|ind|ind|ind|main|0|NW_OraDBStd|ind|ind|ind|ind|std|0|NW_OraDbBuild|ind|ind|ind|ind|build|0|createRACPreSteps was executed with status ERROR ( Last error reported by the step: Process call '/oracle/P1E/112/bin/srvctl add database -d P1E -o /oracle/P1E/112 -p +P1E_DATA/P1E/spfileP1E.ora -a P1E_DATA' exits with error code 2. For details see log file(s) srvctl.log.).

 

I tried to start this command through shell with user "oracle" setting the following variables:

export ORACLE_SID=P1E001

export ORACLE_HOME=/oracle/P1E/112

export DB_SID=P1E

export LD_LIBRARY_PATH=/sapmnt/P1E/exe:/oracle/P1E/112/lib

export PATH=/opt/java/bin:/sapmnt/P1E/P1Eadm:/sapmnt/P1E/exe:/usr/bin:.:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/ccs/bin:/usr/ucb:/usr/local/bin:/sapmnt/P1E/exe:/oracle/P1E/112/bin:/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/ucb:/usr/local/bin

export ORACLE_BASE=/oracle/P1E

 

but i have the error

RCR-1006 : Failed to add resource ora.p1e.db for p1e

PRCD-1123 : Oracle Clusterware resource does not exist for ACFS filesystem of volume device /dev/asm/p1eora-251. A resource is required for the filesystem containing ACFS path /oracle/P1E/112.

PRCA-1034 : ACFS file system resource does not exist in Oracle Clusterware

 

Any idea?

Thanks

Nick


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>