【翻译自mos文章】Oracle db 12c中,每次日志切换时,会改变alert_sid.log的权限
来源:互联网 发布:java中wait的用法 编辑:程序博客网 时间:2024/06/05 01:19
12c中,每次日志切换时,会改变alert_sid.log的权限
来源于:
Alert log file's permissions Change with every log switch in 12c (Doc ID 1637367.1)
适用于:
Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.
症状:
When trying to set the group write bit in the OS Permissions for the alert log file it gets reset after every log switchFor example:[oracle@rhel59 trace]$ pwd/u01/app/oracle/diag/rdbms/orcl/orcl/trace[oracle@rhel59 trace]$ ls -lrt alert_orcl.log -rw-r----- 1 oracle oinstall 357531 May 2 07:30 alert_orcl.log --->此时的权限为640[oracle@rhel59 trace]$ --修改为666[oracle@rhel59 trace]$ chmod 666 alert_orcl.log[oracle@rhel59 trace]$ ls -lrt alert_orcl.log -rw-rw-rw- 1 oracle oinstall 357988 May 2 07:42 alert_orcl.log--->此时的权限为666--日志切换SQL> alter system switch logfile;System altered.--再次查看权限[oracle@rhel59 trace]$ ls -lrt alert_orcl.log -rw-r--rw- 1 oracle oinstall 358240 May 2 07:50 alert_orcl.log--->此时的权限为646[oracle@rhel59 trace]$
原因:
This is an expected behavior, if it is required to have the group write bit set for the alert log, then group write bit needs to be set for in the ADR home directory.
解决方案:
chmod 770 /<SID>/diag/rdbms/<SID>/<SID> Then restart the database
0 0
- 【翻译自mos文章】Oracle db 12c中,每次日志切换时,会改变alert_sid.log的权限
- 【翻译自mos文章】在db 12c 单机中不能注册ACFS为自动启动
- 【翻译自mos文章】在Oracle GoldenGate中循环使用ggserr.log的方法
- 【翻译自mos文章】12c rac中,当脑裂发生时,哪个节点会幸存下来?
- 【翻译自mos文章】在oracle db 11gR2版本中启用 Oracle NUMA 支持
- 【翻译自mos文章】在OGG (Oracle GoldenGate) 中使用SCHEMATRANDATA的话,需要额外的db patch
- 【翻译自mos文章】在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求
- 【翻译自mos文章】使用Windows操作系统的Dell Pcserver,Oracle db报错:ORA-8103
- 【翻译自mos文章】12c中ORAAGENT.BIN进程消耗了大量的内存
- 【翻译自mos文章】改变数据库用户sysman(该用户是DB Control Repository 的schema)密码的方法
- 【翻译自mos文章】禁止写入日志到Sqlnet.log和Listener.log
- 【翻译自mos文章】oracle db 中的用户账户被锁--查看oracle用户的尝试次数
- 【翻译自mos文章】在Oracle 12c中建立用户--避免ORA-65096 or ORA-65049错误
- 【翻译自mos文章】Oracle Database 12c Standard Edition 2 (12.1.0.2)
- 【翻译自mos文章】将Oracle 12c数据库从标准版convert到企业版
- 【翻译自mos文章】怎么获得Oracle Database 12c中的audit session id
- [翻译自mos文章]Oracle多租户选项-12c,FAQ
- 【翻译自mos文章】OGG支持oracle db 11g中的不可见索引吗?
- CF 148D. Bag of mice[概率dp]
- Ecshop与Jquery冲突的完美解决方案
- 从程序员的角度谈创业三年
- 《嵌入式Linux程序设计与应用案例》学习笔记
- JAVA事务的概念
- 【翻译自mos文章】Oracle db 12c中,每次日志切换时,会改变alert_sid.log的权限
- android 系统网络连接管理机制
- 如何写英文简历
- 水仙花数
- UVa 10995 - Educational Journey (数学)
- 怎样在VS2010中打开并编译VS2012的项目
- Posts Tagged 【List】Anagrams
- Android自定义progressDialog使用系统ProgressBar与图片实现(一)系统ProgressBar
- JAVA类加载器的获取