背景:linux安装完client,sqlplus远程连接db时报错ORA-21561: 生成 OID 失败
[root@linux01]# sqlplus sys/manager@mesdb
........
ERROR:
ORA-21561: 生成 OID 失败
请输入用户名: ^C
解决方案:在/etc/hosts添加上ip hostname的entry(保持好的习惯,减少错误)
oracle关于OID的解释
CAUSE
This could be caused by not having the host name for the
target database fully qualified in the hosts file.
To verify if you are hitting this issue, the following symptoms should be met: