I am encountering an issue with my Wazuh Manager setup on Ubuntu 24.04. After adding the `<api>` element to my `ossec.conf` file, I am receiving the following error when attempting to start the Wazuh Manager:
2024/09/20 23:34:21 wazuh-csyslogd: ERROR: (1230): Invalid element in the configuration: 'api'. 2024/09/20 23:34:21 wazuh-csyslogd: CRITICAL: (1202): Configuration error at 'etc/ossec.conf'.
I have checked the `ossec.conf` file and made sure that the `<api>` element is within the `<ossec_config>` block, as suggested in the documentation. Despite this, I am still unable to start the Wazuh Manager service, and it fails with the error.
**System Information:**
- OS: Ubuntu 24.04
- Wazuh Version: 4.9.0
- Manager installed on: `/media/mul/601ceb87-5e12-49da-8dd4-cc4355157df5/wazuh-data`
**Relevant Configuration (ossec.conf):**
```xml
<ossec_config>
<!-- Other configuration elements -->
<api>
<enabled>yes</enabled>
<host>0.0.0.0</host>
<port>55000</port>
<username>wazuh</username>
<password>wazuh</password>
<https>yes</https>
<ssl_verify>no</ssl_verify>
</api>
</ossec_config>