Hello,
When I have reboot my graylog server, I have a problem with the web interface because it’s not available.
When I see the status of Mongodb en elasticsearch, I have some problems :
● mongod.service - High-performance, schema-free document-oriented database
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since lun. 2018-06-11 10:47:44 CEST; 22min ago
Docs: https://docs.mongodb.org/manual
Process: 944 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=1/FAILURE)
Process: 937 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS)
Process: 931 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS)
Process: 923 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS)juin 11 10:47:41 GRAYLOG-SERVER systemd[1]: Starting High-performance, schema-free document-oriented database…
juin 11 10:47:44 GRAYLOG-SERVER mongod[944]: about to fork child process, waiting until server is ready for connections.
juin 11 10:47:44 GRAYLOG-SERVER mongod[944]: forked process: 1640
juin 11 10:47:44 GRAYLOG-SERVER systemd[1]: mongod.service: control process exited, code=exited status=1
juin 11 10:47:44 GRAYLOG-SERVER systemd[1]: Failed to start High-performance, schema-free document-oriented database.
juin 11 10:47:44 GRAYLOG-SERVER systemd[1]: Unit mongod.service entered failed state.
juin 11 10:47:44 GRAYLOG-SERVER systemd[1]: mongod.service failed.
[admin@GRAYLOG-SERVER ~]$ systemctl status elasticsearch● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since lun. 2018-06-11 10:47:52 CEST; 22min ago
Docs: http://www.elastic.co
Process: 933 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
Process: 926 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 933 (code=exited, status=1/FAILURE)juin 11 10:47:41 GRAYLOG-SERVER systemd[1]: Starting Elasticsearch…
juin 11 10:47:41 GRAYLOG-SERVER systemd[1]: Started Elasticsearch.
juin 11 10:47:46 GRAYLOG-SERVER elasticsearch[933]: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parall…elGCThreads=N
juin 11 10:47:52 GRAYLOG-SERVER systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
juin 11 10:47:52 GRAYLOG-SERVER systemd[1]: Unit elasticsearch.service entered failed state.
juin 11 10:47:52 GRAYLOG-SERVER systemd[1]: elasticsearch.service failed.
Thanks to help me