# Logstash起動時のエラー

**URL:** <https://discuss.elastic.co/t/logstash/159275>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [December 4, 2018, 2:49am UTC](https://discuss.elastic.co/t/logstash/159275 "2018-12-04T02:49:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mnozawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mnozawa/32/15091_2.png) [@mnozawa](https://discuss.elastic.co/u/mnozawa)\
**Post date:** [December 4, 2018, 3:47am UTC](https://discuss.elastic.co/t/logstash/159275/2 "2018-12-04T03:47:05Z")

</div>

同様と思われるエラーのトピックがありました

> [@Unabale to star logstash as a service](https://discuss.elastic.co/t/unabale-to-star-logstash-as-a-service/135673):
>
> Hello, My Environement includes: Logstash version: 6.2.4 Operating System : RedHat Entreprise Linux Server release 6.6. I install Logstash form rpm file but while starting the deamon, I get the following error: Does it try to require a relative path? That's been removed in Ruby 1.9. [ERROR] 2018-06-11 14:21:19.233 [main] Logstash - java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (GemspecError) There was a LoadError while loading logstash-core.gemspec: load error: psy…

temp directoryとは /tmp のことを指しているようですね。  
権限周りを変更することができれば解決する可能性がたかそうです。

一方、logstashの設定としてtemp directoryを変更する項目はさっと見たところなさそうに思います。  
(logstashのファイル群の中には/tmpを指している箇所が相当数ありますが大半がjrubyに関するもので、専門外の私にはよくわかりませんでした)

---

_[View the full topic](https://discuss.elastic.co/t/logstash/159275)._
