ERROR: Cannot initialize Wazuh indexer cluster

2,250 views
Skip to first unread message

cai b

unread,
Jun 21, 2022, 6:22:18 AM6/21/22
to Wazuh mailing list
Dear Brothers,
I  get “ERROR: Cannot initialize Wazuh indexer cluster” when I exec “bash wazuh-install.sh --wazuh-indexer node-1”in Guide"Install the Wazuh indexer using the assistant" 
And I couldn't get more information about this in /var/log/wazuh-install.log

cai b

unread,
Jun 21, 2022, 6:24:05 AM6/21/22
to Wazuh mailing list
cat config.yml
nodes:
  # Wazuh indexer nodes
  indexer:
    - name: node-1
      ip: 172.19.xxx.x1
     - name: node-2
       ip: 172.19.xxx.x2
     - name: node-3
       ip: 172.19.xxx.x3
  # Wazuh server nodes
  # Use node_type only with more than one Wazuh manager
  server:
    - name: wazuh-1
      ip:  172.19.xxx.x1
    # node_type: master
    # - name: wazuh-2
    #   ip: <wazuh-manager-ip>
    # node_type: worker

  # Wazuh dashboard nodes
  dashboard:
    - name: dashboard
      ip:  172.19.xxx.x1

Chantal Belen Kelm

unread,
Jun 21, 2022, 1:48:53 PM6/21/22
to Wazuh mailing list
Good afternoon how are you? Thank you very much for using Wazuh.
Prior to the command bash wazuh-install.sh --wazuh-indexer node-1 you have done this step: " Make sure that a copy of wazuh-install-files.tar, created during the initial configuration step, is placed in your working directory. "?

I will be waiting for your answer!

Regards!

cai b

unread,
Jun 21, 2022, 9:57:33 PM6/21/22
to Wazuh mailing list
I also tried " curl -sO https://packages.wazuh.com/4.3/wazuh-install.sh && sudo bash ./wazuh-install.sh -a  "  in  Documentation\Quickstart\Installing Wazuh.
but, i get "ERROR: Cannot initialize Wazuh indexer cluster."too
```
curl -sO https://packages.wazuh.com/4.3/wazuh-install.sh && sudo bash ./wazuh-install.sh -a -o
21/06/2022 19:08:01 INFO: Starting Wazuh installation assistant. Wazuh version: 4.3.4
21/06/2022 19:08:01 INFO: Verbose logging redirected to /var/log/wazuh-install.log
21/06/2022 19:08:33 INFO: --- Removing existing Wazuh installation ---
21/06/2022 19:08:33 INFO: Installation cleaned.
21/06/2022 19:08:36 INFO: Wazuh repository added.
21/06/2022 19:08:36 INFO: --- Configuration files ---
21/06/2022 19:08:36 INFO: Generating configuration files.
21/06/2022 19:08:37 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
21/06/2022 19:08:37 INFO: --- Wazuh indexer ---
21/06/2022 19:08:37 INFO: Starting Wazuh indexer installation.
21/06/2022 19:10:01 INFO: Wazuh indexer installation finished.
21/06/2022 19:10:01 INFO: Wazuh indexer post-install configuration finished.
21/06/2022 19:10:01 INFO: Starting service wazuh-indexer.
21/06/2022 19:10:43 INFO: wazuh-indexer service started.
21/06/2022 19:10:43 INFO: Initializing Wazuh indexer cluster security settings.
21/06/2022 19:13:10
ERROR: Cannot initialize Wazuh indexer cluster.
21/06/2022 19:13:10 INFO: --- Removing existing Wazuh installation ---
21/06/2022 19:13:10 INFO: Removing Wazuh indexer.
21/06/2022 19:13:56 INFO: Wazuh indexer removed.
21/06/2022 19:13:56 INFO: Installation cleaned.

```

cai b

unread,
Jun 21, 2022, 9:59:06 PM6/21/22
to Wazuh mailing list
Yes , i  Make sure that a copy of wazuh-install-files.tar, created during the initial configuration step, is placed in your working directory.   in Guide"Install the Wazuh indexer using the assistant" 

在2022年6月22日星期三 UTC+8 01:48:53<chanta...@wazuh.com> 写道:

Chantal Belen Kelm

unread,
Jun 22, 2022, 6:39:22 AM6/22/22
to Wazuh mailing list
Good morning Thank you very much for using Wazuh.
Try doing these 2 commands and send me a screenshot of what they return.

curl -sO https://packages.wazuh.com/4.3/wazuh-install.sh

sudo bash ./wazuh-install.sh -a

I'll be here waiting for your answer!

Regards!

cai b

unread,
Jun 22, 2022, 6:44:32 AM6/22/22
to Wazuh mailing list
thinks ,
i give up installing wazuh in centos 7 by myself
 i choose to install wazuh by docker.
now, it works well.

Chantal Belen Kelm

unread,
Jun 22, 2022, 7:09:14 AM6/22/22
to Wazuh mailing list
Well great that it works now!

I'll be here for any questions!

Regards!
Reply all
Reply to author
Forward
0 new messages