1. 程式人生 > >11g rac啟動失敗一例

11g rac啟動失敗一例

[[email protected] ~]# /opt/app/grid/product/11.2.0/bin/crsctl start crs
CRS-4640: Oracle High Availability Services is already active
CRS-4000: Command Start failed, or completed with errors.

[[email protected] ~]$ srvctl start database -d rac
PRCD-1027 : Failed to retrieve database rac
PRCR-1070 : Failed to check if resource ora.rac.db is registered
Cannot communicate with crsd

[
[email protected]
~]$ ps aux | grep ora_
grid     12801  0.0  0.0   3920   660 pts/0    R+   17:30   0:00 grep ora_

[[email protected] ~]$ crsctl check crs
CRS-4639: Could not contact Oracle High Availability Services

[[email protected] ~]$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

This command is deprecated and has been replaced by 'crsctl status resource'
This command remains for backward compatibility only
Usage:  crs_stat [resource_name [...]] [-v] [-l] [-q] [-c cluster_member]
        crs_stat [resource_name [...]] -t [-v] [-q] [-c cluster_member]
        crs_stat -p [resource_name [...]] [-q]
        crs_stat [-a] application -g
        crs_stat [-a] application -r [-c cluster_member]
        crs_stat -f [resource_name [...]] [-q] [-c cluster_member]
        crs_stat -ls [resource_name [...]] [-q]

+++檢查發現,原來是磁碟空間滿了
ERROR:
ORA-09817: Write to audit file failed.
Linux Error: 28: No space left on device
Additional information: 12
ORA-09945: Unable to initialize the audit trail file
Linux Error: 28: No space left on device

+++清理磁碟後恢復正常
[
[email protected]
~]$ crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

[[email protected] ~]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

+++節點rac1沒有起來,手工啟一下
[
[email protected]
~]$ srvctl status database -d rac
Instance rac1 is not running on node rac1
Instance rac2 is running on node rac2
[[email protected] ~]$ srvctl start instance -d rac -i rac1
[[email protected] ~]$ 
[[email protected] ~]$ 
[[email protected] ~]$ srvctl status database -d rac       
Instance rac1 is running on node rac1
Instance rac2 is running on node rac2

[[email protected] ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): rac1,rac2
[[email protected] ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac2
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node rac1

+++檢查crs資源
[[email protected] ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.CRS.dg     ora....up.type ONLINE    ONLINE    rac1        
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac1        
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac2        
ora....N2.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora.asm        ora.asm.type   ONLINE    ONLINE    rac1        
ora.eons       ora.eons.type  ONLINE    ONLINE    rac1        
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    rac1        
ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE               
ora.ons        ora.ons.type   ONLINE    ONLINE    rac1        
ora.rac.db     ora....se.type ONLINE    ONLINE    rac1        
ora....cs1.svc ora....ce.type ONLINE    UNKNOWN   rac2        
ora....cs2.svc ora....ce.type ONLINE    ONLINE    rac2        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    OFFLINE   OFFLINE               
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   ora....t1.type ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    OFFLINE   OFFLINE               
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   ora....t1.type ONLINE    ONLINE    rac2        
ora....ry.acfs ora....fs.type ONLINE    ONLINE    rac1        
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac2        
ora.scan2.vip  ora....ip.type ONLINE    ONLINE    rac1        

[[email protected] ~]$ crs_stat
。。。
NAME=ora.rac.racs1.svc
TYPE=ora.service.type
TARGET=ONLINE
STATE=UNKNOWN on rac2
。。。

+++發現ora....cs1.svc處於UNKNOWN狀態
手工起一下
[[email protected] ~]$ crs_stop ora.rac.racs1.svc
Attempting to stop `ora.rac.racs1.svc` on member `rac2`
ORA-44304: service racs1 does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_SERVICE", line 443
ORA-06512: at "SYS.DBMS_SERVICE", line 391
ORA-06512: at line 1

Stop of `ora.rac.racs1.svc` on member `rac2` succeeded.
[[email protected] ~]$ crs_start ora.rac.racs1.svc
Attempting to start `ora.rac.racs1.svc` on member `rac1`
Start of `ora.rac.racs1.svc` on member `rac1` succeeded.
[[email protected] ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.CRS.dg     ora....up.type ONLINE    ONLINE    rac1        
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac1        
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac2        
ora....N2.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora.asm        ora.asm.type   ONLINE    ONLINE    rac1        
ora.eons       ora.eons.type  ONLINE    ONLINE    rac1        
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    rac1        
ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE               
ora.ons        ora.ons.type   ONLINE    ONLINE    rac1        
ora.rac.db     ora....se.type ONLINE    ONLINE    rac1        
ora....cs1.svc ora....ce.type ONLINE    ONLINE    rac1        
ora....cs2.svc ora....ce.type ONLINE    ONLINE    rac2        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    OFFLINE   OFFLINE               
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   ora....t1.type ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    OFFLINE   OFFLINE               
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   ora....t1.type ONLINE    ONLINE    rac2        
ora....ry.acfs ora....fs.type ONLINE    ONLINE    rac1        
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac2        
ora.scan2.vip  ora....ip.type ONLINE    ONLINE    rac1        

+++已經個恢復正常

相關推薦

11g rac啟動失敗

[[email protected] ~]# /opt/app/grid/product/11.2.0/bin/crsctl start crs CRS-4640: Oracle High Availability Services is already acti

oracle11g rac crs啟動錯誤

虛擬機器的測試環境中,開啟後,crs沒有啟動,使用root手工啟動,提示: ./crsctl start crs CLSU-00100: Operating System function: ope

MySQL MHA切換失敗

stop erl 出現 his mgr base root port urn 先看下引起問題的密碼啥樣, 包含兩個特殊字符[和~.$ egrep -w 'user|password' /etc/masterha/app1.cnfpassword=P[AI3M

E版Openstack通過dashboard建立卷失敗(01)

檢視日誌檔案 tail /var/log/nova/volume.log 看到有如下內容: RROR nova.volume.iscsi [req-53462f68-19c1-4507-b4e5-d1737d6a1dfa a39991a8ad1b4833b62201f4102d214b 5225f352063

oracle 11g RAC 啟動和關閉和一些維護命令

在Oracle 11g環境中,Oracle的關閉和啟動順序如下:關閉順序:    1、關閉資料庫,oracl使用者執行srvctl命令:     [[email protected] ~]$ srvctl stop database -d ORCL ---停止所有

crontab排程失敗總結

生產環境中,crontab呼叫指令碼失敗,導致任務未執行。 31 14 * * * (datetime=`date +'%Y%m%d %H:%M:%S'`;echo $datetime >> ~/a.log) 1、初步判斷crontab是否對反斜點(`)不支援

PostgreSQL 連線認證失敗

使用libpqxx連線PostgreSQL 9.2.7出現如下問題 char tempConn[] = "hostaddr=127.0.0.1 user=ADMIN password=admin"; connection conn(tempConn); //出現錯誤資料庫A

ipv6禁用導致rpcbind服務啟動失敗

evel bsp oot 參考 cal .so systemd 開始 實例 ipv6禁用導致rpcbind服務啟動失敗實例 昨天在做服務器磁盤分區擴容的時候出現過一個服務啟動的問題,在此記錄。情景再現:前天晚上申請做磁盤擴容,得到批準後,昨天早

oracle 11g RAC 的基本操作()------啟動與關閉

執行 同時 man sources monit vip nag 查看數據庫 resource 啟動RAC 手工啟動按照HAS, cluster, database的順序啟動,具體命令如下: 啟動HAS(High Availability Servi

mysql啟動失敗

搭的wordpress報錯: 後臺用的mysql,之前也崩過,原因是虛擬記憶體耗盡,通過增加swap空間最終讓資料重新啟動。 但僅過一晚上,資料庫再次崩潰。看來要查一查是什麼程式耗盡資源。 執行top,切到VIRT列,以虛擬記憶體使用量進行排序。 [email protected]

oracle 11g RAC ASM磁碟被強制下線搶修

又有一段時間沒寫有關oracle的文章了,恐怕這也是不能成為高手的原因之一,偶有典型性拖延症和懶癌。 今天要講的一個栗子又一個現場case,中午吃飯的時候看到來自同事的未接,處於職業敏感感覺是資料中心出問題了,撥過去第一通電話告訴我儲存壞掉一塊盤,然後NBU有

Oracle 11g RAC 故障之--Instance 啟動失敗

Oracle 11g RAC  故障之--Instance 啟動失敗系統環境:作業系統:RedHat EL5.5Cluster:           GI 11.2.0.1.0資料庫軟體:Oracle 11.2.0.1故障現象:   新增新的node3的Instance 後,

Starting MySQL....The server quit without updating PID file[失敗]/lib/mysql/ip12189.pid). 錯誤

bold title lan char .net 失敗 etc nbsp 啟動會 [[email protected]/* */ etc]# service mysqld startStarting MySQL....The server quit withou

mysql主從數據庫,從庫宕機後無法啟動的解決方案

mysql starting 啟動時報錯信息: Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/data/qkzhi-appzookeeper-1.novalocal.pid

Oracle 11g單實RMAN恢復到Oracle 11g RAC

oracle 遷移 oracle rac 一、環境說明操作系統版本: RHEL 6.5 x641. 源數據庫服務器Oracle版本: Oracle 11g 11.2.0.4 64位(單機)Oracle_SID: orcl db_name : orcl背景:一臺生產oracle10g(10.2

小記次mysql啟動失敗沒有日誌的處理

note start inux evc mysql do it 目錄 star linux 本來mysql好的,之前清理了一次tmp下的東西,mysql在查詢的時候提示: Can‘t create/write to file ‘/tmp/ib0n3frL 然後停

11g RAC集群啟動關閉、各種資源檢查、配置信息查看匯總。

11g RAC集群啟動關閉、各種資源檢查簡要:一:集群的啟動與關閉1. rac集群的手動啟動[root@node1 bin]# ./crsctl start cluster -all2. 查看rac集群的狀態[root@node1 bin]# ./crsctl stat res -t3. rac集群的關閉[r

對一個或多個實體的驗證失敗。有關詳細信息,請參閱“EntityValidationErrors”屬性的解決

tro https span cep 實例 tps lte .data 防止 這個問題相信只要是做MVC的,都碰到過,也都知道錯誤的原因,就是觸發了定義的實例字段校驗規則。比如定義的不為空,但是為空了,或者定義的字段長度為50,但是超過50了。 可是有時雖然知道是這樣,

次Alluxio HA master啟動失敗

大數據 Hadoop 1. 今天遇到一個情況,就是alluxio不能正常訪問,經過日誌查看,發現下面錯誤。2018-05-14 03:35:58,680 ERROR logger.type (HdfsUnderFileSystem.java:open) - 4 try to open hdfs://s

oracle 11g rac 監聽無法啟動

right dom ice 文件 gen roo ssa disk inux 1.數據庫啟動集群報錯 [root@db1 bin]# ./crs_stat -t -v Name Type R/RA F/FT Targe