oracle共享服务器配置后,无法进行正常的连接,报错ora-28547的解决方法

本文介绍ORA-28547错误的原因及解决办法,通常由于客户端和服务端网络协议不一致引起。文章提供了检查网络配置的具体步骤,并给出了解决方案,包括调整监听器设置和重新注册实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

错误描述: ORA-28547: connection to server failed, probable Net8 admin error Cause: A failure occurred during initialization of a network connection from a client process to the Oracle server: The connection was completed but a disconnect occurred while trying to perform protocol-specific initialization, usually due to use of different network protocols by opposite sides of the connection. This usually is caused by incorrect Net8 administrative setup for database links or external procedure calls. The most frequent specific causes are: -- The connection uses a connect string which refers to a Heterogeneous Services agent instead of an Oracle server. -- The connection uses a connect string which includes an (HS=) specification. Action: Check Net8 administration in the following ways: -- When using TNSNAMES.ORA or an Oracle Names server, make sure that the client connection to the ORACLE server uses the correct service name or SID. -- Check LISTENER.ORA on the connection end point's host machine to assure that this service name or SID refers to the correct server. -- Confirm in TNSNAMES.ORA or the equivalent service definition that the connect string does NOT contain (HS=).

错误原因:监听器用的IP地址在服务器进行监听,调度进程使用的是主机名来注册到服务器的监听器上,那么就会出现这个错误。

解决方法:将监听器监听的主机地址的方式修改为HOSTNAME的方式来监听,重启监听器(lsnrctl stop /lsnrctl start),sys登录oracle实例,重新动态注册实例到监听器(alter system register),方可解决。 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值