# System has not been booted with systemd as init system (PID 1). Can't operate

**URL:** <https://discuss.elastic.co/t/system-has-not-been-booted-with-systemd-as-init-system-pid-1-cant-operate/245954>\
**Category:** Logstash\
**Created:** [August 21, 2020, 7:20pm UTC](https://discuss.elastic.co/t/system-has-not-been-booted-with-systemd-as-init-system-pid-1-cant-operate/245954 "2020-08-21T19:20:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yanyan\_Liang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yanyan_liang/32/74142_2.png) [@Yanyan\_Liang](https://discuss.elastic.co/u/Yanyan_Liang)\
**Post date:** [August 21, 2020, 7:20pm UTC](https://discuss.elastic.co/t/system-has-not-been-booted-with-systemd-as-init-system-pid-1-cant-operate/245954/1 "2020-08-21T19:20:17Z")

</div>

I can't start logstash in Ubuntu (wsl 2). My command is as follows:

 ![logstash](https://us1.discourse-cdn.com/elastic/original/3X/9/6/964e1ab4818cd12c9068dbe1a8aff807447599e1.png)

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/e/cef16c273b7ef9340905b394993271da0d14e421.png)

Anyone has the same problem and how to solve it? Many 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:** [September 18, 2020, 7:20pm UTC](https://discuss.elastic.co/t/system-has-not-been-booted-with-systemd-as-init-system-pid-1-cant-operate/245954/2 "2020-09-18T19:20:23Z")

</div>

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