I upgrade Graylog from 4.3 to 5.0 and then to 5.1 but have the same problem at version 5.0 and 5.1.
Graylog service not start and nothing is in the graylog server.log file.
-
OS Information:
Ubuntu 22.04.3 LTS -
Package Version:
apt list --installed | grep ‘mongod|elasticsearch|graylog|openjdk’:
elasticsearch-oss/now 7.10.2 amd64 [installed,local]
graylog-5.1-repository/stable,now 1-2 all [installed]
graylog-server/stable,now 5.1.5-1 amd64 [installed]
mongodb-database-tools/now 100.8.0 amd64 [installed,local]
mongodb-mongosh/now 2.0.1 amd64 [installed,local]
mongodb-org-database-tools-extra/now 5.0.21 amd64 [installed,local]
mongodb-org-database/now 5.0.21 amd64 [installed,local]
mongodb-org-mongos/now 5.0.21 amd64 [installed,local]
mongodb-org-server/now 5.0.21 amd64 [installed,local]
mongodb-org-shell/now 5.0.21 amd64 [installed,local]
mongodb-org-tools/now 5.0.21 amd64 [installed,local]
mongodb-org/now 5.0.21 amd64 [installed,local]
openjdk-17-jdk-headless/jammy-updates,jammy-security,now 17.0.8.1+1~us1-0ubuntu1~22.04 amd64 [installed,automatic]
openjdk-17-jdk/jammy-updates,jammy-security,now 17.0.8.1+1~us1-0ubuntu1~22.04 amd64 [installed]
openjdk-17-jre-headless/jammy-updates,jammy-security,now 17.0.8.1+1~us1-0ubuntu1~22.04 amd64 [installed,automatic]
openjdk-17-jre/jammy-updates,jammy-security,now 17.0.8.1+1~us1-0ubuntu1~22.04 amd64 [installed]
- Service logs, configurations, and environment variables:
journalctl -u graylog-server:
systemd[1]: graylog-server.service: Scheduled restart job, restart counter is at 40.
systemd[1]: Stopped Graylog server.
systemd[1]: Started Graylog server.
graylog-server[16088]: Unrecognized VM option ‘UseConcMarkSweepGC’
graylog-server[16088]: Error: Could not create the Java Virtual Machine.
graylog-server[16088]: Error: A fatal exception has occurred. Program will exit.
systemd[1]: graylog-server.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: graylog-server.service: Failed with result ‘exit-code’.
It seems that there is some problem with java, but I don’t know what it could be?