Web interface not available


(alexis) #1

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


(Jochen) #2

Check the logs of your MongoDB, Elasticsearch, and Graylog nodes.
:arrow_right: http://docs.graylog.org/en/2.4/pages/configuration/file_location.html


(alexis) #3

Thanks

I see that the file is used at 100% :

/dev/mapper/vg00-lv_var 976M 912M 0 100% /var

But I don’t know what is the role of this file


(Jochen) #4

/var is the directory in Linux systems, which is being used to store application data.

This directory (or the underlying disk partition) being filled 100%, is the reason that none of your services are running anymore.


(alexis) #5

I have increase the size of the partition /dev/mapper/vg00-lv_var.

So I have no memory problem

Now the service mongodb and elasticsearch works, but the web interface is again unavailable


(Jochen) #6

Then again, check the logs of all relevant services.


(alexis) #7

I check the logs but I’ve non error message


(alexis) #8

I see that on my graylog server :

– L’unité (unit) graylog-server.service a commencé à démarrer.
juin 11 14:12:02 GRAYLOG-SERVER polkitd[622]: Unregistered Authentication Agent for unix-process:5767:77895 (system bus name :1.32, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-
juin 11 14:12:02 GRAYLOG-SERVER graylog-server[5773]: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads


(alexis) #9

In fact, I’ve a problem with iptables rules. Now it’s works


(system) #10

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.