ORA-28056 Writing audit records to Windows Event Log failed

今天 有人提起了这个异常,未能将审计记录写入Windows 事件日志,这是WINDOWS平台的一个通病,如果开启了审计,如果应用软件再有频繁操作,一会儿功夫可能就会写满日志最大容量。

解决方法是清空window事件日志

先分析一下为什么会有这样的情况

1,无论你的AUDIT_TRAIL设置os,还是db,有部分ORACLE的操作会记录在事件日志中

2,windows平台下audit_file_dest 不启作用,不会把审计日志写到下面去

3,windows对日志条数做了限制,写满后就不能再写入

所以一定要保证windows日志有足够空间,至于网上有网友说提这个问题的都是11G,呵呵,我是这么认为的,可以查看一下audit_trall在10G,和11G的不同点,10G默认值是为none,而11G是DB,所以嘛…

1 thought on “ORA-28056 Writing audit records to Windows Event Log failed”

  1. I was just searching for this info for some time. After 6 hours of continuous Googleing, at last I got it in your web site. I wonder what’s the lack of Google strategy that do not rank this type of informative sites in top of the list. Generally the top websites are full of garbage.

Comments are closed.