nebula graph studio rpm包在说明文档中无法下载


这个连接是不是失效了呢,点击后显示如下

你好~ 谢谢提出哈 我们这边文档组在修复了 你稍等下刷新一下试试哈

您好我已经下载下来了
但是安装完启动出现了问题,您帮我看一下可以吗

> nebula-graph-studio@2.2.2 start /usr/local/nebula-graph-studio
> egg-scripts start --daemon --title=egg-server-nebula-graph-studio --workers=3

[egg-scripts] Starting egg application at /usr/local/nebula-graph-studio
[egg-scripts] Run node --no-deprecation --require /usr/local/nebula-graph-studio/node_modules/source-map-support/register.js /usr/local/nebula-graph-studio/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-nebula-graph-studio","workers":3,"baseDir":"/usr/local/nebula-graph-studio","framework":"/usr/local/nebula-graph-studio/node_modules/egg"} --title=egg-server-nebula-graph-studio
[egg-scripts] Save log file to /root/logs
[egg-scripts] Wait Start: 1...
[egg-scripts] Wait Start: 2...
[egg-scripts] Wait Start: 3...
[egg-scripts] egg started on http://0.0.0.0:7001
nohup: 把输出追加到"nohup.out"
[root@bogon ~]# 2021/07/30 13:20:06 --- START OF NEBULA IMPORTER ---
2021/07/30 13:20:06 [INFO] httpserver.go:80: Starting http server on 5699
^C
[root@bogon ~]# bash /usr/local/nebula-graph-studio/scripts/start.sh

> nebula-graph-studio@2.2.2 start /usr/local/nebula-graph-studio
> egg-scripts start --daemon --title=egg-server-nebula-graph-studio --workers=3

[egg-scripts] Starting egg application at /usr/local/nebula-graph-studio
[egg-scripts] Run node --no-deprecation --require /usr/local/nebula-graph-studio/node_modules/source-map-support/register.js /usr/local/nebula-graph-studio/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-nebula-graph-studio","workers":3,"baseDir":"/usr/local/nebula-graph-studio","framework":"/usr/local/nebula-graph-studio/node_modules/egg"} --title=egg-server-nebula-graph-studio
[egg-scripts] Save log file to /root/logs
[egg-scripts] Wait Start: 1...
[egg-scripts] Wait Start: 2...
[egg-scripts] Wait Start: 3...
[egg-scripts] tail -n 100 /root/logs/master-stderr.log
[egg-scripts] Got error when startup: 
[egg-scripts] 2021-07-30 13:25:07,000 ERROR 4087 [app_worker] server got error: bind EADDRINUSE 0.0.0.0:7001, code: EADDRINUSE
[egg-scripts] 2021-07-30 13:25:07,020 ERROR 4069 nodejs.AppWorkerDiedError: [master] app_worker#1:4087 died (code: 0, signal: null, suicide: false, state: dead), current workers: ["2","3"]
[egg-scripts]     at Master.onAppExit (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/master.js:510:21)
[egg-scripts]     at Master.emit (events.js:375:28)
[egg-scripts]     at Messenger.sendToMaster (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/utils/messenger.js:137:17)
[egg-scripts]     at Messenger.send (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/utils/messenger.js:102:12)
[egg-scripts]     at EventEmitter.<anonymous> (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/master.js:353:22)
[egg-scripts]     at EventEmitter.emit (events.js:387:35)
[egg-scripts]     at ChildProcess.<anonymous> (internal/cluster/master.js:199:13)
[egg-scripts]     at Object.onceWrapper (events.js:482:26)
[egg-scripts]     at ChildProcess.emit (events.js:375:28)
[egg-scripts]     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
[egg-scripts] name: "AppWorkerDiedError"
[egg-scripts] pid: 4069
[egg-scripts] hostname: bogon
[egg-scripts] 
[egg-scripts] 2021-07-30 13:25:07,020 ERROR 4069 [master] app_worker#1:4087 start fail, exiting with code:1
[egg-scripts] 2021-07-30 13:25:07,020 ERROR 4069 [master] exit with code:1
[egg-scripts] 2021-07-30 13:25:07,025 ERROR 4076 [agent_worker] receive disconnect event on child_process fork mode, exiting with code:110
[egg-scripts] 2021-07-30 13:25:07,026 ERROR 4099 [app_worker] receive disconnect event in cluster fork mode, exitedAfterDisconnect:false
[egg-scripts] 2021-07-30 13:25:07,028 ERROR 4076 [agent_worker] exit with code:110
[egg-scripts] Error: write EPIPE
[egg-scripts]     at process.target._send (internal/child_process.js:839:20)
[egg-scripts]     at process.target.send (internal/child_process.js:710:19)
[egg-scripts]     at Object.<anonymous> (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/app_worker.js:34:9)
[egg-scripts]     at Module._compile (internal/modules/cjs/loader.js:1085:14)
[egg-scripts]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
[egg-scripts]     at Module.load (internal/modules/cjs/loader.js:950:32)
[egg-scripts]     at Function.Module._load (internal/modules/cjs/loader.js:790:14)
[egg-scripts]     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
[egg-scripts]     at internal/main/run_main_module.js:17:47
[egg-scripts] 2021-07-30 13:25:07,038 ERROR 4093 [app_worker] exit with code:1
[egg-scripts] 
[egg-scripts] Start got error, see /root/logs/master-stderr.log
[egg-scripts] Or use `--ignore-stderr` to ignore stderr at startup.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nebula-graph-studio@2.2.2 start: `egg-scripts start --daemon --title=egg-server-nebula-graph-studio --workers=3`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nebula-graph-studio@2.2.2 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-07-30T05_25_08_317Z-debug.log
[root@bogon ~]# nohup: 把输出追加到"nohup.out"
2021/07/30 13:25:08 --- START OF NEBULA IMPORTER ---
2021/07/30 13:25:08 [INFO] httpserver.go:80: Starting http server on 5699
2021/07/30 13:25:08 [ERROR] httpserver.go:86: listen tcp :5699: bind: address already in use
2021/07/30 13:25:09 --- END OF NEBULA IMPORTER ---

