Hi,
I am doing homogeneous System Copy following the exact documentation and CD`s as mentioned in the Documentation and notes.
Note - Oracle Special Installation and Sys Copy Features - Note 659509
and the R3 4.7Installation guide for Solaris and Oracle - Section Oracle Specific Procedure as detailed in the Note. WAS 6.20 Homogeneous System Copy Documentation and the required CD`s
As mentioned in the guide I did rename the control.xml , found the message box "Not Found", cancelled it, did R3Copy, brought the target database up which is OP2 . (Doing a copy from (Source)OP1 to (Target) OP2). Now in the guide it says under section OracleSpecficProcedure. Before you startup R3Setup(In this case SAPINST)to run sapdba -
usyste/
<passwd> -alter_user system/manager and other users like sys/change_on_install and sapr3/sap. I did all of these as well.
It also says in the note 659509 (Oracle Special Installation and Sys Copy Features ) to run oradbusr.sql from the sapinst cd (The CD number 51019679) under /UNIX/COMMON/INSTALL before starting SAPINST again. Then i run this SQL Script as per the note
---------------------
uk-oasdbs002:oraop2 639% cd //oracle/51019679/UNIX/COMMON/INSTALL
uk-oasdbs002:oraop2 640% ls
ALMTTREE DEFAULTR3EHP11_64 R3COPY STARTCI
DBENV.CSH INITSID.DBA SAPENV.CSH STARTCI-EI
DBENV.SH INITSID.ORA SAPENV.SH STARTDI
DBSRC.CSH INSTPFLEI SAPSRC.CSH STARTEI
DBSRC.SH LISTENER.ORA SAPSRC.SH STARTSAPASCS
DEFAULTR3EAIX4_64 ORADBUSR.SQL SPLITSTR.PL TNSNAMES.ORA
DEFAULTR3EAIX_64 PROTOCOL.ORA SQLNET.ORA TOPLEVEL.XML
uk-oasdbs002:oraop2 641% sqlplus /nolog @ORADBUSR.SQL SAPOP1 UNIX OP2 x
(Please see I am using SAPOP1 as the schema owner as I had an error beore ) - Using SAPOP2 gives me an error in the above script.
After this I executed the step insert into OPS$OP2ADM.sapuser values (`SAPOP2`,`SAP`); (as per the note)
Then I restarted the SAPINST and followed from message box "Not Found", pressed OK ,
The error which I am getting is
ee `/sapmnt/OP2/exe/saplicense -R3Setup OP2 "OMBAYXH1" TRACE=2` output
in `/oracle/SAPINST_WORK_DIR/saplicense.log`.
ERROR 2005-01-27 14:35:21
MOS-01012 PROBLEM: `/sapmnt/OP2/exe/saplicense -R3Setup OP2 "OMBAYXH1"
TRACE=2` returned with `254` which is not a defined as a success code.
ERROR 2005-01-27 14:35:21
FJS-00012 Error when executing script.
In this log there is not much info
uk-oasdbs002:op2adm 30% cat /oracle/SAPINST_WORK_DIR/saplicense.log
Thu Jan 27 14:35:21 2005
MtxInit: 0 0 0
Again if i run this command as standalone as op2adm
/sapmnt/OP2/exe/saplicense -R3Setup OP2 "OMBAYXH1" TRACE=2
Felow is the dev_slic which i get
uk-oasdbs002:oraop2 58% cat dev_slic
---------------------------------------------------
trc file: "dev_slic", trc level: 2, release: "620"
---------------------------------------------------
SlicIGetDate: <20050127>
SlicPwForR3Setup: calc password out of <op220050127fjawfnltl>
SlicIGetDate: <20050127>
SlicSapInstall: sysname: >OP2< connect: >1< rollback: >1<
SlicIDbLock: first call to SlicIDbLock: initialize Mutex
db_con_init called
create_con (con_name=R/3)
Loading DB library `/usr/sap/OP2/SYS/exe/run/dboraslib.so` ...
load shared library (/usr/sap/OP2/SYS/exe/run/dboraslib.so), hdl 0
Library `/usr/sap/OP2/SYS/exe/run/dboraslib.so` loaded
function DbSlExpFuns loaded from library /usr/sap/OP2/SYS/exe/run/dboraslib.so
Version of `/usr/sap/OP2/SYS/exe/run/dboraslib.so` is "620.02", patchlevel (0.1603)
function dsql_db_init loaded from library /usr/sap/OP2/SYS/exe/run/dboraslib.so
function dbdd_exp_funs loaded from library
/usr/sap/OP2/SYS/exe/run/dboraslib.so
New connection 0 created
0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO
db_con_connect (con_name=R/3)
find_con found the following connection for reuse:
0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO
Got ORACLE_HOME=/oracle/OP2/920_64 from environment
-->oci_initialize
*** ERROR => OCI-call `OCIInitialize` failed: rc = -1 [dboci.c 1823]
*** ERROR => OCI-call `OCIErrorGet` failed: rc = -2 [dboci.c 1723]
Got ORACLE_HOME=/oracle/OP2/920_64 from environment
-->oci_initialize
*** ERROR => OCI-call `OCIInitialize` failed: rc = -1 [dboci.c 1823]
*** ERROR => OCI-call `OCIErrorGet` failed: rc = -2 [dboci.c 1723]
*****************************************************************************
*
* ERROR Connect to database failed
*
* TIME Thu Jan 27 15:05:38 2005
* RELEASE 620
* COMPONENT SLIC
* VERSION 300
* RC 99
* MODULE slicdb.c
* LINE 150
* DETAIL DbSlConnect failed with return code 99
* SQL-ERROR -1 (check DB manual for explanation)
* COUNTER 1
*
*****************************************************************************
Please advise, I cannot run the System Copy any further and I am little stuck in this.