# Curator does not work correctly

**URL:** <https://discuss.elastic.co/t/curator-does-not-work-correctly/155905>\
**Category:** Elasticsearch\
**Created:** [November 8, 2018, 2:24pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905 "2018-11-08T14:24:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Imad\_Bouchakour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imad_bouchakour/32/57201_2.png) [@Imad\_Bouchakour](https://discuss.elastic.co/u/Imad_Bouchakour)\
**Post date:** [November 8, 2018, 2:24pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/1 "2018-11-08T14:24:32Z")

</div>

I have curator 5.5.4 installed in my debian 9, sometimes curator works when i execute a command like curator --version or curator --help, **but** most of the time curator **does not work** and the command **gives nothing**

Why ??

---

<div class="post-metadata">

**Author:** ![mats990](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mats990/32/37516_2.png) [@mats990](https://discuss.elastic.co/u/mats990)\
**Post date:** [November 8, 2018, 2:30pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/2 "2018-11-08T14:30:35Z")

</div>

I have never used curator but try to add more logs to your output. Maybe some of the flags can help you:

> --loglevel TEXT Log level

> --verbose Show verbose output.

source: [Singleton Command Line Interface | Curator Reference [8.0] | Elastic](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/singleton-cli.html)

---

<div class="post-metadata">

**Author:** ![Imad\_Bouchakour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imad_bouchakour/32/57201_2.png) [@Imad\_Bouchakour](https://discuss.elastic.co/u/Imad_Bouchakour)\
**Post date:** [November 8, 2018, 2:43pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/3 "2018-11-08T14:43:40Z")

</div>

that gave me nothing, it like the command doesn't exécute

ex:

1. HP@debian9:~$ curator --help
2. HP@debian9:~$ curator --version

---

<div class="post-metadata">

**Author:** ![saif](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saif/32/37431_2.png) [@saif](https://discuss.elastic.co/u/saif)\
**Post date:** [November 8, 2018, 2:46pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/4 "2018-11-08T14:46:09Z")

</div>

hum ..? the ssl is enables in ur cluster and u try to disable ssl verification in ur curator config file ?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 8, 2018, 2:47pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/5 "2018-11-08T14:47:04Z")

</div>

You're probably getting bit by [this issue](https://github.com/elastic/curator/issues/1237), which is that improperly formatted YAML files results in no output. [A fix has been merged](https://github.com/elastic/curator/pull/1270), but an updated version hasn't been released yet (should be sometime in the next 5 or 6 days).

In the meantime, if you double-check your YAML formatting, or even paste it here (without sensitive data like passwords or host names), we can probably figure out why you aren't seeing output and get things working.

To ensure we see it formatted correctly, please paste it between triple back-ticks, like this:

````
```
PASTE HERE
```
````

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 8, 2018, 2:56pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/6 "2018-11-08T14:56:38Z")

</div>

> [@Imad\_Bouchakour](#):
>
> that gave me nothing, it like the command doesn't exécute

Are you sure you installed the Debian 9 version, and not the Debian 8 version? See [here](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/apt-repository.html#_repository_configuration)

---

<div class="post-metadata">

**Author:** ![Imad\_Bouchakour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imad_bouchakour/32/57201_2.png) [@Imad\_Bouchakour](https://discuss.elastic.co/u/Imad_Bouchakour)\
**Post date:** [November 8, 2018, 3:05pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/7 "2018-11-08T15:05:48Z")

</div>

yes i have deb [arch=amd64] [https://packages.elastic.co/curator/5/debian9](https://packages.elastic.co/curator/5/debian9) stable main in my curator.list

and my config curator.yml

```auto
client:
  hosts:
    - localhost
  port: 9200
  url_prefix:
  use_ssl: False
  certificate:
  client_cert:
  client_key:
  aws_key:
  aws_secret_key:
  aws_region:
  ssl_no_validate: False
  http_auth:
  timeout: 30
  master_only: False

logging:
  loglevel: DEBUG
  logfile:
  logformat: default
  blacklist: ['elasticsearch', 'urllib3']

```

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 8, 2018, 3:09pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/8 "2018-11-08T15:09:27Z")

</div>

Something else is going on, then. If you get no output from even the version command, there’s something else in play.

---

<div class="post-metadata">

**Author:** ![Imad\_Bouchakour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imad_bouchakour/32/57201_2.png) [@Imad\_Bouchakour](https://discuss.elastic.co/u/Imad_Bouchakour)\
**Post date:** [November 8, 2018, 3:12pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/9 "2018-11-08T15:12:55Z")

</div>

yes I do not know why, sometimes it works and most of the time it does not work

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 8, 2018, 3:35pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/10 "2018-11-08T15:35:13Z")

</div>

If that's the case, it's not Curator's fault. This sounds like something else entirely, and I can't explain why without a whole lot more information. I have heard of things like this going on in some versions of RHEL/CentOS 7. Perhaps install via `pip` and see if that behaves differently?

---

<div class="post-metadata">

**Author:** ![Imad\_Bouchakour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imad_bouchakour/32/57201_2.png) [@Imad\_Bouchakour](https://discuss.elastic.co/u/Imad_Bouchakour)\
**Post date:** [November 8, 2018, 4:43pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/11 "2018-11-08T16:43:05Z")

</div>

i did it and it work with pip instalation.  
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:** [December 6, 2018, 4:43pm UTC](https://discuss.elastic.co/t/curator-does-not-work-correctly/155905/12 "2018-12-06T16:43:27Z")

</div>

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