Hi Experts,
I am installing DB instance with homogeneous restore method with oracle 12.1 offline backup and getting sqlplus script error at Oracle backup/Restore database -control.sql phase.
Restoration was done successfully and started with continued with above Phase but i am getting the below error. So manually executed the CONTROL.SQL file and database is in open stage.
Retried with the error phase. It is trying execute the control file with sapinst tool and end up with the same error.
Below is the ora_sql_results.log log file.
SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 24 12:26:38 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Additional information: 2581
Additional information: 528625991
Process ID: 0
Session ID: 0 Serial number: 0
Disconnected
SAPINST: End of output of SQL executing program /oracle/GFP/121/bin/sqlplus.
2016-02-24, 12:26:40 SAPINST ORACLE stop logging
================================================================================
2016-02-24, 12:26:41 SAPINST ORACLE start logging for
CREATE SPFILE FROM PFILE;
exit;
Output of SQL executing program:
SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 24 12:26:41 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
File created.
Disconnected
SAPINST: End of output of SQL executing program /oracle/GFP/121/bin/sqlplus.
2016-02-24, 12:26:43 SAPINST ORACLE stop logging
================================================================================
2016-02-24, 12:26:47 SAPINST ORACLE start logging for
CONNECT / AS SYSDBA
SHUTDOWN ABORT
@CONTROL.SQL
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
SHUTDOWN IMMEDIATE
EXIT
exit;
Output of SQL executing program:
SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 24 12:26:48 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
SP2-0751: Unable to connect to Oracle. Exiting SQL*Plus
SAPINST: End of output of SQL executing program /oracle/GFP/121/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2016-02-24, 12:26:49 SAPINST ORACLE stop logging
gfp-db:oragfp 33% more ora_sql_results.log
================================================================================
2016-02-24, 12:24:57 SAPINST ORACLE start logging for
shutdown immediate;
exit;
Output of SQL executing program:
SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 24 12:24:57 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Additional information: 2581
Additional information: 528625991
Process ID: 0
Session ID: 0 Serial number: 0
Disconnected
SAPINST: End of output of SQL executing program /oracle/GFP/121/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2016-02-24, 12:25:06 SAPINST ORACLE stop logging
================================================================================
2016-02-24, 12:26:37 SAPINST ORACLE start logging for
SHUTDOWN IMMEDIATE;
exit;
Output of SQL executing program:
SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 24 12:26:38 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Additional information: 2581
Additional information: 528625991
Process ID: 0
Session ID: 0 Serial number: 0
Disconnected
SAPINST: End of output of SQL executing program /oracle/GFP/121/bin/sqlplus.
2016-02-24, 12:26:40 SAPINST ORACLE stop logging
================================================================================
2016-02-24, 12:26:41 SAPINST ORACLE start logging for
CREATE SPFILE FROM PFILE;
exit;
Output of SQL executing program:
SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 24 12:26:41 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
File created.
Disconnected
SAPINST: End of output of SQL executing program /oracle/GFP/121/bin/sqlplus.
2016-02-24, 12:26:43 SAPINST ORACLE stop logging
================================================================================
2016-02-24, 12:26:47 SAPINST ORACLE start logging for
CONNECT / AS SYSDBA
SHUTDOWN ABORT
@CONTROL.SQL
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
SHUTDOWN IMMEDIATE
EXIT
exit;
Output of SQL executing program:
SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 24 12:26:48 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
SP2-0751: Unable to connect to Oracle. Exiting SQL*Plus
SAPINST: End of output of SQL executing program /oracle/GFP/121/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2016-02-24, 12:26:49 SAPINST ORACLE stop logging
Please let me know if you need more details
Regards,
Govardhan.