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

Agent install fails on 18.04 with Default-Start contains no runlevels #170

Closed
alphaDev23 opened this issue Apr 22, 2019 · 3 comments
Closed
Assignees

Comments

@alphaDev23
Copy link

alphaDev23 commented Apr 22, 2019

I received the following when installing via Ansible on Ubuntu 18.04.

TASK [ansible-wazuh-agent : Linux | Ensure Wazuh Agent service is started and enabled] *******************************************************************************************************
task path: //wazuh-ansible/roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml:168
fatal: [192.168.x.x]: FAILED! => {"changed": false, "msg": "Unable to enable service wazuh-agent: Synchronizing state of wazuh-agent.service with SysV service script with /lib/systemd/systemd-sysv-install.\nExecuting: /lib/systemd/systemd-sysv-install enable wazuh-agent\ninsserv: warning: script 'K01wazuh-agent' missing LSB tags and overrides\ninsserv: script wazuh-agent is not an executable regular file, skipped!\nupdate-rc.d: error: wazuh-agent Default-Start contains no runlevels, aborting.\n"}

@jm404
Copy link
Contributor

jm404 commented Apr 30, 2019

Hello @alphaDev23!

Thank you for reporting this! I would like to know more about which environment are you running (Ansible version, Wazuh version...) in order to replicate the problem.

I'm looking forward to your response.

Regards!

@manuasir
Copy link
Contributor

Hello @alphaDev23 ,

Did you get anything on this issue? I just wanted to follow up on this.

Regards

@manuasir manuasir modified the milestone: 30th week sprint Jul 22, 2019
@manuasir manuasir assigned rshad and unassigned jm404 Jul 22, 2019
@rshad
Copy link
Contributor

rshad commented Jul 23, 2019

Hi @alphaDev23 ,

Please check the changes in this #206.

We fixed many errors, and the one you reported is included. Wazuh's deployment with Ansible was verified to be successfully made in different distribution and Ubuntu 18.* is one of those.

Thank you again for reporting such an issue.

We're closing this issue now, but please, do not hesitate to contact us again if you still face any related error.

Kind regards,

Rshad,

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