Skip to content
  • About
Search
Close

Geodata Master

Oracle Database Technical Articles & GeoSpatial Data Technology

Tag: SEC_CASE_SENSITIVE_LOGON

Upgrading Oracle database from 12cR1 to 12cR2 in Windows Environment

April 2, 2017 arcsdegeoLeave a comment

When installing Oracle 12cR2 binaries there are 2 methods:

  • Interactive instillation method using OUI
  • Silent Instillation using Response File

Here I am going to choose option 1 which using OUI GUI

After installing the zip file from Oracle website, unzip it and run setup.exe file

img1

 

Then choose “Next”:

 

img2

 

Choose “Yes”

 

img3

Here I am going to choose “Upgrade an existing database” option

img4

I will choose “Enterprise Edition”

img11

 

img12

 

To explain these options:

In previous release you didn’t have option number one which is “virtual account” option. The virtual account is a feature that has been introduced since windows releases (Windows 7 & Windows Server 2008 R2).

Option1: Virtual accounts are locally managed accounts that has No password management requirement, and the ability to access, Oracle is recommending to use it so….use it especially for fresh new database creation.

Option2: using existing account which is a managed active directory domain account created by Active Directory Administrators.

Option3: is for creating a new local windows server account and setting the password for it.

Option4: is the built in SYSTEM windows account, which is not preferred option for security reasons.

 

*** Warning: if you are upgrading an already existing database, then use the service account you have already configured previously. This what i am going to choose in my illustration and practice. Otherwise you will face the below error when using “virtual account” option:

error virtual account

To continue…

img

 

choose “install”

img1

 

img2

img3

specify the service account and password:

img4

Pre-upgrade check will be running

prerequisite check

 

DBUA error

Here I am facing 2 problems that I need to resolve:

  1. The deprecated initialization parameter SEC_CASE_SENSITIVE_LOGON is currently set to FALSE, either remove this parameter from your init.ora file (located under your ORACLE_HOME/dbs directory) or set it TRUE.
  2.  Purge recycle bin for the CDB$ROOT, and for each pluggable databases in your multitenant environment using the SQL command:

SQL> purge dba_recylebin;

After fixing the errors, we can proceed as shown below:

DBUA No errors

 

DBUA 2-2

 

In case of upgrade failure, I have chosen “RMAN” technique for restore, you can use “flash back”if you prefer but you need to make sure you have set flash recovery area in your init.ORA:

DBUA - backup

 

DBUA - listener

DBUA - EM

 

DBUA - upgrade

UPGRADE FINISHES

UPGRADE FINISHES SUCESS

Verifying by querying v$version view:

vversion

 

And that’s it …. Good Luck.

 

 

 

 

 

 

 

 

 

Blog Stats

  • 654,184 hits

Recent Posts

  • How to View/List All ORA-XXXX Errors in your Oracle Database System
  • Oracle Database Immutable Tables
  • Oracle datapump error ORA-39077: unable to subscribe agent KUPC$A_1_083325450472000
  • Oracle 19c Upgrade Error ORA-00119: invalid specification for system parameter DISPATCHERS
  • Oracle 21c New Feature in SQL*Plus – set jsonprint
Follow Geodata Master on WordPress.com

Top Posts & Pages

  • Performing Import Data Pump with EXCLUDE=STATISTICS
  • Oracle PDB and when is DAPTATCH required to be executed
  • ORA-00904: "ACDRROWTSINTCOL#
  • RMAN List Backup Summary command
  • set define off and '&' in your SQL Code
  • Automate Startup/Shutdown Of Oracle Database 12cR2 in Linux Red Hat
  • Oracle Database Product Life Cycle Support 19c,18c, 12cR2 Long Term & Innovation Releases !
  • ORA-00283: recovery session canceled due to errors for standby database
  • Oracle Database In-Memory Base Level Feature in Oracle 19c
  • export data pump errors ORA-39014 ORA-39029 ORA-31671 ORA-04030

Archives

  • June 2022
  • May 2022
  • March 2022
  • February 2022
  • January 2022
  • October 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • April 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013

Recent Comments

Oracle Database Immu… on Oracle Database 19c Blockchain…
Rajesh on Oracle Database java component…
Oracle database Unif… on Exploring Oracle 12c Unified…
Bud on Oracle 21c New Feature in SQL*…
ChenAIQ on datapatch errors while Patchin…

Search in my blog

Follow Geodata Master on WordPress.com

Top Posts & Pages

  • Performing Import Data Pump with EXCLUDE=STATISTICS
  • Oracle PDB and when is DAPTATCH required to be executed
  • ORA-00904: "ACDRROWTSINTCOL#
  • RMAN List Backup Summary command
  • set define off and '&' in your SQL Code
  • Automate Startup/Shutdown Of Oracle Database 12cR2 in Linux Red Hat
  • Oracle Database Product Life Cycle Support 19c,18c, 12cR2 Long Term & Innovation Releases !
  • ORA-00283: recovery session canceled due to errors for standby database
  • Oracle Database In-Memory Base Level Feature in Oracle 19c
  • export data pump errors ORA-39014 ORA-39029 ORA-31671 ORA-04030

Blog Stats

  • 654,184 hits

Archives

  • June 2022
  • May 2022
  • March 2022
  • February 2022
  • January 2022
  • October 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • April 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
Blog at WordPress.com.
Back to top
  • Follow Following
    • Geodata Master
    • Join 27 other followers
    • Already have a WordPress.com account? Log in now.
    • Geodata Master
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...