conn / as sysdba连接不上
Posted 高伟--林州
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
查看磁盘占用情况:
[[email protected] 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目录下删除日志:
[[email protected] trace]# rm -rf *.trm
[[email protected] trace]# ls
alert_ORA11GR2.log
删除日志之后可以正常连接。
以上是关于conn / as sysdba连接不上的主要内容,如果未能解决你的问题,请参考以下文章