API Error

228 views
Skip to first unread message

Fildza Amalia Zhafira

unread,
Jan 1, 2025, 10:20:08 PM1/1/25
to Wazuh | Mailing List
Hi,

Can you help me with this? my API is error, the message is

INFO: Current API id [default] INFO: Checking current API id [default]... INFO: Current API id [default] has some problem: 3002 - Request failed with status code 500 INFO: Getting API hosts... INFO: API hosts found: 1 INFO: Checking API host id [default]... INFO: Could not connect to API id [default]: 3099 - ERROR3099 - Some Wazuh daemons are not ready yet in node "node01" (wazuh-analysisd->stopped) INFO: Removed [navigate] cookie ERROR: No API available to connect

This occured when I erasing disk because the disk is full.
Screenshot 2025-01-02 101843.png

This is pop up when I login in dashboard, can you enlighten me please?

Thank you before

Best regards,
Fildza

Bony V John

unread,
Jan 1, 2025, 10:58:33 PM1/1/25
to Wazuh | Mailing List

Hi Fildza,

From the error you shared, it appears that the wazuh-analysisd service is not running. This is a critical module in Wazuh for log analysis. The issue could be due to improper startup, configuration problems, or resource/storage issues.

Troubleshooting Steps

  • Restart the Wazuh Manager Service

    • Run the following command:

                       systemctl restart wazuh-manager

  • Check the Status of Wazuh Manager

    • Verify if the manager is running:

                       systemctl status wazuh-manager
  • If the Manager Starts Successfully:

    • Try accessing the Wazuh dashboard again.
  • Check System Resources

    • Run the following commands to check disk space and memory usage:
      df -h 
      free -h
                       Share the output of these commands to confirm resource availability.
  • If the Manager Does Not Start:

    • Run the following command to collect logs:
      cat /var/ossec/logs/ossec.log | grep -iE "error|warn|crit|fatal" >> output.log
      This will create an output.log file in the directory where the command is executed.
  • Share the Following Files:

    • The output.log file.
    • The Wazuh manager configuration file:
      /var/ossec/etc/ossec.conf
You can also refer to the Wazuh API Troubleshooting Documentation for further guidance.

I hope these steps help resolve the issue. If the problem persists after the restart, please share the requested details, including the outputs of df -h and free -h, for further assistance.

Regards,

Bony V John

unread,
Jan 7, 2025, 4:48:21 AM1/7/25
to Wazuh | Mailing List
Hi,

I hope the above details were helpful. Please don’t hesitate to let me know if you have any further questions or need additional assistance related to this.

Regards,


Fildza Amalia Zhafira

unread,
Jan 9, 2025, 11:23:03 PM1/9/25
to Wazuh | Mailing List
Hi Bony,

Thank you for your help,
The API is already up again

Best Regards,
Fildza

Reply all
Reply to author
Forward
0 new messages