请各位高手帮帮忙

[复制链接]
查看11 | 回复8 | 2006-9-7 10:14:43 | 显示全部楼层 |阅读模式
近期发现定期每日两次的正式库备份经常失效,提示tns: connnect timeout。
EXP-00056: ORACLE error 12170 encountered
ORA-12170: TNS:Connect timeout occurred
EXP-00000: Export terminated unsuccessfully。

这个会是oracle内部参数设置的么?我感觉是网络问题!
[php]
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE
10.2.0.3.0
Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - Productio
NLSRTL Version 10.2.0.3.0 - Production
SQL>
[/php]
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
ORA-12170: TNS:Connect timeout occurred
Cause: The server shut down because connection establishment or communication with a client failed to complete within the allotted time interval. This may be a result of network or system delays; or this may indicate that a malicious client is trying to cause a Denial of Service attack on the server.
Action: If the error occurred because of a slow network or system, reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT, SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values. If a malicious client is suspected, use the address in sqlnet.log to identify the source and restrict access. Note that logged addresses may not be reliable as they can be forged (e.g. in TCP/IP).
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
多谢!
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
高手,我都看了sqlnet没有这些参数啊!
怎么配置,应该设置多大?按上面说的有安全隐患了
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
SQLNET.INBOUND_CONNECT_TIMEOUT=0
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
最初由 howard_zhang 发布
[B]SQLNET.INBOUND_CONNECT_TIMEOUT=0 [/B]

那么如何指定某几个ip可以访问数据库呢??
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
你是本地做exp还是远程一台机子连接过来做exp?
如果是本地则完全没必要再做网络连接
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
当然不是本地库了!
会不会是防火墙的安全策略?
回复

使用道具 举报

千问 | 2006-9-7 10:14:43 | 显示全部楼层
最初由 hanjs 发布
[B]当然不是本地库了!
会不会是防火墙的安全策略? [/B]

既然这样那我觉得你要先确认下手工执行有没有问题?
如果手工执行没有问题那么会不会是设置上没有设好?比如shell的环境变量什么的,都可能会有影响
当然防火墙什么的最好也检查一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行