搭建RAC过程中,运行root.sh脚本,节点1报错如下:
CRS-2672: Attempting to start 'ora.asm' on 'db1'
CRS-2676: Start of 'ora.asm' on 'db1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'db1'
CRS-2676: Start of 'ora.DATA.dg' on 'db1' succeeded
PRCR-1079 : 无法启动资源 ora.scan1.vip
CRS-5017: The resource action "ora.scan1.vip start" encountered the following error:
CRS-5005: IP Address: 192.168.0.160 is already in use in the network
. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/db1/agent/crsd/orarootagent_root/orarootagent_root.log".
CRS-2674: Start of 'ora.scan1.vip' on 'db1' failed
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
start scan ... failed
FirstNode configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9379.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
[root@db1 ~]#
#private ip
10.10.0.150 db1-priv
10.10.0.151 db2-priv
#scan ip
192.168.0.160 db-scan
[grid@db1 ~]$ srvctl remove scan_listener
Remove scan listener? (y/[n]) y
[grid@db1 ~]$ crsctl stop resource ora.scan1.vip
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'db1'
CRS-2677: Stop of 'ora.scan1.vip' on 'db1' succeeded
重启crs
[grid@db1 ~]$ crs_start -all
CRS-5702: Resource 'ora.DATA.dg' is already running on 'db1'
CRS-5702: Resource 'ora.LISTENER.lsnr' is already running on 'db1'
CRS-5702: Resource 'ora.asm' is already running on 'db1'
CRS-5702: Resource 'ora.asm' is already running on 'db1'
CRS-5702: Resource 'ora.LISTENER.lsnr' is already running on 'db1'
CRS-2501: Resource 'ora.gsd' is disabled
CRS-5702: Resource 'ora.ons' is already running on 'db1'
CRS-5702: Resource 'ora.db1.vip' is already running on 'db1'
CRS-5702: Resource 'ora.asm' is already running on 'db2'
CRS-5702: Resource 'ora.LISTENER.lsnr' is already running on 'db2'
CRS-2501: Resource 'ora.gsd' is disabled
CRS-5702: Resource 'ora.ons' is already running on 'db2'
CRS-5702: Resource 'ora.db2.vip' is already running on 'db2'
CRS-2501: Resource 'ora.gsd' is disabled
CRS-5702: Resource 'ora.net1.network' is already running on 'db1'
CRS-5702: Resource 'ora.ons' is already running on 'db1'
CRS-5702: Resource 'ora.scan1.vip' is already running on 'db2'
Attempting to start `ora.oc4j` on member `db1`
Attempting to start `ora.cvu` on member `db1`
Attempting to start `ora.LISTENER_SCAN1.lsnr` on member `db2`
Start of `ora.cvu` on member `db1` succeeded.
Start of `ora.LISTENER_SCAN1.lsnr` on member `db2` succeeded.
Start of `ora.oc4j` on member `db1` succeeded.
CRS-0223: Resource 'ora.DATA.dg' has placement error.
CRS-0223: Resource 'ora.LISTENER.lsnr' has placement error.
CRS-0223: Resource 'ora.asm' has placement error.
CRS-0223: Resource 'ora.db1.ASM1.asm' has placement error.
CRS-0223: Resource 'ora.db1.LISTENER_DB1.lsnr' has placement error.
CRS-2660: Resource 'ora.db1.gsd' or all of its instances are disabled
CRS-0223: Resource 'ora.db1.ons' has placement error.
CRS-0223: Resource 'ora.db1.vip' has placement error.
CRS-0223: Resource 'ora.db2.ASM2.asm' has placement error.
CRS-0223: Resource 'ora.db2.LISTENER_DB2.lsnr' has placement error.
CRS-2660: Resource 'ora.db2.gsd' or all of its instances are disabled
CRS-0223: Resource 'ora.db2.ons' has placement error.
CRS-0223: Resource 'ora.db2.vip' has placement error.
CRS-2660: Resource 'ora.gsd' or all of its instances are disabled
CRS-0223: Resource 'ora.net1.network' has placement error.
CRS-0223: Resource 'ora.ons' has placement error.
CRS-0223: Resource 'ora.scan1.vip' has placement error.