码迷,mamicode.com
首页 > 数据库 > 详细

bdump目录对应的x权限丢失导致的oracle 数据库异常

时间:2015-01-12 19:22:18      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:ora-12537   ora-12547   

rhel6.3 x64bit ,oracle 11.2.0.4 x64bit

[oracle@rhel63single test]$ pwd
/u01/app/oracle/diag/rdbms/test/test
[oracle@rhel63single test]$ chmod u-x trace
[oracle@rhel63single test]$ ll
total 100
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 alert
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 cdump
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 hm
drwxr-x---. 11 oracle oinstall  4096 Jan  8 20:58 incident
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 incpkg
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 ir
drwxr-x---.  2 oracle oinstall  4096 Jan  8 20:58 lck
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 metadata
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 metadata_dgif
drwxr-x---.  2 oracle oinstall  4096 Feb 20  2013 metadata_pv
drwxr-x---.  2 oracle oinstall  4096 Jan  8 20:58 stage
drwxr-x---.  2 oracle oinstall  4096 Jan  8 20:58 sweep
drw-r-x---. 11 oracle oinstall 49152 Jan  8 20:58 trace --->缺少了x权限,而该目录是bdump目录(background_dump_dest所指定的目录)


下面来看db server本机登陆sqlplus 有什么现象:

[oracle@rhel63single ~]$ sqlplus  / as sysdb

SQL*Plus: Release 11.2.0.4.0 Production on Thu Jan 8 21:04:16 2015

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

ERROR:
ORA-12547: TNS:lost contact


Enter user-name: 

 

 

3分钟左右,才报上述错误.
而从oracle db client(pl/sql developer)连接该db,报:

 ORA-12537: TNS: connection closed

 

此时,trace目录也是进不去的:

[oracle@rhel63single test]$ cd trace
-bash: cd: trace: Permission denied


解决该问题的方法其实很简单:

[oracle@rhel63single test]$ chmod u+x trace



 

bdump目录对应的x权限丢失导致的oracle 数据库异常

标签:ora-12537   ora-12547   

原文地址:http://blog.csdn.net/msdnchina/article/details/42645329

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!