Update to version 2015r2.2
Update to version 2015r2.2
Hi,
I heve problem after upgrade to version 2.2.
Server not starded.
Update to this, if I tail the poller.log file in /usr/local/nagioslogserver/var/ I see the following error:
Updating Cluster Hosts File
ERROR: Connection to elasticsearch cannot be made
Updating Elasticsearch with instance...
ERROR: Connection to elasticsearch cannot be made
Updating Cluster Hosts File
ERROR: Connection to elasticsearch cannot be made
Updating Elasticsearch with instance...
ERROR: Connection to elasticsearch cannot be made
Finished Polling.
Why am I getting this error?
In page WWW see:
Waiting for Database Startup
It looks like your local elasticsearch service is starting.
Why am I getting this error?
Elasticsearch can take a little while to start up because of it's indexing. This may take a few seconds.
The page will refresh automatically after 5 seconds...
I heve problem after upgrade to version 2.2.
Server not starded.
Update to this, if I tail the poller.log file in /usr/local/nagioslogserver/var/ I see the following error:
Updating Cluster Hosts File
ERROR: Connection to elasticsearch cannot be made
Updating Elasticsearch with instance...
ERROR: Connection to elasticsearch cannot be made
Updating Cluster Hosts File
ERROR: Connection to elasticsearch cannot be made
Updating Elasticsearch with instance...
ERROR: Connection to elasticsearch cannot be made
Finished Polling.
Why am I getting this error?
In page WWW see:
Waiting for Database Startup
It looks like your local elasticsearch service is starting.
Why am I getting this error?
Elasticsearch can take a little while to start up because of it's indexing. This may take a few seconds.
The page will refresh automatically after 5 seconds...
Re: Update to version 2015r2.2
What is the output of
Code: Select all
service elasticsearch statusFormer Nagios Employee.
me.
me.
Re: Update to version 2015r2.2
Please:
Code: Select all
service elasticsearch status -l
elasticsearch.service - LSB: This service manages the elasticsearch daemon
Loaded: loaded (/etc/rc.d/init.d/elasticsearch)
Active: active (exited) since śro 2015-08-19 16:46:08 CEST; 2h 10min ago
Process: 1322 ExecStart=/etc/rc.d/init.d/elasticsearch start (code=exited, status=0/SUCCESS)
sie 19 16:46:07 localhost.localdomain systemd[1]: Starting LSB: This service manages the elasticsearch daemon...
sie 19 16:46:07 localhost.localdomain runuser[1379]: pam_unix(runuser:session): session opened for user nagios by (uid=0)
sie 19 16:46:08 localhost.localdomain elasticsearch[1322]: Starting elasticsearch: [ OK ]
sie 19 16:46:08 localhost.localdomain systemd[1]: Started LSB: This service manages the elasticsearch daemon.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Update to version 2015r2.2
You can tryippsp wrote:Code: Select all
Active: active (exited)
Code: Select all
systemctl start elasticsearchCode: Select all
tail 20 /var/log/elasticsearch/*logRe: Update to version 2015r2.2
Files is empty:
Code: Select all
tail /var/log/elasticsearch/*log
==> /var/log/elasticsearch/1d0e2005-91c9-4f2f-b9f3-871a72c60184_index_indexing_slowlog.log <==
==> /var/log/elasticsearch/1d0e2005-91c9-4f2f-b9f3-871a72c60184_index_search_slowlog.log <==
==> /var/log/elasticsearch/1d0e2005-91c9-4f2f-b9f3-871a72c60184.log <==
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Update to version 2015r2.2
Did you try starting elasticsearch as indicated?
jdalrymple wrote:Code: Select all
systemctl start elasticsearch
Re: Update to version 2015r2.2
Yes, of course
Nothing has changed
Code: Select all
[root@localhost elasticsearch]# systemctl start elasticsearch
[root@localhost elasticsearch]#
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Update to version 2015r2.2
That's definitely bizarre.
Code: Select all
journalctl -a --no-pager | grep elasticsearchRe: Update to version 2015r2.2
Many entries
- sie 19 23:58:16 localhost.localdomain sudo[55303]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 19 23:58:31 localhost.localdomain sudo[55325]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 19 23:58:46 localhost.localdomain sudo[55347]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 19 23:59:01 localhost.localdomain sudo[55378]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 19 23:59:16 localhost.localdomain sudo[55401]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 19 23:59:31 localhost.localdomain sudo[55423]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 19 23:59:46 localhost.localdomain sudo[55445]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 20 00:00:01 localhost.localdomain sudo[55476]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 20 00:00:16 localhost.localdomain sudo[55499]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 20 00:00:31 localhost.localdomain sudo[55541]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 20 00:00:46 localhost.localdomain sudo[55565]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 20 00:01:01 localhost.localdomain sudo[55602]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
sie 20 00:01:16 localhost.localdomain sudo[55638]: nagios : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Update to version 2015r2.2
Can you please run this and post back the results:
Code: Select all
ls -al /var/log/elasticsearch/As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.