【ERROR】ORA-09945,ORA-09817 磁盘空间不足
【ERROR】ORA-09945,ORA-09817 磁盘空间不足
一、问题描述
使用客户端软件连接数据库时报ORA-09945(如下图),根据提示看出是没有空间导致。使用sqlplus连接时报错信息为ORA-09817,提示错误信息仍然是没有空间。通过系统df -h检查发现确实有目录没有空间。解决思路:扩大空间或清理空间。 [Oracle@tora01 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Mon May 25 11:47:57 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-09817: Write to audit file failed. Linux-x86_64 Error: 28: No space left on device Additional information: 12 ORA-01075: you are currently logged on 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@tora01 ~]$ 二、故障处理 1.检查系统空间状态 [oracle@tora01 ~]$ df -h 文件系统 容量 已用 可用 已用% 挂载点 /dev/sda3 287G 272G 0 100% / /dev/sda1 190M 12M 169M 7% /boot tmpfs 7.9G 0 7.9G 0% /dev/shm /dev/sdb1 30G 173M 28G 1% /oratest /dev/sdc1 296G 527M 280G 1% /dbtest [oracle@tora01 ~]$ 2.清理磁盘 [oracle@tora01 ~]$ df -h 文件系统 容量 已用 可用 已用% 挂载点 /dev/sda3 287G 267G 5.7G 98% / /dev/sda1 190M 12M 169M 7% /boot tmpfs 7.9G 0 7.9G 0% /dev/shm /dev/sdb1 30G 173M 28G 1% /oratest /dev/sdc1 296G 2.5G 278G 1% /dbtest 3.连接正常,故障解决 [oracle@tora01 diag]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Mon May 25 13:17:57 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> 三、总结 这个问题在一些值职分的比较细的大公司不容易见到,因为会有专门的系统工程师做监控,所以不易产生 。但是在一些小公司,技术人员总是一人多值时,就容易产生种种的小问题。建议:即便是小公司,人员不足时,也要对生产环境加以监控,所以对我们这群DBA人员的要求也是越来越高,尽量去写个监控脚本或找些开源的监控软件。
评论暂时关闭