ORA-02708: osnrntab: connect to host failed, unknown ORACLE_SID ORACLE 报错 故障修复 远程处理

文档解释

ORA-02708: osnrntab: connect to host failed, unknown ORACLE_SID

Cause: The invoked Unix two-task driver failed to find an entry in oratab for the sid you supplied.

Action: First, check whether you have read access to oratab, and see if the desired sid is there. Add an entry to oratab for the desired sid, if necessary.

ORA-02708是Oracle数据库管理(DBMS)出现的错误消息,该错误消息表明无法连接发出请求的主机,原因是未知的ORACLE_SID。

官方解释

ORA-02708: osnrntab: connection to host failed, unknown ORACLE_SID

Cause: There is no ORACLE SID in the osnrntab file corresponding to the one requested.

Action: Check that the requested SID is correctly given in the osnrntab file on the remote node.

常见案例

此错误是由于在osnrntab文件中未定义ORACLE_SID所致,可能是您ORACLE_SID不正确或丢失。

正常处理方法及步骤

1.更改工作目录为ORACLE_HOME/network/admin。

2.检查osnrntab文件以验证ORACLE_SID是否正确定义。

3.重新加载配置文件$ORACLE_HOME/network/admin/listener.ora以确保osnrntab中的更改被应用。

4.重新启动服务器程序,并使用lsnrctl start 命令启动Listener服务器。

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

THE END