简体   繁体   English

在 Windows 7 上安装 Oracle 19c 服务器

[英]Installing Oracle 19c server on Windows 7

I was having a problem after migrating my Database from 11.2.0.4 to 19c using dbua.使用 dbua 将我的数据库从 11.2.0.4 迁移到 19c 后,我遇到了问题。

The migration process using dbua is smooth and successful except for migrating the TNS listener.使用 dbua 的迁移过程除了迁移 TNS 监听器之外是顺利且成功的。 I finally migrate the database without the listener and aims to create another listener after the migration.我最终在没有监听器的情况下迁移了数据库,并打算在迁移后创建另一个监听器。

I followed the instructions in "Net Configuration Assistant" to create a listener with the default port (1521).我按照“网络配置助手”中的说明创建了一个默认端口(1521)的监听器。 The listener is created successfully.监听器创建成功。

When I tried to start the newly created listener service, the following error is shown in the log,当我尝试启动新创建的侦听器服务时,日志中显示以下错误,

Error listening on: (ADDRESS=(PROTOCOL=ipc))
TNS-01191: Failed to initialize the local OS authentication subsystem
 TNS-12557: TNS:protocol adapter not loadable
  TNS-12560: TNS:protocol adapter error
   TNS-00527: Protocol Adapter not loadable

I did some research about the error TNS-01191 and I had already updated the environment variables "PATH" with the new Oracle home bin directory.我对错误 TNS-01191 进行了一些研究,并且已经使用新的 Oracle 主 bin 目录更新了环境变量“PATH”。

May I know if anyone had installed Oracle 19c on Windows 7 and configured the TNS listener successfully?请问是否有人在Windows 7上安装过Oracle 19c并成功配置了TNS监听器?

FYI, the tnsnames.ora仅供参考,tnsnames.ora

# Generated by Oracle configuration tools.

ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )

The listener.ora听者.ora

# Generated by Oracle configuration tools.

SID_LIST_LISTENERFORSD =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = <ORACLE_HOME_MASKING>)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:<ORACLE_HOME_MASKING>\bin\oraclr19.dll")
    )
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = <ORACLE_HOME_MASKING>)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:<ORACLE_HOME_MASKING>\bin\oraclr19.dll")
    )
  )

<LISTENER_NAME_MASKING> =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = <HOSTNAME_MASKING>)(PORT = 1521))
    )
  )

Windows 7 is not a supported operating system for Oracle 19c . Windows 7 不是Oracle 19c 支持的操作系统

The documentation states that it is only supported for these versions of Windows:该文档指出,它仅支持这些版本的 Windows:

Windows 8.1 x64 - Pro and Enterprise editions Windows 8.1 x64 - 专业版和企业版

Windows 10 x64 - Pro, Enterprise, and Education editions Windows 10 x64 - 专业版、企业版和教育版

Windows Server 2012 R2 x64 - Standard, Datacenter, Essentials, and Foundation editions Windows Server 2012 R2 x64 - 标准版、数据中心版、基础版和基础版

Windows Server 2016 x64 - Standard, Datacenter, and Essentials editions Windows Server 2016 x64 - Standard、Datacenter 和 Essentials 版本

Windows Server 2019 x64 - Standard, Datacenter, and Essentials editions Windows Server 2019 x64 - Standard、Datacenter 和 Essentials 版本

Even if you are able to get the listener functioning, you will likely recieve other errors with normal database usage that will just cause more headaches in the future which is why it is very strongly NOT RECOMMENDED to install Oracle on an unsupported operating system.即使您能够使侦听器正常运行,您也可能会在正常使用数据库时收到其他错误,这些错误只会在将来引起更多麻烦,这就是为什么强烈不建议在不受支持的操作系统上安装 Oracle 的原因。

Windows 7 is not a supported operating system, period . Windows 7 不是受支持的操作系统,句点

Ditch it and re-install this on a current, "server" flavour of Windows.放弃它并在当前的“服务器”风格的 Windows 上重新安装它。

(Showing my age, here, but ...) (显示我的年龄,在这里,但是......)
The sleeve notes from the original "Tubular Bells" album seems oddly relevant here:来自原始“Tubular Bells”专辑的袖子注释在这里似乎很奇怪

In Glorious Stereophonic Sound: Can also be played on mono equipment at a pinch.在 Glorious Stereophonic Sound 中:也可以在紧要关头在单声道设备上播放。
This stereo record cannot be played on old tin boxes no matter what they are fitted with.无论装有什么旧锡盒,都无法播放此立体声唱片。 If you are in possession of such equipment please hand it into the nearest police station.如果您拥有此类设备,请将其交给最近的警察局。

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

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