zoukankan      html  css  js  c++  java
  • ORA-17627: ORA-12577:关于文件存储满的问题

    问题描述:搭建DG的时候,要rman从orcl恢复到orclstd数据库来,dup复制了半天,结果最后报错:ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS;                          facility=ORA网上找了文档,查到是磁盘被写满的问题于是就解决一下。

    1.rman target sys/410526@orcl auxiliary sys/410526@orclstd
    duplicate target database for standby from active database nofilenamecheck;

    截图找不到了,但是报错是:ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS;

    2.orclstd:[root@orclstd dev]# df -h     查看一下orclstd磁盘空间使用率高达98%,不知道是什么原因,进行排查

    Filesystem            Size  Used Avail Use% Mounted on

    /dev/sda2              35G   33G  865M  98% /

    /dev/sda1              99M   22M   73M  23% /boot

    tmpfs                 995M     0  995M   0% /dev/shm

    3.[root@orclstd /]# du -h --max-depth=1     查看一下当前磁盘文件的使用情况,发现/u01竟然有25G

     4.跟着路径接着找,发现有一个占2.6G的监听日志

    /u01/app/oracle/product/11.2.0/dbhome_1/network/trace/listener.log

    5.删掉监听日志,

    [root@orclstd trace]# rm listener.log

    6.继续查看有没有其他比较大文件,发现alert日志中,有大量的log.xml文件产生

    [root@orclstd trace]# cd ..

    [root@orclstd listener]# ls

    alert  cdump  incident  incpkg  lck  metadata  metadata_dgif  metadata_pv  stage  sweep  trace

    [root@orclstd listener]# cd alert/

    [root@orclstd alert]# ls

     7.查看一下总量大小,大概有16个G,把我的磁盘空间都占满了,暂时想不清楚原因,先删掉.xml

    [root@orclstd alert]# du -sh

    16G .

     8.删掉log.xml文件

    [root@orclstd alert]# rm *.xml

    rm: remove regular file `log_1000.xml'? ^C

    [root@orclstd alert]# rm -f *.xml

    8.重新查看磁盘空间,有种瞬间被释放的感觉,user%降到了44%

    df -h

    [root@orclstd alert]# df -h

    Filesystem            Size  Used Avail Use% Mounted on

    /dev/sda2              35G   15G   19G  44% /

    /dev/sda1              99M   22M   73M  23% /boot

    tmpfs                 995M     0  995M   0% /dev/shm

     9.之前rman的时候已经导入过来库的文件了,所以现在orclstd备库已经可以启动到mount状态了,现在把备库orclstd更改到nomount状态,现在重新rman导入已经没有问题了。

    10.不清楚怎么会产生这么大的监听文件,以及可能被记录的日志,想起来昨天lsnrctl start的时候一直connecting to不起来,中间又killed几次监听进程,不知道是不是这个原因,导致了大量的日志被记录

  • 相关阅读:
    【转载】关于Java String, StringBuilder, StringBuffer, Hashtable, HashMap的面试题
    LeetCode: 【L4】N-Queens 解题报告
    【转载】在美国找工作秘籍
    Lintcode: Kth Largest Element 解题报告
    LeetCode: Reverse Integer 解题报告
    Lintcode: First Bad Version 解题报告
    九章面试题:Find first K frequency numbers 解题报告
    tomcat之虚拟目录
    百度搜索结果如何屏蔽百家号内容
    CentOS7之Rsync+Inotify架构实现实时同步文件和文件夹
  • 原文地址:https://www.cnblogs.com/houzhiheng/p/11949442.html
Copyright © 2011-2022 走看看