Need to get IPv4 working

I just set up a fresh debian 8 installation to take a look at graylog.
I followed instructions here: http://docs.graylog.org/en/2.2/pages/installation/os/debian.html

in server.conf i set:

rest_listen_uri = http://192.168.180.92:9000/api/
web_listen_uri = http://192.168.180.92:9000/

But the webinterface is only listening on tcp6:

tcp6 0 0 192.168.180.92:9000 :::* LISTEN

Found this: http://docs.graylog.org/en/2.2/pages/installation/manual_setup.html?highlight=ipv6#problems-with-ipv6-vs-ipv4

But it’s not working:

sudo -u graylog java -Djava.net.preferIPv4Stack=true -jar graylog.jar
usage: graylog [ ]

Commands are:
help Display help information
server Start the Graylog server
version Show the Graylog and JVM versions
journal Manage the persisted message journal

See 'graylog help ’ for more information on a specific command.

What is this “graylogctl” script? Can’t find it:

find / -name graylogctl
nothing

I’m struggling for an hour now to get this working :dizzy_face:

Hej @halycon

the script graylog-ctl can only be found on systems that are installed with the Omnibus Installation package.

In your Debian based Setup you need to modify /etc/default/graylog and add the option to the GRAYLOG_SERVER_JAVA_OPTS.

regards
Jan

ps: nice ava - Der VFL und Fiege gehören einfach zusammen! Wo stehst du im Stadion?

Thx @jan !!

did it.

ps. wenn ich im stadion bin, dann stehe ich immer Block Q :slight_smile:

Please bear in mind that any service that supports both IPv4 and IPv6 will belisted under the IPv6 services.

Hi guys

I’m contemplating moving away from the ova but what’s holding me back is the lack of graylog-ctl

Do I understand correctly from reading this thread that graylog-ctl can be installed on a vanilla Ubuntu 16.04 LTS graylog install?

Thanks

Why is that?

No, graylog-ctl is a program distributed with the Omnibus package: https://github.com/Graylog2/omnibus-graylog2

While you can install the Omnibus package on Ubuntu Linux, it would be virtually identical to the OVA, so that doesn’t make too much sense.

Thanks @jochen – what’s holding me back is the ease of use of that script graylog-ctl since it is so much easier to do things like change time zone; restart services – all in one place without fishing for config files. If there was a way to get it installed on a generic Graylog node (non-Omnibus package install) I would love to know how to do it.

Thank you
~B

That’s not possible.

1 Like

I’ve the same problem.

I’m on CentOS and it’s only listing on IPv6 and would like to make IPv4 work.

Do you have a sample configuration on changing the file?

Regards,

AM