It was solved in the chat by the following:

elasticsearch_discovery_zen_ping_multicast_enabled = false
kroepke
elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300
kroepke
in graylog2.conf
kroepke
elasticsearch defaults to multicast discovery, which sometimes just doesn’t 
work. a little strange for localhost, but still

Thanks for following up.
-- 
Jeff Schoolcraft

On November 19, 2014 at 12:06:06 PM, Jochen Schalanda ([email protected]) wrote:

Hi Jeff,

do you see any other Exceptions in the logs of Graylog2? Which version of 
Graylog2 are you running and can it connect to the Elasticsearch cluster?


Best regards,
Jochen

Am Mittwoch, 19. November 2014 16:54:32 UTC+1 schrieb Jeff Schoolcraft:
I’m trying to install Graylog2 and I’m getting the following error:

2014-11-19 15:39:41,282 ERROR: org.graylog2.Main - Graylog2 startup failed. 
Exiting. Exception was:
java.lang.IllegalStateException: Expected to be healthy after starting. The 
following services are not running: {FAILED=[IndexerSetupService [FAILED]]}
at 
com.google.common.util.concurrent.ServiceManager$ServiceManagerState.checkHealthy(ServiceManager.java:707)
at 
com.google.common.util.concurrent.ServiceManager$ServiceManagerState.awaitHealthy(ServiceManager.java:529)
at 
com.google.common.util.concurrent.ServiceManager.awaitHealthy(ServiceManager.java:308)
at org.graylog2.Main.main(Main.java:291)

The cluster is healthy:

curl -X GET http://localhost:9200
{
  "status" : 200,
  "name" : "Jigsaw",
  "version" : {
    "number" : "1.3.4",
    "build_hash" : "a70f3ccb52200f8f2c87e9c370c6597448eb3e45",
    "build_timestamp" : "2014-09-30T09:07:17Z",
    "build_snapshot" : false,
    "lucene_version" : "4.9"
  },
  "tagline" : "You Know, for Search"
}

and:

curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
  "cluster_name" : "graylog2",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 0,
  "active_shards" : 0,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0
}

How do I run this down?
--
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.

-- 
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.

Reply via email to