Thx for the reply. Here is what I get:
:~# java -jar /opt/graylog2/server/graylog2-server.jar -f
/etc/graylog2/server.conf
Error: Unable to access jarfile /opt/graylog2/server/graylog2-server.jar
And here is what I get from the log file:
:~# tail -30 /var/log/graylog2-server.log
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
... 3 more
2014-08-14 21:00:50,267 ERROR: org.graylog2.Main -
################################################################################
ERROR: Could not successfully connect to ElasticSearch. Check that your
cluster state is not RED and that ElasticSearch is running properly.
Need help?
* Official documentation: http://support.torch.sh/help/kb
* Mailing list: http://support.torch.sh/help/kb/general/forums-mailing-list
* Issue tracker: http://support.torch.sh/help/kb/general/issue-trackers
* Commercial support: http://www.torch.sh/
But we also got some specific help pages that might help you in this case:
*
http://support.torch.sh/help/kb/graylog2-server/configuring-and-tuning-elasticsearch-for-graylog2-v0200
Terminating. :(
################################################################################
On Monday, August 18, 2014 6:50:59 AM UTC-4, Arie wrote:
>
> What happens when you try to start in manually with for exaple:
>
> java -jar /opt/graylog2/server/graylog2-server.jar -f /etc/graylog2/server
> .conf
>
>
>
> On Friday, August 15, 2014 2:38:27 AM UTC+2, Lab Coat wrote:
>>
>> I have been working through this guide, installing graylog2 on Ubuntu
>> 14.04:
>>
>> https://www.digitalocean.com/community/tutorials/how-to-install-graylog2-and-centralize-logs-on-ubuntu-14-04
>>
>> I got to the step to start the graylog2 service, and am stuck. It will
>> not start. I keep getting this:
>>
>> ro...@server:~# service graylog2 start
>> Starting graylog2-server ...
>> ro...@server:~# /usr/bin/nohup: redirecting stderr to stdout
>>
>> I then get no prompt, but hitting enter gets me back to a prompt. Status
>> show graylog2 not started:
>>
>> ro...@server:~# service graylog2 status
>> graylog2-server not running
>>
>> I'm stuck. I've googled but it isn't clear to me what is wrong. Can
>> anyone help?
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.