当前位置:Gxlcms > mysql > bdump目录对应的x权限丢失导致的oracle数据库异常

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

时间:2021-07-01 10:21:17 帮助过:21人阅读

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]$ lltotal 100drwxr-x---. 2 oracle oinstall 4096 Feb 20 2013 aler

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

人气教程排行