ubuntu failed install agent

181 views
Skip to first unread message

Azhar Hj.Mohd Ghazali

unread,
Jan 31, 2023, 6:18:04 AM1/31/23
to Wazuh mailing list
Hi team,

kindly help on this error message.

any step missing.

thanks


WhatsApp Image 2023-01-31 at 5.50.05 PM.jpeg

Mario Andres Ruiz Hernandez

unread,
Jan 31, 2023, 6:33:16 AM1/31/23
to Wazuh mailing list
Hi!

Thanks for using Wazuh! Can you tell me what Ubuntu version are you using on your agent, please?

Azhar Hj.Mohd Ghazali

unread,
Jan 31, 2023, 6:22:46 PM1/31/23
to Mario Andres Ruiz Hernandez, Wazuh mailing list
Hi mario

Version 18.04

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/0888cca8-ea29-42ed-ae55-ce5ae2dc9f54n%40googlegroups.com.

Mario Andres Ruiz Hernandez

unread,
Feb 1, 2023, 7:09:23 AM2/1/23
to Wazuh mailing list
Hi, just tested an installation on Ubuntu 18.04 and it's working as expected. Please try to follow up all de instructions and save the logs using the script command. Please be careful about sharing sensitive information so please delete/offuscate any relevant data.

Agent documentation: https://documentation.wazuh.com/current/installation-guide/wazuh-agent/wazuh-agent-package-linux.html
Script command documentation:https://www.geeksforgeeks.org/script-command-in-linux-with-examples/

Azhar Hj.Mohd Ghazali

unread,
Feb 2, 2023, 9:55:39 PM2/2/23
to Mario Andres Ruiz Hernandez, Wazuh mailing list
Hi Mario

I follow these steps :
1.apt-get install gnupg apt-transport-https
2.curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
3.echo "deb https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list

working fine, BUT for below command
4.WAZUH_MANAGER="x.x.x.x" apt-get install wazuh-agent
got this error stating ;
Reading package list ...DONE
Building dependency tree
Reading state information..Done
E:Unable to locate package wazuh-agent

Pls advise on this matters.

Appreciate your help.

Thanks




Mario Andres Ruiz Hernandez

unread,
Feb 3, 2023, 9:19:19 AM2/3/23
to Azhar Hj.Mohd Ghazali, Wazuh mailing list
Silly question here,

what about 

apt-get update


after 3.echo "deb https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list

?
Reply all
Reply to author
Forward
0 new messages