课程格子 西北大学:ORA-01116\ORA-01110\ORA-27041在AIX上IBM AIX RIS...

来源:百度文库 编辑:九乡新闻网 时间:2024/04/26 10:59:37

故障现象 

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

报如下错误ORA-01116: error in opening database file 47ORA-01110: data file 47: '/dev/rpt_itrusca_disk'ORA-27041: unable to open fileIBM AIX RISC System/6000 Error: 13: Permission deniedAdditional 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_diskcrwxrwxrwx   1 oracle   dba          80,102 6月25 13时08 rpt_gaza_diskcrwxrwxrwx   1 oracle   dba          80,101 6月25 13时08 rpt_silkroadcrwxrwxrwx   1 root     system       80, 98 6月25 13时08 rpt_website_diskcrwxrwxrwx   1 oracle   dba          80,103 6月25 13时08 rpt_zjport1_diskcrwxrwxrwx   1 oracle   dba          80,104 6月25 13时08 rpt_zjport2_diskcrwxrwxrwx   1 oracle   dba          80,105 6月25 13时08 rpt_zjport3_diskcrwxrwxrwx   1 oracle   dba          80,106 6月25 13时08 rpt_zjport4_diskcrwxrwxrwx   1 oracle   dba          80,107 6月25 13时08 rpt_zjport5_diskcrwxrwxrwx   1 oracle   dba          80,108 6月25 13时08 rpt_zjport6_diskcrwxrwxrwx   1 oracle   dba          80,109 6月25 13时08 rpt_zjport7_diskcrwxrwxrwx   1 oracle   dba          80,110 6月25 13时08 rpt_zjport8_diskcrw-rw----   1 oracle   dba          80, 99 6月25 13时08 rpt_zjport_indexcrwxrwxrwx   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

本文出自 “麦地坞” 博客,请务必保留此出处http://yunlongzheng.blog.51cto.com/788996/371965