[API connection] No API available to connect

224 views
Skip to first unread message

mohammadul...@gmail.com

unread,
Sep 20, 2022, 3:25:55 AM9/20/22
to Wazuh mailing list
Dear all,
recently i have changed the root & wazuh-user password and also removed one agent from wazuh manager, 
now after changing the above user's password and also removing the client pc agents from wazuh manager , iam not able to login  Wazuh Dashboard page and the Erros message is as below ...
hence, we need your support to solve this problem because we have already dappled more then 50 agents on servers .. for more info, please have a look to attached screen shots 
Note: my Wazuh Version is OVA v4.3.7 , also iam not able to restart the wazuh-manager services 

Kind Regards 

01.png
vi /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml
02.png

Marcos Javier Bonacci

unread,
Sep 20, 2022, 3:56:14 AM9/20/22
to Wazuh mailing list
Hi Mohammadullah, Thanks for using Wazuh!

In order to check possible issues, could you please post the log file of the wazuh manager?

You can find the log file here: /var/ossec/logs/ossec.log


mohammadul...@gmail.com

unread,
Sep 20, 2022, 4:25:32 AM9/20/22
to Wazuh mailing list

Hello Mr. Javier
thanks for the reply, the attached file about the wazuh manager logs.

regards
ossec.conf logs.txt

mohammadul...@gmail.com

unread,
Sep 20, 2022, 4:44:24 AM9/20/22
to Wazuh mailing list
Hello sir 
just want to let you know that there were some wrong configurations on osssec.ounfig, now i have removed the new entry and the  wazuh manager system is working normal. 
thanks for the support 

On Tuesday, September 20, 2022 at 12:26:14 PM UTC+4:30 javier....@wazuh.com wrote:

Marcos Javier Bonacci

unread,
Sep 20, 2022, 5:33:47 AM9/20/22
to Wazuh mailing list
Excellent news Mohammadullah!!! 
I was about to write you the same advice: "check /var/ossec/etc/ossec.conf"
Let us know if there's anything else we can help with,
Best Regards

mohammadul...@gmail.com

unread,
Sep 20, 2022, 6:37:14 AM9/20/22
to Wazuh mailing list
thank you so much sir for your always help and support .  , there is another problem i have changed the default admin password via  Change the Open Distro for Elasticsearch passwords - Securing Wazuh  for single user. like  bash wazuh-opendistro-passwords-tool -u admin -p mypassword  but now don't know where to update the new password in /etc/filebeat/filebeat.yml and /etc/wazuh-dashboard/opensearch_dashboards.yml ..hence if you could send me the screen shots would be much admirable . because currently when access the wazuh dashboard via browsers giving me below Erros :  {"statusCode":401,"error":"Unauthorized","message":"Response Error"}

Kind Regards 

mohammadul...@gmail.com

unread,
Sep 20, 2022, 6:37:53 AM9/20/22
to Wazuh mailing list
admin password change .png

mohammadul...@gmail.com

unread,
Sep 21, 2022, 12:16:54 AM9/21/22
to Wazuh mailing list
a gentle Remainder! 

mohammadul...@gmail.com

unread,
Sep 22, 2022, 12:47:18 AM9/22/22
to Wazuh mailing list
still awaiting for your response regarding the admin password problems.
regards

Reply all
Reply to author
Forward
0 new messages