Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 16, 2018 at 12:39 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 19, 2018 at 12:29 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 29, 2018 at 07:15 AM

    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

    Add comment
    10|10000 characters needed characters exceeded