Wazuh server IP in required error in win32ui.exe

60 views
Skip to first unread message

Sudarson Prabhu

unread,
Sep 13, 2023, 1:54:48 AM9/13/23
to wa...@googlegroups.com

Hi Team

 

while editing the configuration file the wazuh agent getting disconnected and not connecting again with the server. The wazuh agent manager application is not fetching managers IP from config file. While inserting the Manger IP in the Win32ui.exe the application refreshes and showing the same error. Attached config file and log file for reference.

 

Thanks and regards,
Sudarson Prabhu R E,
ISC-Executive | Enerji,
Phone : +919080235574,
Email : sudarso...@theenerjigroup.com .

 

wazuh config.txt
Wazuh error.png
wazuh log.png

Harshal Paliwal

unread,
Sep 13, 2023, 2:17:57 AM9/13/23
to Wazuh | Mailing List
Hi Sudarson,
Thanks for using the Wazuh.

As I can see your ossec.conf file is incorrect. You have not closed the <ossec_config> section in the file and lots of configuration blocks are not present there.
You can replace the configuration with this default file https://github.com/wazuh/wazuh/blob/master/src/win32/ossec.conf and configure Wazuh-agent again.
or you can reinstall the agent again.
there are 2 ways.
  1. 1.You can follow the steps are mentioned here to download the official package and deploy.
  2. 2. You can also deploy a new agent following the instructions in the Wazuh dashboard. Go to Wazuh > Agents, and click on Deploy new agent.

image.png


Hope this information helps you. Please feel free to reach out to us for any information/issues.
Regards,

Sudarson Prabhu

unread,
Sep 13, 2023, 2:52:12 AM9/13/23
to wa...@googlegroups.com, Harshal Paliwal, Srinivasan Sugumar

Hi team

 

                I have attached the updated config file with this mail. Still I am facing the same issue.

 

From: 'Harshal Paliwal' via Wazuh | Mailing List [mailto:wa...@googlegroups.com]
Sent: Wednesday, September 13, 2023 11:48 AM
To: Wazuh | Mailing List
Subject: Re: Wazuh server IP in required error in win32ui.exe

 

Hi Sudarson,

Thanks for using the Wazuh.

 

As I can see your ossec.conf file is incorrect. You have not closed the <ossec_config> section in the file and lots of configuration blocks are not present there.

You can replace the configuration with this default file https://github.com/wazuh/wazuh/blob/master/src/win32/ossec.conf and configure Wazuh-agent again.

or you can reinstall the agent again.

there are 2 ways.

1.    1.You can follow the steps are mentioned here to download the official package and deploy.

2.    2. You can also deploy a new agent following the instructions in the Wazuh dashboard. Go to Wazuh > Agents, and click on Deploy new agent.

3.     

 

Hope this information helps you. Please feel free to reach out to us for any information/issues.
Regards,

On Wednesday, September 13, 2023 at 11:24:48 AM UTC+5:30 Sudarson Prabhu wrote:

Hi Team

 

while editing the configuration file the wazuh agent getting disconnected and not connecting again with the server. The wazuh agent manager application is not fetching managers IP from config file. While inserting the Manger IP in the Win32ui.exe the application refreshes and showing the same error. Attached config file and log file for reference.

 

Thanks and regards,
Sudarson Prabhu R E,
ISC-Executive | Enerji,
Phone : +919080235574,
Email : sudarso...@theenerjigroup.com .

 

--
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/2dc6438c-0f81-47a5-b9b3-14877432f1d7n%40googlegroups.com.

wazuh config.txt

Harshal Paliwal

unread,
Sep 13, 2023, 6:37:05 AM9/13/23
to Wazuh | Mailing List
Hi Team,
Thanks for the update.
You configuration looks fine now. can you please share the Wazuh-agent logs to check it more.
And please let me know are you trying to install the new agent or it was active previously?

Waiting for your response soon.

Regards,

Reply all
Reply to author
Forward
0 new messages