Published on

[Solved] Wazuh-indexer Error: Not yet initialized (you may need to run securityadmin)

Problem:

Running into a "Wazuh dashboard server is not ready yet" error after navigating to the URL in which Wazuh is running:

Screenshot of error message

After running the command system status wazuh-indexer here is what was recorded:

"type": "server", "timestamp": "2022-06-09T16:10:21,804-04:00", "level": "ERROR",
"component": "o.o.s.a.BackendRegistry", "cluster.name": "wazuh-cluster",
"node.name": "wazuh-indexer", "message": "Not yet initialized (you may need to run securityadmin)",
"cluster.uuid": "F9ORymo0SEuKeVZNLw6C0w", "node.id": "2m6uOkrRTbOf-G8YKhywmw"

Solution:

The problem is that the securityadmin module has not yet been initialized. To do so, run the following command in the folder containing your wazuh-install.sh file(click here to check out the official Wazuh Indexer Installation instructions for more info):

bash wazuh-install.sh --start-cluster

Afterwards, run system restart wazuh-indexer and re-visit the URL in which Wazuh is running.

Hope this helps anyone running into the same issue!

Conclusion:

Thanks for reading this blog post!

If you have any questions or concerns please feel free to post a comment in this post and I will get back to you when I find the time.

If you found this article helpful please share it and make sure to follow me on Twitter and GitHub, connect with me on LinkedIn and subscribe to my YouTube channel.