How to start GrayLog Server
How to start GrayLog Server ?
One of my GrayLog Web server is down this Morning. While checking I found following Log in my gray log Log file.
Error:
java.lang.IllegalStateException: Expected to be healthy after starting. The following services are not running: {STARTING=[RestApiService [STARTING]], FAILED=[IndexerSetupService [FAILED]]}
This log refers to a situation that, your graylog application is not able to connect the mongoDB or the ElasticSearch.
Then I restarted the service in this order.
1. /etc/init.d/mongod stop, /etc/init.d/mongod start
2. /etc/init.d/elasticsearch stop, /etc/init.d/elasticsearch start
3. /opt/graylog/bin/graylogctl stop, /opt/graylog/bin/graylogctl start
4. nohup /opt/graylog-web-interface/bin/graylog-web-interface &
Related Posts
Other Interesting articles on Graylog:
Other Interesting articles on Graylog:
- How to Integrate AD Authentication in Graylog?
- How to Create Roles in Graylog?
- GrayLog Configuration: GrayLog & Elasticsearch Performance Check Points.
- GrayLog Error: "We expected HTTP 200, but got a HTTP -1".
- Graylog: ERROR [IndexRotationThread] couldn’t point deflector to a new index
- Install Graylog 3 with Elasticsearch 6.x and mongodb 4.x on CentOS 8 / RHEL 8 Linux
- Install Graylog 3 with Elasticsearch 6.x and mongodb 4.x on CentOS 7 / RHEL 7 Linux
- How To Install MongoDB 4 on RHEL 8 / CentOS 8
- How to Change Docker Logging Driver from journald to json-file
No comments