oracle ora1036,ORA-01116\ORA-01110\ORA-27041在AIX上IBM AIX RISC System/6000 Error: 13: Permission deni...

故障现象

执行SELECT tablespace_name 表空间,sum(blocks*8192/1000000) 剩余空间M FROM dba_free_space GROUP BY tablespace_name;

报如下错误

ORA-01116: error in opening database file 47

ORA-01110: data file 47: '/dev/rpt_itrusca_disk'

ORA-27041: unable to open file

IBM AIX RISC System/6000 Error: 13: Permission denied

Additional information: 3

故障分析

根据Permission denied怀疑是权限问题,如下查询得知果然权限crw-rw----和其他空间不一样

p550a:/dev#ls -lt|grep rpt_

crw-rw----   1 root     system       80,100 8月09 17时39 rpt_itrusca_disk

crwxrwxrwx   1 oracle   dba          80,102 6月25 13时08 rpt_gaza_disk

crwxrwxrwx   1 oracle   dba          80,101 6月25 13时08 rpt_silkroad

crwxrwxrwx   1 root     system       80, 98 6月25 13时08 rpt_website_disk

crwxrwxrwx   1 oracle   dba          80,103 6月25 13时08 rpt_zjport1_disk

crwxrwxrwx   1 oracle   dba          80,104 6月25 13时08 rpt_zjport2_disk

crwxrwxrwx   1 oracle   dba          80,105 6月25 13时08 rpt_zjport3_disk

crwxrwxrwx   1 oracle   dba          80,106 6月25 13时08 rpt_zjport4_disk

crwxrwxrwx   1 oracle   dba          80,107 6月25 13时08 rpt_zjport5_disk

crwxrwxrwx   1 oracle   dba          80,108 6月25 13时08 rpt_zjport6_disk

crwxrwxrwx   1 oracle   dba          80,109 6月25 13时08 rpt_zjport7_disk

crwxrwxrwx   1 oracle   dba          80,110 6月25 13时08 rpt_zjport8_disk

crw-rw----   1 oracle   dba          80, 99 6月25 13时08 rpt_zjport_index

crwxrwxrwx   1 root     system       80, 97 4月30 17时38 rpt_users_disk

解决

chmod 后故障消失

p550a:/dev#chmod 777 rpt_itrusca_disk

后续规范解决:chown oracle:dba rpt_itrusca_disk

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值