• ORA09817: Write to audit file failed 解决方法


     

    连接oracle 报错:ORA-09817: Write to audit file failed.

     

    [oracle@qs-dmm-rh1 dave]$ sqlplus sys/oracle as sysdba;

    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 17 16:35:02 2011

    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

     

    ERROR:

    ORA-09817: Write to audit file failed.

    --这种错误基本是磁盘空间满了

    Enter user-name:

    ERROR:

    ORA-01017: invalid username/password; logon denied

     

    Enter user-name:

    ERROR:

    ORA-01017: invalid username/password; logon denied

     

    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

    [oracle@qs-dmm-rh1 dave]$ oerr ora 9817

    09817, 00000, "Write to audit file failed."

    // *Cause:  ORACLE was unable to write an entry to the file used as the

    //          audit trail.

    // *Action: Check the UNIX error number for a possible operating system error.

    //          If there is no error, contact Oracle Support Services.

    [oracle@qs-dmm-rh1 dave]$ df -lh

    Filesystem            Size  Used Avail Use% Mounted on

    /dev/sda3              13G   12G  136K 100% /

    /dev/sda1              99M   12M   83M  12% /boot

    tmpfs                 506M     0  506M   0% /dev/shm

    [oracle@qs-dmm-rh1 dave]$

     

     

    删除部分文件后:

     

    [oracle@qs-dmm-rh1 u01]$ df -lh

    Filesystem            Size  Used Avail Use% Mounted on

    /dev/sda3              13G  9.1G  2.8G  77% /

    /dev/sda1              99M   12M   83M  12% /boot

    tmpfs                 506M     0  506M   0% /dev/shm

     

    再次连接正常:

     

    [oracle@qs-dmm-rh1 u01]$ sqlplus / as sysdba;

    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 17 17:06:43 2011

     

    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

     

    Connected to:

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production

    With the Partitioning, OLAP, Data Mining and Real Application Testing options

     

    SQL> select open_mode from v$database;

     

    OPEN_MODE

    ----------

    MOUNTED

     

     

    ---------------------------------------------------------------------------------------------------

    Blog http://blog.csdn.net/tianlesoftware

    网上资源: http://tianlesoftware.download.csdn.net

    相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

    DBA1 群:62697716(); DBA2 群:62697977() DBA3 群:62697850()  

    DBA 超级群:63306533(); DBA4 群: 83829929 DBA5群: 142216823

    聊天 群:40132017

    --加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

    道森Oracle,国内最早、最大的网络语音培训机构,我们提供专业、优质的Oracle技术培训和服务! 我们的官方网站:http://www.daosenoracle.com 官方淘宝店:http://daosenpx.taobao.com/
  • 相关阅读:
    常见动态规划题目详解
    回溯法常见题目总结
    AWK语法入门
    JavaScript深拷贝—我遇到的应用场景
    git代码版本回退
    Rem实现移动端适配
    Weex了解
    Vue.js入门学习
    今日小结—304状态码,数组去重
    js今日小结—Ajax、前端安全、GET&POST、闭包、HTTPS
  • 原文地址:https://www.cnblogs.com/tianlesoftware/p/3609756.html
Copyright © 2020-2023  润新知