前往小程序,Get更优阅读体验!
立即前往
发布
社区首页 >专栏 >Windows下非RAC环境中数据库启动或者关闭可能hang住,那恭喜了,可能是其他程序占用着61xxx端口

Windows下非RAC环境中数据库启动或者关闭可能hang住,那恭喜了,可能是其他程序占用着61xxx端口

作者头像
Yunjie Ge
发布2024-07-04 12:55:11
发布2024-07-04 12:55:11
1180
举报
文章被收录于专栏:数据库与编程数据库与编程

Database startup or shutdown may hang if another application uses TCP port 61xxx in Windows Non-RAC Env (Doc ID 2632767.1)

APPLIES TO:Oracle Database - Standard Edition - Version 12.1.0.1 and later

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later Microsoft Windows x64 (64-bit)

SYMPTOMS

In a Windows non-RAC (single instance) environment, if the 61xxx port is blocked by another application which does not reject or respond to connections, start or stop of the database may hang.

This issue may be seen on release 12c or later.

CAUSE

When starting or stopping the database, oracle server attempts to communicate with the local clusterware stack, regardless of whether RAC is used or not.

On Windows platform, oracle clusterware processes use TCP protocol on pre-defined ports at 61xxx to listen to the requests from clients. In a non-RAC environment, there are no clusterware processes, but oracle server will still attempt to communicate with the clusterware. Usually this works fine, as the connection will immediately fail and server will continue to startup. However, the ports at 61xxx are available to be used by any process, so if another application occupies that port and does not return a reponse to TCP connections, it may cause the oracle server thread to hang.

SOLUTION

Run the following commands to configure exclusion of the 61xxx port range.

netsh int ipv4 add excludedportrange protocol=tcp startport=61000 numberofports=1000 netsh int ipv4 add excludedportrange protocol=udp startport=61000 numberofports=1000

Or

Configure the other applications so that port 61xxx are not used.

REFERENCES

NOTE:2412631.1 - RAC on Windows: We recommend the exclusion of the 61xxx port for RAC on Windows . NOTE:2246758.1 - Failed Logon Delay Causing Performance Hit

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2024-06-30,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 山东Oracle用户组 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • APPLIES TO:Oracle Database - Standard Edition - Version 12.1.0.1 and later
  • SYMPTOMS
  • CAUSE
  • SOLUTION
  • REFERENCES
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档