# I cannot start logstash

**URL:** <https://discuss.elastic.co/t/i-cannot-start-logstash/167720>\
**Category:** Logstash\
**Created:** [February 9, 2019, 3:04pm UTC](https://discuss.elastic.co/t/i-cannot-start-logstash/167720 "2019-02-09T15:04:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/murr/32/40742_2.png) [@Murr](https://discuss.elastic.co/u/Murr)\
**Post date:** [February 9, 2019, 3:04pm UTC](https://discuss.elastic.co/t/i-cannot-start-logstash/167720/1 "2019-02-09T15:04:29Z")

</div>

1.I tried to do this

sudo /usr/share/logstash/bin/system-install /etc/logstash/startup.options systemd

The output is

Using provided startup.options file: /etc/logstash/startup.options Manually creating startup for specified platform: systemd Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit\_memory(0x00000000c53 30000, 986513408, 0) failed; error='Cannot allocate memory' (errno=12) /usr/share/logstash/bin/system-install: line 88: #: command not found Unable to install system startup script for Logstash.

1. I tried to do this

/usr/share/logstash/bin/system-install

The output is

/usr/share/logstash/bin/system-install: line 45: : No such file or directory

Does any solution please?

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [February 9, 2019, 3:06pm UTC](https://discuss.elastic.co/t/i-cannot-start-logstash/167720/2 "2019-02-09T15:06:53Z")

</div>

I just replied to [this thread](https://discuss.elastic.co/t/cannot-start-logstash/167697/2) please keep refrain from asking the same question multiple times and give people a change to respond.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 9, 2019, 8:35pm UTC](https://discuss.elastic.co/t/i-cannot-start-logstash/167720/3 "2019-02-09T20:35:14Z")

</div>


