nacos 报错is not in serverlist

Posted yybrhr

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nacos 报错is not in serverlist相关的知识,希望对你有一定的参考价值。

描述

nacos 没有在节点列表里面

 

查看日志

cd /opt/nacos/

tailf   /logs/naming-raft.log

<!--报错-->

2019-08-16 17:48:15,000 WARN [IS LEADER] no leader is available now!

2019-08-16 17:48:16,684 INFO leader timeout, start voting,leader: null, term: 1

解决

原因:linux里启动默认是集群而,所以启动必须加-m standalone,单例模式启动

 

./shutdown.sh && ./startup.sh  -m standalone

 

验证

技术图片

以上是关于nacos 报错is not in serverlist的主要内容,如果未能解决你的问题,请参考以下文章

解决Zookeeper报错:conf is not executed because it is not in the whitelist的解决办法

reactlessantd-mobile 报错Inline JavaScript is not enabled. Is it set in your options?

Go引入包报错 package ... is not in GOROOT

hadoophadoop 报错 Operation category READ is not supported in state standby

Angular2启动项目的报错:ERROR in AppModule is not an NgModule

Namenode启动报错Operation category JOURNAL is not supported in state standby