cancel
Showing results for 
Search instead for 
Did you mean: 

Error while running "config04_clone_oh.sh" Oracle 12C upgrade

0 Kudos

Hello,

I am upgrading Oracle from 11.2 to 12.1 and following below document:

https://blogs.sap.com/2015/10/14/sap-oracle-upgrade-steps-from-11g-to-12c-for-sap-systems-on-linux/

and I am getting below error while executing script 4, config04_clone_oh.sh

[root@ind-sap clone_scripts]# ./config04_clone_oh.sh DESCRIPTION: This script runs the clone command (clone.pl) for the Oracle home. Current user is root. This script must be run by user 'root'. Cloning Oracle home /oracle/EC1/121 ./runInstaller -clone -waitForCompletion -invPtrLoc /etc/oraInst.loc "ORACLE_BASE=/oracle/EC1" "ORACLE_HOME=/oracle/EC1/121" "oracle_install_OSDBA=dba" "oracle_install_OSOPER=oper" "oracle.sysman.ccr:PRE_REQUISITE=true" -defaultHomeName -silent -noConfig -nowait sh: ./runInstaller: No such file or directory OUI finished with return code 127


Please advice.

Regards,

Rachit

Accepted Solutions (0)

Answers (3)

Answers (3)

avijit_das
Explorer
0 Kudos

Hello Rachit,

Kindly follow the Central Note 1914631 which is given by SAP. It has reference to note "1915317 - Migrating Software Owner to 'oracle'". Please follow Step 9 of Software Owner Migration Before Database Upgrade which states the migration process of software owner to 'oracle'. It is mentioned there that script has to be executed by oracle user "./config04_clone_oh.sh (as new software owner oracle)".

Regards

0 Kudos

Hi Rachit,

Looks like "clone_assistant.sh" was filled up with wrong data. This Shell script provides the input for the individual scripts, just like config04_clone_oh.sh.
Apparently "source Oracle home" and "target Oracle home" was entered incorrectly.

Please check this.

JamesZ
Advisor
Advisor
0 Kudos

Hi Rachit,

According to SAP note 1915317, we need to use oracle owner to run this script.

Could you please refer to the note?

Best regards,
James