Fixed: ORA-28056: Writing audit records to Windows Event Log failed

SiteGround Hosting Discount

If you get "ORA-28056: Writing audit records to Windows Event Log failed" error while connecting with Oracle Database 11g which was installed on Windows Server 2003, you can try following method to resolve the issue.

Open command prompt and try to connect with SYS privileges.

Go to START > RUN > type CMD and press Enter


C:\>sqlplus /nolog

SQL*Plus: Release 11.2.0.2.0 Production on Fri Jan 23 13:40:09 2014
Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> conn / as sysdba

ERROR:
ORA-28056: Writing audit records to Windows Event Log failed
OSD-197314968: Message 197314968 not found;  product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) The event log file is full.
ORA-01075: you are currently logged on

Cause of Problem:

The problem was occurred because Event Viewer log was full and not been able to log anymore events.


Solution of the Problem:

You need to free the event viewer log.

How to free event viewer log?

Step-1:

First login to your Server machine as an Administrator.

Step-2:

Now Click on START > Go to Control Panel > Performance and Maintenance > Administrative Tools and Click on Event Viewer.

Step-3:

As the Event Log is full and unable to record new events, clear the logs by just right clicking on the Application/System/Security on the left side and select Clear All Events. It will ask you to save the events, if you want to save then click on Yes otherwise choose No option.

ORA-28056 Writing audit records to Windows Event Log failed-01

Note:

You can also select overwrite option under properties of Application/System/Security, if required. It will automatically overwrite all old events to new events. You don’t need to clear the logs again and again.

There is one more option by which you can increase the size of logs as shown in below snapshot.

ORA-28056 Writing audit records to Windows Event Log failed-01

You can share your feedbacks in comment section.

I use SEMRush for Keyword Research & Boost Organic Traffic. Do You?

Highly recommended SEM & SEO Tool for overview of Traffic, Keywords, Backlinks and more. You can search your competitors URL to analyze keywords & crush your competition.



Leave a Reply

Your email address will not be published. Required fields are marked *