rac02 : CRS-1019: Resource ora.rac01.ons(application) cannot run on rac02
root@rac01 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....01.lsnr application ONLINE ONLINE rac01
ora.rac01.gsd application ONLINE ONLINE rac01
ora.rac01.ons application ONLINE OFFLINE
ora.rac01.vip application ONLINE ONLINE rac01
ora....02.lsnr application ONLINE ONLINE rac02
ora.rac02.gsd application ONLINE ONLINE rac02
ora.rac02.ons application ONLINE OFFLINE
ora.rac02.vip application ONLINE ONLINE rac02
[root@rac01 bin]# ./crs_start ora.rac01.ons
Attempting to start `ora.rac01.ons` on member `rac01`
Start of `ora.rac01.ons` on member `rac01` failed.
rac02 : CRS-1019: Resource ora.rac01.ons(application) cannot run on rac02
CRS-0215: Could not start resource 'ora.rac01.ons'.
CRS-0210: Could not find resource 'resource'.
檢查ons配置資訊
配置檔案路徑:$CRS_HOME/opmn/conf/ons.config
資訊如下:
[root@rac01 conf]# more ons.config
localport=6113
remoteport=6200
loglevel=3
useocr=on
檢視日誌檔案:
檔案路徑:$CRS_HOME/opmn/log/ons.log
[root@rac01 logs]# more ons.log
10/04/25 12:47:25 [2] BIND (Address already in use)
10/04/25 12:47:25 [2] 0.0.23.225:6113 - listener BIND failed
10/04/25 12:47:25 [1] Local listener terminated
10/04/25 12:54:28 [2] BIND (Address already in use)
10/04/25 12:54:28 [2] 0.0.23.225:6113 - listener BIND failed
10/04/25 12:54:28 [1] Local listener terminated
10/04/25 12:57:44 [2] BIND (Address already in use)
10/04/25 12:57:44 [2] 0.0.23.225:6113 - listener BIND failed
10/04/25 12:57:44 [1] Local listener terminated
10/04/25 13:22:24 [2] BIND (Address already in use)
10/04/25 13:22:24 [2] 0.0.23.225:6113 - listener BIND failed
10/04/25 13:22:24 [1] Local listener terminated
系統顯示好像無法繃定6113埠
檢查ons的6113埠情況:
[root@rac01 bin]# netstat -ano|grep 6113
tcp 0 X.X.X.X:6113 X.X.X.X:* LISTEN waited (0.00/0/0)
.
.
.
不斷的出現6113埠等待連線的資訊.
難道是6113的埠被其它佔用的原因嗎,或者系統沒有釋放ons所佔用的6113埠嗎
再次檢查:
[root@rac01 bin]# netstat -lnp|grep 6113
tcp 0 0 127.0.0.1:6113 0.0.0.0:* LISTEN 22158/ons
真的有一個nos佔用6113埠沒有釋放
嘗試殺死所有的ons程式資訊
[root@rac01 conf]# ps -ef|grep ons
root 2513 1 0 12:11 ? 00:00:00 sendmail: accepting connections
root 5170 1 0 12:46 ? 00:00:00 /opt/ora10g/product/10.2.0/crs_1/opmn/bin/ons -d
root 27208 5170 29 13:56 ? 00:00:12 /opt/ora10g/product/10.2.0/crs_1/opmn/bin/ons -d
root 30429 5545 0 13:56 pts/1 00:00:00 grep ons
[root@rac01 conf]# kill -9 5170
[root@rac01 conf]# kill -9 27208
[root@rac01 conf]# kill -9 2513
[root@rac01 conf]# ps -ef|grep ons
root 12239 5545 0 13:57 pts/1 00:00:00 grep ons
檢查6113埠占用情況
[root@rac01 conf]# netstat -lnp|grep 6113
嘗試再次啟動ora.rac01.ons服務
[root@rac01 bin]# ./crs_start ora.rac01.ons
Attempting to start `ora.rac01.ons` on member `rac01`
Start of `ora.rac01.ons` on member `rac01` succeeded.
[root@rac01 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....01.lsnr application ONLINE ONLINE rac01
ora.rac01.gsd application ONLINE ONLINE rac01
ora.rac01.ons application ONLINE ONLINE rac01
ora.rac01.vip application ONLINE ONLINE rac01
ora....02.lsnr application ONLINE ONLINE rac02
ora.rac02.gsd application ONLINE ONLINE rac02
ora.rac02.ons application ONLINE OFFLINE
ora.rac02.vip application ONLINE ONLINE rac02
啟動成功!
再啟動ora.rac02.ons服務,
同樣啟動成功.
[root@rac01 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....01.lsnr application ONLINE ONLINE rac01
ora.rac01.gsd application ONLINE ONLINE rac01
ora.rac01.ons application ONLINE ONLINE rac01
ora.rac01.vip application ONLINE ONLINE rac01
ora....02.lsnr application ONLINE ONLINE rac02
ora.rac02.gsd application ONLINE ONLINE rac02
ora.rac02.ons application ONLINE ONLINE rac02
ora.rac02.vip application ONLINE ONLINE rac02
問題解決.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23757700/viewspace-696707/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 重起oracle rac三節點中rac02主機以解決鏈路noname問題Oracle
- Npm install failed with “cannot run in wd”NPMAI
- CRS: Resource in UNKNOWN state and srvctl Cannot Start/Stop Resource_845709.1
- cannot set user id: Resource temporarily unavailableAI
- android.app.Application cannot be cast to 新建的ApplicationAndroidAPPAST
- SHH.exe: Application help cannot be calledAPP
- FILE ON OCFS CANNOT BE DELETED LINUX ERROR: 16: DEVICE OR RESOURCE BUSYdeleteLinuxErrordev
- su cannot set user id Resource temporarily unavailable故障解決AI
- How to Run Statement Level/Java trace or a SQL Trace in Self Service ApplicationJavaSQLAPP
- su - oracle報錯su: cannot set user id: Resource temporarily unavailableOracleAI
- Linux rm -rf 之rm: cannot remove `linux': Device or resource busyLinuxREMdev
- 【轉】Cannot load ICU resource bundle 'ggMessage', error code 2Error
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- Delphi主訊息迴圈研究(Application.Run和Application.Initialize執行後的情況)APP
- ps1 is not digitally signed. You cannot run this script解決方案Git
- View.setTag(key,object)異常:The key must be an application-specific resource id.ViewObjectAPP
- spring boot: 熱部署(一) run as – java application (spring-loader-1.2.4.RELEASE.jar)Spring Boot熱部署JavaAPPJAR
- IDEA2024(高版本)的git報錯:Cannot run a Git command in the safe modeIdeaGit
- 安裝docker問題:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?Docker
- EBS修改密碼導致APP-FND-01496: Cannot access application ORACLE password密碼APPOracle
- Docker執行命令報錯:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?Docker
- Laravel Resource Routes和API Resource Routes講解LaravelAPI
- IntelliJ IDEA-從SVN匯出專案出現:Cannot run program "svn"的解決辦法IntelliJIdea
- npm run dev 和 npm run serve 區別NPMdev
- 【譯】Resource Hints
- RESOURCE_LIMITMIT
- Task.Run(async () =>{}) 和 Task.Run(() =>{})區別
- Docker run 命令Docker
- Catch Application Exceptions in a Windows Forms ApplicationAPPExceptionWindowsORM
- Metasploit resource命令技巧
- Oracle Database Resource ManagerOracleDatabase
- vue-resource 小抄Vue
- Resource temporarily unavailableAI
- Oracle simple resource planOracle
- v$resource_limitMIT
- Oracle Resource Manager概述Oracle
- Application_End Application_Start 呼叫APP
- 完美解決SqlServer2012啟動報錯(cannot find one or more components.Please reinstall the application。)SQLServerAPP