halycon
(halycon)
April 28, 2017, 6:25am
#1
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
jan
(Jan Doberstein)
April 28, 2017, 6:51am
#2
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?
halycon
(halycon)
April 28, 2017, 8:18am
#3
Thx @jan !!
did it.
ps. wenn ich im stadion bin, dann stehe ich immer Block Q
hvdkooij
(Hugo van der Kooij)
April 28, 2017, 9:28am
#4
Please bear in mind that any service that supports both IPv4 and IPv6 will belisted under the IPv6 services.
bubba198
(bubba198)
April 28, 2017, 4:52pm
#5
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
jochen
(Jochen)
April 28, 2017, 5:37pm
#6
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.
bubba198
(bubba198)
April 30, 2017, 12:47am
#7
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
a-ml
(a-ml)
November 13, 2018, 3:23pm
#9
jan:
GRAYLOG_SERVER_JAVA_OPTS
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