![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I issued "show alert" command and the result showed me that I need to clean things up: 2011-04-23 18:28:38.255000 -04:00 Starting ORACLE instance (normal) LICENSE_MAX_SESSION = 0 ..... I executed "purge -age 1440 -type alert" but nothing happened. The records in the alert file are still there from April the 23d. My understanding is that this is supposed to purge from alert log all records older than 1440 minutes (1 day)? This does work for cores and traces. |
#3
| |||
| |||
|
|
On Fri, 02 Sep 2011 13:35:40 +0000, Mladen Gogala wrote: I issued "show alert" command and the result showed me that I need to clean things up: 2011-04-23 18:28:38.255000 -04:00 Starting ORACLE instance (normal) LICENSE_MAX_SESSION = 0 ..... I executed "purge -age 1440 -type alert" but nothing happened. The records in the alert file are still there from April the 23d. My understanding is that this is supposed to purge from alert log all records older than 1440 minutes (1 day)? This does work for cores and traces. Manual purge (using vi) of log.xml and alert.log works like a charm. However, that's not what I expected from adrci. It seems that I will not yet give up my logrotate configuration. --http://mgogala.byethost5.com |
#4
| |||
| |||
|
|
On Sep 2, 7:54Â*am, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote: On Fri, 02 Sep 2011 13:35:40 +0000, Mladen Gogala wrote: I issued "show alert" command and the result showed me that I need to clean things up: 2011-04-23 18:28:38.255000 -04:00 Starting ORACLE instance (normal) LICENSE_MAX_SESSION = 0 ..... I executed "purge -age 1440 -type alert" but nothing happened. The records in the alert file are still there from April the 23d. My understanding is that this is supposed to purge from alert log all records older than 1440 minutes (1 day)? This does work for cores and traces. Manual purge (using vi) of log.xml and alert.log works like a charm. However, that's not what I expected from adrci. It seems that I will not yet give up my logrotate configuration. --http://mgogala.byethost5.com That's not a bug... Bug 6800147: ADRCI PURGE COMMAND DOESN'T WORK WHEN DELETE ALERTLOG USING AGE OPTION ‽ Even more entertaining: Bug 12426625: ORACLE 11.2.0.2 CONFIGURATION, ADRCI "SET CONTROL" AND "PURGE" DO NOT WORK jg |
![]() |
| Thread Tools | |
| Display Modes | |
| |