srvctl start nodeapps -n rac1
所有的ons vip gsd listener会起来哦,但是发现ons没起来
查看配置
/opt/oracle/otk/home/oracle/product/10.2.0/crs/opmn/conf
more /opt/oracle/otk/home/oracle/product/10.2.0/crs/opmn/conf/ons.config
查看日志
文件路径:$CRS_HOME/opmn/log/ons.log
more /opt/oracle/otk/home/oracle/product/10.2.0/crs/opmn/logs/ons.log
发现端口占用提示
netstat -ano|grep 6113
好多。。。。
netstat -lnp|grep 6113
ps -ef|grep ons
删掉
[root@rac1 logs]# kill -9 4303
[root@rac1 logs]# kill -9 4302
[root@rac1 logs]# kill -9 32091
[root@rac1 logs]# ps -ef|grep ons
root 2207 24891 0 16:03 pts/3 00:00:00 grep ons
然后启动资源
[root@rac1 logs]# crs_start ora.rac2.ons
Attempting to start `ora.rac2.ons` on member `rac2`
Start of `ora.rac2.ons` on member `rac2` succeeded.
[root@rac1 logs]# crs_start ora.rac1.ons
Attempting to start `ora.rac1.ons` on member `rac1`
Start of `ora.rac1.ons` on member `rac1` succeeded.
然后关闭节点重新开启节点服务发现4个都ok了
[root@rac1 logs]# srvctl stop nodeapps -n rac1
[root@rac1 logs]# srvctl start nodeapps -n rac1