"Translated from MoS article" in Oracle DB 12c, Alert_sid.log permissions are changed each time the log is toggled

Source: Internet
Author: User
Tags bit set


12c, each log switch will change the permissions of Alert_sid.log

From:
Alert log file ' s permissions change with every log switch in 12c (Doc ID 1637367.1)

Suitable for:
Oracle database-enterprise edition-version 12.1.0.1 and later
Information in this document applies to any platform.


Symptoms:

When trying to set the group write bit in the OS Permissions for the alert log file it gets reset after every log switchfo R Example:[[email protected] trace]$ pwd/u01/app/oracle/diag/rdbms/orcl/orcl/trace[[email protected] trace]$ LS-LRT ALERT_ORCL.LOG-RW-R-----1 Oracle Oinstall 357531 may  2 07:30 alert_orcl.log---> Right now 640[[email protected] Trac e]$--modified to 666[[email protected] trace]$ chmod 666 alert_orcl.log[[email protected] trace]$ LS-LRT ALERT_ORCL.LOG-RW-RW-RW -1 Oracle Oinstall 357988 may  2 07:42 alert_orcl.log---> Permissions for 666--log switchover sql> alter system switch logfile; System altered.--Check Permissions again [[email protected] trace]$ LS-LRT alert_orcl.log-rw-r--rw-1 Oracle Oinstall 358240 may  2 07: Alert_orcl.log---> Permissions at this time are 646[[email protected] trace]$


Reason:

This is a expected behavior, if it is required to has the group write bit set for the alert log and then group write bit NE EDS to is set for in the ADR home directory.

Solution:

chmod 770/<sid>/diag/rdbms/<sid>/<sid> then restart the database

"Translated from MoS article" in Oracle DB 12c, Alert_sid.log permissions are changed each time the log is toggled

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.