发生问题的环境:
centos7.9 上安装在2个独立linux用户下的 oracle 11.2.0.4
2个独立linux用户分别是 oracle(oracle组)、oracle11g(oracle11g组)
现在,只在oracle用户下启动监听,可以发现2个用户下的实例都可以成功注册到监听中
but
属于oracle11g的监听服务,根本无法从远程访问!!!
问题:
[oracle11g@localhost admin]$ oerr ora 12516
12516, 00000, "TNS:listener could not find available handler with matching protocol stack"
// *Cause: None of the known and available service handlers for the given
// SERVICE_NAME support the client's protocol stack: transport, session,
// and presentation protocols.
// *Action: Check to make sure that the service handlers (e.g. dispatchers)
// for the given SERVICE_NAME are registered with the listener, are accepting
// connections, and that they are properly configured to support the desired
// protocols.
[oracle11g@localhost admin]$
分析过程:
从Oracle自己的文档内只是大概知道是tns协议、端口、甚至oracle服务器的会话数可能出问题了。
网上的资料也都是这几方面的内容。
但对于我的环境来说仍然无法解决问题。
艰难的分析解决: