Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wazuh-install.sh fails when installing only the manager #128

Closed
1 task
jseg380 opened this issue Nov 4, 2024 · 2 comments
Closed
1 task

Wazuh-install.sh fails when installing only the manager #128

jseg380 opened this issue Nov 4, 2024 · 2 comments
Labels
level/task Task issue type/bug Bug issue

Comments

@jseg380
Copy link
Member

jseg380 commented Nov 4, 2024

Description

Using the 4.10.x wazuh-install.sh script to exclusively install the manager fails because filebeat tries to test its connection with the indexer even though it is not installed.

Error:

04/11/2024 09:12:11 INFO: Filebeat post-install configuration finished.
Successfully updated the keystore
Successfully updated the keystore
04/11/2024 09:12:12 INFO: The filebeat.yml file has been updated to use the Filebeat Keystore username and password.
04/11/2024 09:12:32 INFO: Starting service filebeat.
Created symlink from /etc/systemd/system/multi-user.target.wants/filebeat.service to /usr/lib/systemd/system/filebeat.service.
04/11/2024 09:12:32 INFO: filebeat service started.
04/11/2024 09:12:32 INFO: Checking Filebeat connection
04/11/2024 09:12:32 ERROR: Filebeat connection Error.
elasticsearch: https://x.x.x.x:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... OK
    addresses: x.x.x.x
    dial up... ERROR dial tcp x.x.x.x:9200: connect: connection refused

04/11/2024 09:12:32 INFO: --- Removing existing Wazuh installation ---
04/11/2024 09:12:32 INFO: Removing Wazuh manager.

Call to the script:
bash wazuh-install.sh --wazuh-server {node_name} --ignore-check -d pre-release

Attachments: wazuh-install.log

Task

  • Allow for the use of wazuh-install.sh 4.10 to install only the manager.
@jseg380 jseg380 added level/task Task issue type/bug Bug issue labels Nov 4, 2024
@CarlosALgit CarlosALgit self-assigned this Nov 4, 2024
@wazuhci wazuhci moved this to Triage in Release 4.10.0 Nov 4, 2024
@teddytpc1
Copy link
Member

The Installation assistant is intended to be used as part of a complete Wazuh installation. By following the installation guide, the Wazuh indexer should be installed before the Wazuh manager.
This behavior is expected.

@teddytpc1 teddytpc1 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
@wazuhci wazuhci moved this from Triage to Done in Release 4.10.0 Nov 4, 2024
@teddytpc1 teddytpc1 reopened this Nov 7, 2024
@teddytpc1
Copy link
Member

This will be fixed by reverting the changes of this PR.

@teddytpc1 teddytpc1 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants