简体   繁体   English

我无法安装 oracle 12c R2 [20802]

[英]I cant install oracle 12c R2 [20802]

I can't install Oracle Database, because I have error我无法安装 Oracle 数据库,因为我有错误

[INS-20802] Oracle Database Configuration Assistant failed

I already tried:我已经尝试过:

  1. disable UAC禁用 UAC
  2. Disable antivirus禁用防病毒软件
  3. Install Microsft vc 2010 x32安装 Microsft vc 2010 x32
  4. editing localhsot编辑本地人
  5. root for perl.exe perl.exe 的根目录

Appreciate if someone can help me!感谢有人可以帮助我!

Look into your %Program Files%\\Oracle\\Inventory\\logs where you will find the reason for error.查看您的 %Program Files%\\Oracle\\Inventory\\logs,您将在其中找到错误原因。

I also encountered similar problem where I installed Oracle 18c XE ,我在安装Oracle 18c XE 时也遇到了类似的问题,

Oracle Database 18c we are introduced to a new concept: Image Based Installation. Oracle Database 18c 引入了一个新概念:基于映像的安装。

In Image Based Installation the Oracle Universal Installer of 18c takes the location of our setup.exe file and assigns it as its db_home location.在基于映像的安装中,18c 的 Oracle Universal Installer 获取我们的 setup.exe 文件的位置,并将其指定为其 db_home 位置。 That's why before we start extracting the content of this file, we first need to decide where we want to create our db_home directory.这就是为什么在我们开始提取这个文件的内容之前,我们首先需要决定我们想要在哪里创建我们的 db_home 目录。

Mistake I made was I had the setup.exe in D://drive and for others location left as default(which is C:/ drive)我犯的错误是我在 D://drive 中有 setup.exe,而其他位置保留为默认值(即 C:/ 驱动器)

Solution:解决方案:

  1. Copy and extract the entire folder which contain setup.exe in C:// Drive.在 C:// 驱动器中复制并解压缩包含 setup.exe 的整个文件夹。
  2. Manually remove all the files in in C:/Program Files/Oracle (including Oracle folder)手动删除 C:/Program Files/Oracle 中的所有文件(包括 Oracle 文件夹)
  3. Run the setup.exe as Administrator以管理员身份运行 setup.exe
  4. Leave the other configuration paths as default将其他配置路径保留为默认值

(Additional : Satisfy following condition when configuring the password (补充:配置密码时满足以下条件

Oracle recommends the following guidelines when prompted for a password.当提示输入密码时,Oracle 建议遵循以下准则。

  • Contains at least one lowercase letter.包含至少一个小写字母。
  • Contains at least one uppercase letter.包含至少一个大写字母。
  • Contains at least one digit.至少包含一位数字。
  • Is at least 8 characters in length.长度至少为 8 个字符。
  • Uses the database character set, which can include the underscore (_), dollar ($), and pound sign (#) characters.使用数据库字符集,其中可以包括下划线 (_)、美元 ($) 和井号 (#) 字符。
  • Should not be an actual word.不应该是一个实际的词。

) )

You can find in your logs:您可以在日志中找到:

SEVERE:  [Jan 18, 2019 4:32:04 PM] [FATAL] [INS-35955] The Database software home 
(C:\ORACLESOURCE) is already registered in the central inventory. This tool can only be 
used in a non-registered Database home.
ACTION: Choose a different location as Oracle home.

Try install Oracle in another directory.尝试在另一个目录中安装 Oracle。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM