oracle10g rac(rhel4)_srvctl啟動出錯_PRKH-1010
啟動oracle rac時,報如下錯誤
[root@capitek1 ~]# su - oracle
-bash-3.00$ srvctl start database -d capitek
PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: capitek
-bash-3.00$ srvctl start database -d capitek
PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: capitek
-bash-3.00$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
處理方法:
1,在每個節點上:
/etc/init.d/init.crs stop
/etc/init.d/init.crs start
若crs程式正常,採用ps結果如下:
[root@capitek1 tmp]# ps -ef|grep crs
root 3541 1 0 04:07 ? 00:00:00 /bin/su -l oracle -c sh -c 'ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/evmd; exec /u01/app/oracle/product/10.2.0/crs_1/bin/evmd '
root 3991 1 0 04:07 ? 00:00:02 /u01/app/oracle/product/10.2.0/crs_1/bin/crsd.bin reboot
oracle 7192 3541 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/evmd.bin
root 7271 7177 0 06:04 ? 00:00:00 /bin/su -l oracle -c /bin/sh -c 'ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/cssd; /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd || exit $?'
oracle 7272 7271 0 06:04 ? 00:00:00 /bin/sh -c ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/cssd; /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd || exit $?
oracle 7293 7272 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd.bin
oracle 7532 7192 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/evmlogger.bin -o /u01/app/oracle/product/10.2.0/crs_1/evm/log/evmlogger.info -l /u01/app/oracle/product/10.2.0/crs_1/evm/log/evmlogger.log
oracle 8460 1 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/opmn/bin/ons -d
oracle 8461 8460 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/opmn/bin/ons -d
root 17951 4548 0 06:11 pts/1 00:00:00 grep crs
[root@capitek1 tmp]#
若crs程式有問題,結果如下:
[root@capitek1 tmp]# ps -ef|grep crs
root 3991 1 0 04:07 ? 00:00:00 /bin/sh /etc/init.d/init.crsd run
root 6818 4548 0 06:01 pts/1 00:00:00 grep crs
[root
2,檢視/tmp下面的crsctl相關日誌,發現是vote and ocs許可權有問題,修正許可權和所有權如下:
--ocr
chown root:oinstall /dev/hdb1
chown root:oinstall /dev/raw/raw4
chmod 660 /dev/hdb1
chmod 660 /dev/raw/raw4
--voting disk
chown oracle:oinstall /dev/hdb2
chown oracle:oinstall /dev/raw/raw5
chmod 660 /dev/hdb2
chmod 660 /dev/raw/raw5
3,切換到oracle使用者,利用srvctl正常啟動rac
4,crs_stat -t檢視rac各元件狀態
[root@capitek1 ~]# su - oracle
-bash-3.00$ srvctl start database -d capitek
PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: capitek
-bash-3.00$ srvctl start database -d capitek
PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: capitek
-bash-3.00$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
處理方法:
1,在每個節點上:
/etc/init.d/init.crs stop
/etc/init.d/init.crs start
若crs程式正常,採用ps結果如下:
[root@capitek1 tmp]# ps -ef|grep crs
root 3541 1 0 04:07 ? 00:00:00 /bin/su -l oracle -c sh -c 'ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/evmd; exec /u01/app/oracle/product/10.2.0/crs_1/bin/evmd '
root 3991 1 0 04:07 ? 00:00:02 /u01/app/oracle/product/10.2.0/crs_1/bin/crsd.bin reboot
oracle 7192 3541 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/evmd.bin
root 7271 7177 0 06:04 ? 00:00:00 /bin/su -l oracle -c /bin/sh -c 'ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/cssd; /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd || exit $?'
oracle 7272 7271 0 06:04 ? 00:00:00 /bin/sh -c ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/cssd; /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd || exit $?
oracle 7293 7272 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd.bin
oracle 7532 7192 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/evmlogger.bin -o /u01/app/oracle/product/10.2.0/crs_1/evm/log/evmlogger.info -l /u01/app/oracle/product/10.2.0/crs_1/evm/log/evmlogger.log
oracle 8460 1 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/opmn/bin/ons -d
oracle 8461 8460 0 06:04 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/opmn/bin/ons -d
root 17951 4548 0 06:11 pts/1 00:00:00 grep crs
[root@capitek1 tmp]#
若crs程式有問題,結果如下:
[root@capitek1 tmp]# ps -ef|grep crs
root 3991 1 0 04:07 ? 00:00:00 /bin/sh /etc/init.d/init.crsd run
root 6818 4548 0 06:01 pts/1 00:00:00 grep crs
[root
2,檢視/tmp下面的crsctl相關日誌,發現是vote and ocs許可權有問題,修正許可權和所有權如下:
--ocr
chown root:oinstall /dev/hdb1
chown root:oinstall /dev/raw/raw4
chmod 660 /dev/hdb1
chmod 660 /dev/raw/raw4
--voting disk
chown oracle:oinstall /dev/hdb2
chown oracle:oinstall /dev/raw/raw5
chmod 660 /dev/hdb2
chmod 660 /dev/raw/raw5
3,切換到oracle使用者,利用srvctl正常啟動rac
4,crs_stat -t檢視rac各元件狀態
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-628923/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle10g rac(rhel4)__CRS-0215_srvctl start出錯一則Oracle
- oracle10g rac(rhel4)__crsctl_srvctl_ocrctl命令Oracle
- oracle10g rac(rhel4)_rootdelete.sh出錯Oracledelete
- oracle10g rac(rhel)_srvctl star執行出錯_crs_stop出錯Oracle
- rac 命令 srvctl 報錯
- oracle10g rac(rhel4)_rman備份歸檔出錯_backup archivelog allOracleHive
- oracle rac的vip與srvctl啟動關係Oracle
- 近期oracle10g rac(rhel4)測試提要Oracle
- 新增節點oracle10g rac(rhel4)_clusterwareOracle
- 新增節點oracle10g rac(rhel4)_databaseOracleDatabase
- 新增節點oracle10g rac(rhel4)_instanceOracle
- 改變oracle10g rac(rhel4)歸檔模式Oracle模式
- Oracle10g RAC 關閉及啟動Oracle
- RAC: SRVCTL and VIPCA 命令報錯解決方法PCA
- RAC常用開啟關閉命令 – SRVCTL用法
- 刪除oracle10g rac(rhel4)節點_例項Oracle
- 刪除oracle10g rac(rhel4)節點_節點Oracle
- oracle10g rac(rhel4)_load balancing_taf(一)Oracle
- oracle10g rac(rhel4)_load balancing_taf(二)Oracle
- oracle10g rac(rhel4)_load balancing_taf(三)Oracle
- oracle10g rac(rhel4)_load balancing_taf(四)Oracle
- Oracle10g RAC OS系統啟動時自動開啟的一些RAC元件Oracle元件
- Oracle10g RAC 關閉及啟動步驟Oracle
- oracle10g rac(rhel4)__single instance轉化oracle rac_成功實施Oracle
- oracle10g rac(rhel4)_ocfs2_ocfs_配置及資訊摘要Oracle
- RAC常用開啟關閉命令 - CRSCTL和SRVCTL 用法
- 3.1.1.4 使用 SRVCTL 啟動資料庫資料庫
- oracle rac srvctl 幫助大全Oracle
- 使用srvctl管理RAC資料庫資料庫
- RAC中的srvctl和crs命令
- 在RAC 中解決 vipca 和 srvctl 無法執行的錯誤PCA
- oracle10g rac(rhel4)核心程式及元件的日誌路徑_crs,css,evm,racgOracle元件CSS
- Oracle10g RAC開啟關閉過程Oracle
- Oracle10g RAC下啟用歸檔模式Oracle模式
- Oracle10g RAC 怎麼Listener. CRS , Instance ..... 都是自動開啟 ?Oracle
- 10G RAC: srvctl 命令總結
- 啟動mysql伺服器出錯MySql伺服器
- oracle10g rac安裝完畢 啟動的時候報錯ORA-01078 解決方法Oracle