# Loop - init: logstash main process (13375) terminated with status / main process ended, respawning

**URL:** <https://discuss.elastic.co/t/loop-init-logstash-main-process-13375-terminated-with-status-main-process-ended-respawning/168401>\
**Category:** Logstash\
**Created:** [February 14, 2019, 11:45am UTC](https://discuss.elastic.co/t/loop-init-logstash-main-process-13375-terminated-with-status-main-process-ended-respawning/168401 "2019-02-14T11:45:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mayotte](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayotte/32/24914_2.png) [@Mayotte](https://discuss.elastic.co/u/Mayotte)\
**Post date:** [February 14, 2019, 11:45am UTC](https://discuss.elastic.co/t/loop-init-logstash-main-process-13375-terminated-with-status-main-process-ended-respawning/168401/1 "2019-02-14T11:45:23Z")

</div>

Hi All,

I saw different posts here about this type of error with logstash in /var/log/messages :

init: logstash main process (13375) terminated with status 1  
init: logstash main process ended, respawning  
init: logstash main process (13563) terminated with status 1  
init: logstash main process ended, respawning  
init: logstash main process (13727) terminated with status 1  
init: logstash main process ended, respawning  
init: logstash main process (13895) terminated with status 1  
init: logstash main process ended, respawning  
init: logstash main process (14262) terminated with status 1  
init: logstash main process ended, respawning  
init: logstash main process (14424) terminated with status 1  
init: logstash main process ended, respawning  
init: logstash main process (14590) terminated with status 1  
init: logstash main process ended, respawning  
init: logstash main process (14753) terminated with status 1  
init: logstash main process ended, respawning

Logs in /var/log/logstash/logstash-plain.log

[INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"/usr/share/logstash/modules/fb\_apache/configuration"}  
[INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"/usr/share/logstash/modules/netflow/configuration"}

Is it possible to have clarification about the root cause of this issue?

Env infos :

CentOS release 6.8 (Final)  
logstash-5.6.4-1.noarch

FYI,  
This issue happened on the first install  
I only resolved that by removing and reinstalling logstash rpm.

Thank You in Advance

---

<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:** [March 14, 2019, 11:45am UTC](https://discuss.elastic.co/t/loop-init-logstash-main-process-13375-terminated-with-status-main-process-ended-respawning/168401/2 "2019-03-14T11:45:25Z")

</div>

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