v2.0 全文检索启动失败

  • nebula 版本:v2.0.0 a版本
  • 部署方式(分布式 / 单机 / Docker / DBaaS):wsl单机
  • 问题的具体描述
    nebula-storaged-listener.conf的配置如下:
########## nebula-storaged-listener ###########
########## basics ##########
# Whether to run as a daemon process
--daemonize=false
# The file to host the process id
--pid_file=pids_listener/nebula-storaged.pid

########## logging ##########
# The directory to host logging files, which must already exists
--log_dir=logs_listener
# Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively
--minloglevel=0
# Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging
--v=0
# Maximum seconds to buffer the log messages
--logbufsecs=0

########## networking ##########
# Meta server address
--meta_server_addrs=127.0.0.1:45500
# Local ip
--local_ip=127.0.0.1
# Storage daemon listening port
--port=44510
# HTTP service ip
--ws_ip=127.0.0.1
# HTTP service port
--ws_http_port=12021
# HTTP2 service port
--ws_h2_port=12031

########## storage ##########
--listener_path=data/listener
# The type of part manager, [memory | meta]
--part_man_type=memory
# The default reserved bytes for one batch operation
--rocksdb_batch_size=4096
# The default block cache size used in BlockBasedTable.
# The unit is MB.
--rocksdb_block_cache=4
# The type of storage engine, `rocksdb', `memory', etc.
--engine_type=rocksdb
# The type of part, `simple', `consensus'...
--part_type=simple

执行 /bdp/nebula2/bin/nebula-storaged --flagfile /bdp/nebula2/etc/nebula-storaged-listener.conf
出现


storage文件目录是存在的
image

listener的目录存在吗?

# The file to host the process id
--pid_file=pids_listener/nebula-storaged.pid
# The directory to host logging files, which must already exists
--log_dir=logs_listener

存在的image

看着还是配置的问题,按照这个配置文件试试呢?https://github.com/vesoft-inc/nebula-storage/commit/756e3baff26494505e7964ce811db19ad0b43467

建议用真实ip

Use the real IP in the configuration file. Copy the nebula-graphd.conf configuration file (the directory is /usr/local/nebula/etc/ by default) and rename it as nebula-storaged-listener.conf. Add the preceding configurations to the nebula-storaged-listener.conf configuration file.

都改成真实ip后,还是不行。

ps -ef | grep nebula 看看服务都在不在?你是部署的集群还是单机?服务都在一台机器上的话这样是正常的

好像是bug 我把–listener_path=data/listener 改成–data_path=data/listener 后,执行命令成功。

端口号可以自己指定,只要保证是通的就行,也不要超出uint16_t范围。

端口指定,全部不在线

ps -ef | grep elasticsearch看看es起起来了没有,如果没有,你这样./bin/elasticsearch -d

es正常。

为什么三个listener的IP和端口号都是一样的?

上边的log是因为logs_listener不存在导致

我3个分区 官网例子也是一样的

不是logs_listener不存在导致的,是因为–listener_path 这个,改成data_path就可以了。

改成data_path就错了,不能这么改。我们还是找找listener起不来的根本原因吧。你先把data_path的改动撤销回去,然后检查一下配置文件中的那几个dir是否存在。启动一下试试,失败的话给我贴图过来分析一下吧。

没错,是这样的

改回来后 启动错误

配置文件里把listener_path 和 data_path 同时设置上试试?