問題描述:搭建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幾次監聽行程,不知道是不是這個原因,導致了大量的日志被記錄




轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/28167.html
標籤:Oracle
上一篇:求助
下一篇:關于PB64位的問題請教
