Oracle 11g啟動報ORA-28056、OS 1502錯誤
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 星期四 9月 13 22:49:08 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-28056: Writing audit records to Windows Event Log failed
OSD-159172279: Message 159172279 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ??????????????????
ORA-28056: Writing audit records to Windows Event Log failed
OSD-159172279: Message 159172279 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ??????????????????
解決方法:
將 應用日誌 清空即可解決問題。
官方解釋:
Subject: Connect As Sysdba Fails With ORA-28056
Doc ID: 784068.1 Type: PROBLEM
Modified Date: 20-MAR-2009 Status: MODERATED
Applies to:
Oracle Server - Personal Edition - Version: 11.1.0.6 to 11.1.0.7
This problem can occur on any platform.
Symptoms
connect as sysdba fails with:
ORA-28056: Writing audit records to Windows Event Log failed.
Cause
Event Viewer log is full and not able to log anymore events.
Justified by unpublished Bug.6823281 ORA-28056 WRITING AUDIT RECORDS TO WINDOWS EVENT LOG FAILED
which was closed as not a bug.
Solution
Try doing the following using Event Viewer:
.
To open Event Viewer, click Start, click Control Panel,
click Performance and Maintenance, click Administrative Tools,
and then double-click Event Viewer.
.
You must be logged on as an administrator or a member of the
Administrators group to free an event log.
.
1) When a log is full, it stops recording new events. Clearing the log
is one way to free the log and start recording new events.
.
2) You can also free a log and start recording new events by overwriting
old events. To overwrite events, on the Action menu, click Properties,
and then click Overwrite events as needed. This ensures that all new
events are written to the log, even when the log is full.
.
3) You can also start logging new events by increasing the maximum
log size. To increase the log size, on the Action menu, click Properties,
and then increase the Maximum log size.
SQL*Plus: Release 11.2.0.1.0 Production on 星期四 9月 13 22:49:08 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-28056: Writing audit records to Windows Event Log failed
OSD-159172279: Message 159172279 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ??????????????????
ORA-28056: Writing audit records to Windows Event Log failed
OSD-159172279: Message 159172279 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) ??????????????????
今天在啟動測試伺服器時,沒有太多的留意直接通過業務程式登入,但怎麼也無法登入。我在登入伺服器嘗試SQLPLUS時,系統提示以上的錯誤資訊。
只見提示反饋資訊是“Writing audit records to windows event log failed",直覺反映應該是應用日誌寫滿了。
通過系統命令檢查OS 1502錯誤,確認日誌已滿的事宜:
C:\>net helpmsg 1502
事件日誌檔案已滿。
事件日誌檔案已滿。
解決方法:
將 應用日誌 清空即可解決問題。
官方解釋:
Subject: Connect As Sysdba Fails With ORA-28056
Doc ID: 784068.1 Type: PROBLEM
Modified Date: 20-MAR-2009 Status: MODERATED
Applies to:
Oracle Server - Personal Edition - Version: 11.1.0.6 to 11.1.0.7
This problem can occur on any platform.
Symptoms
connect as sysdba fails with:
ORA-28056: Writing audit records to Windows Event Log failed.
Cause
Event Viewer log is full and not able to log anymore events.
Justified by unpublished Bug.6823281 ORA-28056 WRITING AUDIT RECORDS TO WINDOWS EVENT LOG FAILED
which was closed as not a bug.
Solution
Try doing the following using Event Viewer:
.
To open Event Viewer, click Start, click Control Panel,
click Performance and Maintenance, click Administrative Tools,
and then double-click Event Viewer.
.
You must be logged on as an administrator or a member of the
Administrators group to free an event log.
.
1) When a log is full, it stops recording new events. Clearing the log
is one way to free the log and start recording new events.
.
2) You can also free a log and start recording new events by overwriting
old events. To overwrite events, on the Action menu, click Properties,
and then click Overwrite events as needed. This ensures that all new
events are written to the log, even when the log is full.
.
3) You can also start logging new events by increasing the maximum
log size. To increase the log size, on the Action menu, click Properties,
and then increase the Maximum log size.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12974804/viewspace-756320/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Apache Hive啟動報NoClassDefFoundError錯誤ApacheHiveError
- oracle 11g 錯誤收集Oracle
- oracle EBS啟動無錯誤,訪問網頁500錯誤Oracle網頁
- Windows XP中建立庫遇到ORA-28056錯誤Windows
- mysql 啟動錯誤MySql
- 啟動oracle資料庫的時候報ORA-00205錯誤:Oracle資料庫
- oracle 報大小寫錯誤Oracle
- vm虛擬機器啟動 報511錯誤虛擬機
- oracle 11g安裝報錯Oracle
- mongodb 啟動報錯MongoDB
- php啟動報錯PHP
- Oracle 11g RAC操作DBCA期間報ORA-04031錯誤Oracle
- Mac os 升級到11.0版本後 啟動擴充套件報錯Mac套件
- Oracle goldengate 11g 錯誤彙總OracleGo
- Idea啟動專案報{dataSource-1} closed錯誤Idea
- 11g啟動sqlplus報錯沒有許可權SQL
- ubuntu 啟動錯誤stdin:is not ttyUbuntu
- myeclipse啟動報錯Eclipse
- 本地nacos啟動報錯
- Vagrant 啟動 VirtualBox 的問題 ( 誤裝 docker 後報錯 )Docker
- 32 位 oracle 安裝到 64 位os ,遭遇的錯誤Oracle
- Oracle 11g R2 DG 備庫啟動報錯,需要恢復日誌處理措施Oracle
- AIX 6.1 安裝 Oracle 11g R1 報Java錯誤解決方法AIOracleJava
- 啟動IDEA 報 failed to load jvm dll XXX 錯誤IdeaAIJVM
- 解決Eclipse啟動報缺少javax/annotation/PostConstruct的錯誤EclipseJavaStruct
- 啟動監聽報TNS-01150錯誤處理
- 【故障處理】11g資料庫在啟動之後報ORA-12709字符集錯誤資料庫
- tomcat啟動超時以及啟動之後開啟網頁報404錯誤的解決方法Tomcat網頁
- Oracle 高可用 goldengate 11g 錯誤彙總OracleGo
- Oracle 11g在redhat 5 sqlplus 錯誤OracleRedhatSQL
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- apache啟動報錯:httpd: aprApachehttpd
- laravel sail 首次啟動報錯LaravelAI
- sqlplus 啟動報錯SQL
- 啟動ASM 例項報錯ASM
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- oracle 12C RAC 啟動報錯 ORA-00845Oracle
- 11g ASM 重啟 HAC 報錯 CRS-4124: Oracle High AvailabilityASMOracleAI