root@dailuvm14:/# su -l nebula
$ cd /home/nebula/nebula-graph-3.8.0.el8.x86_64/scripts/
$ ll
-sh: 2: ll: not found
$ ls -alh
总计 40K
drwxrwxr-x 2 nebula nebula 4.0K 4月 8 15:01 .
drwxrwxr-x 6 nebula nebula 4.0K 4月 8 14:15 …
-rwxrwxr-x 1 nebula nebula 2.1K 5月 15 2024 meta-transfer-tools.sh
-rwxrwxr-x 1 nebula nebula 202 5月 15 2024 nebula-graphd.service
-rwxrwxr-x 1 nebula nebula 201 5月 15 2024 nebula-metad.service
-rwxrwxr-x 1 nebula nebula 7.4K 5月 15 2024 nebula.service
-rwxrwxr-x 1 nebula nebula 213 5月 15 2024 nebula-storaged-listener.service
-rwxrwxr-x 1 nebula nebula 204 5月 15 2024 nebula-storaged.service
-rwxrwxr-x 1 nebula nebula 3.5K 5月 15 2024 utils.sh
$ bash nebula.service status all
[INFO] nebula-metad(7458486): Exited
[INFO] nebula-graphd(7458486): Exited
[INFO] nebula-storaged(7458486): Exited
$ bash nebula.service start all
[INFO] Starting nebula-metad…
E20250409 10:39:07.929451 2685 MetaDaemon.cpp:83] Meta Data Path should not empty
[INFO] Done
$
我在安装数据库以后启动服务的时候报错了,请问这个问题如何解决?
报错直接原因是 meta 的 data path 配置为空, 应该是你没有把配置文件放好(默认的文件名要改一下)
参考 使用 TAR 包安装 - NebulaGraph Database 手册
此外三节点记得配置好每一个节点的 ip,如果是 127.0.0.1 彼此之间就没法通信了
1 个赞