logstash errors second instance syslog listener died

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
GhostRider2110
Posts: 193
Joined: Thu Oct 30, 2014 8:04 am
Location: Indiana
Contact:

Re: logstash errors second instance syslog listener died

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: logstash errors second instance syslog listener died

Post by hsmith »

I can't tell from your last post, but is it in a broken state right now, or a working one?
Former Nagios Employee.
me.
GhostRider2110
Posts: 193
Joined: Thu Oct 30, 2014 8:04 am
Location: Indiana
Contact:

Re: logstash errors second instance syslog listener died

Post by GhostRider2110 »

Sorry, yes, broken. Web page has the "Waiting for Elasticsearch"

For some reason now, it can't find libjli.so
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: logstash errors second instance syslog listener died

Post 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.
Former Nagios Employee.
me.
GhostRider2110
Posts: 193
Joined: Thu Oct 30, 2014 8:04 am
Location: Indiana
Contact:

Re: logstash errors second instance syslog listener died

Post by GhostRider2110 »

Thanks, It's back up. I'll followup tomorrow with the log entry error if they are still there...

Thanks
Mitch
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: logstash errors second instance syslog listener died

Post by hsmith »

Let us know what happens.
Former Nagios Employee.
me.
Locked