使用console出现错误

  • nebula 版本:3.0.0
  • 部署方式:单机
  • 安装方式:RPM
  • 是否为线上版本:N
  • console版本:3.0.0和2.6.0均测试过
  • 问题的具体描述
    出现如下的错误:
    2022/06/03 22:11:29 Fail to initialize the connection pool, host: 127.0.0.1, port: 9669, failed to open connection, error: failed to verify client version: verifyClientVersion failed: wrong method name
    panic: Fail to initialize the connection pool, host: 127.0.0.1, port: 9669, failed to open connection, error: failed to verify client version: verifyClientVersion failed: wrong method name

goroutine 1 [running]:
log.Panicf(0xc0003a6000, 0xb6, 0x0, 0x0, 0x0)
/opt/hostedtoolcache/go/1.16.4/x64/src/log/log.go:361 +0xc5
main.main()
/home/runner/work/nebula-console/nebula-console/main.go:535 +0xb10

你的 Nebula 3.0 版本是从 2.6 升级上来的吗,还是本地部署了 2 个版本的 Nebula。

只部署了Nebula 3.0.0

:thinking: console 咋是两套,我觉得可能是配置问题。

之前是我用console3.0.0来作为客户端启动nebula graph,但是连接显示错误,然后我换成了console2.6.0还是不行,console可以下各种版本,在文档中说nebula和console最好是同一版本的,我之前在另外一个机子上安装了nebula3.0.0和console3.0.0是没问题的,就很奇怪

把配置文件贴一下

配置文件都是默认的没有修改过,软件都是刚装的,我现在又重新安装了nebula,现在连service都启动不了了 :sob:

现在又出现了新的问题重新安装的nebula启动不了service

nebula]$ sudo /usr/local/nebula/scripts/nebula.service status all
[WARN] The maximum files allowed to open might be too few: 1024
[INFO] nebula-metad(02b2091): Running as 21218, Listening on 9559 
[INFO] nebula-graphd(02b2091): Running as 21751, Listening on 9669 
[INFO] nebula-storaged(02b2091): Running as 21818, Listening on 9779 
nebula]$ sudo /usr/local/nebula/scripts/nebula.service status all
[WARN] The maximum files allowed to open might be too few: 1024
[INFO] nebula-metad(02b2091): Exited
[INFO] nebula-graphd(02b2091): Running as 21751, Listening on 9669 
[INFO] nebula-storaged(02b2091): Running as 21818, Listening on 9779 
nebula]$ sudo /usr/local/nebula/scripts/nebula.service status all
[WARN] The maximum files allowed to open might be too few: 1024
[INFO] nebula-metad(02b2091): Exited
[INFO] nebula-graphd(02b2091): Running as 21751, Listening on 9669 
[INFO] nebula-storaged(02b2091): Running as 21818, Listening on 9779 
nebula]$ sudo /usr/local/nebula/scripts/nebula.service status all
[WARN] The maximum files allowed to open might be too few: 1024
[INFO] nebula-metad(02b2091): Exited
[INFO] nebula-graphd(02b2091): Running as 21751, Listening on 9669 
[INFO] nebula-storaged(02b2091): Running as 21818, Listening on 9779 
nebula]$ sudo /usr/local/nebula/scripts/nebula.service status all
[WARN] The maximum files allowed to open might be too few: 1024
[INFO] nebula-metad(02b2091): Exited
[INFO] nebula-graphd(02b2091): Exited
[INFO] nebula-storaged(02b2091): Exited

查看nebula-metad.ERROR 文件如下:

Log file created at: 2022/06/05 00:51:40
Running on machine: gz023
Running duration (h:mm:ss): 0:00:00
Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg
E20220605 00:51:40.199231 161890 FileUtils.cpp:377] Failed to read the directory "/usr/local/nebula/data/meta/nebula" (2): No such file or directory

这个是操作系统常见的错误,你先去百度下解决掉。:thinking: 再看看启动会不会有问题

1 个赞

十分感谢,问题解决了,而且重装了之后之前的问题也消失了,虽然不知道之前是什么原因

1 个赞

:joy: 如此神奇。有问题再来开帖子吧