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

Wrong installation directory for Wazuh agent #93

Closed
manuasir opened this issue Nov 20, 2018 · 2 comments
Closed

Wrong installation directory for Wazuh agent #93

manuasir opened this issue Nov 20, 2018 · 2 comments
Assignees

Comments

@manuasir
Copy link
Contributor

Hi team,

The Ansible playbook for deploying a Wazuh agent is not installing it where the documentation currently indicates. According to the official documentation:

By default, all agent files will be found in: C:\Program Files(x86)\ossec-agent.

Instead, it's being installed in the root C:/.

Thanks

@jesuslinares jesuslinares added this to the 49th week sprint milestone Nov 30, 2018
paulcalabro added a commit to paulcalabro/wazuh-ansible that referenced this issue Dec 12, 2018
Updated the path to match this documentation:

```
By default, all agent files will be found in: C:\Program Files(x86)\ossec-agent.
```
(Source: https://documentation.wazuh.com/current/installation-guide/installing-wazuh-agent/wazuh_agent_windows.html#using-the-gui)
@cadoming
Copy link
Contributor

Hello, team,

I have tried to resolve this issue but I have had some problems in the process.

First I did the installation in the path C:/wazuh-agent and it works correctly. After this I changed the installation path to C:/Program Files (x86)/wazuh-agent, as indicated in the Issue. By doing this the Ansible process is blocked indefinitely in the installation task.

I assumed it was a permission error, so I tried changing the task that downloads the installer to C:/Program Files (x86) instead of C:/. By doing this I fail to download the installer.

When the installer download task failed I gave all permissions to the administrator and the user(it have admin permissions) for the folder C:/Program Files (x86). With this I no longer fail the download task of the installer but I still fail the installation task of the agent.

Therefore it is possible that for this reason the default path to install the agent is C:/wazuh-agent and not C:/Program Filex (x86).

@cadoming
Copy link
Contributor

Hi @manuasir,

I just made the PR #116 that solve this Issue, thank you for noticing the mistake.

Regards,
Carlos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants