Logstash is stopping becuase SystemExit Error

Hi All,
I have upgraded the log stash from 7.8.0 to 7.16.2,After upgrading i am getting below error.

[2022-03-15T13:51:28,568][DEBUG][logstash.modules.scaffold] Found module {:module_name=>"fb_apache", :directory=>"/usr/share/logstash/modules/fb_apache/configuration"}
[2022-03-15T13:51:28,568][DEBUG][logstash.plugins.registry] Adding plugin to the registry {:name=>"fb_apache", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x7e775b6f @directory="/usr/share/logstash/modules/fb_apache/configuration", @module_name="fb_apache", @kibana_version_parts=["6", "0", "0"]>}
[2022-03-15T13:51:28,569][DEBUG][logstash.modules.scaffold] Found module {:module_name=>"netflow", :directory=>"/usr/share/logstash/modules/netflow/configuration"}
[2022-03-15T13:51:28,571][DEBUG][logstash.plugins.registry] Adding plugin to the registry {:name=>"netflow", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x551b166f @directory="/usr/share/logstash/modules/netflow/configuration", @module_name="netflow", @kibana_version_parts=["6", "0", "0"]>}
[2022-03-15T13:51:28,614][FATAL][org.logstash.Logstash    ] Logstash stopped processing because of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.20.1.jar:?]
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.20.1.jar:?]
        at usr.share.logstash.lib.bootstrap.environment.<main>(/usr/share/logstash/lib/bootstrap/environment.rb:94) ~[?:?]

Java Version: openjdk version "1.8.0_322"
OpenJDK Runtime Environment (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode)

Server type: Linux-x86_6486_6486_64 GNU/Linux.

Can you please help on this issue..i am trying to fix this issue from last one month and there is no luck.

Regards.
Goutham

I am also facing same issue, i got it resolved as below.
SystemExit because of multiple logstash running.

check for the .lock file at path/var/lib/logstash ,
delete .lock file
rm .lock

Now configure pipeline.yaml as below (remove # from first line)

	- pipeline.id: main
	  path.config: "/etc/logstash/logstash-its.conf"

Now restart logstash
systemctl restart logstash

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