# Error executing action \`run\` on resource 'bash\[shutdown logstash\]'

**URL:** <https://discuss.elastic.co/t/error-executing-action-run-on-resource-bash-shutdown-logstash/227224>\
**Category:** Logstash\
**Created:** [April 9, 2020, 1:19am UTC](https://discuss.elastic.co/t/error-executing-action-run-on-resource-bash-shutdown-logstash/227224 "2020-04-09T01:19:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manoj123](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@manoj123](https://discuss.elastic.co/u/manoj123)\
**Post date:** [April 9, 2020, 1:19am UTC](https://discuss.elastic.co/t/error-executing-action-run-on-resource-bash-shutdown-logstash/227224/1 "2020-04-09T01:19:55Z")

</div>

Noticed an error on logstash server while running chef-client.  
Chef is failing due to this error "Error executing action `run` on resource 'bash[shutdown logstash]' "

` Recipe: tmo-logstash::default

- bash[logstash\_fix\_perms] action run

- bash[shutdown logstash] action run  
[execute] kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

Recipe: filebeat::config

- service[filebeat] action start (up to date)

Running handlers:  
Running handlers complete  
Chef Client failed. 4 resources updated in 40 seconds  
`

Can someone help me why this error is appearing.?

Thanks  
Manoj Kumar`

---

<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:** [May 7, 2020, 1:19am UTC](https://discuss.elastic.co/t/error-executing-action-run-on-resource-bash-shutdown-logstash/227224/2 "2020-05-07T01:19:55Z")

</div>

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

---

<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:** [May 7, 2020, 1:19am UTC](https://discuss.elastic.co/t/error-executing-action-run-on-resource-bash-shutdown-logstash/227224/3 "2020-05-07T01:19:58Z")

</div>



---

<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 4, 2022, 7:52am UTC](https://discuss.elastic.co/t/error-executing-action-run-on-resource-bash-shutdown-logstash/227224/4 "2022-11-04T07:52:59Z")

</div>


