Permission denied /usr/share/logstash/run

I am getting the following error message when starting Logstash on a Linux server:

[ERROR][logstash.java.pipeline ][main] Pipeline worker error, the pipeline will be stopped (:pipeline_id=>"main", :error=>" (EACCESS) Permission denied - /usr/share/logstash/run".

I looked into /usr/share/logstash directory, but it does not contain "run" subdirectory.

I tried to Google for this error, but did not find anything applicable. Any suggestions how to fix this problem?

Check permission on data and log directories. Here are locations.

Welcome to our community! :smiley:

How did you install Logstash exactly, deb/rpm, tar.gz?