Star

metad启动问题

部署版本为1.0.0

使用nebula.service启动metad时,显示以下内容:
[INFO] Stopping nebula-metad…
*** Aborted at 1598258423 (unix time) try “date -d @1598258423” if you are using GNU date ***
[INFO] Done
PC: @ 0x7f0a8def0e2d __GI_nanosleep
*** SIGTERM (@0x1a231) received by PID 106199 (TID 0x7f0a8ed45980) from PID 107057; stack trace: ***
@ 0x7f0a8e2085cf (unknown)
@ 0x7f0a8def0e2d __GI_nanosleep
@ 0x7f0a8def0cc3 __sleep
@ 0x463939 initKV()
@ 0x437814 main
@ 0x7f0a8de4e3d4 __libc_start_main
@ 0x462742 (unknown)
请问这些额外的内容是什么信息?

此外metad启动后似乎未正常运行(没有监听45500端口),nebula-metad.INFO中的内容为:
I0824 16:55:01.338052 107157 RaftPart.cpp:1194] [Port: 45501, Space: 0, Part: 0] No one is elected, continue the election
I0824 16:55:01.784859 107112 MetaDaemon.cpp:105] Leader has not been elected, sleep 1s
I0824 16:55:02.784962 107112 MetaDaemon.cpp:105] Leader has not been elected, sleep 1s
I0824 16:55:03.176966 107154 RaftPart.cpp:1116] [Port: 45501, Space: 0, Part: 0] Sending out an election request (space = 0, part = 0, term = 611, lastLogId = 0, lastLogTerm = 0, candidat
eIP = 10.101.50.32, candidatePort = 45501)
请问该如何解决?

怀疑是端口号配置的问题,端口号被占用?或者尝试一下最新的code,可能以下的PR已经解决了这个问题:
https://github.com/vesoft-inc/nebula/pull/2289

配置的是默认的45500端口,netstat查看未有其他进程占用

或者用 ./bin/nebula-metad --flagfile /nebula_db/etc/nebula-metad.conf 这个命令直接启动试试,gdb一下看看

浙ICP备20010487号