Page 2 of 2

Re: logstash errors second instance syslog listener died

Posted: Thu Feb 11, 2016 1:58 pm
by GhostRider2110
Well, I broke it even more... Had that statement in already, double checked and restarted the services and now I am getting:

Code: Select all

Feb 11 13:54:35 iganagioslog02 systemd: Starting LSB: Logstash...
Feb 11 13:54:35 iganagioslog02 logstash: Starting Logstash Daemon: WARNING: Default JAVA_OPTS will be overridden by the JAVA_OPTS defined in the environment. Environment JAVA_OPTS are -Djava.io.tmpdir=/usr/local/nagioslogserver/tmp
Feb 11 13:54:35 iganagioslog02 logstash: /bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
Feb 11 13:54:35 iganagioslog02 logstash: /etc/rc.d/init.d/logstash: line 99: [: 8159: unary operator expected
Feb 11 13:54:35 iganagioslog02 systemd: Started LSB: Logstash.
Feb 11 13:54:39 iganagioslog02 systemd: Stopping LSB: This service manages the elasticsearch daemon...
Feb 11 13:54:39 iganagioslog02 systemd: Starting LSB: This service manages the elasticsearch daemon...
Feb 11 13:54:39 iganagioslog02 elasticsearch: Starting elasticsearch: /bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
Feb 11 13:54:39 iganagioslog02 elasticsearch: [  OK  ]
Feb 11 13:54:39 iganagioslog02 systemd: Started LSB: This service manages the elasticsearch daemon.
I got this same thing yesterday, removed and reinstalled java and it seemed to have fixed it... At least the web interface would come up and cluster status said it was good. No nothing....

See-ya
Mitch

Re: logstash errors second instance syslog listener died

Posted: Thu Feb 11, 2016 2:14 pm
by hsmith
I can't tell from your last post, but is it in a broken state right now, or a working one?

Re: logstash errors second instance syslog listener died

Posted: Thu Feb 11, 2016 4:02 pm
by GhostRider2110
Sorry, yes, broken. Web page has the "Waiting for Elasticsearch"

For some reason now, it can't find libjli.so

Re: logstash errors second instance syslog listener died

Posted: Thu Feb 11, 2016 4:09 pm
by hsmith
There are some possible solutions on this page: http://unix.stackexchange.com/questions ... ies-libjli

If none of those work, I want to suggest you send a ticket in, and we do a remote session to look at this issue. If possible, you may want to restore from a VM snapshot before you made any java modifications.. that could really be messing with it.

Re: logstash errors second instance syslog listener died

Posted: Thu Feb 11, 2016 6:21 pm
by GhostRider2110
Thanks, It's back up. I'll followup tomorrow with the log entry error if they are still there...

Thanks
Mitch

Re: logstash errors second instance syslog listener died

Posted: Fri Feb 12, 2016 10:19 am
by hsmith
Let us know what happens.