Graylog update on OVA image

Hi,

I was running 3.0 or 3.1 (OVA image from graylog) on a virtual machine and it was working fine.
Then I desided to upgrade to latest version with the following method. Then after that I can’t access web interface.

root@graylog:~# lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
root@graylog:~#

wget https://packages.graylog2.org/repo/packages/graylog-3.1-repository_latest.deb sudo dpkg -i graylog-3.1-repository_latest.deb
sudo apt-get update sudo apt-get install graylog-server

server.conf has the following http_bind_address which worked before

http_bind_address = 127.0.0.1:9000

Seems like everything is still running, but can’t acess web interface with the following:
http://172.16.1.10:9000

Can anyone please help with this?

root@graylog:~# service graylog-server status
● graylog-server.service - Graylog server
Loaded: loaded (/usr/lib/systemd/system/graylog-server.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/graylog-server.service.d
└─10-after_services.conf
Active: active (running) since Mon 2019-09-16 15:33:17 EDT; 16min ago
Docs: http://docs.graylog.org/
Main PID: 1949 (graylog-server)
Tasks: 63 (limit: 4680)
CGroup: /system.slice/graylog-server.service
├─1949 /bin/sh /usr/share/graylog-server/bin/graylog-server
└─1950 /usr/bin/java -Xms1g -Xmx1g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -jar -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=deb /usr/share/graylog-server/g

Sep 16 15:33:36 graylog graylog-server[1949]: at org.graylog2.bootstrap.Main.main(Main.java:50)
Sep 16 15:33:36 graylog graylog-server[1949]: 16 errors
Sep 16 15:33:36 graylog graylog-server[1949]: at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:543)
Sep 16 15:33:36 graylog graylog-server[1949]: at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:186)
Sep 16 15:33:36 graylog graylog-server[1949]: at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
Sep 16 15:33:36 graylog graylog-server[1949]: at com.google.inject.Guice.createInjector(Guice.java:87)
Sep 16 15:33:36 graylog graylog-server[1949]: at org.graylog2.shared.bindings.GuiceInjectorHolder.createInjector(GuiceInjectorHolder.java:34)

root@graylog:~# service elasticsearch status
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-09-16 15:30:35 EDT; 19min ago
Docs: http://www.elastic.co
Main PID: 1674 (java)
Tasks: 36 (limit: 4680)
CGroup: /system.slice/elasticsearch.service
└─1674 /usr/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true

Sep 16 15:30:35 graylog systemd[1]: Started Elasticsearch.
Sep 16 15:30:35 graylog elasticsearch[1674]: warning: Falling back to java on path. This behavior is deprecated. Specify JAVA_HOME

/Markus

Hi Markus,

Please kindly share how to set static ip on graylog OVA image, Because I tried to edit file \etc\network\interfaces fix ip on my environment but can’t set static ip on this.

Thank you in advance.

Oliver,

I wish someone could answer my question;)

Anyway, 18.04 is using netplan instead of the network interface file. So you need to edit the file located in the folloiwng directory instead /etc/netplan/

See sample file below.

root@graylog:/etc/netplan# cat 01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
addresses: [172.16.1.10/24]
gateway4: 172.16.1.1
mtu: 1500
nameservers:
addresses: [xxx.xxx.xxx.xxxx]
optional: true
root@graylog:/etc/netplan#

image

/Markus

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