12:10:11.305 [main] ERROR org.apache.pulsar.PulsarStandaloneStarter - Failed to start pulsar service.
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Caused by: io.netty.channel.AbstractChannel$AnnotatedSocketException: Invalid argument: /0.0.0.1:4181
Caused by: java.net.SocketException: Invalid argument
原启动命令:
cd /data/modules/pulsar/;nohup /data/modules/pulsar/bin/pulsar standalone >/dev/null 2>&1 &
加入-nss,解决,之前也是挂了之后,重启失败,也是加上这个:
cd /data/modules/pulsar/;nohup /data/modules/pulsar/bin/pulsar standalone -nss >/dev/null 2>&1 &
来源:oschina
链接:https://my.oschina.net/fufangchun/blog/4938609