Forum Stats

  • 3,827,144 Users
  • 2,260,745 Discussions
  • 7,897,182 Comments

Discussions

Unable to deinstall Oracle 19c Client from Win Server 2019 in EC2 AWS Cloud

User_57C0V
User_57C0V Member Posts: 39 Blue Ribbon

Hi, everyone,

I am having difficulty deinstalling Oracle 19c 64 bit Client from an EC2 AWS Cloud Windows Server 2019. Universal deinstall runs and reports the following error in deinstal***.err file:

<Start of Error>

####################### DEINSTALL CLEAN OPERATION SUMMARY #######################

Oracle Universal Installer cleanup completed with errors.


Review the permissions and contents of 'C:\oracle' on nodes(s) 'VCAOHV1020117Q'.

If there are no Oracle home(s) associated with 'C:\oracle', manually delete 'C:\oracle' and its contents.

Oracle deinstall tool successfully cleaned up temporary directories.

######################################################################

oracle.sysman.oii.oiil.OiilNativeException: PermissionDenied

at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegCreateKey(Native Method)

at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegCreateKey(OiipwWin32NativeCalls.java:477)

at oracle.install.db.deinstall.core.CheckInstall.createOracleKey(CheckInstall.java:1289)

at oracle.install.db.deinstall.core.CheckInstall.checkConfig(CheckInstall.java:1266)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at oracle.install.db.deinstall.wrapper.Deinstall.callCheckImpl(Deinstall.java:1449)

at oracle.install.db.deinstall.wrapper.Deinstall.main(Deinstall.java:732)

Logger.addFileHandler:Error while adding file handler - C:\Program Files\Oracle\Inventory\logs\Cleanup2022-04-09_12-59-21PM.log

java.io.FileNotFoundException: C:\Program Files\Oracle\Inventory\logs\Cleanup2022-04-09_12-59-21PM.log (Access is denied)

<End of Error>

Funny...while adding this post i was able to "fix" it by simply remembering that cmd console needs to be run in Admin mode to execure \deinstal\deinstall.bat ;-). Decided to follow thru with this post and error in case anyone else makes same mistake.

Cheers,

Sergei Z

Answers