AIX5 RAC另一节点重启后 单一节点挂起

如题 现象如下

oracle@P570A1:[/oracle/app/oracle/crs/log/p570a1]$sqlplus/ as sysdba
 
SQL*Plus: Release 10.2.0.2.0 -Production on Sun Nov 30 11:52:30 2014
 
Copyright (c) 1982, 2005,Oracle.  All Rights Reserved.
 
NFS server 192.16.10.23 notresponding still trying

问题原因:

参见MOS文档 When NFS Server Is Down, Oracle Server Freezes With No Errors In Alert Log File (文档 ID 1316251.1)

摘录部分以便解释

Oracle code calls a Unix system call, 'getcwd' to get the current working directory. Then, after that, all the control reverts over to the operating system.  From what we can see, the function 'getcwd' calls 'getwd' which in turn calls 'stat'. Once 'stat' is entered it starts processing directory entries in the order shown below by performing a 'statx' call for each entry:

Oracle源代码调用UNIX方法'getcwd'来获取当前工作目录。
之后Oracle将控制权还到操作系统。根据上面的trace
'getcwd' 调用 'getwd','getwd'将调用'stat'.方法。
一旦调用'stat',将使用'statx'方法获取每个文件夹的状态。
注:此时/下/archlog1目录不正常。
所以会使sqlplus hang

解决方法

将挂在根目录下的NFS文件系统挂在到下级目录

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值