设为首页 加入收藏

TOP

bdump目录对应的x权限丢失导致的oracle数据库异常
2015-07-24 11:10:06 来源: 作者: 【 】 浏览:1
Tags:bdump 目录 对应 权限 丢失 导致 oracle 数据库 异常

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



】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇数据库基本理论 下一篇AIX中常用的SMIT的使用

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·数据库:推荐几款 Re (2025-12-25 12:17:11)
·如何最简单、通俗地 (2025-12-25 12:17:09)
·什么是Redis?为什么 (2025-12-25 12:17:06)
·对于一个想入坑Linux (2025-12-25 11:49:07)
·Linux 怎么读? (2025-12-25 11:49:04)