# Wazuh API cannot start, multiple errors

**URL:** <https://discuss.elastic.co/t/wazuh-api-cannot-start-multiple-errors/205780>\
**Category:** Elasticsearch\
**Created:** [October 30, 2019, 3:09am UTC](https://discuss.elastic.co/t/wazuh-api-cannot-start-multiple-errors/205780 "2019-10-30T03:09:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Post date:** [October 30, 2019, 3:09am UTC](https://discuss.elastic.co/t/wazuh-api-cannot-start-multiple-errors/205780/1 "2019-10-30T03:09:59Z")

</div>

My wazuh-manager version installed v3.9.3 (for Kibana 7.1.1) but the wazuh-api cannot be started. I have run the following command to remove / reindex the system:  
`service kibana stop`  
`curl -u elastic -XDELETE 10.0.106.144:9200/.kibana`  
`curl -u elastic -XDELETE 10.0.106.144:9200/.wazuh`  
`curl -u elastic -XDELETE 10.0.106.144:9200/.wazuh-version`  
`rm -rf /usr/share/kibana/optimize/bundles`

When entering a new API Configuration, it prompt the error below:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/5/0589b0c02a543b391d9353cc71235d5fbd8bd95f.png)

Then I reinstall the API using this command: sudo -u kibana /usr/share/kibana/bin/kibana-plugin install [https://packages.wazuh.com/wazuhapp/wazuhapp-3.9.3\_7.1.1.zip](https://packages.wazuh.com/wazuhapp/wazuhapp-3.9.3_7.1.1.zip).

Next `"ERROR: Wazuh manager v3.9.3 found. Wazuh manager v2.1.x expected. Exiting."` this error was found under API log.

How do I check my wazuh-api version when I cannot curl and check?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 31, 2019, 1:03pm UTC](https://discuss.elastic.co/t/wazuh-api-cannot-start-multiple-errors/205780/2 "2019-10-31T13:03:43Z")

</div>

That looks like a dedicated wazuh issue to me and you might have more success in their forum/mailinglist or whatever other means of troubleshooting wazuh supports.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 28, 2019, 1:16pm UTC](https://discuss.elastic.co/t/wazuh-api-cannot-start-multiple-errors/205780/3 "2019-11-28T13:16:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
