Agent logs not rotate, caused large log files (Doc ID 2056022.1)

Last updated on NOVEMBER 27, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

On : 11.2.0.3 version, Real Application Cluster

orarootagent_root.log is very large:

ls -la
total 16113928
drwxr-xr-x    2 grid     oinstall       4096 Jul 27 2012  .
drwxrwxr-t    6 root     oinstall        256 Apr 20 2012  ..
-rw-r--r--    1 grid     oinstall   10607606 May  1 2012  orarootagent_root.l01
-rw-r--r--    1 grid     oinstall   10607670 May  1 2012  orarootagent_root.l02
-rw-r--r--    1 grid     oinstall   10607557 Apr 30 2012  orarootagent_root.l03
-rw-r--r--    1 grid     oinstall   10607547 Apr 30 2012  orarootagent_root.l04
-rw-r--r--    1 grid     oinstall   10607685 Apr 30 2012  orarootagent_root.l05
-rw-r--r--    1 grid     oinstall   10607580 Apr 29 2012  orarootagent_root.l06
-rw-r--r--    1 grid     oinstall   10608161 Apr 29 2012  orarootagent_root.l07
-rw-r--r--    1 grid     oinstall   10608220 Apr 28 2012  orarootagent_root.l08
-rw-r--r--    1 grid     oinstall   10608191 Apr 28 2012  orarootagent_root.l09
-rw-r--r--    1 grid     oinstall   10608364 Apr 28 2012  orarootagent_root.l10
-rw-r--r--    1 grid     oinstall 8134959724 Jan 15 09:29 orarootagent_root.log<===
-rw-r--r--    1 grid     oinstall          9 Dec 17 22:48 orarootagent_root.pid
-rw-r--r--    1 grid     oinstall    4696678 Dec 17 22:49 orarootagent_rootOUT.log



EXPECTED BEHAVIOR
-----------------------
orarootagent_root.log should recycled per 10M



The issue has the following business impact


Due to this issue, large log file generated.

Changes

 User changed ownership of orarootagent_root to grid:oinstall

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms