【问题标题】:Nebula Graph fails on CentOS 6.5Nebula Graph 在 CentOS 6.5 上失败
【发布时间】:2020-04-20 05:32:33
【问题描述】:

Nebula Graph 在 CentOS 6.5 上失败,错误信息如下:

# storage log
Heartbeat failed, status:RPC failure in MetaClient: N6apache6thrift9transport19TTransportExceptionE: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused

# meta log
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0415 22:32:38.944437 15532 AsyncServerSocket.cpp:762] failed to set SO_REUSEPORT on async server socket Protocol not available
E0415 22:32:38.945001 15510 ThriftServer.cpp:440] Got an exception while setting up the server: 92failed to bind to async server socket: [::]:0: Protocol not available
E0415 22:32:38.945057 15510 RaftexService.cpp:90] Setup the Raftex Service failed, error: 92failed to bind to async server socket: [::]:0: Protocol not available
E0415 22:32:38.949586 15463 NebulaStore.cpp:47] Start the raft service failed
E0415 22:32:38.949597 15463 MetaDaemon.cpp:88] Nebula store init failed
E0415 22:32:38.949796 15463 MetaDaemon.cpp:215] Init kv failed!

星云服务状态如下:

[root@redhat6 scripts]# ./nebula.service status  all
[WARN] The maximum files allowed to open might be too few: 1024
[INFO] nebula-metad: Exited
[INFO] nebula-graphd: Exited
[INFO] nebula-storaged: Running as 15547, Listening on 44500

【问题讨论】:

    标签: centos6.5 nebula-graph


    【解决方案1】:

    错误原因:CentOS 6.5系统内核版本为2.6.32,小于3.9。但是,SO_REUSEPORT 只支持 Linux 3.9 及以上版本。

    升级系统到CentOS 7.5可以自行解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-10-30
      • 2016-08-20
      • 2014-10-27
      • 2015-05-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-03
      相关资源
      最近更新 更多