遇到一个怪问题,sqlplus居然连接出错(ORA-09925)

$ sqlplus "/ as sysdba"

SQL*Plus: Release 9.2.0.5.0 - Production on Wed Nov 9 17:18:30 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

ERROR:
ORA-09925: Unable to create audit trail file
SVR4 Error: 2: No such file or directory
Additional information: 9925
ORA-09925: Unable to create audit trail file
SVR4 Error: 2: No such file or directory
Additional information: 9925

Subject: ORA-09925: WHEN CONNECTING INTERNAL
Type: PROBLEM
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 10-MAY-2000
Last Revision Date: 05-JUL-2000

后来在创建了$ORACLE_HOME/rdbms/audit这个目录就可以连上去了,下面为网上找到的描述

Problem Description
-------------------

Problem occurs when:

$ORACLE_HOME/rdbms/audit directory is full or
$ORACLE_HOME/rdbms/audit directory doesn't exist

as a side effect of this problem oracle asks for password
after connect internal


Solution Description
--------------------

Make space available in $ORACLE_HOME/rdbms/audit by removing files that are
not needed

or

Make sure the directory exists and is readable by oracle

or

Change init.ora audit_file_dest to an existing directory.

Change init.ora parameter means restart instance as workaround kill pmon.


Explanation
-----------

The behavior on Unix is to write a file named ora_.aud into
the directory specified by audit_file_dest.

The default directory is /rdbms/audit.

The file will contain an entry for the audited action, which would be internal
logins or startup. On ports which support an OS audit trail, these records will be
written there.

This feature is not affected by the settings of the audit_trail parameter.


ORA-09925: "Unable to create audit trail file"
Cause: ORACLE was not able to create the file being used to hold
audit trail records.
Action: Check the UNIX error number for a possible operating system error.
If there is no error, contact ORACLE customer support.


References
----------

[NOTE:1018924.102] ORA-09925 ON DATABASE STARTUP
[NOTE:1056988.6] ORA-09925 DURING HOT BACKUPS
[NOTE:21073.1] OERR: ORA-9925 "Unable to create audit trail
[BUG:723955] SQLPLUS ALLOWS DB STARTUP (BUT NOT SHUTDOWN)
IF AUDIT_FILE_DEST DOESN'T EXIST

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12482/viewspace-809668/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/12482/viewspace-809668/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值