5699、7001 两个端口看下有没有被占用

怎么查看

lsof -i:5699
lsof -i:7001

这是被占用了吗

嗯,把进程关掉再启动服务试试 kill $(lsof -t -i :5699)

手动启动吗

还是有错误

[root@bogon ~]# lsof -i:5699
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nebula-im 3965 root    3u  IPv6  51781      0t0  TCP *:5699 (LISTEN)
[root@bogon ~]# lsof -i:7001
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
node    3913 root   23u  IPv4  51775      0t0  TCP *:afs3-callback (LISTEN)
[root@bogon ~]# kill $(lsof -t -i :5699)
[root@bogon ~]# lsof -i:5699
[root@bogon ~]# bash /usr/local/nebula-graph-studio/scripts/start.sh

> nebula-graph-studio@2.2.2 start /usr/local/nebula-graph-studio
> egg-scripts start --daemon --title=egg-server-nebula-graph-studio --workers=3

[egg-scripts] Starting egg application at /usr/local/nebula-graph-studio
[egg-scripts] Run node --no-deprecation --require /usr/local/nebula-graph-studio/node_modules/source-map-support/register.js /usr/local/nebula-graph-studio/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-nebula-graph-studio","workers":3,"baseDir":"/usr/local/nebula-graph-studio","framework":"/usr/local/nebula-graph-studio/node_modules/egg"} --title=egg-server-nebula-graph-studio
[egg-scripts] Save log file to /root/logs
[egg-scripts] Wait Start: 1...
[egg-scripts] Wait Start: 2...
[egg-scripts] Wait Start: 3...
[egg-scripts] tail -n 100 /root/logs/master-stderr.log
[egg-scripts] Got error when startup: 
[egg-scripts] 2021-07-30 13:46:44,229 ERROR 4402 [app_worker] server got error: bind EADDRINUSE 0.0.0.0:7001, code: EADDRINUSE
[egg-scripts] 2021-07-30 13:46:44,251 ERROR 4376 nodejs.AppWorkerDiedError: [master] app_worker#3:4402 died (code: 0, signal: null, suicide: false, state: dead), current workers: ["1","2"]
[egg-scripts]     at Master.onAppExit (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/master.js:510:21)
[egg-scripts]     at Master.emit (events.js:375:28)
[egg-scripts]     at Messenger.sendToMaster (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/utils/messenger.js:137:17)
[egg-scripts]     at Messenger.send (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/utils/messenger.js:102:12)
[egg-scripts]     at EventEmitter.<anonymous> (/usr/local/nebula-graph-studio/node_modules/egg-cluster/lib/master.js:353:22)
[egg-scripts]     at EventEmitter.emit (events.js:387:35)
[egg-scripts]     at ChildProcess.<anonymous> (internal/cluster/master.js:199:13)
[egg-scripts]     at Object.onceWrapper (events.js:482:26)
[egg-scripts]     at ChildProcess.emit (events.js:375:28)
[egg-scripts]     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
[egg-scripts] name: "AppWorkerDiedError"
[egg-scripts] pid: 4376
[egg-scripts] hostname: bogon
[egg-scripts] 
[egg-scripts] 2021-07-30 13:46:44,251 ERROR 4376 [master] app_worker#3:4402 start fail, exiting with code:1
[egg-scripts] 2021-07-30 13:46:44,252 ERROR 4376 [master] exit with code:1
[egg-scripts] 2021-07-30 13:46:44,260 ERROR 4383 [agent_worker] receive disconnect event on child_process fork mode, exiting with code:110
[egg-scripts] 2021-07-30 13:46:44,261 ERROR 4394 [app_worker] receive disconnect event in cluster fork mode, exitedAfterDisconnect:false
[egg-scripts] 2021-07-30 13:46:44,263 ERROR 4383 [agent_worker] exit with code:110
[egg-scripts] 2021-07-30 13:46:44,263 ERROR 4396 [app_worker] receive disconnect event in cluster fork mode, exitedAfterDisconnect:false
[egg-scripts] 
[egg-scripts] Start got error, see /root/logs/master-stderr.log
[egg-scripts] Or use `--ignore-stderr` to ignore stderr at startup.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nebula-graph-studio@2.2.2 start: `egg-scripts start --daemon --title=egg-server-nebula-graph-studio --workers=3`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nebula-graph-studio@2.2.2 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-07-30T05_46_46_098Z-debug.log
[root@bogon ~]# nohup: 把输出追加到"nohup.out"
2021/07/30 13:46:46 --- START OF NEBULA IMPORTER ---
2021/07/30 13:46:46 [INFO] httpserver.go:80: Starting http server on 5699

把 7001 也关掉


这样算是启动成功吗,那我怎么在网页界面看到这个呢

本地ip: 7001 即可

如果用完了,直接关闭页面,还需要通过命令行将其关闭吗?

需要,按照文档说明关闭即可

该话题在最后一个回复创建后7天后自动关闭。不再允许新的回复。

浙ICP备20010487号