postchecks_hongkong.log

2021-03-09 03:44:23.736 INFO Starting log for hongkong - Utilities.createLogger 
2021-03-09 03:44:24.791 INFO Running check AWR_DBIDS_PRESENT [hongkong] - CheckTrigger.call 
2021-03-09 03:44:24.795 INFO Running check CREATE_WINDOWS_SERVICE [hongkong] - CheckTrigger.call 
2021-03-09 03:44:24.795 INFO Finished check [CREATE_WINDOWS_SERVICE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:24.795 INFO Running check DEPEND_USR_TABLES [hongkong] - CheckTrigger.call 
2021-03-09 03:44:24.810 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.810 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.811 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:24.811 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:24.811 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:24.811 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.811 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.823 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.823 INFO Executing SQL [DECLARE
rows NUMBER;
BEGIN
EXECUTE IMMEDIATE 'SELECT count(1) FROM sys.wrm$_wr_control
WHERE dbid != (SELECT dbid FROM sys.v$database)' INTO rows;
IF rows = 0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:24.824 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.824 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.824 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:24.824 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:24.824 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:24.824 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.824 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.850 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:24.850 INFO Executing SQL [DECLARE
t_null varchar2(1);
BEGIN
-- Look for any user tables dependent on Oracle-Maintained types.
-- If there are any, then IF the -T option is used to set user tablespaces to
-- READ ONLY during the upgrade, then a post-upgrade action to run 
-- utluptabdata.sql is required.

IF sys.dbms_registry.release_version = '19.0.0.0.0' THEN
-- Perform post-upgrade check:
-- If -T has NOT been used, then all tables should be already upgraded.
-- If -T was used, and utluptabdata.sql was run successfully, then all
-- tables should already be upgraded. 
-- If -T was used but utluptabdata.sql was NOT run to upgrade all of the
-- remaining tables, then this check will fail post upgrade.
WITH DEPOBJ AS
(SELECT DO.OBJ#, D.D_OBJ#,D.P_OBJ# FROM SYS.DEPENDENCY$ D, SYS.OBJ$ DO
WHERE DO.OBJ# = D.D_OBJ#
AND DO.TYPE# IN (2,13)
)
SELECT NULL into t_null
FROM sys.obj$ o, sys.user$ u, sys.col$ c, sys.coltype$ t
WHERE bitand(t.flags,256) = 256 AND -- UPGRADED = NO
t.intcol# = c.intcol# AND
t.col# = c.col# AND
t.obj# = c.obj# AND
c.obj# = o.obj# AND
o.owner# = u.user# AND
o.owner# NOT IN -- Not an Oracle-Supplied user
(SELECT user# FROM sys.user$
WHERE type#=1 AND bitand(spare1, 256)= 256) AND
o.obj# IN -- A dependent of an Oracle-Maintained type
(SELECT d.d_obj# 
FROM DEPOBJ d
START WITH d.p_obj# IN -- Oracle-Maintained types
(SELECT obj# from sys.obj$ 
WHERE type#=13 AND 
owner# IN -- an Oracle-Supplied user 
(SELECT user# FROM sys.user$
WHERE type#=1 AND 
bitand(spare1, 256)= 256)) 
CONNECT BY NOCYCLE PRIOR d.d_obj# = d.p_obj#);
-- Found a dependent table
DBMS_OUTPUT.PUT_LINE('19.0.0.0.0');
RETURN;

ELSE -- Perform preupgrade check
WITH DEPOBJ AS
(SELECT DO.OBJ#, D.D_OBJ#,D.P_OBJ# FROM SYS.DEPENDENCY$ D, SYS.OBJ$ DO
WHERE DO.OBJ# = D.D_OBJ#
AND DO.TYPE# IN (2,13)
)
SELECT NULL into t_null
FROM sys.obj$
WHERE type# = 2
AND owner# NOT IN 
(SELECT schema# FROM sys.registry$ WHERE namespace = 'SERVER'
UNION
SELECT schema# FROM sys.registry$schemas WHERE namespace = 'SERVER'
UNION
SELECT user# FROM user$ WHERE type#=1 AND bitand(spare1,256)=256)
AND obj# IN
(SELECT d.obj# FROM DEPOBJ d
START WITH d.p_obj# IN -- Oracle-Maintained types
(SELECT obj# from sys.obj$ 
WHERE type#=13 
AND owner# IN
(SELECT schema# FROM sys.registry$ 
WHERE namespace = 'SERVER'
UNION
SELECT schema# FROM sys.registry$schemas 
WHERE namespace = 'SERVER'
UNION
SELECT user# FROM sys.user$
WHERE type#=1 AND bitand(spare1,256)=256))
CONNECT BY NOCYCLE PRIOR d.d_obj# = d.p_obj#)
AND rownum <=1;
-- Found a dependent table
DBMS_OUTPUT.PUT_LINE('19.0.0.0.0');
RETURN; 
END IF;
EXCEPTION
WHEN NO_DATA_FOUND THEN 
-- No rows found, so no dependent tables
DBMS_OUTPUT.PUT_LINE('SUCCESS');
RETURN;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('19.0.0.0.0');
RETURN; 
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:25.854 INFO Finished check [AWR_DBIDS_PRESENT][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:25.856 INFO Running check DV_SIMULATION [hongkong] - CheckTrigger.call 
2021-03-09 03:44:25.861 INFO Finished check [DEPEND_USR_TABLES][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:25.862 INFO Running check POST_DICTIONARY [hongkong] - CheckTrigger.call 
2021-03-09 03:44:25.864 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.865 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.865 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:25.865 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:25.865 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:25.865 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.865 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.865 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.865 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.865 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:25.865 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:25.865 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:25.865 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.865 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.888 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.889 INFO Executing SQL [DECLARE
BEGIN
IF ((sys.dbms_registry.is_loaded('DV') IS NOT NULL) AND
(sys.dbms_registry.get_progress_value('DV', 'SIMULATION LOGS') =
'The existing simulation logs have been moved to dvsys.old_simulation_log$'))
THEN
DBMS_OUTPUT.PUT_LINE('FAILURE');
ELSE
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:25.889 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:25.889 INFO Executing SQL [DECLARE
dictionary_stats_recent NUMBER;
correct_version boolean := TRUE;
BEGIN
-- check produced for hongkong
IF FALSE THEN
correct_version := FALSE; 
END IF;

select COUNT(1) INTO dictionary_stats_recent from sys.dual where exists(
select distinct operation 
from SYS.DBA_OPTSTAT_OPERATIONS 
where operation ='gather_dictionary_stats' 
and start_time > (select max(OPTIME) from sys.registry$log
where cid ='UPGRD_END'));

IF (dictionary_stats_recent = 1 and correct_version)
THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
-- this CHECK always fails... it always produces the recommendations.
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF; 
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:26.914 INFO Finished check [POST_DICTIONARY][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:26.914 INFO Running check POST_FIXED_OBJECTS [hongkong] - CheckTrigger.call 
2021-03-09 03:44:26.915 INFO Finished check [DV_SIMULATION][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:26.915 INFO Running check POST_JVM_MITIGAT_PATCH [hongkong] - CheckTrigger.call 
2021-03-09 03:44:26.915 INFO Finished check [POST_JVM_MITIGAT_PATCH][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:26.915 INFO Running check OLD_TIME_ZONES_EXIST [hongkong] - CheckTrigger.call 
2021-03-09 03:44:26.916 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.916 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.916 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:26.916 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:26.916 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:26.916 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.916 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.916 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.916 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.916 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:26.916 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:26.917 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:26.917 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.917 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.934 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.934 INFO Executing SQL [DECLARE
doc_name VARCHAR2(80) := '';
BEGIN
-- this CHECK always fails... it always produces the recommendations.

doc_name := '19.0.0.0';

IF ('19.0' = '11.2') THEN
doc_name := doc_name || ' Oracle Database Performance Tuning Guide';
ELSIF ('19.0' = '12.1' OR '19.0.0.0' = '12.2.0.1') THEN
doc_name := doc_name || ' Oracle Database SQL Tuning Guide';
ELSE
doc_name := doc_name || ' Oracle Database Upgrade Guide';
END IF;
DBMS_OUTPUT.PUT_LINE(doc_name);
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:26.934 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:26.934 INFO Executing SQL [SELECT version from sys.v$timezone_file;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:27.965 INFO Finished check [OLD_TIME_ZONES_EXIST][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:27.965 INFO Running check DIR_SYMLINKS [hongkong] - CheckTrigger.call 
2021-03-09 03:44:27.968 INFO Finished check [POST_FIXED_OBJECTS][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 03:44:27.968 INFO Running check EDS_EXISTS [hongkong] - CheckTrigger.call 
2021-03-09 03:44:27.969 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.969 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.969 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:27.969 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:27.969 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:27.969 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.969 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.970 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.970 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.970 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:27.970 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:27.970 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:27.970 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.970 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.988 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.988 INFO Executing SQL [declare
symlink_exists NUMBER :=0;
dircnt NUMBER :=0;
dirlist VARCHAR2(4000) := '';
BEGIN
IF '19.0.0.0.0' = '19.0.0.0.0' THEN
-- Perform post-upgrade check with dbms_utility
-- Use execute immediate for pre-12c releases (no oracle_maintained)
EXECUTE IMMEDIATE
q'[DECLARE
link_exists NUMBER;
BEGIN 
FOR dir IN (SELECT directory_name 
FROM sys.dba_directories d, sys.dba_objects o
WHERE o.oracle_maintained = 'N' 
AND o.object_name = d.directory_name
AND o.object_type = 'DIRECTORY'
AND directory_name NOT IN 
-- exclude Oracle directories that may not be tagged OM
('DATA_PUMP_DIR','JAVA$JOX$CUJS$DIRECTORY$',
'OPATCH_INST_DIR','OPATCH_LOG_DIR','OPATCH_SCRIPT_DIR',
'ORACLE_BASE','ORACLE_HOME',
'ORACLE_OCM_CONFIG_DIR','ORACLE_OCM_CONFIG_DIR2',
'ORA_DBMS_FCP_ADMINDIR','ORA_DBMS_FCP_LOGDIR',
'PREUPGRADE_DIR','SDO_DIR_ADMIN','SDO_DIR_WORK',
'XMLDIR','XSDDIR')) LOOP
SELECT sys.dbms_utility.directory_has_symlink(dir.directory_name) 
INTO link_exists FROM sys.dual;
IF link_exists = 1 THEN 
:exists := 1;
EXIT;
END IF;
END LOOP;

END;]' USING IN OUT symlink_exists;
IF symlink_exists = 1 THEN
dbms_output.put_line('dir_symlinks'); -- a directory with symlinks was found
ELSE
dbms_output.put_line('SUCCESS'); -- no directories with symlinks found
END IF;
ELSE
-- Perform pre-upgrade check without dbms_utility
FOR dir IN (SELECT directory_name FROM sys.dba_directories
WHERE directory_name NOT IN -- exclude Oracle directories
('DATA_PUMP_DIR','JAVA$JOX$CUJS$DIRECTORY$',
'OPATCH_INST_DIR','OPATCH_LOG_DIR','OPATCH_SCRIPT_DIR',
'ORACLE_BASE','ORACLE_HOME',
'ORACLE_OCM_CONFIG_DIR','ORACLE_OCM_CONFIG_DIR2',
'ORA_DBMS_FCP_ADMINDIR','ORA_DBMS_FCP_LOGDIR',
'XMLDIR','XSDDIR')
ORDER BY directory_name) LOOP
dircnt:=dircnt+1;
dirlist := dirlist || dir.directory_name || ', ';
END LOOP;

IF dircnt = 0 THEN -- no USER directories
dbms_output.put_line('SUCCESS');
ELSE
dirlist := substr(dirlist,1,length(dirlist) - 2); -- remove last comma
dbms_output.put_line(dircnt||'#'||dirlist);
END IF;
END IF;
EXCEPTION
WHEN VALUE_ERROR THEN -- filled up dirlist string, so just show what is there
dbms_output.put_line(dircnt||'#'||substr(dirlist,length(dirlist)-20)||' (incomplete list)');
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:27.988 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:27.988 INFO Executing SQL [DECLARE
t_count NUMBER := 0;
status NUMBER;
BEGIN
BEGIN
EXECUTE IMMEDIATE
'SELECT COUNT(*) FROM sys.dba_logstdby_eds_tables'
INTO t_count;
EXCEPTION
WHEN OTHERS THEN NULL;
END;

IF (t_count = 0) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('19');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:29.015 INFO Finished check [EDS_EXISTS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:29.016 INFO Running check INFORM_DROP_GRP [hongkong] - CheckTrigger.call 
2021-03-09 03:44:29.016 INFO Finished check [DIR_SYMLINKS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 03:44:29.017 INFO Running check TIMESTAMP_MISMATCH [hongkong] - CheckTrigger.call 
2021-03-09 03:44:29.017 INFO Starting - timestamp_mismatch.checkCode 
2021-03-09 03:44:29.018 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.018 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.019 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:29.019 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:29.019 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:29.019 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.019 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.031 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.031 INFO Executing SQL [select name from v$restore_point where name like 'AUTOUPGRADE_9212_%';
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:29.032 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.033 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.033 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:44:29.033 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:29.034 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:44:29.034 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.034 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.053 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:44:29.054 INFO Executing SQL [DECLARE
TS_MISMATCH_COUNT NUMBER := 0;
TS_MISMATCH_QUERY VARCHAR2(300) := 'select count(1)
from sys.obj$ do, sys.dependency$ d, sys.obj$ po
where P_OBJ#=po.obj#(+)
and D_OBJ#=do.obj#
and do.status=1 /*dependent is valid*/
and po.status=1 /*parent is valid*/
and po.stime!=p_timestamp /*parent timestamp not match*/';
BEGIN 
EXECUTE IMMEDIATE TS_MISMATCH_QUERY INTO TS_MISMATCH_COUNT;
IF TS_MISMATCH_COUNT = 0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:44:30.087 INFO Finished check [INFORM_DROP_GRP][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 03:44:30.088 INFO Succeeded - timestamp_mismatch.checkCode 
2021-03-09 03:44:30.088 INFO Finished check [TIMESTAMP_MISMATCH][hongkong][PASSED] - CheckTrigger.call 

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

prechecks_hongkong.log

2021-03-09 02:51:49.187 INFO Starting log for hongkong - Utilities.createLogger 
2021-03-09 02:51:49.308 INFO Running check AMD_EXISTS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.319 INFO Running check PLUGIN_COMP_COMPATIBILITY [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.320 INFO No database conversion will be performed for database hongkong, Component validation check skipped - plugin_comp_compatibility.checkCode 
2021-03-09 02:51:49.321 INFO Finished check [PLUGIN_COMP_COMPATIBILITY][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.321 INFO Running check AUDTAB_ENC_TS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.338 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.338 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.338 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.338 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.338 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.338 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.338 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.349 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.349 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.349 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.349 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.349 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.349 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.349 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.371 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.371 INFO Executing SQL [DECLARE
n_status NUMBER := -1;
BEGIN
--
-- Is AMD around?
--
BEGIN
EXECUTE IMMEDIATE
'SELECT status FROM sys.registry$ WHERE cid=''AMD''
AND namespace=''SERVER'''
INTO n_status;
EXCEPTION
WHEN OTHERS THEN NULL; -- AMD not in registry
END;

IF (n_status = -1) THEN
-- AMD not in registry
-- or output is XML, return success
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END IF;

--
-- This is a manual only check
--
DBMS_OUTPUT.PUT_LINE('12.2.0.1.0');
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.393 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.393 INFO Executing SQL [declare
aud_ts_encrypted NUMBER := 0;
uniaud_ts_encrypted NUMBER := 0;
wallet_open_status NUMBER := 0;
uniaud_is_part NUMBER := 0;
db_version VARCHAR2(5);
BEGIN
-- Get the current db version
SELECT SUBSTR(version,1,4) INTO db_version FROM sys.registry$
WHERE cid = 'CATPROC';

IF db_version IN ('11.2') THEN
-- Bug 23539027:Do not reference WALLET_TYPE column of SYS.V$ENCRYPTION_WALLET
-- view as it does not exist in 11.2* DB vesrions
-- Check if Oracle Encryption Wallet is Open
EXECUTE IMMEDIATE 'SELECT count(*) FROM ' ||
'(SELECT status, wrl_type FROM sys.v$encryption_wallet ORDER BY ' ||
' wrl_type DESC) ks WHERE ROWNUM < 2 and ' ||
'ks.status <> ''OPEN''' INTO wallet_open_status; 
ELSE
-- Bug 30178250: Use WALLET_ORDER instead of WALLET_TYPE and remove UNKNOWN
EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.v$encryption_wallet WHERE ' ||
'status <> ''OPEN'' AND ' ||
'wallet_order IN (''PRIMARY'', ''SINGLE'') AND ' ||
'con_id = sys_context(''userenv'', ''con_id'')' INTO 
wallet_open_status;
END IF;

IF (wallet_open_status > 0) THEN -- Wallet Not Open

-- Check if AUD$/FGA_LOG$ is stored into an Encrypted Tablespace
SELECT count(*) INTO aud_ts_encrypted FROM sys.ts$ t1, sys.tab$ t2
WHERE (t1.ts# = t2.ts#)
AND (bitand(t1.flags, 16384)=16384) -- encrypted tablespace bit check
AND t2.obj# IN (SELECT o.obj# FROM sys.obj$ o WHERE
o.name IN ('AUD$', 'FGA_LOG$') AND (o.type# = 2)
AND o.owner# IN (SELECT u.user# FROM sys.user$ u
WHERE u.name IN ('SYS', 'SYSTEM') AND (u.type# = 1)));

IF (aud_ts_encrypted > 0) THEN
DBMS_OUTPUT.PUT_LINE('PRESENT');
return;
END IF;

-- Check if AUDSYS.AUD$UNIFIED is stored into an Encrypted Tablespace
-- Before that, first check if AUDSYS.AUD$UNIFIED is Partitioned
SELECT count(*) INTO uniaud_is_part FROM
sys.partobj$ p, sys.obj$ o, sys.user$ u WHERE
(p.obj# = o.obj#) AND (o.type# = 2) AND (o.name = 'AUD$UNIFIED') AND
(o.owner# = u.user#) AND (u.name = 'AUDSYS') AND (u.type# = 1);

IF (uniaud_is_part > 0) THEN -- AUDSYS.AUD$UNIFIED is Partitioned
SELECT count(*) INTO uniaud_ts_encrypted FROM
sys.ts$ t1, sys.tabpart$ t2, sys.obj$ o, sys.user$ u
WHERE (t1.ts# = t2.ts#) AND (bitand(t1.flags, 16384)=16384) AND
(t2.bo# = o.obj#) AND (o.type# = 2) AND (o.name = 'AUD$UNIFIED') AND
(o.owner# = u.user#) AND (u.name='AUDSYS') AND (u.type# = 1);
ELSE
SELECT count(*) INTO uniaud_ts_encrypted FROM
sys.ts$ t1, sys.tab$ t2, sys.obj$ o, sys.user$ u
WHERE (t1.ts# = t2.ts#) AND (bitand(t1.flags, 16384)=16384) AND
(t2.obj# = o.obj#) AND (o.type# = 2) AND (o.name = 'AUD$UNIFIED')
AND (o.owner# = u.user#) AND (u.name = 'AUDSYS') AND (u.type# = 1);
END IF;

IF (uniaud_ts_encrypted > 0) THEN
DBMS_OUTPUT.PUT_LINE('PRESENT');
return;
END IF;
END IF;
DBMS_OUTPUT.PUT_LINE('SUCCESS');
EXCEPTION
WHEN NO_DATA_FOUND THEN DBMS_OUTPUT.PUT_LINE('NOT_PRESENT');
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.420 INFO Finished check [AMD_EXISTS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.420 INFO Running check CASE_INSENSITIVE_AUTH [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.450 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.450 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.451 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.451 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.451 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.451 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.451 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.464 INFO Finished check [AUDTAB_ENC_TS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.464 INFO Running check COMPATIBLE_NOT_SET [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.466 INFO Finished check [COMPATIBLE_NOT_SET][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.466 INFO Running check COMPATIBLE_PARAMETER [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.466 INFO Finished check [COMPATIBLE_PARAMETER][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.466 INFO Running check CONC_RES_MGR [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.494 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.494 INFO Executing SQL [DECLARE
sec_case_sensitive_logon number;
BEGIN
--
-- Get the value of the SEC_CASE_SENSITIVE_LOGON initialization parameter.
--
select decode (VALUE, 'FALSE', 0, 1) into sec_case_sensitive_logon
from SYS.V$SYSTEM_PARAMETER
where NAME='sec_case_sensitive_logon';

if (sec_case_sensitive_logon = 1) then
DBMS_OUTPUT.PUT_LINE('SUCCESS');
else
DBMS_OUTPUT.PUT_LINE('FAILURE');
end if;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.494 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.494 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.494 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.494 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.495 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.495 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.495 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.497 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.497 INFO Executing SQL [DECLARE
v_is_conc_on_boolean boolean := FALSE;
v_is_res_man_on_boolean boolean := FALSE;
v_conc_on_text varchar2(20);
v_res_man_on_text SYS.V$PARAMETER.VALUE%TYPE;
disable_conc_stats_text varchar2(75);

BEGIN
--
-- is concurrent preference set to on?
-- 
BEGIN
EXECUTE IMMEDIATE
'SELECT DBMS_STATS.GET_PREFS(''CONCURRENT'') FROM SYS.DUAL'
INTO v_conc_on_text;

-- 
-- In 11.2 concurrent statistics preference had only two values, TRUE and FALSE.
-- Starting 12.1 It can have four values: MANUAL, AUTOMATIC, ALL and OFF.
-- FALSE or OFF mean that the concurrent preference is disabled
IF (v_conc_on_text not in ('OFF', 'FALSE' )) THEN -- If it is disabled.
v_is_conc_on_boolean := TRUE;
ELSE
DBMS_OUTPUT.PUT_LINE('SUCCESS'); -- CONCURRENT STATS ARE DISABLED so we do not need to check anything further.
RETURN;
END IF;

-- The query should return any value (FALSE OR OFF) if not it means 
-- something happened at db level. Raise an exception. 
END;
--
-- is Resourcer manager on?
--
BEGIN
EXECUTE IMMEDIATE
'select nvl(value, ''DISABLED'') from sys.v$parameter where name = ''resource_manager_plan'''
INTO v_res_man_on_text;

IF (v_res_man_on_text != 'DISABLED') THEN
v_is_res_man_on_boolean := TRUE;
END IF; 
-- IF Resource manager is disabled the query will return no values. 
-- If there is any other error then raise an exception.
END;

IF ('12.2' = '11.2') THEN
disable_conc_stats_text := 'DBMS_STATS.SET_GLOBAL_PREFS(''CONCURRENT'',''FALSE'')';
ELSE
disable_conc_stats_text := 'DBMS_STATS.SET_GLOBAL_PREFS(''CONCURRENT'',''OFF'')';
END IF; 

--
-- check if the concurrent statistics preferences is on
-- and if Resource Manager is enabled
-- The validation that will trigger the c_failure condition is:
-- is_conc_pref is TRUE and is_res_man is FALSE
--
IF (v_is_conc_on_boolean AND NOT v_is_res_man_on_boolean) THEN
DBMS_OUTPUT.PUT_LINE(v_conc_on_text||'#'||disable_conc_stats_text);
ELSE
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END IF;

EXCEPTION WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('Could not determine the status of Concurrent statistics or Resource manager.');
WHEN OTHERS THEN
RAISE; 
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.524 INFO Finished check [CASE_INSENSITIVE_AUTH][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.524 INFO Running check CYCLE_NUMBER [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.524 INFO Finished check [CYCLE_NUMBER][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.525 INFO Running check CREATE_WINDOWS_SERVICE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.525 INFO Finished check [CREATE_WINDOWS_SERVICE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.525 INFO Running check DATA_MINING_OBJECT [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.548 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.548 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.548 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.548 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.548 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.550 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.550 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.561 INFO Finished check [CONC_RES_MGR][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.561 INFO Running check FLASH_RECOVERY_AREA_SETUP [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.564 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.564 INFO Executing SQL [DECLARE
rows number;
BEGIN
select count(1) into rows from modeltab$ m, sys.ts$ t, sys_objects s 
where m.obj#=s.object_id and s.ts_number=t.ts#
and t.name not in ('SYSTEM','SYSAUX')
and rownum <=1;

IF rows=0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
-- There are data mining objects in the database
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.572 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.572 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.573 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.573 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.573 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.573 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.573 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.575 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.575 INFO Executing SQL [select count(*) FROM SYS.V$RECOVERY_FILE_DEST WHERE NAME IS NOT NULL;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.600 INFO Finished check [DATA_MINING_OBJECT][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.601 INFO Running check DEPEND_USR_TABLES [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.612 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.612 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.613 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.613 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.613 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.613 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.613 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.626 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.626 INFO Executing SQL [DECLARE
t_null varchar2(1);
BEGIN
-- Look for any user tables dependent on Oracle-Maintained types.
-- If there are any, then IF the -T option is used to set user tablespaces to
-- READ ONLY during the upgrade, then a post-upgrade action to run 
-- utluptabdata.sql is required.

IF sys.dbms_registry.release_version = '19.0.0.0.0' THEN
-- Perform post-upgrade check:
-- If -T has NOT been used, then all tables should be already upgraded.
-- If -T was used, and utluptabdata.sql was run successfully, then all
-- tables should already be upgraded. 
-- If -T was used but utluptabdata.sql was NOT run to upgrade all of the
-- remaining tables, then this check will fail post upgrade.
WITH DEPOBJ AS
(SELECT DO.OBJ#, D.D_OBJ#,D.P_OBJ# FROM SYS.DEPENDENCY$ D, SYS.OBJ$ DO
WHERE DO.OBJ# = D.D_OBJ#
AND DO.TYPE# IN (2,13)
)
SELECT NULL into t_null
FROM sys.obj$ o, sys.user$ u, sys.col$ c, sys.coltype$ t
WHERE bitand(t.flags,256) = 256 AND -- UPGRADED = NO
t.intcol# = c.intcol# AND
t.col# = c.col# AND
t.obj# = c.obj# AND
c.obj# = o.obj# AND
o.owner# = u.user# AND
o.owner# NOT IN -- Not an Oracle-Supplied user
(SELECT user# FROM sys.user$
WHERE type#=1 AND bitand(spare1, 256)= 256) AND
o.obj# IN -- A dependent of an Oracle-Maintained type
(SELECT d.d_obj# 
FROM DEPOBJ d
START WITH d.p_obj# IN -- Oracle-Maintained types
(SELECT obj# from sys.obj$ 
WHERE type#=13 AND 
owner# IN -- an Oracle-Supplied user 
(SELECT user# FROM sys.user$
WHERE type#=1 AND 
bitand(spare1, 256)= 256)) 
CONNECT BY NOCYCLE PRIOR d.d_obj# = d.p_obj#);
-- Found a dependent table
DBMS_OUTPUT.PUT_LINE('12.2.0.1.0');
RETURN;

ELSE -- Perform preupgrade check
WITH DEPOBJ AS
(SELECT DO.OBJ#, D.D_OBJ#,D.P_OBJ# FROM SYS.DEPENDENCY$ D, SYS.OBJ$ DO
WHERE DO.OBJ# = D.D_OBJ#
AND DO.TYPE# IN (2,13)
)
SELECT NULL into t_null
FROM sys.obj$
WHERE type# = 2
AND owner# NOT IN 
(SELECT schema# FROM sys.registry$ WHERE namespace = 'SERVER'
UNION
SELECT schema# FROM sys.registry$schemas WHERE namespace = 'SERVER'
UNION
SELECT user# FROM user$ WHERE type#=1 AND bitand(spare1,256)=256)
AND obj# IN
(SELECT d.obj# FROM DEPOBJ d
START WITH d.p_obj# IN -- Oracle-Maintained types
(SELECT obj# from sys.obj$ 
WHERE type#=13 
AND owner# IN
(SELECT schema# FROM sys.registry$ 
WHERE namespace = 'SERVER'
UNION
SELECT schema# FROM sys.registry$schemas 
WHERE namespace = 'SERVER'
UNION
SELECT user# FROM sys.user$
WHERE type#=1 AND bitand(spare1,256)=256))
CONNECT BY NOCYCLE PRIOR d.d_obj# = d.p_obj#)
AND rownum <=1;
-- Found a dependent table
DBMS_OUTPUT.PUT_LINE('12.2.0.1.0');
RETURN; 
END IF;
EXCEPTION
WHEN NO_DATA_FOUND THEN 
-- No rows found, so no dependent tables
DBMS_OUTPUT.PUT_LINE('SUCCESS');
RETURN;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('12.2.0.1.0');
RETURN; 
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.635 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.635 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.635 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.636 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.636 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.636 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.636 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.640 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.640 INFO Executing SQL [select VALUE bytes from sys.v$parameter where upper(name)='DB_RECOVERY_FILE_DEST_SIZE';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.720 INFO Finished check [FLASH_RECOVERY_AREA_SETUP][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.721 INFO Running check DICTIONARY_STATS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.735 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.735 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.736 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.736 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.736 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.736 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.736 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.748 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.748 INFO Executing SQL [DECLARE
dictionary_stats_recent NUMBER := 0;
doc_name VARCHAR2(80) := ''; -- holds the name of the doc that
-- points to the section on
-- managing optimizer statistics
BEGIN
select COUNT(operation) into dictionary_stats_recent
from SYS.DBA_OPTSTAT_OPERATIONS doo1
where ((operation = 'gather_dictionary_stats') OR
((operation = 'gather_schema_stats' AND
(TARGET = 'SYS' OR TARGET = 'SYSTEM')))) AND
not exists(select 1
from SYS.DBA_OPTSTAT_OPERATIONS doo2
where doo2.operation = replace(doo1.operation, 'gather', 'delete') AND
nvl(doo2.target, 'D') = nvl(doo1.target, 'D') AND
doo2.start_time > doo1.start_time) AND
start_time > systimestamp - INTERVAL '8' DAY;

-- If recent enough we are good
IF (dictionary_stats_recent != 0) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
doc_name := '12.2.0.1';
IF ('12.2' = '11.2') THEN
doc_name := doc_name || ' Oracle Database Performance Tuning Guide';
ELSIF ('12.2' = '12.1' OR '12.2.0.1' = '12.2.0.1') THEN
doc_name := doc_name || ' Oracle Database SQL Tuning Guide';
ELSE
doc_name := doc_name || ' Oracle Database Upgrade Guide';
END IF;
DBMS_OUTPUT.PUT_LINE(doc_name);
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.818 INFO Finished check [DEPEND_USR_TABLES][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.819 INFO Running check DV_SIMULATION [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.832 INFO Finished check [DICTIONARY_STATS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.833 INFO Running check FILES_NEED_RECOVERY [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.841 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.841 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.842 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.842 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.842 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.842 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.842 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.850 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.851 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.851 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.851 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.851 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.851 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.851 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.852 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.852 INFO Executing SQL [DECLARE
BEGIN
IF ((sys.dbms_registry.is_loaded('DV') IS NOT NULL) AND
(sys.dbms_registry.get_progress_value('DV', 'SIMULATION LOGS') =
'The existing simulation logs have been moved to dvsys.old_simulation_log$'))
THEN
DBMS_OUTPUT.PUT_LINE('FAILURE');
ELSE
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.861 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.861 INFO Executing SQL [SELECT count(1) FROM sys.v$recover_file WHERE ((error <> 'OFFLINE NORMAL') or (error is null)) and rownum <=1;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.890 INFO Finished check [DV_SIMULATION][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.891 INFO Running check HIDDEN_PARAMS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.906 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.906 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.906 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.906 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.907 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.907 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.907 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.912 INFO Finished check [FILES_NEED_RECOVERY][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.912 INFO Running check INVALID_OBJECTS_EXIST [hongkong] - CheckTrigger.call 
2021-03-09 02:51:49.915 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.915 INFO Executing SQL [SELECT name FROM sys.v$parameter WHERE name LIKE '\_%' ESCAPE '\' AND name <> '_oracle_script' AND ismodified != 'MODIFIED';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.916 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.916 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.917 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:49.917 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.917 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:49.917 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.917 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.931 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:49.931 INFO Executing SQL [DECLARE
t_null CHAR(1);
invalid_objs BOOLEAN := FALSE;
t_invalid_objs NUMBER;
BEGIN
--
-- Check for INVALID objects
-- For 'inplace' upgrades check for invalid objects that can be excluded
-- as they may have changed between releases and don't need to be reported.
--
-- For all other types of upgrades, use the simple query below to
-- eliminate running the intricate queries except when they are needed.
--
BEGIN
IF NOT FALSE THEN
EXECUTE IMMEDIATE 'SELECT NULL FROM sys.dba_objects
WHERE status = ''INVALID'' AND object_name NOT LIKE ''BIN$%'' AND
rownum <=1'
INTO t_null;
-- For patch release - update the objects in the query below
ELSE
-- V_$ROLLNAME special cased because of references to x$ tables
EXECUTE IMMEDIATE 'SELECT NULL FROM SYS.DBA_OBJECTS
WHERE status = ''INVALID'' AND object_name NOT LIKE ''BIN$%'' AND
rownum <=1 AND
object_name NOT IN
(SELECT name FROM SYS.dba_dependencies
START WITH referenced_name IN (
''V$LOGMNR_SESSION'', ''V$ACTIVE_SESSION_HISTORY'',
''V$BUFFERED_SUBSCRIBERS'', ''GV$FLASH_RECOVERY_AREA_USAGE'',
''GV$ACTIVE_SESSION_HISTORY'', ''GV$BUFFERED_SUBSCRIBERS'',
''V$RSRC_PLAN'', ''V$SUBSCR_REGISTRATION_STATS'',
''GV$STREAMS_APPLY_READER'',''GV$ARCHIVE_DEST'',
''GV$LOCK'',''DBMS_STATS_INTERNAL'',''V$STREAMS_MESSAGE_TRACKING'',
''GV$SQL_SHARED_CURSOR'',''V$RMAN_COMPRESSION_ALGORITHM'',
''V$RSRC_CONS_GROUP_HISTORY'',''V$PERSISTENT_SUBSCRIBERS'',''V$RMAN_STATUS'',
''GV$RSRC_CONSUMER_GROUP'',''V$ARCHIVE_DEST'',''GV$RSRCMGRMETRIC'',
''GV$RSRCMGRMETRIC_HISTORY'',''V$PERSISTENT_QUEUES'',''GV$CPOOL_CONN_INFO'',
''GV$RMAN_COMPRESSION_ALGORITHM'',''DBA_BLOCKERS'',''V$STREAMS_TRANSACTION'',
''V$STREAMS_APPLY_READER'',''GV$SGA_DYNAMIC_FREE_MEMORY'',''GV$BUFFERED_QUEUES'',
''GV$RSRC_PLAN_HISTORY'',''GV$ENCRYPTED_TABLESPACES'',''V$ENCRYPTED_TABLESPACES'',
''GV$RSRC_CONS_GROUP_HISTORY'',''GV$RSRC_PLAN'',
''GV$RSRC_SESSION_INFO'',''V$RSRCMGRMETRIC'',''V$STREAMS_CAPTURE'',
''V$RSRCMGRMETRIC_HISTORY'',''GV$STREAMS_TRANSACTION'',''DBMS_LOGREP_UTIL'',
''V$RSRC_SESSION_INFO'',''GV$STREAMS_CAPTURE'',''V$RSRC_PLAN_HISTORY'',
''GV$FLASHBACK_DATABASE_LOGFILE'',''V$BUFFERED_QUEUES'',
''GV$PERSISTENT_SUBSCRIBERS'',''GV$FILESTAT'',''GV$STREAMS_MESSAGE_TRACKING'',
''V$RSRC_CONSUMER_GROUP'',''V$CPOOL_CONN_INFO'',''DBA_DML_LOCKS'',
''V$FLASHBACK_DATABASE_LOGFILE'',''GV$HM_RECOMMENDATION'',
''V$SQL_SHARED_CURSOR'',''GV$PERSISTENT_QUEUES'',''GV$FILE_HISTOGRAM'',
''DBA_WAITERS'',''GV$SUBSCR_REGISTRATION_STATS'')
AND referenced_type in (''VIEW'',''PACKAGE'') OR
name = ''V_$ROLLNAME''
CONNECT BY
PRIOR name = referenced_name and
PRIOR type = referenced_type)'
INTO t_null;
END IF;
invalid_objs := TRUE;
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;
END;

-- look for invalid objects
EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_objects 
WHERE status !=''VALID'' ' INTO t_invalid_objs;

--
-- Now get back to reporting the issue if we need to.
--
IF invalid_objs = FALSE THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('12.2.0.1.0#'||t_invalid_objs);
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:49.991 INFO Finished check [HIDDEN_PARAMS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:49.992 INFO Running check INVALID_SYS_TABLEDATA [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.009 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.009 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.009 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.009 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.009 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.009 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.009 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.022 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.022 INFO Executing SQL [DECLARE
query VARCHAR2(4000);
rows NUMBER;
BEGIN
-- Use schemas from registry$ tables and from user$ (12.1)
query := 'SELECT count(1) 
FROM sys.obj$ o, sys.col$ c, sys.coltype$ t 
WHERE BITAND(t.flags, 256) = 256 -- DATA_UPGRADED = NO 
AND o.obj# = t.obj# AND c.OBJ# = t.obj# 
AND c.COL# = t.col# AND t.intcol# = c.intcol# 
AND o.type# = 2 AND o.owner# IN 
(SELECT schema# FROM sys.registry$ WHERE namespace = ''SERVER'' 
UNION 
SELECT schema# FROM sys.registry$schemas WHERE namespace = ''SERVER''
UNION
SELECT user# FROM user$ WHERE type#=1 AND bitand(spare1,256)=256)
AND ROWNUM <=1';
execute immediate query into rows;
IF rows = 0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
-- An Oracle-Supplied table needing to be upgraded has been found
DBMS_OUTPUT.PUT_LINE('12.2.0.1.0');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.026 INFO Finished check [INVALID_OBJECTS_EXIST][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.026 INFO Running check INVALID_USR_TABLEDATA [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.036 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.037 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.037 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.037 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.037 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.037 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.037 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.043 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.043 INFO Executing SQL [DECLARE
t_null NUMBER;
BEGIN
--
-- Include only tables dependent on Oracle-Maintained types
-- by looking through dependency$ for types owned by schemas in
-- registry$ or user$ (12.1) Oracle-Maintained flag.
BEGIN
WITH DEPOBJ AS
(SELECT DO.OBJ#, D.D_OBJ#,D.P_OBJ# FROM SYS.DEPENDENCY$ D, SYS.OBJ$ DO
WHERE DO.OBJ# = D.D_OBJ#
AND DO.TYPE# IN (2,13)
)
SELECT NULL into t_null
FROM SYS.OBJ$ o, SYS.COL$ c, SYS.COLTYPE$ t
WHERE BITAND(t.FLAGS, 256) = 256 -- DATA_UPGRADED = NO
AND o.OBJ# = t.OBJ# AND c.OBJ# = t.OBJ# 
AND c.COL# = t.COL# AND t.INTCOL# = c.INTCOL#
AND o.type# = 2 AND o.owner# NOT IN -- Not an Oracle-Supplied user
(SELECT schema# FROM sys.registry$ WHERE namespace = 'SERVER'
UNION
SELECT schema# FROM sys.registry$schemas WHERE namespace = 'SERVER'
UNION
SELECT user# FROM user$ WHERE type#=1 AND bitand(spare1,256)=256)
AND o.obj# IN --A dependent of an Oracle-maintained type
(SELECT d.obj# from DEPOBJ d
START WITH d.p_obj# IN 
(SELECT obj# from sys.obj$
WHERE type#=13 AND owner# IN
(SELECT schema# FROM sys.registry$ WHERE namespace = 'SERVER'
UNION
SELECT schema# FROM sys.registry$schemas WHERE namespace = 'SERVER'
UNION
SELECT user# FROM user$ WHERE type#=1 AND bitand(spare1,256)=256))
CONNECT BY NOCYCLE PRIOR d.d_obj# = d.p_obj#)
AND ROWNUM <=1;
-- A row found, so the check fails
DBMS_OUTPUT.PUT_LINE('12.2.0.1.0');
EXCEPTION -- No user tables dependent on Oracle-Maintained types need upgrading
WHEN NO_DATA_FOUND THEN 
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.069 INFO Finished check [INVALID_SYS_TABLEDATA][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.070 INFO Running check JAVAVM_STATUS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.081 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.081 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.082 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.082 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.082 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.082 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.082 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.097 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.097 INFO Executing SQL [DECLARE
javavm VARCHAR2(20):='ok';
error VARCHAR2(20);
message VARCHAR2(1000);
BEGIN

IF sys.dbms_registry.is_loaded('JAVAVM') IS NOT NULL THEN
BEGIN
EXECUTE IMMEDIATE 'declare junk varchar2(10):=dbms_java.longname(''foo''); begin null; end;';
EXCEPTION
WHEN OTHERS THEN 
javavm := 'notok'; 
error := SQLCODE;
message := SQLERRM;
END;
END IF;

if (javavm='ok') then
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE(error||'#'||message);
end if;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.176 INFO Finished check [JAVAVM_STATUS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.176 INFO Running check JVM_MITIGATION_PATCH [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.193 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.193 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.193 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.193 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.193 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.193 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.193 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.210 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.210 INFO Executing SQL [select COUNT(1) from sys.dba_triggers where trigger_name='DBMS_JAVA_DEV_TRG' and owner='SYS' and status='ENABLED';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.244 INFO Finished check [INVALID_USR_TABLEDATA][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.250 INFO Running check ORACLE_RESERVED_USERS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.250 INFO Finished check [ORACLE_RESERVED_USERS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.251 INFO Running check TRGOWNER_NO_ADMNDBTRG [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.270 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.270 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.270 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.270 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.270 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.270 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.270 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.272 INFO Finished check [JVM_MITIGATION_PATCH][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.272 INFO Running check MV_REFRESH [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.280 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.280 INFO Executing SQL [DECLARE
TRG_EXISTS NUMBER := 0;
TRGADM_QUERY VARCHAR2(300) :='';
BEGIN
TRGADM_QUERY:= 'SELECT COUNT(OWNER) TRG_EXISTS FROM SYS.DBA_TRIGGERS 
WHERE TRIM(BASE_OBJECT_TYPE)=''DATABASE'' AND 
OWNER NOT IN (SELECT GRANTEE FROM SYS.DBA_SYS_PRIVS 
WHERE PRIVILEGE=''ADMINISTER DATABASE TRIGGER'')';
EXECUTE IMMEDIATE TRGADM_QUERY INTO TRG_EXISTS; 
IF TRG_EXISTS = 0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.281 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.281 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.281 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.282 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.282 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.282 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.282 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.290 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.290 INFO Executing SQL [DECLARE
num_notfresh_mvs NUMBER := 0;
num_sumdelta_rows NUMBER := 0;
num_refinprog_mvs NUMBER := 0;
BEGIN

BEGIN
EXECUTE IMMEDIATE
'select count(*) from (select mview_name from sys.all_mviews where staleness
<> ''FRESH'')' into num_notfresh_mvs;
EXCEPTION
WHEN OTHERS THEN NULL;
END;

BEGIN
EXECUTE IMMEDIATE
'select count(*) from sys.sumdelta$' into num_sumdelta_rows;
EXCEPTION
WHEN OTHERS THEN NULL;
END;

BEGIN
EXECUTE IMMEDIATE
'select count(*) from
(SELECT u.name owner, o.name mview_name
FROM sys.obj$ o, sys.user$ u, sys.sum$ s
WHERE o.type# = 42 AND o.owner# = u.user# and s.obj# = o.obj#
and bitand(s.mflags, 8) = 8)' into num_refinprog_mvs;
EXCEPTION
WHEN OTHERS THEN NULL;
END;

IF (num_notfresh_mvs = 0 AND num_sumdelta_rows = 0 AND num_refinprog_mvs = 0)
THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;

END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.324 INFO Finished check [TRGOWNER_NO_ADMNDBTRG][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.326 INFO Running check PENDING_DST_SESSION [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.341 INFO Finished check [MV_REFRESH][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.342 INFO Running check POST_DICTIONARY [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.345 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.345 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.345 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.345 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.345 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.345 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.345 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.347 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.348 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.348 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.348 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.348 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.348 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.348 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.358 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.358 INFO Executing SQL [DECLARE
DST_US_VALUE VARCHAR2(4000) :='';
BEGIN
EXECUTE IMMEDIATE 'SELECT property_value
FROM DATABASE_PROPERTIES
WHERE PROPERTY_NAME = ''DST_UPGRADE_STATE'''
INTO DST_US_VALUE;

IF DST_US_VALUE = 'NONE' THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE(DST_US_VALUE);
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.358 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.358 INFO Executing SQL [DECLARE
dictionary_stats_recent NUMBER;
correct_version boolean := TRUE;
BEGIN
-- check produced for hongkong
IF TRUE THEN
correct_version := FALSE; 
END IF;

select COUNT(1) INTO dictionary_stats_recent from sys.dual where exists(
select distinct operation 
from SYS.DBA_OPTSTAT_OPERATIONS 
where operation ='gather_dictionary_stats' 
and start_time > (select max(OPTIME) from sys.registry$log
where cid ='UPGRD_END'));

IF (dictionary_stats_recent = 1 and correct_version)
THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
-- this CHECK always fails... it always produces the recommendations.
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF; 
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.388 INFO Finished check [PENDING_DST_SESSION][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.388 INFO Running check POST_FIXED_OBJECTS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.405 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.405 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.405 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.405 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.405 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.405 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.405 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.419 INFO Finished check [POST_DICTIONARY][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.419 INFO Running check POST_JVM_MITIGAT_PATCH [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.423 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.423 INFO Executing SQL [DECLARE
doc_name VARCHAR2(80) := '';
BEGIN
-- this CHECK always fails... it always produces the recommendations.

doc_name := '12.2.0.1';

IF ('12.2' = '11.2') THEN
doc_name := doc_name || ' Oracle Database Performance Tuning Guide';
ELSIF ('12.2' = '12.1' OR '12.2.0.1' = '12.2.0.1') THEN
doc_name := doc_name || ' Oracle Database SQL Tuning Guide';
ELSE
doc_name := doc_name || ' Oracle Database Upgrade Guide';
END IF;
DBMS_OUTPUT.PUT_LINE(doc_name);
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.424 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.424 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.424 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.424 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.424 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.424 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.425 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.434 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.434 INFO Executing SQL [select COUNT(1) from sys.dba_triggers where trigger_name='DBMS_JAVA_DEV_TRG' and owner='SYS' and status='ENABLED';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.473 INFO Finished check [POST_FIXED_OBJECTS][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.474 INFO Running check PRE_FIXED_OBJECTS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.497 INFO Finished check [POST_JVM_MITIGAT_PATCH][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.497 INFO Running check PURGE_RECYCLEBIN [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.500 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.500 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.500 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.500 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.500 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.500 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.500 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.501 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.501 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.501 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.501 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.501 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.501 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.501 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.512 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.512 INFO Executing SQL [DECLARE
fixed_objects_stats_recent NUMBER := 0;
has_stats_cnt number := 0; -- # of fixed object tables that have stats
doc_name VARCHAR2(80) := '';
BEGIN
select COUNT(operation) into fixed_objects_stats_recent
from SYS.DBA_OPTSTAT_OPERATIONS 
where operation ='gather_fixed_objects_stats' 
and start_time > systimestamp - INTERVAL '8' DAY;
-- If recent enough we are good
IF (fixed_objects_stats_recent != 0) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
RETURN;
END IF;
-- find # of fixed object tables that have had stats collected
execute immediate 'select count(*) from sys.dba_tab_statistics
where owner = ''SYS'' and table_name like ''X$%''
and last_analyzed is not null'
into has_stats_cnt;

-- if none of the fixed obj tables have had stats collected
-- then gather fixed objects stats
-- else do nothing
if has_stats_cnt > 0 then
DBMS_OUTPUT.PUT_LINE('SUCCESS');
else
doc_name := '12.2.0.1';
IF ('12.2' = '11.2') THEN
doc_name := doc_name || ' Oracle Database Performance Tuning Guide';
ELSIF ('12.2' = '12.1' OR '12.2.0.1' = '12.2.0.1') THEN
doc_name := doc_name || ' Oracle Database SQL Tuning Guide';
ELSE
doc_name := doc_name || ' Oracle Database Upgrade Guide';
END IF;
DBMS_OUTPUT.PUT_LINE(doc_name);
end if;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.513 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.513 INFO Executing SQL [DECLARE
obj_count NUMBER;
BEGIN
EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM sys.recyclebin$'
INTO obj_count;
IF (obj_count = 0) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE(obj_count);
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.542 INFO Finished check [PRE_FIXED_OBJECTS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.543 INFO Running check SYNC_STANDBY_DB [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.560 INFO Finished check [PURGE_RECYCLEBIN][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.560 INFO Running check SYS_DEFAULT_TABLESPACE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.562 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.562 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.562 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.562 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.562 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.562 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.562 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.564 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.564 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.565 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.565 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.565 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.565 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.565 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.575 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.575 INFO Executing SQL [DECLARE
t_null CHAR(1);
status NUMBER := 0;
unsynch_standby_count NUMBER := 0;
BEGIN
BEGIN
EXECUTE IMMEDIATE 'SELECT NULL FROM sys.v$parameter WHERE
name LIKE ''log_archive_dest%'' AND upper(value) LIKE ''SERVICE%''
AND rownum <=1'
INTO t_null;

EXECUTE IMMEDIATE 'SELECT NULL FROM sys.v$database WHERE
database_role=''PRIMARY'''
INTO t_null;

EXECUTE IMMEDIATE 'SELECT COUNT(*)
FROM SYS.V$ARCHIVE_DEST_STATUS DS, SYS.V$ARCHIVE_DEST D
WHERE DS.DEST_ID = D.DEST_ID
AND D.TARGET = ''STANDBY''
AND NOT (DS.STATUS = ''VALID'' AND DS.GAP_STATUS = ''NO GAP'')'
INTO unsynch_standby_count;
IF (unsynch_standby_count > 0) THEN
status := 1;
END IF;

EXCEPTION
WHEN NO_DATA_FOUND THEN status := 0;
END;

IF (status = 0) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.575 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.575 INFO Executing SQL [DECLARE
t_ts1 VARCHAR2(30);
t_ts2 VARCHAR2(30);
status NUMBER;
BEGIN

EXECUTE IMMEDIATE 'SELECT default_tablespace FROM sys.dba_users WHERE username = ''SYS'''
INTO t_ts1;
EXECUTE IMMEDIATE 'SELECT default_tablespace FROM sys.dba_users WHERE username = ''SYSTEM'''
INTO t_ts2;

IF (t_ts1 = 'SYSTEM') AND (t_ts2 = 'SYSTEM') THEN
-- Everything is fine.
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('19#12.2.0.1.0#'||t_ts1||'#'||t_ts2);
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.608 INFO Finished check [SYNC_STANDBY_DB][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.608 INFO Running check TWO_PC_TXN_EXIST [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.624 INFO Finished check [SYS_DEFAULT_TABLESPACE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.624 INFO Running check UNDERSCORE_EVENTS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.627 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.627 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.627 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.627 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.627 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.627 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.627 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.628 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.628 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.628 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.628 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.628 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.628 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.628 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.638 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.638 INFO Executing SQL [DECLARE
rows NUMBER;
BEGIN
SELECT count(1) into rows FROM sys.dba_2pc_pending
WHERE rownum <=1;
IF rows = 0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.639 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.639 INFO Executing SQL [SELECT name 
FROM sys.v$parameter 
WHERE UPPER(name) in ('EVENT', '_TRACE_EVENTS') AND
isdefault='FALSE';
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.667 INFO Finished check [TWO_PC_TXN_EXIST][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.668 INFO Running check UNIAUD_TAB [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.685 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.685 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.685 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.685 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.685 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.685 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.685 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.688 INFO Finished check [UNDERSCORE_EVENTS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.688 INFO Running check XBRL_VERSION [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.692 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.692 INFO Executing SQL [DECLARE
ROWS NUMBER;
BEGIN
EXECUTE IMMEDIATE 'SELECT COUNT(1) FROM sys.obj$ o WHERE o.NAME = ''AUD$UNIFIED''
and ((o.namespace = 1 or o.type# = 2) and o.type# != 19) and o.owner# IN 
(select u.user# from sys.user$ u where u.name = ''AUDSYS'') 
and (bitand(o.flags, 4194304) != 4194304)' INTO ROWS;
IF ROWS = 0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
else
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.694 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.694 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.694 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.694 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.694 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.694 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.694 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.703 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.703 INFO Executing SQL [DECLARE
ROWS NUMBER;
BEGIN
EXECUTE IMMEDIATE 'SELECT COUNT(1) FROM sys.user$ WHERE name=''XBRLSYS'''
INTO ROWS;
IF ROWS = 0 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.729 INFO Finished check [UNIAUD_TAB][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.729 INFO Running check XDB_RESOURCE_TYPE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.746 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.746 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.746 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.746 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.746 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.746 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.746 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.750 INFO Finished check [XBRL_VERSION][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.751 INFO Running check NEW_TIME_ZONES_EXIST [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.754 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.754 INFO Executing SQL [DECLARE
res_obj_cnt number;
res_attr_cnt number;
attr_no_RCL number;
attr_no_COBI number;
attr_no_BV number;
dep_tab_cnt number;
non_null_cnt number;
need_patch boolean;
BEGIN
select count(*) into res_obj_cnt from SYS.DBA_OBJECTS
where owner = 'XDB' and
((object_name = 'XDB$RESOURCE' and object_type = 'TABLE') or
(object_name = 'XDB$RESOURCE_T' and object_type = 'TYPE'));

-- 22744959: XDB is not installed, and hence no wrong-ordered attributes
if (res_obj_cnt <> 2) then
DBMS_OUTPUT.PUT_LINE('SUCCESS');
end if;

select count(*) into res_attr_cnt from SYS.DBA_TYPE_ATTRS 
where owner = 'XDB' and type_name = 'XDB$RESOURCE_T' and
attr_name in ('RCLIST', 'CHECKEDOUTBYID', 'BASEVERSION');

-- 22744959: wrong-ordered attributes are not introduced yet
if (res_attr_cnt = 0) then
DBMS_OUTPUT.PUT_LINE('SUCCESS');
RETURN;
elsif (res_attr_cnt = 3) then
select attr_no into attr_no_RCL from SYS.DBA_TYPE_ATTRS 
where owner = 'XDB' and type_name = 'XDB$RESOURCE_T' and
attr_name = 'RCLIST';

select attr_no into attr_no_COBI from SYS.DBA_TYPE_ATTRS
where owner = 'XDB' and type_name = 'XDB$RESOURCE_T' and
attr_name = 'CHECKEDOUTBYID';

select attr_no into attr_no_BV from SYS.DBA_TYPE_ATTRS
where owner = 'XDB' and type_name = 'XDB$RESOURCE_T' and
attr_name = 'BASEVERSION';

select count(*) into dep_tab_cnt from SYS.DBA_DEPENDENCIES
where referenced_owner = 'XDB' and referenced_name = 'XDB$RESOURCE_T' and
type = 'TABLE' and (owner != 'XDB' or name != 'XDB$RESOURCE');

execute immediate
'select count(*) from XDB.XDB$RESOURCE R
where R.xmldata.checkedoutbyid is not null or
R.xmldata.baseversion is not null'
into non_null_cnt;

need_patch := (attr_no_RCL > attr_no_COBI) OR (attr_no_COBI > attr_no_BV);

-- wrong-ordered attributes exist and can be repaired during upgrade
if (not need_patch) or (dep_tab_cnt = 0 and non_null_cnt = 0) then
DBMS_OUTPUT.PUT_LINE('SUCCESS');
RETURN;
end if;
end if;
-- wrong-ordered attributes exist but beyond repair
DBMS_OUTPUT.PUT_LINE('FAILURE');
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.755 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.755 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.756 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.756 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.756 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.756 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.756 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.764 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.764 INFO Executing SQL [SELECT version from sys.v$timezone_file;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.818 INFO Finished check [NEW_TIME_ZONES_EXIST][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.818 INFO Running check OLD_TIME_ZONES_EXIST [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.827 INFO Finished check [XDB_RESOURCE_TYPE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.827 INFO Running check OLS_VERSION [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.831 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.831 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.832 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.832 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.832 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.833 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.833 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.833 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.833 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.833 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.833 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.833 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.833 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.833 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.843 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.843 INFO Executing SQL [SELECT version from sys.v$timezone_file;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.844 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.844 INFO Executing SQL [SELECT nvl(dbms_registry.is_loaded('OLS'), 0) from sys.dual;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.893 INFO Finished check [OLD_TIME_ZONES_EXIST][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.894 INFO Running check PARAMETER_DEPRECATED [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.894 INFO Finished check [PARAMETER_DEPRECATED][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.913 INFO Running check PARAMETER_MIN_VAL [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.915 INFO Finished check [PARAMETER_MIN_VAL][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.915 INFO Running check PARAMETER_NEW_NAME_VAL [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.919 INFO Finished check [PARAMETER_NEW_NAME_VAL][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.919 INFO Running check PARAMETER_OBSOLETE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.919 INFO Finished check [PARAMETER_OBSOLETE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.919 INFO Running check PARAMETER_RENAME [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.920 INFO Finished check [PARAMETER_RENAME][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.920 INFO Running check MIN_ARCHIVE_DEST_SIZE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.920 INFO hongkong log_archive_dest [] destination [] status [INACTIVE] minArchiveGen [4842323968] usableSpaceMB [-1] - min_archive_dest_size.checkCode 
2021-03-09 02:51:50.920 INFO Finished check [MIN_ARCHIVE_DEST_SIZE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:50.920 INFO Running check MIN_RECOVERY_AREA_SIZE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:50.929 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.929 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.929 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.930 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.930 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.930 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.930 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.930 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.930 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.930 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.930 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.930 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.930 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.930 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.941 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.941 INFO Executing SQL [SELECT LOG_MODE from sys.v$database;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.941 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.941 INFO Executing SQL [SELECT version FROM sys.registry$ WHERE cid = 'CATPROC';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.988 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.988 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.989 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.989 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.989 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.989 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.989 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.989 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.989 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.989 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:50.989 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.989 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:50.989 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.989 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.999 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.999 INFO Executing SQL [SELECT count(*) FROM sys.v$database WHERE flashback_on = 'NO';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:50.999 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:50.999 INFO Executing SQL [SELECT version FROM sys.registry$ WHERE cid = 'OLS';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.029 INFO Finished check [MIN_RECOVERY_AREA_SIZE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.029 INFO Running check DISK_SPACE_FOR_RECOVERY_AREA [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.045 INFO Finished check [OLS_VERSION][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.045 INFO Running check PA_PROFILE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.055 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.055 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.056 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.056 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.056 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.056 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.056 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.057 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.057 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.057 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.057 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.057 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.058 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.058 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.060 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.060 INFO Executing SQL [SELECT LOG_MODE from sys.v$database;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.061 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.061 INFO Executing SQL [DECLARE
c NUMBER;
d NUMBER;
v_tab DBMS_SQL.VARCHAR2_TABLE;
enabled_count NUMBER := 0;
tab_name VARCHAR2(130);
v_count NUMBER := 0;
row_count NUMBER := 0;
issue_found BOOLEAN := FALSE;
pa_view VARCHAR2(128) := 'SYS.DBA_PRIV_CAPTURES';
BEGIN
-- return success if view SYS.DBA_PRIV_CAPTURES does not exist
SELECT COUNT(*) INTO v_count 
FROM SYS.DBA_OBJECTS 
WHERE OWNER = 'SYS' AND OBJECT_NAME = 'DBA_PRIV_CAPTURES' AND OBJECT_TYPE = 'VIEW';
IF v_count = 0 THEN
dbms_output.put_line('SUCCESS');
return;
END IF;
-- return success if view SYS.DBA_SECUREFILE_LOG_TABLES does not exist
SELECT COUNT(*) INTO v_count 
FROM SYS.DBA_OBJECTS 
WHERE OWNER = 'SYS' AND OBJECT_NAME = 'DBA_SECUREFILE_LOG_TABLES' AND OBJECT_TYPE = 'VIEW';
IF v_count = 0 THEN
dbms_output.put_line('SUCCESS');
return;
END IF;
BEGIN
EXECUTE IMMEDIATE 'SELECT COUNT(name) FROM ' || pa_view || ' WHERE enabled=''Y''' INTO enabled_count;
EXCEPTION
WHEN OTHERS THEN NULL;
END;
c := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(c, 'SELECT table_name
FROM sys.dba_securefile_log_tables
WHERE log_name LIKE ''ORA$PA_%'' OR log_name LIKE ''ORA$PRIV_CAPTURE_%''', 
DBMS_SQL.NATIVE);
DBMS_SQL.DEFINE_ARRAY(c, 1, v_tab, 1, 1);
/* execute SQL statement */
d := DBMS_SQL.EXECUTE(c);
/* retrieve column values to column table */
LOOP
EXIT WHEN DBMS_SQL.FETCH_ROWS(c) = 0;
row_count := row_count + 1;
DBMS_SQL.COLUMN_VALUE(c, 1, v_tab);
END LOOP;
DBMS_SQL.CLOSE_CURSOR(c);
FOR i IN 1..row_count LOOP
tab_name := DBMS_ASSERT.ENQUOTE_NAME(v_tab(i), FALSE);
EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || tab_name INTO v_count;
IF v_count > 0 THEN
issue_found := TRUE;
EXIT;
END IF;
END LOOP;
IF (enabled_count > 0 OR issue_found) THEN
dbms_output.put_line('19');
return;
ELSE
dbms_output.put_line('SUCCESS');
return;
END IF;
EXCEPTION
WHEN OTHERS THEN
IF DBMS_SQL.IS_OPEN(c) THEN
DBMS_SQL.CLOSE_CURSOR(c);
END IF;
dbms_output.put_line('19');
return;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.107 INFO Finished check [PA_PROFILE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.108 INFO Running check TEMPTS_NOTEMPFILE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.111 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.111 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.112 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.112 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.112 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.112 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.112 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.112 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.112 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.112 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.112 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.112 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.112 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.112 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.124 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.124 INFO Executing SQL [SELECT count(*) FROM sys.v$database WHERE flashback_on = 'NO';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.124 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.124 INFO Executing SQL [SELECT TEMPORARY_TABLESPACE FROM SYS.DBA_USERS A WHERE UPPER(USERNAME)='SYS';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.163 INFO Getting usable space of [/home/oracle/u03/app/oracle/fast_recovery_area/hongkong] - Utilities.getUsableSpace 
2021-03-09 02:51:51.182 INFO The amount of usable free space available on /home/oracle/u03/app/oracle/fast_recovery_area/hongkong is [127,854,788,608] - Utilities.getUsableSpace 
2021-03-09 02:51:51.182 INFO Finished check [DISK_SPACE_FOR_RECOVERY_AREA][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.183 INFO Running check UPG_BY_STD_UPGRD [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.186 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.186 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.186 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.186 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.187 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.187 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.187 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.187 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.187 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.187 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.187 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.187 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.187 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.187 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.197 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.198 INFO Executing SQL [SELECT DECODE(COUNT(1), 0,'NO','YES') FROM SYS.DBA_TABLESPACE_GROUPS WHERE GROUP_NAME='TEMP';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.198 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.198 INFO Executing SQL [SELECT cname FROM sys.registry$ WHERE namespace='SERVER' and cid not in ('APS','OWM','STATS','RUL','EM','CONTEXT','EXF','DV','CATALOG','RAC','CATJAVA','XML','XDB','OLS','ODM','ORDIM','XOQ','JAVAVM','APEX','MGW','CATPROC','SDO')] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.242 INFO Finished check [UPG_BY_STD_UPGRD][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.243 INFO Running check ROLLBACK_SEGMENTS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.243 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.243 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.243 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.243 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.243 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.243 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.243 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.246 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.246 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.246 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.246 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.246 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.246 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.246 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.256 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.257 INFO Executing SQL [SELECT COUNT(TABLESPACE_NAME) FROM SYS.DBA_TEMP_FILES WHERE TABLESPACE_NAME='TEMP';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.257 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.257 INFO Executing SQL [SELECT value FROM sys.v$parameter WHERE name = 'undo_management';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.296 INFO Finished check [TEMPTS_NOTEMPFILE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.296 INFO Running check TABLESPACES [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.313 INFO Finished check [ROLLBACK_SEGMENTS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.313 INFO Running check MANDATORY_UPGRADE_CHANGES [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.315 INFO Finished check [MANDATORY_UPGRADE_CHANGES][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.315 INFO Running check ARCHIVE_MODE_ON [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.320 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.321 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.321 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.321 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.321 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.321 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.321 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.326 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.326 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.326 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.326 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.326 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.327 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.327 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.337 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.337 INFO Executing SQL [SELECT value FROM sys.v$parameter WHERE name = 'undo_tablespace';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.337 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.338 INFO Executing SQL [select log_mode from sys.v$database;] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.385 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.386 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.386 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.388 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.388 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.388 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.388 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.391 INFO Finished check [ARCHIVE_MODE_ON][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.391 INFO Running check APEX_MANUAL_UPGRADE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.394 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.394 INFO Executing SQL [SELECT value FROM sys.v$parameter WHERE name = 'undo_tablespace';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.396 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.396 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.396 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.396 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.396 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.396 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.396 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.407 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.407 INFO Executing SQL [SELECT version FROM sys.registry$ WHERE cid = 'APEX' and namespace='SERVER';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.453 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.453 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.453 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.453 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.453 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.453 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.453 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.458 INFO Finished check [APEX_MANUAL_UPGRADE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.459 INFO Running check PGA_AGGREGATE_LIMIT [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.459 INFO Finished check [PGA_AGGREGATE_LIMIT][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.459 INFO Running check TS_FORUPG_STATUS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.477 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.478 INFO Executing SQL [SELECT value FROM sys.v$parameter WHERE name = 'undo_tablespace';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.482 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.482 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.482 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.482 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.482 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.482 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.483 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.500 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.501 INFO Executing SQL [DECLARE
tablespaces VARCHAR2(4000) := '';
query VARCHAR2(4000);
type cursor_t is ref cursor;
tmp_cursor cursor_t;
tbs_header VARCHAR2(100) := 'Tablespace<br> -----------------------------<br>';
tbs_name SYS.DBA_TABLESPACES.TABLESPACE_NAME%TYPE;
BEGIN
query := 'with pivot_users as
(SELECT username
FROM sys.dba_users
where user_id in (
SELECT schema# FROM sys.registry$
WHERE namespace = ''SERVER''
UNION
SELECT schema# FROM sys.registry$schemas
WHERE namespace = ''SERVER''
UNION
SELECT user# FROM sys.user$
WHERE type#=1 AND bitand(spare1,256)=256))
SELECT tablespace_name
FROM sys.dba_tablespaces
WHERE status <>''ONLINE'' and tablespace_name IN
(
SELECT property_value
FROM sys.database_properties
WHERE property_name = ''DEFAULT_PERMANENT_TABLESPACE''
UNION
SELECT default_tablespace
FROM sys.dba_users
WHERE username IN (SELECT username FROM pivot_users)
UNION
SELECT tablespace_name
FROM sys.dba_segments
WHERE owner IN (SELECT username FROM pivot_users)
UNION
SELECT t.name
FROM sys.modeltab$ m, sys.ts$ t, sys.sys_objects s
WHERE m.obj#=s.object_id and s.ts_number=t.ts#
)';

--Inspect the database to make sure there are no tablespaces from Oracle owned users
--whose stauts is different than ONLINE
OPEN tmp_cursor FOR query;
LOOP
FETCH tmp_cursor INTO tbs_name;
EXIT WHEN tmp_cursor%NOTFOUND;
tablespaces := tablespaces || ' ' || tbs_name || '<br> ';
END LOOP;
CLOSE tmp_cursor;

IF (tablespaces IS NOT NULL) THEN
tablespaces := SUBSTR(tablespaces, 1, LENGTH(tablespaces) - 5); --Remove last line break
tablespaces := tbs_header || tablespaces;
DBMS_OUTPUT.PUT_LINE(tablespaces);
ELSE
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.567 INFO Finished check [TS_FORUPG_STATUS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.567 INFO Running check STREAMS_SETUP [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.579 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.579 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.579 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.579 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.579 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.579 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.579 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.583 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.584 INFO Executing SQL [DECLARE
streams_configuration BOOLEAN := FALSE;
oggxstr_configuration BOOLEAN := FALSE;
streams_data NUMBER := 0;
streams_setup NUMBER := 0;
capture_count NUMBER := 0;
apply_count NUMBER := 0;
sync_capture_count NUMBER := 0;
BEGIN

EXECUTE IMMEDIATE 'SELECT count(1) FROM sys.dba_capture where purpose IN (''Streams'', ''XStream Streams'', ''AUDIT VAULT'', ''CHANGE DATA CAPTURE'')' into capture_count;

EXECUTE IMMEDIATE 'SELECT COUNT(1) FROM sys.dba_sync_capture' into sync_capture_count;

EXECUTE IMMEDIATE 'SELECT count(1) FROM sys.dba_apply where purpose IN (''Streams'', ''XStream Streams'', ''AUDIT VAULT'', ''CHANGE DATA CAPTURE'')' into apply_count;

IF (capture_count + sync_capture_count + apply_count) > 0 THEN
streams_configuration := TRUE;
END IF;

EXECUTE IMMEDIATE 'SELECT count(1) FROM sys.dba_capture where purpose NOT IN (''Streams'', ''XStream Streams'', ''AUDIT VAULT'', ''CHANGE DATA CAPTURE'')' into capture_count;

EXECUTE IMMEDIATE 'SELECT count(1) FROM sys.dba_apply where purpose NOT IN (''Streams'', ''XStream Streams'', ''AUDIT VAULT'', ''CHANGE DATA CAPTURE'')' into apply_count;

IF (capture_count + apply_count) > 0 THEN
oggxstr_configuration := TRUE;
END IF;

-- additional checks:
-- even if we dont have any capture/apply, there could be some configuration left behind.
-- skip this checks if we have an ogg/xstream configuration, this data will be retained.
-- skip this checks if we already found a streams only configuration.
IF NOT oggxstr_configuration AND NOT streams_configuration THEN
EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_propagation' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_streams_message_consumers WHERE queue_owner != ''SYS'''
into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_apply_instantiated_objects' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_apply_instantiated_global' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_capture_prepared_tables' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_sync_capture_prepared_tabs' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_capture_prepared_schemas' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_capture_prepared_database' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_apply_conflict_columns' into streams_data;
streams_setup := streams_setup + streams_data;

EXECUTE IMMEDIATE 'SELECT count(*) FROM sys.dba_apply_key_columns' into streams_data;
streams_setup := streams_setup + streams_data;

IF streams_setup != 0 THEN
streams_configuration := TRUE;
END IF;
END IF;

IF not streams_configuration
THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('FAILURE');
END IF;

EXCEPTION WHEN OTHERS THEN
IF sqlcode = -942 THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.613 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.613 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.613 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.613 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.613 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.613 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.613 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.628 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.629 INFO Executing SQL [select property_value from database_properties where PROPERTY_NAME='LOCAL_UNDO_ENABLED';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.631 INFO Finished check [STREAMS_SETUP][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.632 INFO Running check RMAN_RECOVERY_VERSION [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.638 INFO Finished check [RMAN_RECOVERY_VERSION][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.638 INFO Running check OLAP_PAGE_POOL_SIZE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.639 INFO Finished check [OLAP_PAGE_POOL_SIZE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.652 INFO Running check TABLESPACES_INFO [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.652 INFO Tablespaces table
TT[Tablespace Name|Allocated|Minimum Required for Upgrade
SYSTEM|820 MB|960 MB
TEMP|32 MB|150 MB
UNDOTBS1|65 MB|400 MB
SYSAUX|470 MB|598 MB] - tablespaces_info.checkCode 
2021-03-09 02:51:51.660 INFO Finished check [TABLESPACES_INFO][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.660 INFO Running check STANDARD_EDITION [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.660 INFO Finished check [STANDARD_EDITION][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.660 INFO Running check APPL_PRINCIPAL [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.666 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.666 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.666 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.666 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.666 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.666 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.666 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.677 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.677 INFO Executing SQL [DECLARE
t_count_ur NUMBER := 0;
t_count_rm NUMBER := 0;
status NUMBER;
BEGIN
BEGIN
EXECUTE IMMEDIATE
'SELECT COUNT(*) FROM XDB.APP_USERS_AND_ROLES' INTO t_count_ur;
EXECUTE IMMEDIATE
'SELECT COUNT(*) FROM XDB.APP_ROLE_MEMBERSHIP' INTO t_count_rm;
EXCEPTION
WHEN OTHERS THEN NULL;
END;

-- Ignore the AUTHENTICATED record inserted at table creation.
-- Check for records the user may have added.
IF ((t_count_ur < 2) and (t_count_rm = 0)) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('19');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.695 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.695 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.695 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.695 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.695 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.695 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.695 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.704 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.704 INFO Executing SQL [SELECT value FROM sys.v$parameter WHERE name = 'undo_tablespace';] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.722 INFO Finished check [APPL_PRINCIPAL][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.722 INFO Running check DIR_SYMLINKS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.727 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.727 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.728 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.728 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.728 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.728 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.728 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.741 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.742 INFO Executing SQL [declare
symlink_exists NUMBER :=0;
dircnt NUMBER :=0;
dirlist VARCHAR2(4000) := '';
BEGIN
IF '12.2.0.1.0' = '19.0.0.0.0' THEN
-- Perform post-upgrade check with dbms_utility
-- Use execute immediate for pre-12c releases (no oracle_maintained)
EXECUTE IMMEDIATE
q'[DECLARE
link_exists NUMBER;
BEGIN 
FOR dir IN (SELECT directory_name 
FROM sys.dba_directories d, sys.dba_objects o
WHERE o.oracle_maintained = 'N' 
AND o.object_name = d.directory_name
AND o.object_type = 'DIRECTORY'
AND directory_name NOT IN 
-- exclude Oracle directories that may not be tagged OM
('DATA_PUMP_DIR','JAVA$JOX$CUJS$DIRECTORY$',
'OPATCH_INST_DIR','OPATCH_LOG_DIR','OPATCH_SCRIPT_DIR',
'ORACLE_BASE','ORACLE_HOME',
'ORACLE_OCM_CONFIG_DIR','ORACLE_OCM_CONFIG_DIR2',
'ORA_DBMS_FCP_ADMINDIR','ORA_DBMS_FCP_LOGDIR',
'PREUPGRADE_DIR','SDO_DIR_ADMIN','SDO_DIR_WORK',
'XMLDIR','XSDDIR')) LOOP
SELECT sys.dbms_utility.directory_has_symlink(dir.directory_name) 
INTO link_exists FROM sys.dual;
IF link_exists = 1 THEN 
:exists := 1;
EXIT;
END IF;
END LOOP;

END;]' USING IN OUT symlink_exists;
IF symlink_exists = 1 THEN
dbms_output.put_line('dir_symlinks'); -- a directory with symlinks was found
ELSE
dbms_output.put_line('SUCCESS'); -- no directories with symlinks found
END IF;
ELSE
-- Perform pre-upgrade check without dbms_utility
FOR dir IN (SELECT directory_name FROM sys.dba_directories
WHERE directory_name NOT IN -- exclude Oracle directories
('DATA_PUMP_DIR','JAVA$JOX$CUJS$DIRECTORY$',
'OPATCH_INST_DIR','OPATCH_LOG_DIR','OPATCH_SCRIPT_DIR',
'ORACLE_BASE','ORACLE_HOME',
'ORACLE_OCM_CONFIG_DIR','ORACLE_OCM_CONFIG_DIR2',
'ORA_DBMS_FCP_ADMINDIR','ORA_DBMS_FCP_LOGDIR',
'XMLDIR','XSDDIR')
ORDER BY directory_name) LOOP
dircnt:=dircnt+1;
dirlist := dirlist || dir.directory_name || ', ';
END LOOP;

IF dircnt = 0 THEN -- no USER directories
dbms_output.put_line('SUCCESS');
ELSE
dirlist := substr(dirlist,1,length(dirlist) - 2); -- remove last comma
dbms_output.put_line(dircnt||'#'||dirlist);
END IF;
END IF;
EXCEPTION
WHEN VALUE_ERROR THEN -- filled up dirlist string, so just show what is there
dbms_output.put_line(dircnt||'#'||substr(dirlist,length(dirlist)-20)||' (incomplete list)');
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.745 INFO Finished check [TABLESPACES][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.746 INFO Running check EDS_EXISTS [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.756 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.756 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.756 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.756 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.756 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.756 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.756 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.762 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.762 INFO Executing SQL [DECLARE
t_count NUMBER := 0;
status NUMBER;
BEGIN
BEGIN
EXECUTE IMMEDIATE
'SELECT COUNT(*) FROM sys.dba_logstdby_eds_tables'
INTO t_count;
EXCEPTION
WHEN OTHERS THEN NULL;
END;

IF (t_count = 0) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE('19');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.784 INFO Finished check [DIR_SYMLINKS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.784 INFO Running check TDE_IN_USE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.789 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.789 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.789 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.789 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.789 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.789 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.789 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.803 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.804 INFO Executing SQL [DECLARE
enc_cnt NUMBER := 0;
doc_name VARCHAR2(200) := ''; -- holds the name of the doc that points to
-- the section on configuring TDE.
BEGIN
BEGIN
EXECUTE IMMEDIATE
'SELECT (T1.A + T2.B + T3.C)
FROM (SELECT count(*) A
FROM SYS.DBA_TABLESPACES
WHERE UPPER(ENCRYPTED) = ''YES'') T1,
(SELECT count(*) B
FROM SYS.DBA_ENCRYPTED_COLUMNS) T2,
(SELECT count(*) C
FROM SYS.ENC$ WHERE OWNER# IN (100,101)) T3' INTO enc_cnt;
EXCEPTION
WHEN OTHERS THEN NULL;
END;

IF (enc_cnt = 0) THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
doc_name := '12.2';
IF ('12.2' = '11.2') THEN
doc_name := doc_name ||
' Oracle Database Advanced Security Administrator''s Guide,' ||
' Section 8: Securing Stored Data Using Transparent Data Encryption';
ELSE
doc_name := doc_name || ' Oracle Database Advanced Security Guide,' ||
' Section 3: Configuring Transparent Data Encryption';
END IF;
DBMS_OUTPUT.PUT_LINE(doc_name);
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.806 INFO Finished check [EDS_EXISTS][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.807 INFO Running check ORDIM_DESUPPORT [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.817 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.817 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.817 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.817 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.817 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.817 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.818 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.824 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.825 INFO Executing SQL [BEGIN

IF (0 != 0)
THEN
DBMS_OUTPUT.PUT_LINE('19');
ELSE
DBMS_OUTPUT.PUT_LINE('SUCCESS');
END IF;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.843 INFO Finished check [TDE_IN_USE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.843 INFO Running check UNIAUD_RECORDS_IN_FILE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.847 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.847 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.847 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.847 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.847 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.848 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.848 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.861 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.862 INFO Executing SQL [DECLARE
aud_recs NUMBER := 0;
db_version VARCHAR2(5);

BEGIN

-- Get the current db version
SELECT SUBSTR(version,1,4) INTO db_version FROM sys.registry$
WHERE cid = 'CATPROC';

-- GV$UNIFIED_AUDIT_TRAIL gets us the number of unified audit records
-- present in the OS spillover audit files starting RDBMS 12.2 release.
-- Thus, this check should be restricted to db version >= 12.2.
-- For other db versions < 12.2, we can recommend it through documentation.
IF db_version >= ('12.2') THEN

-- Get the number of unified audit records present in OS Spillover
-- audit files (.bin format)
SELECT count(*) into aud_recs from gv$unified_audit_trail;

-- Requiring at least 2 records is expected
IF (aud_recs > 1) THEN -- records not yet loaded to DB audit table
DBMS_OUTPUT.PUT_LINE('FAILURE');
return;
END IF;
END IF;
DBMS_OUTPUT.PUT_LINE('SUCCESS');
EXCEPTION
WHEN NO_DATA_FOUND THEN DBMS_OUTPUT.PUT_LINE('SUCCESS');
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.873 INFO Finished check [ORDIM_DESUPPORT][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.873 INFO Running check JOB_TABLE_INTEGRITY [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.892 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.892 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.892 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.893 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.893 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.893 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.893 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.898 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.899 INFO Executing SQL [DECLARE
next_date int;
invalid_jobs varchar2(4000) := '';
interval_col varchar2(4000) ;
uname VARCHAR2(128);
have_errors NUMBER := 0;
BEGIN
for job in (select job, interval#, what, powner from sys.job$ order by job) loop
if job.what is null then
invalid_jobs := invalid_jobs
|| job.job
|| ' cannot have a null ''what'' field <br>';
have_errors := 1;
end if;
begin
select username into uname from sys.dba_users where username = job.powner;
exception when others then
invalid_jobs := invalid_jobs
|| job.job
|| ' has an invalid powner field: '
|| job.powner || ' <br>';
have_errors := 1;
end;
if job.interval# is not null and upper(job.interval#) <> 'NULL' then

/*
* interval_col is only used to parse a statement, not execute, so this is safe
* only other alternative is to add a sink node, which may not be available for values returned from cursors
*/
interval_col := sys.dbms_assert.noop(job.interval#);
begin
next_date := dbms_sql.open_cursor();
dbms_sql.parse(next_date, 'select cast((' || interval_col || ') as timestamp with time zone) from sys.dual', dbms_sql.native);
dbms_sql.close_cursor(next_date);
exception when others then
invalid_jobs := invalid_jobs
|| job.job
|| ' has invalid interval expression: '
|| interval_col || ' <br>';
have_errors := 1;
end;
end if;
end loop;

if have_errors = 1 then
dbms_output.put_line('FAILURE');
end if;

dbms_output.put_line('SUCCESS');
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.920 INFO Finished check [UNIAUD_RECORDS_IN_FILE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.921 INFO Running check UTLRP_RUN_SERIAL [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.921 INFO Finished check [UTLRP_RUN_SERIAL][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.921 INFO Running check DESUPPORT_RAC_ON_SE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.921 INFO Finished check [DESUPPORT_RAC_ON_SE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.921 INFO Running check COMPATIBLE_GRP [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.921 INFO Finished check [COMPATIBLE_GRP][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.921 INFO Running check INFORM_DROP_GRP [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.927 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.927 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.927 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.927 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.927 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.927 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.927 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.941 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.942 INFO Executing SQL [select name from v$restore_point where name like 'AUTOUPGRADE_9212_%';
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.943 INFO Finished check [JOB_TABLE_INTEGRITY][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.943 INFO Running check ORDIM_INFO_DESUPPORT [hongkong] - CheckTrigger.call 
2021-03-09 02:51:51.954 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.954 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.954 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:51.954 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.954 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:51.954 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.954 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.960 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:51.960 INFO Executing SQL [DECLARE
ordim_install NUMBER := 0;
BEGIN

IF (0 = 0)
THEN
EXECUTE IMMEDIATE 'select count(*) from registry$ where CID=''ORDIM'' '
into ordim_install;
IF (ordim_install != 0)
THEN
DBMS_OUTPUT.PUT_LINE('19');
return;
END if;
END IF;

DBMS_OUTPUT.PUT_LINE('SUCCESS');

END ordim_info_desupport_check;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:51.993 INFO Finished check [INFORM_DROP_GRP][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 02:51:51.993 INFO Running check TEMPTS_ALLOFFLINE [hongkong] - CheckTrigger.call 
2021-03-09 02:51:52.012 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.012 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.012 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:52.012 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:52.013 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:52.013 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.013 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.034 INFO Finished check [ORDIM_INFO_DESUPPORT][hongkong][NOT PASSED] - CheckTrigger.call 
2021-03-09 02:51:52.034 INFO Running check TARGET_CDB_COMPATIBILITY [hongkong] - CheckTrigger.call 
2021-03-09 02:51:52.034 INFO Finished check [TARGET_CDB_COMPATIBILITY][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:52.035 INFO Running check DUPLICATE_DB_HASHES [hongkong] - CheckTrigger.call 
2021-03-09 02:51:52.035 INFO Finished check [DUPLICATE_DB_HASHES][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:52.035 INFO Running check TIMESTAMP_MISMATCH [hongkong] - CheckTrigger.call 
2021-03-09 02:51:52.035 INFO Starting - timestamp_mismatch.checkCode 
2021-03-09 02:51:52.042 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.043 INFO Executing SQL [DECLARE
deftsisgroup VARCHAR2(5);
valid_scenario boolean := false;
deftmpts VARCHAR2(4000);
t_deftmpts VARCHAR2(4000) := '';
groupts NUMBER:=0;
inv_ts NUMBER:=0;

offline_mode varchar2(15) := ' N/A ';

TYPE number_array_t IS TABLE OF NUMBER;
TYPE string_array_t IS TABLE OF VARCHAR2(32767);
cols number_array_t:= new number_array_t(0,30,0,30,12) ;

FUNCTION column_format(column_sizes number_array_t, column_values string_array_t) RETURN CLOB
IS
column_num NUMBER;
width NUMBER;
align_left BOOLEAN;
value CLOB;
need_another_row BOOLEAN := true;
subsequent_row string_array_t := column_values;
result CLOB := '';

BEGIN
subsequent_row := column_values;
WHILE need_another_row LOOP
need_another_row := false;
FOR column_num IN 1 .. column_sizes.count LOOP
width := column_sizes(column_num);
value := subsequent_row(column_num);

IF (value IS NULL) OR (width = 0) THEN
-- do this case separately so we don't have unexpected string operations on nulls
value := rpad(' ', abs(width)); -- doesn't matter if left/right align, even if width=0
ELSE
-- negative widths mean align output on the right (typical number format.)
-- make width positive and determine which alignment we're using.
align_left := (width > 0);
width := abs(width);

IF length(value) <= width THEN
IF align_left THEN
value := rpad(value, width); -- (align left = pad on right)
ELSE
value := lpad(value, width); -- (align right = pad on left)
END IF;
subsequent_row(column_num) := null;
ELSE
need_another_row := true;
subsequent_row(column_num) := substr(value, width + 1);
value := substr(value, 1, width);
END IF;
END IF;

result := result || value;
END LOOP;

IF need_another_row THEN
result := result || '
';
END IF;
END LOOP;

RETURN result;
END column_format;

BEGIN
-- Get temporary tablespace for SYS.
SELECT TEMPORARY_TABLESPACE INTO deftmpts
FROM SYS.DBA_USERS A
WHERE UPPER(USERNAME) = 'SYS' ;

-- Determine if tablespace is part of a tablespace group?
SELECT DECODE(COUNT(1), 0,'NO','YES') INTO deftsisgroup
FROM SYS.DBA_TABLESPACE_GROUPS
WHERE GROUP_NAME = deftmpts ;

-- Temporary tablespace comes from a TS group
IF deftsisgroup='YES' THEN

-- Determine if any of the tablespaces in the group have an online file
SELECT COUNT(A.TABLESPACE_NAME) INTO groupts
FROM SYS.DBA_TABLESPACE_GROUPS A, SYS.DBA_TEMP_FILES B
where A.GROUP_NAME = deftmpts and
A.TABLESPACE_NAME = B.TABLESPACE_NAME and
B.status in ('ONLINE', offline_mode) ;

-- are there any ts in the group that have an online file
IF groupts = 0 THEN
-- No ts has an online file
valid_scenario := false;

-- Adding headers to table
t_deftmpts := column_format(cols, new string_array_t(' ', 'GROUP_NAME', ' ', 'TABLESPACE_NAME', ' '));

-- Get list of ts whose files are all offline
FOR ts_cur in (SELECT TABLESPACE_NAME
FROM SYS.DBA_TABLESPACE_GROUPS
WHERE GROUP_NAME = deftmpts) loop
t_deftmpts := t_deftmpts || column_format(cols, new string_array_t(' ', deftmpts, ' ', ts_cur.tablespace_name, ' '));
END LOOP;

-- send t_deftmpts to be displayed
deftmpts := t_deftmpts;
ELSE
-- at least one ts has an online file
valid_scenario := true;
END IF;

-- Temporary tablespace is not part of a tablespace group
ELSE
-- Check how many temp files are online
SELECT COUNT(TABLESPACE_NAME) INTO inv_ts
FROM SYS.DBA_TEMP_FILES
WHERE TABLESPACE_NAME = deftmpts and
status in ('ONLINE', offline_mode) ;

-- Does the ts have an online file
IF inv_ts > 0 THEN
-- Yes, it has at least one. OK
valid_scenario := true;
ELSE
-- No, it has 0. ERROR
valid_scenario := false;
END IF;
END IF;

IF valid_scenario THEN
DBMS_OUTPUT.PUT_LINE('SUCCESS');
ELSE
DBMS_OUTPUT.PUT_LINE(deftmpts);
END IF;

END tempts_alloffline_check;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:52.060 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.061 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.061 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:52.061 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:52.061 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:52.062 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.062 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.075 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:52.076 INFO Executing SQL [ BEGIN 
DBMS_OUTPUT.PUT_LINE('FAILURE');
END;
/] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:52.119 INFO Finished check [TEMPTS_ALLOFFLINE][hongkong][PASSED] - CheckTrigger.call 
2021-03-09 02:51:52.138 INFO Starting - timestamp_mismatch.fixUpCode 
2021-03-09 02:51:52.139 INFO End - timestamp_mismatch.fixUpCode 
2021-03-09 02:51:52.145 INFO Finished check [TIMESTAMP_MISMATCH][hongkong][NOT PASSED] - CheckTrigger.call 

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

postfixups_hongkong.log

2021-03-09 03:40:41.322 INFO Starting log for hongkong - Utilities.createLogger 
2021-03-09 03:40:42.398 INFO Starting - timestamp_mismatch.fixUpCode 
2021-03-09 03:40:42.405 INFO End - timestamp_mismatch.fixUpCode 
2021-03-09 03:40:42.406 INFO Running fixup [TIMESTAMP_MISMATCH][hongkong][PLSQL][DECLARE
v_name VARCHAR2(128) := '';
v_mismatch VARCHAR2(300) := '';
v_statement varchar2(400) := '';
CURSOR c_object_fix
IS
select do.name, to_char(p_timestamp,'DD-MON-YYYY HH24:MI:SS') || ' ->P_Timestamp' || ' '||to_char(po.stime ,'DD-MON-YYYY 
HH24:MI:SS') ||' -->STIME'|| decode(sign(po.stime-p_timestamp),0,'SAME','*DIFFER*') ||';'
from sys.obj$ do, sys.dependency$ d, sys.obj$ po
where P_OBJ#=po.obj#(+)
and D_OBJ#=do.obj#
and do.status=1 /*dependent is valid*/
and po.status=1 /*parent is valid*/
and po.stime!=p_timestamp /*parent timestamp not match*/;
BEGIN
OPEN c_object_fix;
LOOP
FETCH c_object_fix INTO v_name, v_mismatch;
EXIT WHEN c_object_fix%NOTFOUND;
BEGIN
v_statement := 'alter public synonym "' || v_name || '" compile';
DBMS_OUTPUT.PUT_LINE('OBJECT WITH MISMATCH FIX: ' || v_name || ' Mismatch: ' || v_mismatch);
DBMS_OUTPUT.PUT_LINE('Statement: ' || v_statement);
EXECUTE IMMEDIATE v_statement;
EXCEPTION WHEN OTHERS then
DBMS_OUTPUT.PUT_LINE('Unsupported synchronization for ' || v_name);
END;
END LOOP;
CLOSE c_object_fix; 
END;
/
] - FixUpTrigger.executeFixUp 
2021-03-09 03:40:42.406 INFO Starting - timestamp_mismatch.fixUpCode 
2021-03-09 03:40:42.408 INFO End - timestamp_mismatch.fixUpCode 
2021-03-09 03:40:42.409 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:42.409 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:42.409 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:40:42.409 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:40:42.410 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:40:42.410 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:42.410 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:42.421 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:42.421 INFO Executing SQL [DECLARE
v_name VARCHAR2(128) := '';
v_mismatch VARCHAR2(300) := '';
v_statement varchar2(400) := '';
CURSOR c_object_fix
IS
select do.name, to_char(p_timestamp,'DD-MON-YYYY HH24:MI:SS') || ' ->P_Timestamp' || ' '||to_char(po.stime ,'DD-MON-YYYY 
HH24:MI:SS') ||' -->STIME'|| decode(sign(po.stime-p_timestamp),0,'SAME','*DIFFER*') ||';'
from sys.obj$ do, sys.dependency$ d, sys.obj$ po
where P_OBJ#=po.obj#(+)
and D_OBJ#=do.obj#
and do.status=1 /*dependent is valid*/
and po.status=1 /*parent is valid*/
and po.stime!=p_timestamp /*parent timestamp not match*/;
BEGIN
OPEN c_object_fix;
LOOP
FETCH c_object_fix INTO v_name, v_mismatch;
EXIT WHEN c_object_fix%NOTFOUND;
BEGIN
v_statement := 'alter public synonym "' || v_name || '" compile';
DBMS_OUTPUT.PUT_LINE('OBJECT WITH MISMATCH FIX: ' || v_name || ' Mismatch: ' || v_mismatch);
DBMS_OUTPUT.PUT_LINE('Statement: ' || v_statement);
EXECUTE IMMEDIATE v_statement;
EXCEPTION WHEN OTHERS then
DBMS_OUTPUT.PUT_LINE('Unsupported synchronization for ' || v_name);
END;
END LOOP;
CLOSE c_object_fix; 
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:40:43.445 INFO # TIMESTAMP_MISMATCH
OBJECT WITH MISMATCH FIX: oracle/AWAction/AWAction Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/AWAction" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Alter Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Alter" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Attach Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Attach" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/BuildDatabase Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/BuildDatabase" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Commit Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Commit" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Create Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Create" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Delete Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Delete" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Detach Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Detach" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Driver Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Driver" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/Interaction Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/Interaction" compile
OBJECT WITH MISMATCH FIX: oracle/AWAction/JDBCDriver Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWAction/JDBCDriver" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AW Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AW" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AWConnection Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AWConnection" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AWHandlerBase Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AWHandlerBase" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AWObject Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AWObject" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AWParser Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AWParser" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Aggregation Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Aggregation" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AggregationArgument Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AggregationArgument" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AggregationDefinition Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AggregationDefinition" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AggregationHierarchySpecification Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AggregationHierarchySpecification" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AggregationOperator Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AggregationOperator" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AggregationSolve Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AggregationSolve" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Allocation Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Allocation" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AllocationArgument Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AllocationArgument" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AllocationDefinition Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AllocationDefinition" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AllocationHierarchySpecification Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AllocationHierarchySpecification" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AllocationOperator Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AllocationOperator" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AllocationSolve Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AllocationSolve" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Attribute Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Attribute" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AttributeProjection Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AttributeProjection" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/AttributeSourceExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/AttributeSourceExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/BaseObject Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/BaseObject" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/BaseOperator Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/BaseOperator" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/CalculatedMember Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/CalculatedMember" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/CalculatedMemberRef Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/CalculatedMemberRef" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/CalculationSpecification Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/CalculationSpecification" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ConfigurationParameters Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ConfigurationParameters" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Cube Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Cube" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/CubeDimRef Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/CubeDimRef" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/CubeDimensionSourceExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/CubeDimensionSourceExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/CubeMapGroup Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/CubeMapGroup" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/DerivedMeasure Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/DerivedMeasure" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Dimension Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Dimension" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/DimensionKeySourceExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/DimensionKeySourceExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/DimensionMapGroup Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/DimensionMapGroup" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/DimensionMemberExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/DimensionMemberExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/DimensionMemberSelection Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/DimensionMemberSelection" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ExtendedProperty Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ExtendedProperty" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ExternalSourceExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ExternalSourceExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ForeCastKeyWord Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ForeCastKeyWord" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ForecastArgument Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ForecastArgument" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ForecastArgumentValue Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ForecastArgumentValue" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ForecastDefinition Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:01 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ForecastDefinition" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ForecastSolve Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ForecastSolve" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/HierarchicalParentSourceExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/HierarchicalParentSourceExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Hierarchy Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Hierarchy" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/HierarchyLevelAssociation Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/HierarchyLevelAssociation" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Index Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Index" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Level Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Level" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/MappingGroup Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/MappingGroup" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Measure Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Measure" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/MeasureFolder Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/MeasureFolder" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/MeasureSourceExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/MeasureSourceExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/MemberSelection Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/MemberSelection" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Model Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Model" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ModelDimRef Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ModelDimRef" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/ModelRef Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/ModelRef" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/OlapMeasure Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/OlapMeasure" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/OlapMeasureInput Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/OlapMeasureInput" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Operator Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Operator" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/OperatorType Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/OperatorType" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Parameter Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Parameter" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/PermanentCalculatedMember Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/PermanentCalculatedMember" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/PreComputeClause Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/PreComputeClause" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/RestrictedSourceExpression Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/RestrictedSourceExpression" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/SessionCalculatedMember Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/SessionCalculatedMember" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/Solve Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/Solve" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/SolveDefDimRef Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/SolveDefDimRef" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/SolveDefinition Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/SolveDefinition" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/SolveGroup Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/SolveGroup" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/SourceColumn Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/SourceColumn" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/SparseDefinition Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/SparseDefinition" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/UserDefinedArgument Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/UserDefinedArgument" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/UserDefinedOperator Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/UserDefinedOperator" compile
OBJECT WITH MISMATCH FIX: oracle/AWXML/WhereClause Mismatch: 26-JAN-2017 15:12:28 ->P_Timestamp 09-MAR-2021
03:26:02 -->STIME*DIFFER*;
Statement: alter public synonym "oracle/AWXML/WhereClause" compile - Check.runFix 
2021-03-09 03:40:43.446 INFO Finished fixup [TIMESTAMP_MISMATCH][hongkong][SUCCESSFUL] - FixUpTrigger.executeFixUp 
2021-03-09 03:40:43.476 INFO Running fixup [POST_DICTIONARY][hongkong][PLSQL][DECLARE
BEGIN
SYS.DBMS_STATS.GATHER_INDEX_STATS('SYS', 'I_OBJ#');
SYS.DBMS_STATS.GATHER_DICTIONARY_STATS;
END;
/
] - FixUpTrigger.executeFixUp 
2021-03-09 03:40:43.487 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:43.488 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:43.488 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:40:43.488 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:40:43.488 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:40:43.488 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:43.489 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:43.510 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:40:43.510 INFO Executing SQL [DECLARE
BEGIN
SYS.DBMS_STATS.GATHER_INDEX_STATS('SYS', 'I_OBJ#');
SYS.DBMS_STATS.GATHER_DICTIONARY_STATS;
END;
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 03:41:48.809 INFO # POST_DICTIONARY - Check.runFix 
2021-03-09 03:41:48.810 INFO Finished fixup [POST_DICTIONARY][hongkong][SUCCESSFUL] - FixUpTrigger.executeFixUp 
2021-03-09 03:41:48.820 INFO Running fixup [OLD_TIME_ZONES_EXIST][hongkong][JAVA][Java based fixup] - FixUpTrigger.executeFixUp 
2021-03-09 03:41:48.820 INFO Starting - old_time_zones_exist.populateScriptsToExecute 
2021-03-09 03:41:48.821 INFO All the scripts were found, using the scripts from /u01/app/oracle/product/19.0.0/dbhome_1 - old_time_zones_exist.populateScriptsToExecute 
2021-03-09 03:41:48.821 INFO Adding script to list [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessstart.sql] - old_time_zones_exist.populateScriptsToExecute 
2021-03-09 03:41:48.821 INFO Adding script to list [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_check.sql] - old_time_zones_exist.populateScriptsToExecute 
2021-03-09 03:41:48.822 INFO Adding script to list [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_apply.sql] - old_time_zones_exist.populateScriptsToExecute 
2021-03-09 03:41:48.822 INFO Adding script to list [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessend.sql] - old_time_zones_exist.populateScriptsToExecute 
2021-03-09 03:41:48.822 INFO End - old_time_zones_exist.populateScriptsToExecute 
2021-03-09 03:41:48.837 INFO TimeZone upgrade log files will be located under /home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong/temp/hongkong/TimeZone - old_time_zones_exist.fixUpCode 
2021-03-09 03:41:48.838 INFO Starting - old_time_zones_exist.NonCDBTimeZoneUpg 
2021-03-09 03:41:48.860 INFO Processing hongkong - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:48.861 INFO Begin [/u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:41:48.861 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:41:48.862 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/u01/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 03:41:48.862 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:41:48.863 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 03:41:48.863 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:41:48.863 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:41:48.874 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 03:41:48.877 INFO Executing [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessstart.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:48.877 INFO Executing SQL [@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessstart.sql
] in [hongkong, container:hongkong] - ExecuteSql.sendSqlCmdToSqlPlus 
2021-03-09 03:41:49.878 INFO Complete [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessstart.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:49.878 INFO Looking for errors in log file after /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessstart.sql execution on [hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:49.878 INFO Executing [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_check.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:49.878 INFO Executing SQL [@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_check.sql
] in [hongkong, container:hongkong] - ExecuteSql.sendSqlCmdToSqlPlus 
2021-03-09 03:41:52.880 INFO Complete [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_check.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:52.880 INFO Looking for errors in log file after /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_check.sql execution on [hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:52.881 INFO Executing [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_apply.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:41:52.881 INFO Executing SQL [@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_apply.sql
] in [hongkong, container:hongkong] - ExecuteSql.sendSqlCmdToSqlPlus 
2021-03-09 03:43:46.087 INFO Complete [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_apply.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:43:46.088 INFO Looking for errors in log file after /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/utltz_upg_apply.sql execution on [hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:43:46.088 INFO Executing [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessend.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:43:46.088 INFO Executing SQL [@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessend.sql
] in [hongkong, container:hongkong] - ExecuteSql.sendSqlCmdToSqlPlus 
2021-03-09 03:43:48.593 INFO Complete [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessend.sql][hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:43:48.593 INFO Looking for errors in log file after /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/sqlsessend.sql execution on [hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:43:48.593 INFO Closing sqlplus with exitValue 0 [hongkong] - old_time_zones_exist$UpgTarget.call 
2021-03-09 03:43:48.594 INFO The Timezone upgrade has finished for [hongkong] - old_time_zones_exist.NonCDBTimeZoneUpg 
2021-03-09 03:43:48.594 INFO Finished - old_time_zones_exist.NonCDBTimeZoneUpg 
2021-03-09 03:43:48.594 INFO Finished fixup [OLD_TIME_ZONES_EXIST][hongkong][SUCCESSFUL] - FixUpTrigger.executeFixUp 

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

prefixups_hongkong.log

2021-03-09 02:51:56.325 INFO Starting log for hongkong - Utilities.createLogger 
2021-03-09 02:51:56.400 INFO Running fixup [PURGE_RECYCLEBIN][hongkong][PLSQL][PURGE DBA_RECYCLEBIN
/
] - FixUpTrigger.executeFixUp 
2021-03-09 02:51:56.400 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:56.401 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:56.401 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:56.401 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.402 INFO Executing SQL [PURGE DBA_RECYCLEBIN
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:56.475 INFO # PURGE_RECYCLEBIN - Check.runFix 
2021-03-09 02:51:56.476 INFO Finished fixup [PURGE_RECYCLEBIN][hongkong][SUCCESSFUL] - FixUpTrigger.executeFixUp 

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

upg_summary.log

Oracle Database Release 19 Post-Upgrade Status Tool 03-09-2021 03:31:3
Database Name: HONGKONG

Component                           Current        Full                    Elapsed Time
Name                                Status         Version                 HH:MM:SS

Oracle Server                       UPGRADED       19.3.0.0.0              00:19:26
JServer JAVA Virtual Machine        UPGRADED       19.3.0.0.0              00:01:46
Oracle XDK                          UPGRADED       19.3.0.0.0              00:00:48
Oracle Database Java Packages       UPGRADED       19.3.0.0.0              00:00:09
OLAP Analytic Workspace             UPGRADED       19.3.0.0.0              00:00:16
Oracle Label Security               UPGRADED       19.3.0.0.0              00:00:07
Oracle Database Vault               UPGRADED       19.3.0.0.0              00:00:22
Oracle Text                         UPGRADED       19.3.0.0.0              00:00:30
Oracle Workspace Manager            UPGRADED       19.3.0.0.0              00:00:29
Oracle Real Application Clusters    UPGRADED       19.3.0.0.0              00:00:00
Oracle XML Database                 UPGRADED       19.3.0.0.0              00:01:37
Oracle Multimedia                   UPGRADED       19.3.0.0.0              00:00:40
Spatial                             UPGRADED       19.3.0.0.0              00:05:50
Oracle OLAP API                     UPGRADED       19.3.0.0.0              00:00:10
Datapatch                                                                  00:03:41
Final Actions                                                              00:03:48
Post Upgrade                                                               00:00:19

Total Upgrade Time: 00:37:14

Database time zone version is 26. It is older than current release time
zone version 32. Time zone upgrade is needed using the DBMS_DST package.

Grand Total Upgrade Time: [0d:0h:46m:15s]

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

cat phase.log

 

Argument list for [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catctl.pl]
For Oracle internal use only    A = 0
Run in                          c = 0
Do not run in                   C = 0
Input Directory                 d = /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin
Echo OFF                        e = 1
Simulate                        E = 0
Forced cleanup                  F = 0
Log Id                          i = 0
Child Process                   I = 0
Log Dir                         l = 0
Priority List Name              L = 0
Upgrade Mode active             M = 0
SQL Process Count               n = 0
SQL PDB Process Count           N = 0
Open Mode Normal                o = 0
Start Phase                     p = 0
End Phase                       P = 0
Reverse Order                   r = 0
AutoUpgrade Resume              R = 0
Script                          s = 0
Serial Run                      S = 0
RO User Tablespaces             T = 0
Display Phases                  y = 1
Debug catcon.pm                 z = 0
Debug catctl.pl                 Z = 0

catctl.pl VERSION: [19.0.0.0.0]
STATUS: [Production]
BUILD: [RDBMS_19.3.0.0.0DBRU_LINUX.X64_190417]


/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/orahome = [/u01/app/oracle/product/19.0.0/dbhome_1]
/u01/app/oracle/product/19.0.0/dbhome_1/bin/orabasehome = [/u01/app/oracle/product/19.0.0/dbhome_1]
catctlGetOraBaseLogDir = [/u01/app/oracle/product/19.0.0/dbhome_1]

Analyzing file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catupgrd.sql

Log file directory = [/tmp/cfgtoollogs/upgrade20210309025244]

27 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catalog.sql
37 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catalog.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catproc.sql
35 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catproc.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catptabs.sql
68 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catptabs.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdbms.sql
241 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdbms.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdeps.sql
86 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdeps.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpprvt.sql
305 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpprvt.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpexec.sql
32 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpexec.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/cmpupgrd.sql
21 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/cmpupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbupgrd.sql
8 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbload.sql
90 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbload.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupgrd.sql
10 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrd.sql
5 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmd.sql
8 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloc.sql
13 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloc.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdo.sql
13 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdo.sql

[phase 0] type is 1 with 1 Files

@catupstr.sql

[phase 1] type is 1 with 5 Files

@cdstrt.sql @cdfixed.sql @catcdbviews.sql @catblock.sql 
@cdcore.sql

[phase 2] type is 1 with 1 Files

ora_restart.sql

[phase 3] type is 2 with 19 Files

@cdplsql.sql @cdsqlddl.sql @cdmanage.sql @cdtxnspc.sql 
@cdenv.sql @cdrac.sql @cdsec.sql @cdobj.sql 
@cdjava.sql @cdpart.sql @cdrep.sql @cdaw.sql 
@cdsummgt.sql @cdtools.sql @cdexttab.sql @cddm.sql 
@cdclst.sql @cdhcs.sql @cdadr.sql

[phase 4] type is 1 with 1 Files

ora_restart.sql

[phase 5] type is 1 with 7 Files

@catptt.sql @catldr.sql @cdoptim.sql @catsum.sql 
@catexp.sql @cddst.sql @cdend.sql

[phase 6] type is 1 with 1 Files

@catpstrt.sql

[phase 7] type is 1 with 2 Files

@catptyps.sql @catpgrants.sql

[phase 8] type is 1 with 1 Files

ora_restart.sql

[phase 9] type is 2 with 67 Files

@catnodpobs.sql @catbac.sql @prvtrctv.plb @catactx.sql 
@prvtuttv.plb @catsvrmg.sql @prvtlsis.plb @prvtlsss.plb 
@cattrans.sql @catrule.sql @catpitr.sql @catdip.sql 
@catrls.sql @catar.sql @catfga.sql @catamgt.sql 
@catidxu.sql @cattsm.sql @catchnf.sql @catodm.sql 
@catkppls.sql @catsscr.sql @catqueue.sql @cathae.sql 
@catadvtb.sql @cataitb.sql @catsch.sql @catol.sql 
@catdpb.sql @catcrc.sql @dbmscr.sql @dbmsutil.sql 
@catdbfus.sql @catalrt.sql @catatsk.sql @catmntr.sql 
@catsqlt.sql @catumftv.sql @catsmbvw.sql @catwrrtb.sql 
@catsumat.sql @catlmnr.sql @catdef.sql @catadrvw.sql 
@catrepv.sql @catpexe.sql @cattlog.sql @catcapi.sql 
@catpspi.sql @catts.sql @catnacl.sql @catredact.sql 
@catproftab.sql @catpstdy.sql @catratmask.sql @catqitab.sql 
@catappcont.sql @catjsonv.sql @catrsa.sql @catappcontainer.sql 
@cathmgr.sql @catmvrs.sql @cataclsrv.sql @catdbl.sql 
@catgdtab.sql @catimfstab.sql @catimime.sql

[phase 10] type is 1 with 1 Files

ora_restart.sql

[phase 11] type is 1 with 1 Files

@catpspec.sql

[phase 12] type is 1 with 1 Files

ora_restart.sql

[phase 13] type is 2 with 94 Files

@utlinad.sql @utlsmtp.sql @utlurl.sql @utlenc.sql 
@utlgdk.sql @utlcstk.sql @utlcomp.sql @utli18n.sql 
@utllms.sql @dbmsplsw.sql @utlnla.sql @dbmspdb.sql 
@dbmsappcon.sql @dbmstrns.sql @dbmsrwid.sql @dbmspclx.sql 
@prvthpclxi.plb @dbmserlg.sql @dbmsspu.sql @dbmsapin.sql 
@dbmssyer.sql @dbmspipe.sql @dbmsalrt.sql @dbmsdesc.sql 
@prvthpexpi.plb @dbmspexp.sql @dbmsjob.sql @prvtstataggs.plb 
@prvtstatadv.plb @dbmsstts.sql @dbmsddl.sql @dbmsedu.sql 
@dbmspp.sql @prvthddl.plb @prvthsye.plb @prvtzhlp.plb 
@dbmsodbo.sql @dbmshier.sql @dbmsidxu.sql @prvthidx.plb 
@dbmspsp.sql @dbmstran.sql @dbmsxa.sql @dbmstxfm.sql 
@dbmsread.sql @prvtreut.plb @dbmspb.sql @dbmspbt.sql 
@dbmsplts.sql @dbmspitr.sql @utlrefld.sql @utlcoll.plb 
@dbmstrst.sql @dbmsrlsa.sql @dbmsrpr.sql @dbmsobtk.sql 
@dbmslm.sql @dbmslmd.sql @prvtlmes.plb @utlcxml.sql 
@dbmsfga.sql @dbmsamgt.sql @dbmstypu.sql @dbmsres.sql 
@dbmstxin.sql @dbmsdrs.sql @dbmsdg.sql @dbmssum.sql 
@dbmshord.sql @dbmsxfr.sql @dbmsmap.sql @dbmsfi.sql 
@dbmsdbv.sql @dbmstcv.sql @dbmscoll.sql @dbmspbp.sql 
@dbmshpro.sql @dbmscov.sql @dbmssrv.sql @dbmschnf.sql 
@dbmsxpln.sql @prvsxplni.plb @utlmatch.sql @dbmsdbvn.sql 
@dbmspool.sql @dbmsrcad.sql @prvthcrc.plb @prvtkpps.plb 
@dbmsaq.plb @dbmsaqad.sql @dbmsaq8x.plb @dbmsaqem.plb 
@prvtaqxi.plb @dbmsslrt.sql

[phase 14] type is 1 with 1 Files

ora_restart.sql

[phase 15] type is 2 with 120 Files

@dbmsmntr.sql @dbmshm.sql @catsqltk.sql @dbmsir.sql 
@prvtsss.plb @dbmsocm.sql @dbmslobu.sql @dbmsmp.sql 
@dbmsaddm.sql @prvttxfs.plb @dbmsrmin.plb @dbmsrmad.sql 
@dbmsrmpr.sql @dbmsrmpe.plb @dbmsrmge.plb @dbmsrmpa.plb 
@prvtrmie.plb @prvthjob.plb @prvtdputh.plb @dbmsmeta.sql 
@dbmsmetb.sql @dbmsmetd.sql @dbmsmet2.sql @dbmsdp.sql 
@dbmsdpmt.sql @prvthpd.plb @prvthpdi.plb @prvthpvi.plb 
@dbmsbsdesc.sql @prvtdtde.plb @prvtcia.plb @prvtsum.plb 
@prvtjdbs.plb @dbmsslxp.sql @prvssmgu.plb @dbmsmb.sql 
@dbmsawr.sql @dbmsumf.sql @prvsemxi.plb @prvsemx_admin.plb 
@prvsemx_dbhome.plb @prvsemx_memory.plb @prvsemx_perf.plb @prvsemx_cell.plb 
@dbmsperf.sql @prvsemx_rsrcmgr.plb @prvsemx_sql.plb @prvsrept.plb 
@prvsrepr.plb @prvshdm.plb @prvsrtaddm.plb @prvs_awr_data_cp.plb 
@prvscpaddm.plb @prvsadv.plb @prvsawr.plb @prvsawri.plb 
@prvsumfi.plb @prvsawrs.plb @prvsash.plb @prvsawrv.plb 
@prvssqlf.plb @dbmswrr.sql @dbmsfus.sql @prvsfus.plb 
@prvsfusc.plb @dbmsuadv.sql @dbmsspm.sql @prvsspmi.plb 
@prvssmb.plb @prvssmbi.plb @dbmsstr.sql @dbmssqls.sql 
@dbmsspa.sql @prvsautorepi.plb @dbmsautorep.sql @dbmsratmask.sql 
@dbmsdiag.sql @dbmsrepl.sql @dbmskzxp.sql @dbmscu.sql 
@dbmsdst.sql @dbmscomp.sql @dbmsilm.sql @dbmspexe.sql 
@prvthpexei.plb @dbmscapi.sql @dbmsfuse.sql @dbmsfspi.sql 
@dbmspspi.sql @dbmsdnfs.sql @dbmsadr.sql @dbmsadra.sql 
@prvsadri.plb @xsrs.sql @xssc.sql @xsacl.sql 
@xsds.sql @xsns.sql @xsdiag.sql @xssess.sql 
@dbmsredacta.sql @dbmssqll.sql @dbmsgwm.sql @dbmsappcont.sql 
@dbmsscnc.sql @dbmsspd.sql @prvsspdi.plb @dbmsfs.sql 
@dbmssqlm.sql @catprofp.sql @prvtsys.plb @dbmspart.sql 
@dbmsrupg.sql @dbmstsdp.sql @dbmsinmem.sql @dbmsdbcomp.sql 
@dbmsapre.sql @dbmsinmemadmin.sql @dbmshadp.sql @dbmsbdcluacc.sql


[phase 16] type is 1 with 1 Files

ora_restart.sql

[phase 17] type is 1 with 22 Files

@dbmsmeti.sql @dbmsmetu.sql @dbmsqopi.sql @dbmstf.sql 
@dbmshmgr.sql @dbmsaclsrv.sql @dbmstns.sql @catappcdbviews.sql 
@prvthesh.plb @dbmsrsa.plb @prvthisagt.plb @prvthisutl.plb 
@dbmsol.sql @prvtols.plb @prvthpp.plb @setpdb.sql 
@dbmsmemoptimize.sql @dbmsmemoptimizeadmin.sql @dbmsai.sql @prvsaii.plb 
@prvssqlci.plb @prvssqlqi.plb

[phase 18] type is 1 with 1 Files

ora_restart.sql

[phase 19] type is 2 with 32 Files

@prvthdbu.plb @catost.sql @dbmshae.sql @catxpend.sql 
@prvtotpt.plb @prvthlut.plb @prvthlin.plb @prvthsdp.plb 
@dbmsrman.sql @dbmsbkrs.sql @dbmspplb.sql @dbmstrig.sql 
@dbmsrand.sql @dbmsjdwp.sql @catxs.sql @dbmssnap.sql 
@prvtxrmv.plb @depsaq.sql @prvthlrt.plb @catadv.sql 
@dbmscred.sql @catcredv.sql @cataqsch.sql @catrssch.sql 
@catplug.sql @prvtsql.plb @prvtssql.plb @prvtlmd.plb 
@prvtlmcs.plb @prvtlmrs.plb @prvtlmss.plb @prvthpv.plb


[phase 20] type is 1 with 1 Files

ora_restart.sql

[phase 21] type is 1 with 3 Files

@prvtkupc.plb @prvtaqiu.plb @catlsby.sql

[phase 22] type is 1 with 1 Files

ora_restart.sql

[phase 23] type is 2 with 25 Files

@cataivw.sql @catmetviews.sql @prvthpw.plb @prvthpm.plb 
@prvthpfi.plb @prvthpf.plb @prvthdpi.plb @dbmsodm.sql 
@prvtitrg.plb @prvtsms.plb @depssvrm.sql @deptxn.sql 
@catstr.sql @prvthsts.plb @prvthfgr.plb @prvthfie.plb 
@prvthcmp.plb @catpexev.sql @depscapi.sql @depspspi.sql 
@catwrrvw.sql @dbmsjdcu.sql @dbmsjdmp.sql @prvthpc.plb 
@prvt_awr_data.plb

[phase 24] type is 1 with 1 Files

ora_restart.sql

[phase 25] type is 2 with 12 Files

@catmetgrant1.sql @catldap.sql @prvtocm.sql @prvthpci.plb 
@catilm.sql @catemxv.sql @catnaclv.sql @dbmsnacl.sql 
@catpvf.sql @dbmswlm.sql @cathive.sql @catuat.sql


[phase 26] type is 1 with 1 Files

ora_restart.sql

[phase 27] type is 1 with 1 Files

ora_load_without_comp.sql

[phase 28] type is 1 with 3 Files

@prvtrepl.sql @catpstr.sql @catumfusr.sql

[phase 29] type is 1 with 1 Files

ora_load_with_comp.sql

[phase 30] type is 1 with 1 Files

ora_restart.sql

[phase 31] type is 1 with 1 Files

@catcdbviews.sql

[phase 32] type is 1 with 1 Files

ora_restart.sql

[phase 33] type is 2 with 0 Files


[phase 34] type is 1 with 1 Files

ora_load_without_comp.sql

[phase 35] type is 1 with 293 Files

@prvthpu.plb @prvthpui.plb @prvtbpui.plb @prvtidxu.plb 
@prvtadmi.plb @prvtbpu.plb @prvtutils.plb @prvtrlsa.plb 
@prvti18n.plb @prvtcred.plb @prvtfile.plb @prvtrawb.plb 
@prvttcp.plb @prvtinad.plb @prvtsmtp.plb @prvthttp.plb 
@prvturl.plb @prvtenc.plb @prvtgdk.plb @prvtlob.plb 
@prvtlobu.plb @prvtcstk.plb @prvtcomp.plb @prvtlms2.plb 
@prvtnla.plb @prvttrns.plb @prvtsess.plb @prvtrwid.plb 
@prvtpclxi.plb @prvtpclx.plb @prvterlg.plb @prvtapin.plb 
@prvtsyer.plb @prvtlock.plb @prvtpipe.plb @prvtalrt.plb 
@prvtdesc.plb @prvtbpexpi.plb @prvtpexp.plb @prvtzexp.plb 
@prvtstts.plb @prvtddl.plb @prvtpp.plb @prvtkppb.plb 
@prvtodbo.plb @prvthier.plb @prvtutil.plb @prvtpsp.plb 
@prvttran.plb @prvtxa.plb @prvtany.plb @prvtread.plb 
@prvtpb.plb @prvtpbt.plb @prvtxpsw.plb @prvtcoll.plb 
@prvttrst.plb @prvtodci.plb @prvtrpr.plb @prvtobtk.plb 
@prvtxmlt.plb @prvturi.plb @prvtxml.plb @prvtcxml.plb 
@prvtemxi.plb @prvtemx_admin.plb @prvtemx_dbhome.plb @prvtemx_memory.plb 
@prvtemx_perf.plb @prvtemx_cell.plb @prvtperf.plb @prvtemx_rsrcmgr.plb 
@prvtemx_sql.plb @prvtrep.plb @prvtrept.plb @prvtrepr.plb 
@prvtfga.plb @prvtamgt.plb @prvttypu.plb @prvtjdwp.plb 
@prvtjdmp.plb @prvtres.plb @prvtcr.plb @prvttxin.plb 
@prvtdrs.plb @prvtdg.plb @prvtfi.plb @prvtmap.plb 
@prvtdbv.plb @prvttcv.plb @prvtpbp.plb @prvthpro.plb 
@prvtcov.plb @prvtbdbu.plb @prvtsrv.plb @prvtpool.plb 
@prvtkzxs.plb @prvtkzxp.plb @prvtcrc.plb @prvtrc.plb 
@prvtaq.plb @prvtaqdi.plb @prvtaqxe.plb @prvtaqis.plb 
@prvtaqim.plb @prvtaqad.plb @prvtaq8x.plb @prvtaqin.plb 
@prvtaqal.plb @prvtaqjm.plb @prvtaqmi.plb @prvtaqme.plb 
@prvtaqem.plb @prvtaqip.plb @prvtaqds.plb @prvtsqdi.plb 
@prvtsqds.plb @prvtsqis.plb @prvthm.plb @prvtwlm.plb 
@prvtsqtk.plb @prvtkjhn.plb @prvtir.plb @prvtssb.plb 
@prvttxfm.plb @prvtrmin.plb @prvtrmad.plb @prvtrmpr.plb 
@prvtrmpe.plb @prvtrmge.plb @prvtrmpa.plb @prvtjob.plb 
@prvtbsch.plb @prvtesch.plb @prvtol.plb @prvtoli.plb 
@prvtlm.plb @prvtlmcb.plb @prvtlmrb.plb @prvtlmsb.plb 
@prvtlmeb.plb @prvtwrr_report.plb @prvtwrr.plb @prvtrupg.plb 
@prvtrupgis.plb @prvtlog.plb @prvtcapi.plb @prvtawrv.plb 
@prvtdput.plb @prvtmeta.plb @prvtmeti.plb @prvtmetu.plb 
@prvtmetb.plb @prvtmetd.plb @prvtmet2.plb @prvtbdpi.plb 
@prvtdp.plb @prvtdpmt.plb @prvtbpc.plb @prvtbpci.plb 
@prvtbpw.plb @prvtbpm.plb @prvtbpfi.plb @prvtbpf.plb 
@prvtbpp.plb @prvtbpd.plb @prvtbpdi.plb @prvtbpv.plb 
@prvtbpvi.plb @prvtbsdesc.plb @prvtdpcr.plb @prvtciai.plb 
@prvtplts.plb @prvtpitr.plb @prvtreie.plb @prvtrwee.plb 
@prvtrcmp.plb @prvtchnf.plb @prvtedu.plb @prvtlsby.plb 
@prvtlsib.plb @prvtlssb.plb @prvtsmv.plb @prvtsma.plb 
@prvtbxfr.plb @prvtbord.plb @prvtjdbb.plb @prvtslrt.plb 
@prvtslxp.plb @prvtatsk.plb @prvtmntr.plb @prvtsmgu.plb 
@prvtdadv.plb @prvtadv.plb @prvtmb.plb @prvtawr.plb 
@prvtawrs.plb @prvtawri.plb @prvtumf.plb @prvtumfi.plb 
@prvtash.plb @prvtsqlf.plb @prvtsqls.plb @prvtxplni.plb 
@prvtxpln.plb @prvtsqli.plb @prvtsqlt.plb @prvtai.plb 
@prvtaii.plb @prvtautorepi.plb @prvtautorep.plb @prvtfus.plb 
@prvtfusc.plb @prvtmp.plb @prvthdm.plb @prvtaddm.plb 
@prvtrtaddm.plb @prvt_awr_data_cp.plb @prvtcpaddm.plb @prvtuadv.plb 
@prvtsqlu.plb @prvtspai.plb @prvtspa.plb @prvtratmask.plb 
@prvtspmi.plb @prvtspm.plb @prvtsmbi.plb @prvtsmb.plb 
@prvtwrk.plb @prvtsmaa.plb @prvtstatadvi.plb @prvtstat.plb 
@prvtstai.plb @prvtstatagg.plb @prvtsqld.plb @prvtspcu.plb 
@prvtodm.plb @prvtkcl.plb @prvtdst.plb @prvtcmpr.plb 
@prvtilm.plb @prvtpexei.plb @prvtpexe.plb @prvtfuse.plb 
@prvtfspi.plb @prvtpspi.plb @prvtdnfs.plb @prvtfs.plb 
@prvtadri.plb @prvtadr.plb @prvtadra.plb @prvtds.plb 
@prvtxsrs.plb @prvtsc.plb @prvtacl.plb @prvtns.plb 
@prvtdiag.plb @prvtkzrxu.plb @prvtnacl.plb @prvtredacta.plb 
@prvtappcon.plb @prvtpdb.plb @prvttlog.plb @prvtsqll.plb 
@prvtappcont.plb @prvtspd.plb @prvtspdi.plb @prvtpprof.plb 
@prvtsqlm.plb @prvtpart.plb @prvtrupgib.plb @prvtpstdy.plb 
@prvttsdp.plb @prvtscnc.plb @prvtinmem.plb @prvtdbcomp.plb 
@prvtapre.plb @prvtinmemadmin.plb @prvttf.plb @prvtkubsagt.plb 
@prvthadoop.plb @prvtbdcluacc.plb @prvthmgr.plb @prvtaudutl.plb 
@prvtrsa.plb @prvtbisagt.plb @prvtbisutl.plb @prvtprocess.plb 
@prvtpq.plb @prvtaclsrv.plb @prvtbgg.plb @prvttns.plb 
@prvtbggei.plb

[phase 36] type is 1 with 1 Files

ora_load_with_comp.sql

[phase 37] type is 1 with 1 Files

ora_restart.sql

[phase 38] type is 1 with 6 Files

@catfusrg.sql @prvtmemoptimize.plb @prvtmemoptimizeadmin.plb @prvtsqlci.plb 
@prvtsqlqi.plb @prvtsqlq.plb

[phase 39] type is 1 with 1 Files

ora_restart.sql

[phase 40] type is 1 with 3 Files

@catmetinsert.sql @catpcnfg.sql @catdph.sql

[phase 41] type is 1 with 1 Files

ora_restart.sql

[phase 42] type is 2 with 13 Files

@catmetgrant2.sql @execemx.sql @execcr.sql @caths.sql 
@catemini.sql @execaq.sql @execsvrm.sql @exechae.sql 
@execsec.sql @execbsln.sql @dbmspump.sql @olappl.sql 
@execrep.sql

[phase 43] type is 1 with 1 Files

ora_restart.sql

[phase 44] type is 2 with 11 Files

@execstr.sql @execsvr.sql @execstat.sql @execsmb.sql 
@catsnmp.sql @wpiutil.sql @owainst.sql @catilmini.sql 
@execocm.sql @exectsdp.sql @execqopi.sql

[phase 45] type is 1 with 1 Files

ora_restart.sql

[phase 46] type is 2 with 3 Files

@execrsa.plb @execschlb.plb @execpdb.sql

[phase 47] type is 1 with 1 Files

ora_restart.sql

[phase 48] type is 1 with 1 Files

@catpend.sql

[phase 49] type is 1 with 1 Files

ora_restart.sql

[phase 50] type is 1 with 1 Files

@catupprc.sql

[phase 51] type is 1 with 1 Files

@cmpupstr.sql

[phase 52] type is 1 with 1 Files

ora_restart.sql

[phase 53] type is 1 with 2 Files

@cmpupjav.sql @cmpupnjv.sql

[phase 54] type is 1 with 1 Files

ora_restart.sql

[phase 55] type is 1 with 0 Files


[phase 56] type is 1 with 3 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbustr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbuo.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbus.sql

[phase 57] type is 1 with 3 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmlt.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmlu.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmld.sql

[phase 58] type is 2 with 10 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmlp.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxtbix.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxidx.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catsodaview.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbpi.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxsch.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxres.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbz.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbutil.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdb0.plb

[phase 59] type is 2 with 25 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdb.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxutil.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxrc.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbc.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdba.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxreg.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxschlsb.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxlsb.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbrepos.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxtr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxidx.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxvr.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmls.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbh.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbdt.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxslp.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdr0.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxev.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdz0.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsch0.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsjson.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodacoll.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodadom.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodautil.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodapls.sql

[phase 60] type is 1 with 4 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbv.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catvxutil.sql


[phase 61] type is 1 with 1 Files

ora_load_without_comp.sql

[phase 62] type is 1 with 32 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsch.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbr.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxslp.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbz.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmlt.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxutil.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxrc.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxres.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbdl.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtcsx.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdb.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdba.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxreg.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbp.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxschlsb.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxlsb.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbrepos.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxev.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxtr.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxidx.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmlstreams.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmld.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmlp.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsch.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsfsclient.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxschnpb.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtjson.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodautil.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodadml.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodacoll.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodadom.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodapls.plb


[phase 63] type is 1 with 1 Files

ora_load_with_comp.sql

[phase 64] type is 2 with 6 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbpv.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbeo.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbinstd.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbapp.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbdl.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbz1.sql

[phase 65] type is 1 with 2 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catmetx.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbloadend.sql

[phase 66] type is 1 with 3 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbud.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xrdupgrd.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbuend.sql

[phase 67] type is 1 with 1 Files

ora_restart.sql

[phase 68] type is 1 with 0 Files


[phase 69] type is 1 with 1 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupstrt.sql

[phase 70] type is 2 with 2 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imclnjav.sql -CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupmain.sql

[phase 71] type is 1 with 1 Files

ora_restart.sql

[phase 72] type is 2 with 2 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imuprun.sql -CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imuploc.sql

[phase 73] type is 1 with 2 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupend.sql @cmpupord.sql

[phase 74] type is 1 with 1 Files

ora_restart.sql

[phase 75] type is 1 with 0 Files


[phase 76] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrdh.sql

[phase 77] type is 1 with 2 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdh.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/mdprivs.sql

[phase 78] type is 1 with 1 Files

ora_restart.sql

[phase 79] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloch.sql

[phase 80] type is 1 with 1 Files

ora_restart.sql

[phase 81] type is 2 with 3 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdlocp1.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdlocp2.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdlocj.sql

[phase 82] type is 1 with 1 Files

ora_restart.sql

[phase 83] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloct.sql

[phase 84] type is 1 with 1 Files

ora_restart.sql

[phase 85] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdoh.sql

[phase 86] type is 1 with 1 Files

ora_restart.sql

[phase 87] type is 2 with 4 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop1.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop2.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop3.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop4.sql


[phase 88] type is 1 with 1 Files

ora_restart.sql

[phase 89] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdot.sql

[phase 90] type is 1 with 1 Files

ora_restart.sql

[phase 91] type is 1 with 2 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdt.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrdt.sql

[phase 92] type is 1 with 1 Files

ora_restart.sql

[phase 93] type is 1 with 1 Files

@cmpupsdo.sql

[phase 94] type is 1 with 1 Files

ora_restart.sql

[phase 95] type is 1 with 1 Files

@cmpupmsc.sql

[phase 96] type is 1 with 1 Files

ora_restart.sql

[phase 97] type is 1 with 1 Files

@cmpupend.sql

[phase 98] type is 1 with 1 Files

@catupend.sql

[phase 99] type is 1 with 1 Files

@catmmig.sql

[phase 100] type is 1 with 1 Files

@catappupgend.sql

[phase 101] type is 1 with 1 Files

@catshutdownpdb.sql

[phase 102] type is 1 with 1 Files

@catshutdown.sql

[phase 103] type is 1 with 1 Files

@catuppst.sql

[phase 104] type is 1 with 1 Files

@catresults.sql

[phase 105] type is 1 with 1 Files

@catappupgend.sql

[phase 106] type is 1 with 1 Files

@catshutdownpdb.sql

[phase 107] type is 1 with 1 Files

@catshutdown.sql

Total Number of Phases: 108

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

AutoUpgrade with Source and Target Database Homes on Same Server – 19c New Feature

DB Upgrade using AutoUpgrade tool:

It is a feature that is enhanced in oracle 19c and it is mainly used to automate the upgrade process.it not only automates the database upgrade but also performs the pre-upgrade steps and the post upgrade steps automatically.it just simplifies the upgrade activity, previously we have to use dbua/manual method/datapump methods to upgrade the database now we can upgrade the number of databases using AutoUpgrade utility within the short span of time.

Note :   If you are doing AutoUpgrade on same server it is not necessary to run the upgrade mode you can stop with the deploy mode, our database will be upgraded.

On the other hand if you are performing AutoUpgrade on different servers it is necessary to run all the mode till upgrade mode.(i.e. analyze, fixups, deploy, upgrade)

AutoUpgrade is available for Oracle Database Enterprise Edition, and Oracle Database Standard Edition. It is not available for Oracle Database Express Edition.

AutoUpgrade Support is available for Oracle Database 12c Release 2 (12.2) and Oracle Database 18c (18.5) target homes. For both Oracle Database 12c Release 2 (12.2) and Oracle Database 18c (18.5) target homes.

Advantages of AutoUpgrade Utility:

  • Time saving method (completes the upgrade in a short time)
  • can upgrade multiple Oracle Database deployments at the same time, using a single configuration file, customized as needed for each database deployment.
  • preventing the issues before upgrade.
  • It automatically performs the preupgrade and post upgrade steps/checks.

AUTOUPGRADE PROCESSING MODES:

Generally AutoUpgrade processes in four modes, they are ,

  • Analyze

It performs a read only pre-upgrade analysis of databases before upgrade and detects any issues which may prevent the successful completion of upgradation.it should be run in the source database like normal operations.

  • Fixups

In Fixups mode it checks the same as it have done in the analyze mode, so that it can identify issues that require fixing. In Fixup Mode, the AutoUpgrade utility detects and identifies both fixes that require manual intervention and AutoUpgrade utility can clear the fix during upgrade.

  • Deploy

In deploy mode it confirms that our database has been successfully upgraded and it copies the sqlnet.ora, listener.ora, tnsnames.ora from source to target home.

  • Upgrade

An upgrade completes with either deploy or upgrade, after this we can run our post upgrade checks.in this we can run our custom scripts on the upgraded databases in accordance with the configuration file that we have created. After this the upgraded oracle database starts with a new oracle home.

AutoUpgrade utility jobs pass through a series of phases, called stages, during which specific actions are performed.

AutoUpgrade has the following stages,

SETUP
PREUPGRADE
PRECHECKS
GRP
PREFIXUPS
DRAIN
DBUPGRADE
POSTCHECKS
POSTFIXUPS
POSTUPGRADE

Overview steps:

Step:1 Check for the autoupgrade.jar file version which is already present in the database.($ORACLE_HOME/rdbms/admin/preupgrade.jar)

Step:2 Then we have to download the latest autoupgrade.jar version and then we have to share the file in /home/oracle location and check the version of the file.

Step:3 Our database which we are going to upgrade must be in archivelog mode and flashback should be enabled.

Step:4 Create a configuration file which consists of source Sid, log directory, start time of the upgrade, target home, source db version.

Step:5 Once we run the analyze mode it checks for any issues and also it analyses the source database, it will estimate the time when the upgrade will get completed, jobs that are running, status of the jobs ,once it is completed without any error we can run the fixups mode here also the same it detects and fixes the bugs that is either by manual or bugs that is fixed automatically during upgrade.

Step:6 After this the next stage is deploy and upgrade both are same which upgrades our database, it confirms that our database is upgraded successfully. here it transfers the listener.ora, tnsnames.ora files from source home to target’s home. Then we can start our upgraded database in the new oracle home.

Step:7 Then check time zone version of upgraded database.

Step:1 Check for the autoupgrade.jar version which is already present. The autoupgrade.jar file is available in the Oracle 19c database software in the $ORACLE_HOME/rdbms/admin directory.

Step:2 Then download the latest version of autoupgrade.jar from the MOS note 2485457.1

Step:3 Create the configuration files containing the parameters where the logs should be stored, dbid, database name to be upgraded, source and target version home.

Step:4 Enable the archive log mode in the database which is to be upgraded.

Step:5 Analyze the database to be upgraded using the analyze mode and fixups the issues by running fixups mode.

There are three main commands in this upgrade to check the status of the upgrade.

lsj       –   list the jobs which are running.

tasks  –  to see the tasks of the jobs and their status.

status – it gives an overall summary of the upgrade, here we can see the no of container and non-container databases, job finished successfully, job aborted and jobs which are in progress state.

Other than these there are some commands which helps you to perform the AutoUpgrade in a better way.

Running  Analyze mode:

Please find the detailed logfiles mentioned below.

prechecks_hongkong.log

hongkong_checklist.log

Running fixups mode:

Please find the detailed logfiles mentioned below.

prefixups_hongkong.log

hongkong_preupgrade.log

Step:6 After these above steps are completed successfully we can proceed the upgrade process using deploy and upgrade modes.

Running deploy mode:

Our database is upgraded successfully from 12c to 19c using AutoUpgrade tool.

Please find the detailed logfiles mentioned below.

drain_hongkong.log

autoupgrade_20210309.log

autoupgrade_20210309_user.log

Here I am checking whether database is upgraded or not by running the 19c environment file and logging in to the database and also verify the name, open mode and timezone version.


Please find the detailed logfiles mentioned below.

postchecks_hongkong.log

postfixups_hongkong.log

postupgrade.log

The below mentioned logfiles contains the overall summary for AutoUpgrade.

upg_summary.log

cat phase.log

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8