# Unabale to star logstash as a service

**URL:** <https://discuss.elastic.co/t/unabale-to-star-logstash-as-a-service/135673>\
**Category:** Logstash\
**Created:** [June 13, 2018, 9:45am UTC](https://discuss.elastic.co/t/unabale-to-star-logstash-as-a-service/135673 "2018-06-13T09:45:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bechir\_Taleb\_Ali](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@Bechir\_Taleb\_Ali](https://discuss.elastic.co/u/Bechir_Taleb_Ali)\
**Post date:** [June 13, 2018, 9:45am UTC](https://discuss.elastic.co/t/unabale-to-star-logstash-as-a-service/135673/1 "2018-06-13T09:45:54Z")

</div>

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: psych -- java.lang.RuntimeException: BUG: we can not copy embedded jar to temp directory from  
/usr/share/logstash/logstash-core/logstash-core.gemspec:1:in `block in (root)'

Any help please ?

Regards,  
Béchir

---

<div class="post-metadata">

**Author:** ![Bechir\_Taleb\_Ali](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@Bechir\_Taleb\_Ali](https://discuss.elastic.co/u/Bechir_Taleb_Ali)\
**Post date:** [June 13, 2018, 11:00am UTC](https://discuss.elastic.co/t/unabale-to-star-logstash-as-a-service/135673/2 "2018-06-13T11:00:05Z")

</div>

I found the cause. It's because the /tmp direcoty is full. While logstash is starting, it copies some files to the /tmp directory. If there i no space, logstash creates the above error.

Many thanks,

---

<div class="post-metadata">

**Author:** ![ademmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ademmers/32/17527_2.png) [@ademmers](https://discuss.elastic.co/u/ademmers)\
**Post date:** [June 25, 2018, 3:05pm UTC](https://discuss.elastic.co/t/unabale-to-star-logstash-as-a-service/135673/3 "2018-06-25T15:05:31Z")

</div>

Hi,

I seem to run into above problem as well, though on a RHEL 7 host, post upgrading logstash from 6.1.1 to 6.3.0 .

I can confirm that in my case /tmp is not full.

Also a thing to note: when su to LS\_USER and running logstash manually, everythin seems to work. Only difference beeing (as reported by a warning in the logstash log): pipeline.yml is not loaded/used (which is normal))

Anyone having any idea what to look after next ?

kind regards,

Arne

---

<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:** [July 23, 2018, 3:05pm UTC](https://discuss.elastic.co/t/unabale-to-star-logstash-as-a-service/135673/4 "2018-07-23T15:05:32Z")

</div>

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