Oracle10gRAC error:'ora.o10n1.LISTENER_O10N1.lsnr' has placement error.
[root@o10n1 ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE UNKNOWN o10n1
ora....N1.lsnr application ONLINE UNKNOWN o10n1
ora.o10n1.gsd application ONLINE UNKNOWN o10n1
ora.o10n1.ons application ONLINE UNKNOWN o10n1
ora.o10n1.vip application ONLINE ONLINE o10n1
ora....SM2.asm application ONLINE ONLINE o10n2
ora....N2.lsnr application ONLINE ONLINE o10n2
ora.o10n2.gsd application ONLINE ONLINE o10n2
ora.o10n2.ons application ONLINE ONLINE o10n2
ora.o10n2.vip application ONLINE ONLINE o10n2
[root@o10n1 ~]# srvctl start nodeapps -n o10n1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.o10n1.gsd' has placement error.
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.o10n1.ons' has placement error.
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.o10n1.LISTENER_O10N1.lsnr' has placement error.
目前我发现有两种错误的可能会导致,1个是时间同步造成的,另1个是ocr和vote的裸设备的配置不对,也会造成以上错误。
1.时间同步配置的有问题,重新检查配让时间同步了之后,重启crs
2.裸设备配置有问题,LINUX5建议采用UDEV配置ocr和vote的裸设备可以避免该问题的发生。
配置完成后重启整个CRS
[root@o10n1 ~]# /etc/init.d/init.crs stop
[root@o10n1 ~]# /etc/init.d/init.crs start
linux5下 RAC10g发现如下问题
[root@o10n1 ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE UNKNOWN o10n1
ora....N1.lsnr application ONLINE UNKNOWN o10n1
ora.o10n1.gsd application ONLINE UNKNOWN o10n1
ora.o10n1.ons application ONLINE UNKNOWN o10n1
ora.o10n1.vip application ONLINE ONLINE o10n1
ora....SM2.asm application ONLINE ONLINE o10n2
ora....N2.lsnr application ONLINE ONLINE o10n2
ora.o10n2.gsd application ONLINE ONLINE o10n2
ora.o10n2.ons application ONLINE ONLINE o10n2
ora.o10n2.vip application ONLINE ONLINE o10n2
[root@o10n1 ~]# srvctl start nodeapps -n o10n1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.o10n1.gsd' has placement error.
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.o10n1.ons' has placement error.
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.o10n1.LISTENER_O10N1.lsnr' has placement error.
错误原因及解决办法
目前我发现有两种错误的可能会导致,1个是时间同步造成的,另1个是ocr和vote的裸设备的配置不对,也会造成以上错误。
1.时间同步配置的有问题,重新检查配让时间同步了之后,重启crs
2.裸设备配置有问题,LINUX5建议采用UDEV配置ocr和vote的裸设备可以避免该问题的发生。
配置完成后重启整个CRS
[root@o10n1 ~]# /etc/init.d/init.crs stop
[root@o10n1 ~]# /etc/init.d/init.crs start