conn / as sysdba连接不上

问题:

SQL> conn / as sysdba
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
分析原因:(经百度查询造成的原因是audit所在的文件系统满了,没有多余的空间)

查看报错日志:cd /u01/app/oracle/diag/rdbms/ora11gr2/ORA11GR2/trace   tail -100f alert_ORA11GR2

Non critical error ORA-48113 caught while writing to trace file "/u01/app/oracle/diag/rdbms/ora11gr2/ORA11GR2/trace/ORA11GR2_mmon_21952.trc"

Error message:

Writing to the above trace file is disabled for now

查看磁盘占用情况:

[oracle@oracle trace]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              22G   21G     0 100% /
/dev/sda1              99M   22M   73M  23% /boot
tmpfs                1002M  371M  631M  38% /dev/shm
/dev/sr0              3.6G  3.6G     0 100% /media/Oracle Linux Server dvd 20110119
/dev/sr0              3.6G  3.6G     0 100% /mnt
到trace目录下删除日志:

[root@oracle trace]# rm -rf *.trm

[root@oracle trace]# ls

alert_ORA11GR2.log

删除日志之后可以正常连接。

转载于:https://www.cnblogs.com/gw666/p/7223664.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值