oracle bin 权限问题,ORA-16664,ORA-16625,TNS-12537- bin/oracle命令权限有关问题导致DGMGRL报错...

ORA-16664,ORA-16625,TNS-12537- bin/oracle命令权限问题导致DGMGRL报错

1.1.   ORA-16664,ORA-16625,TNS-12537

主库:

16664, 0000, "unable to receive theresult from a database"

// *Cause: During execution of a command, a databasein the Data Guard

//         broker configuration failed to return a result.

// *Action: Check Data Guard broker logsfor the details of the failure.

//         Ensure network communication is working properly amongst the

//         members of the configuration. Fix any possible network problems

//         and reissue the command.

备库:

16625, 0000, "cannot reach database\"%s\""

// *Cause: The command could not be executed becausethe database noted

//         in the error text was not reachable from the database where

//         the command was issued.

// *Action: See accompanying messages formore information. Check the network

//         connections to the specified database. Alternatively, connect to

//         a different database in the Data Guard broker configuration and

//         retry the command.

主/备库:

12537, 00000, "TNS:connectionclosed"

// *Cause: "End of file"condition has been reached; partner has disconnected.

// *Action: None needed; this is aninformation message.

【报错信息】

主库上DGMGRL查看DG信息:

DGMGRL> show configuration;

Databases:

........

sorcldb- Physical standby database

Error: ORA-16664: unable to receive the result from a database

......

Configuration Status:

ERROR

主库上DGMGRL查看备库信息:

Database Status:

DGM-17016: failed to retrieve status fordatabase "sorcldb"

ORA-16664: unable to receive the resultfrom a database

主库的drcorcldb.log日志:

03/30/2014 17:23:03

Site sorcldb returned ORA-16664.

Data Guard Broker Status Summary:

Type                        Name           Severity  Status

Configuration               orcl_dg       Warning  ORA-16607

Primary Database            orcldb        Success  ORA-00000

Physical Standby Database   sorcldb         Error     ORA-16664

备库上DGMGRL查看DG信息:

DGMGRL> show configuration;

Configuration Status:

ORA-12537: TNS:connection closed

ORA-16625: cannot reach database "orcldb"

DGM-17017: unable to determineconfiguration status

备库上DGMGRL查看主库信息:

DGMGRL> show database verbose orcldb;

Database Status:

DGM-17016: failed to retrieve status fordatabase "orcldb"

ORA-12537: TNS:connection closed

ORA-16625: cannot reach database "orcldb"

备库的drcorcldb.log日志:

03/30/2014 17:21:07

Failed to connect to remote database orcldb.Error is ORA-12537

Failed to send message to site orcldb.Error code is ORA-12537.

【解决方法】

修改$ORACLE_HOME/bin/oracle文件的权限。

修改之前的权限:

[oracle@orclbin]$ ls -l oracle

-rwxr-x--x1 oracle oinstall 232399083 May 12  2013oracle

修改之后的权限:

[oracle@orclbin]$ chmod 6751 oracle

[oracle@orclbin]$ ls -l oracle

-rwsr-s--x1 oracle oinstall 232399083 May 12  2013oracle

【问题原因】

未知。服务器发生过外部电源断电故障,但是修改完bin/oracle文件权限之后,尝试了reboot服务器,没有发生异常。

【参考信息】

1. Check and correct the permission on/var/tmp/.oracle directory. Permissions on this directory should be 777 withsticky bit set.

# chmod 01777 /var/tmp/.oracle

2. Check and correct permissions on$ORACLE_HOME/bin/oracle binary and make sure that it is set to 6751.

$ chmod 6751 $ORACLE_HOME/bin/oracle

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值