在日常巡检中发现警告日志中出现如下警告:
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=************)(PORT=1521))
然后进行分析并在mos查找解决方法:
参考note: Doc ID 1628949.1
解决方法:
**RDBMS_HOME/network/admin/sqlnet.ora
SQLNET.EXPIRE_TIME=n Where <n> is a non-zero value set in minutes.
同事更改权限:
chmod 775 listener.ora
chmod 775 sqlnet.ora
确认oracle用户对配置文件的访问权限
vi listener.ora
--添加参数INBOUND_CONNECT_TIMEOUT_LISTENER = 0
--添加参数DIAG_ADR_ENABLED_LISTENER = OFF
vi sqlnet.ora
--添加参数DIAG_ADR_ENABLED = OFF
--添加参数SQLNET.INBOUND_CONNECT_TIMEOUT =0
配置好 之后
lsnrctl
LSNRCTL>reload
LSNRCTL>exit
然后问题解决。
(笔者原创文章,转载请注明出处:https://blog.csdn.net/LFCuiYs)谢谢!