# Sudo ./logstash --path.settings /etc/logstash command is throwing error

**URL:** <https://discuss.elastic.co/t/sudo-logstash-path-settings-etc-logstash-command-is-throwing-error/309381>\
**Category:** Logstash\
**Created:** [July 12, 2022, 7:14am UTC](https://discuss.elastic.co/t/sudo-logstash-path-settings-etc-logstash-command-is-throwing-error/309381 "2022-07-12T07:14:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pooja5](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pooja5](https://discuss.elastic.co/u/pooja5)\
**Post date:** [July 12, 2022, 7:14am UTC](https://discuss.elastic.co/t/sudo-logstash-path-settings-etc-logstash-command-is-throwing-error/309381/1 "2022-07-12T07:14:32Z")

</div>

Hello!  
We are trying to trigger multiple pipelines from pipelines.yml using the command

> sudo ./logstash --path.settings /etc/logstash

However, we are facing the below errors

> [ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:\<pipeline\_id\>, :exception=\>"Java::JavaLang::IllegalStateException", :message=\>"Unable to configure plugins: Cannot evaluate `${jdbc_connection_string}`. Replacement variable `jdbc_connection_string` is not defined in a Logstash secret store or an environment entry and there is no default value given."

But, we are able to trigger the pipeline manually with `${jdbc_connection_string}`

Please guide.  
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:** [August 9, 2022, 7:14am UTC](https://discuss.elastic.co/t/sudo-logstash-path-settings-etc-logstash-command-is-throwing-error/309381/2 "2022-08-09T07:14:41Z")

</div>

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