-1

Here are the steps (and problems):

  1. to stop 172.16.0.17 nebula graph
sudo /usr/local/nebula/scripts/nebula.service stop all
  1. kill -9 to stop listener enter image description here

  2. restart service

sudo /usr/local/nebula/scripts/nebula.service start all
  1. start listener
./bin/nebula-storaged --flagfile /usr/local/nebula/etc/nebula-storaged-listener.conf
  1. On 172.16.0.20 nebula graph, create a new space and use this space. Then
ADD LISTENER ELASTICSEARCH 172.16.0.17:9789

to add listener

  1. SHOW LISTENER. Here is the problem: It's offline

enter image description here

user13726945
  • 105
  • 1
  • 5

1 Answers1

0

The major reason is that one step is missing:

We must sign in text service before add listener. I.e., before step 4. Otherwise, an error occurs:

Running on machine: k3s01
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E1130 19:25:45.874213 20331 MetaClient.cpp:636] Send request to "172.16.0.17":9559, exceed retry limit
E1130 19:25:45.874900 20339 MetaClient.cpp:139] Heartbeat failed, status:RPC failure in MetaClient: N6apache6thrift9transport19TTransportExceptionE: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused
user13726945
  • 105
  • 1
  • 5