I have installed already several times the elastic stack all via the tar.gz files.
This error that im having now is only regarding Logstash.
When I start Logstash is returns this error
[ERROR] 2020-02-03 15:10:23.030 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) load error: rubygems/security -- java.lang.ExceptionInInitializerError: null
Then is stops. I tried to change the log files level but this message was still the only one.
The only environment change for this installation is the OS. On CentOS 7 all deployments were a success. On this server with RED HAT:
Icon name: computer-vm
Chassis: vm
Virtualization: kvm
Operating System: Red Hat Enterprise Linux
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.7:GA:server
Kernel: Linux 3.10.0-327.el7.x86_64
Architecture: x86-6
Hey, did you generated or are you using a LS keystore?
You could try enabling logging for the underlying JRuby runtime.
There's likely going to be a lot of logs on stderr but we'll have a trace at least for the "load error" :
Forgot to update this issue...
The issue was the java version. Well the java version was correct but don't know why it was installed an oracle java 1.8.. Logstash was not returning error when we are running a java 1.6 for example. I discovered, when comparing all rpms installed in other server and noticed that the java was not from OpenJDK. After installing the correct 1.8 version from OpenJDK all good.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.