ORA-30952: illegal configuration of HTTP/HTTPS in xdbconfig.xml ORACLE 报错 故障修复 远程处理

文档解释

ORA-30952: illegal configuration of http/HTTPS in xdbconfig.xml

Cause: An attempt was made to update xdbconfig.xml when either 1) a value was specified for http2-port but not for http2-protocol (or vice versa), OR 2) http-port and http2-port were set to the same value.

Action: Specify values for both elements http2-port and http2-protocol, AND set different values for http-port and http2-port.

ORA-30952: illegal configuration of HTTP/HTTPS in xdbconfig.xml 这是一个Oracle Database错误,表明在使用XML DB配置文件xdbconfig.xml时检测出非法的HTTP/HTTPS配置。

官方解释

“ORA-30952:非法的HTTP / HTTPS配置:检测到无效的服务器名称或端口。”

常见案例

有时在xdbconfig.xml中配置的URL不是完整URL,比如仅包含主机名而不包含协议头(HTTP或HTTPS),或者使用了https://localhost,而不是https://127.0.0.1,这样就会导致“ORA-30952:非法的HTTP / HTTPS配置”的错误。

一般处理方法及步骤

1.定位xdbconfig.xml文件,将其编辑,找到HTTP / HTTPS配置

2.检查配置,确保使用正确、有效的URL,并使用正确的协议头,且端口号正确

3.保存文件

4.重新启动服务以启用修改

香港美国云服务器首选后浪云,2H2G首月10元开通。
后浪云(www.IDC.Net)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。

THE END