Thanks for your reply Jochen,

I couldn't find any logs nor in /var/log directory, nor in 
/opt/graylog/elasticsearch, do you have any idea where they might be?
the only thing I've got so far is stdout log from docker container. 
Attached the full log to this message, here is part where it says something 
about the elasticsearch:

[2015-11-25T10:12:09+00:00] INFO: template[/var/log/graylog/etcd/config] 
sending create action to ruby_block[reload etcd svlogd configuration] 
(delayed)
[2015-11-25T10:12:09+00:00] INFO: ruby_block[reload etcd svlogd 
configuration] called
[2015-11-25T10:12:09+00:00] INFO: 
template[/opt/graylog/conf/elasticsearch.yml] sending restart action to 
service[elasticsearch] (delayed)
[2015-11-25T10:12:10+00:00] INFO: service[elasticsearch] restarted
[2015-11-25T10:12:10+00:00] INFO: 
template[/var/log/graylog/elasticsearch/config] sending create action to 
ruby_block[reload elasticsearch svlogd configuration] (delayed)
[2015-11-25T10:12:10+00:00] INFO: ruby_block[reload elasticsearch svlogd 
configuration] called
[2015-11-25T10:12:10+00:00] INFO: template[/var/log/graylog/mongodb/config] 
sending create action to ruby_block[reload mongodb svlogd configuration] 
(delayed)
[2015-11-25T10:12:10+00:00] INFO: ruby_block[reload mongodb svlogd 
configuration] called
[2015-11-25T10:12:10+00:00] INFO: 
file[/var/opt/graylog/graylog-server-node-id] sending restart action to 
service[graylog-server] (delayed)
[2015-11-25T10:12:10+00:00] INFO: service[graylog-server] restarted
[2015-11-25T10:12:10+00:00] INFO: template[/var/log/graylog/server/config] 
sending create action to ruby_block[reload graylog-server svlogd 
configuration] (delayed)
[2015-11-25T10:12:10+00:00] INFO: ruby_block[reload graylog-server svlogd 
configuration] called
[2015-11-25T10:12:10+00:00] INFO: 
template[/opt/graylog/conf/graylog-web-interface.conf] sending restart 
action to service[graylog-web] (delayed)
[2015-11-25T10:12:11+00:00] INFO: service[graylog-web] restarted
[2015-11-25T10:12:11+00:00] INFO: template[/var/log/graylog/web/config] 
sending create action to ruby_block[reload graylog-web svlogd 
configuration] (delayed)
[2015-11-25T10:12:11+00:00] INFO: ruby_block[reload graylog-web svlogd 
configuration] called
[2015-11-25T10:12:11+00:00] INFO: 
template[/opt/graylog/conf/nginx/nginx.conf] sending restart action to 
service[nginx] (delayed)
[2015-11-25T10:12:11+00:00] INFO: service[nginx] restarted
[2015-11-25T10:12:11+00:00] INFO: template[/var/log/graylog/nginx/config] 
sending create action to ruby_block[reload nginx svlogd configuration] 
(delayed)
[2015-11-25T10:12:11+00:00] INFO: ruby_block[reload nginx svlogd 
configuration] called
[2015-11-25T10:12:11+00:00] INFO: template[/etc/ntp.conf] sending restart 
action to service[ntp] (delayed)
[2015-11-25T10:12:13+00:00] INFO: service[ntp] restarted
[2015-11-25T10:12:13+00:00] INFO: Chef Run complete in 47.764144278 seconds
[2015-11-25T10:12:13+00:00] INFO: Skipping removal of unused files from the 
cache
[2015-11-25T10:12:13+00:00] INFO: Running report handlers
[2015-11-25T10:12:13+00:00] INFO: Report handlers complete
graylog Reconfigured!
2015-11-25_10:12:10.68807 Java HotSpot(TM) 64-Bit Server VM warning: 
ignoring option PermSize=128m; support was removed in 8.0
2015-11-25_10:12:10.68816 Java HotSpot(TM) 64-Bit Server VM warning: 
ignoring option MaxPermSize=256m; support was removed in 8.0
2015-11-25_10:12:11.04661 INFO  [CmdLineTool] Loaded plugins: [Anonymous 
Usage Statistics 1.1.1 
[org.graylog.plugins.usagestatistics.UsageStatsPlugin]]
2015-11-25_10:12:11.10780 INFO  [CmdLineTool] Running with JVM arguments: 
-Xms1g -Xmx1500m -XX:NewRatio=1 -XX:PermSize=128m -XX:MaxPermSize=256m 
-XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled 
-XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC 
-XX:-OmitStackTraceInFastThrow 
-Dlog4j.configuration=file:///opt/graylog/conf/log4j.xml 
-Djava.library.path=/opt/graylog/server/lib/sigar/
2015-11-25_10:12:13.33640 INFO  [InputBufferImpl] Message journal is 
enabled.
2015-11-25_10:12:13.47467 INFO  [LogManager] Loading logs.
2015-11-25_10:12:13.52915 INFO  [LogManager] Logs loading complete.
2015-11-25_10:12:13.52934 INFO  [KafkaJournal] Initialized Kafka based 
journal at /var/opt/graylog/data/journal
2015-11-25_10:12:13.54505 INFO  [InputBufferImpl] Initialized 
InputBufferImpl with ring size <65536> and wait strategy 
<BlockingWaitStrategy>, running 2 parallel message handlers.
2015-11-25_10:12:13.72886 INFO  [NodeId] Node ID: 
63b64bd2-2d43-4811-a236-e581d3920f4c
2015-11-25_10:12:13.85043 INFO  [node] [graylog2-server] version[1.7.1], 
pid[846], build[b88f43f/2015-07-29T09:54:16Z]
2015-11-25_10:12:13.85045 INFO  [node] [graylog2-server] initializing ...
2015-11-25_10:12:13.90696 INFO  [plugins] [graylog2-server] loaded 
[graylog-monitor], sites []
2015-11-25_10:12:15.51236 INFO  [node] [graylog2-server] initialized
2015-11-25_10:12:15.56256 INFO  [Version] HV000001: Hibernate Validator 
5.1.3.Final
2015-11-25_10:12:15.64642 INFO  [ProcessBuffer] Initialized ProcessBuffer 
with ring size <65536> and wait strategy <BlockingWaitStrategy>.
2015-11-25_10:12:16.86562 INFO  [RulesEngineProvider] No static rules file 
loaded.
2015-11-25_10:12:16.89013 INFO  [OutputBuffer] Initialized OutputBuffer 
with ring size <65536> and wait strategy <BlockingWaitStrategy>.
2015-11-25_10:12:17.54196 INFO  [ServerBootstrap] Graylog server 1.2.2 
(91c7822) starting up. (JRE: Oracle Corporation 1.8.0_60 on Linux 
3.2.0-4-amd64)
2015-11-25_10:12:17.55981 INFO  [PeriodicalsService] Starting 23 
periodicals ...
2015-11-25_10:12:17.56016 INFO  [Periodicals] Starting 
[org.graylog2.periodical.ThroughputCalculator] periodical in [0s], polling 
every [1s].
2015-11-25_10:12:17.56140 INFO  [Periodicals] Starting 
[org.graylog2.periodical.AlertScannerThread] periodical in [10s], polling 
every [60s].
2015-11-25_10:12:17.56320 INFO  [Periodicals] Starting 
[org.graylog2.periodical.BatchedElasticSearchOutputFlushThread] periodical 
in [0s], polling every [1s].
2015-11-25_10:12:17.56594 INFO  [Periodicals] Starting 
[org.graylog2.periodical.ClusterHealthCheckThread] periodical in [0s], 
polling every [20s].
2015-11-25_10:12:17.56606 INFO  [node] [graylog2-server] starting ...
2015-11-25_10:12:17.56675 INFO  [Periodicals] Starting 
[org.graylog2.periodical.ContentPackLoaderPeriodical] periodical, running 
forever.
2015-11-25_10:12:17.56822 INFO  [Periodicals] Starting 
[org.graylog2.periodical.DeadLetterThread] periodical, running forever.
2015-11-25_10:12:17.56838 INFO  [Periodicals] Starting 
[org.graylog2.periodical.GarbageCollectionWarningThread] periodical, 
running forever.
2015-11-25_10:12:17.56873 INFO  [Periodicals] Starting 
[org.graylog2.periodical.IndexerClusterCheckerThread] periodical in [0s], 
polling every [30s].
2015-11-25_10:12:17.57154 INFO  [Periodicals] Starting 
[org.graylog2.periodical.IndexRetentionThread] periodical in [0s], polling 
every [300s].
2015-11-25_10:12:17.57207 INFO  [IndexRetentionThread] Elasticsearch 
cluster not available, skipping index retention checks.
2015-11-25_10:12:17.57325 INFO  [Periodicals] Starting 
[org.graylog2.periodical.IndexRotationThread] periodical in [0s], polling 
every [10s].
2015-11-25_10:12:17.57902 INFO  [Periodicals] Starting 
[org.graylog2.periodical.NodePingThread] periodical in [0s], polling every 
[1s].
2015-11-25_10:12:17.58123 INFO  [Periodicals] Starting 
[org.graylog2.periodical.StreamThroughputCounterManagerThread] periodical 
in [0s], polling every [1s].
2015-11-25_10:12:17.58144 INFO  [Periodicals] Starting 
[org.graylog2.periodical.VersionCheckThread] periodical in [300s], polling 
every [1800s].
2015-11-25_10:12:17.58195 INFO  [Periodicals] Starting 
[org.graylog2.periodical.ThrottleStateUpdaterThread] periodical in [1s], 
polling every [1s].
2015-11-25_10:12:17.59067 INFO  [Periodicals] Starting 
[org.graylog2.events.ClusterEventPeriodical] periodical in [0s], polling 
every [1s].
2015-11-25_10:12:17.59237 INFO  [Periodicals] Starting 
[org.graylog2.events.ClusterEventCleanupPeriodical] periodical in [0s], 
polling every [300s].
2015-11-25_10:12:17.59361 INFO  [Periodicals] Starting 
[org.graylog2.periodical.ClusterIdGeneratorPeriodical] periodical, running 
forever.
2015-11-25_10:12:17.59382 INFO  [Periodicals] Starting 
[org.graylog2.periodical.PurgeExpiredCollectorsThread] periodical in [0s], 
polling every [3600s].
2015-11-25_10:12:17.60128 INFO  [IndexerClusterCheckerThread] Indexer not 
fully initialized yet. Skipping periodic cluster check.
2015-11-25_10:12:17.60312 INFO  [Periodicals] Starting 
[org.graylog2.periodical.IndexRangesMigrationPeriodical] periodical, 
running forever.
2015-11-25_10:12:17.60748 WARN  [ClusterConfigServiceImpl] Couldn't find 
cluster config of type org.graylog2.cluster.UserPermissionMigrationState
2015-11-25_10:12:17.60749 INFO  [Periodicals] Starting 
[org.graylog2.periodical.UserPermissionMigrationPeriodical] periodical, 
running forever.
2015-11-25_10:12:17.60953 INFO  [Periodicals] Starting 
[org.graylog2.periodical.AlarmCallbacksMigrationPeriodical] periodical, 
running forever.
2015-11-25_10:12:17.61196 INFO  [Periodicals] Starting 
[org.graylog.plugins.usagestatistics.UsageStatsNodePeriodical] periodical 
in [300s], polling every [21600s].
2015-11-25_10:12:17.61759 INFO  [Periodicals] Starting 
[org.graylog.plugins.usagestatistics.UsageStatsClusterPeriodical] 
periodical in [300s], polling every [21600s].
2015-11-25_10:12:17.62435 WARN  [ClusterConfigServiceImpl] Couldn't find 
cluster config of type org.graylog2.plugin.cluster.ClusterId
2015-11-25_10:12:17.62466 WARN  [ClusterConfigServiceImpl] Couldn't find 
cluster config of type 
org.graylog2.periodical.IndexRangesMigrationPeriodical.MongoIndexRangesMigrationComplete
2015-11-25_10:12:17.65124 INFO  [UserPermissionMigrationPeriodical] Marking 
user permission migration as done.
2015-11-25_10:12:17.78916 INFO  [Reflections] Reflections took 194 ms to 
scan 1 urls, producing 2 keys and 2 values 
2015-11-25_10:12:17.81468 INFO  [transport] [graylog2-server] bound_address 
{inet[/0:0:0:0:0:0:0:0:9350]}, publish_address {inet[/172.17.0.3:9350]}
2015-11-25_10:12:17.87162 INFO  [discovery] [graylog2-server] 
graylog2/ZR7Pq_9XSFC7WFvCRFkGEw
2015-11-25_10:12:20.86948 WARN  [discovery] [graylog2-server] waited for 3s 
and no initial state was set by the discovery
2015-11-25_10:12:20.86969 INFO  [node] [graylog2-server] started
2015-11-25_10:12:22.39565 INFO  [RestApiService] Adding security context 
factory: <org.graylog2.security.ShiroSecurityContextFactory@1219e223>
2015-11-25_10:12:22.41067 INFO  [RestApiService] Started REST API at 
<http://0.0.0.0:12900/>
2015-11-25_10:12:25.87134 INFO  [IndexerSetupService] Checking 
Elasticsearch HTTP API at http://127.0.0.1:9200/
2015-11-25_10:12:26.30279 ERROR [IndexerSetupService] Could not connect to 
Elasticsearch: Connection refused
2015-11-25_10:12:26.30461 WARN  [IndexerSetupService] Could not connect to 
Elasticsearch
2015-11-25_10:12:26.30472 INFO  [IndexerSetupService] If you're using 
multicast, check that it is working in your network and that Elasticsearch 
is accessible. Also check that the cluster name setting is correct.
2015-11-25_10:12:26.30574 INFO  [IndexerSetupService] See 
http://docs.graylog.org/en/1.2/pages/configuring_es.html for details.
2015-11-25_10:12:26.30651 INFO  [ServiceManagerListener] Services are 
healthy

On Wednesday, November 25, 2015 at 7:38:48 PM UTC+8, Jochen Schalanda wrote:
>
> Hi Pavel,
>
> hard to say without any data. Please check the logs of Elasticsearch 
> inside the container to find out the reason why it didn't come up.
>
>
> Cheers,
> Jochen
>
> On Wednesday, 25 November 2015 12:29:02 UTC+1, Pavel Grigoriev wrote:
>>
>> Yep, looks like it's not running. But why, do you think, i might have 
>> this problem if i'm running the official graylog2 image the way it's 
>> described in the documentation?
>>
>> On Wednesday, November 25, 2015 at 6:16:45 PM UTC+8, Jochen Schalanda 
>> wrote:
>>>
>>> Hi Pavel,
>>>
>>> please check that Elasticsearch is actually running inside the Docker 
>>> container. Your netstat output doesn't show the required ports 
>>> (9200/tcp and 9300/tcp).
>>>
>>> Cheers,
>>> Jochen
>>>
>>> On Wednesday, 25 November 2015 07:35:48 UTC+1, Pavel Grigoriev wrote:
>>>>
>>>> Hi Grayloggers!
>>>>
>>>> I'm very new with Graylog, trying to start it in Docker container using 
>>>> the official image graylog2/allinone
>>>>
>>>>
>>>>
>>>> *docker run -d -p 9000:9000 -p 12201:12201 -p 12201:12201/udp -p 
>>>> 12900:12900 -p 4001:4001 graylog2/allinone B*ut get a *'We expected 
>>>> HTTP 200, but got a HTTP 500.'* and* 'Elasticsearch cluster 
>>>> unavailable' *errors.
>>>> Will appreciate any advice how to troubleshoot this. Attached 
>>>> screenshot and configs from /opt/graylog/conf directory.
>>>>
>>>> Stacktrace 
>>>>    
>>>>    - 
>>>> org.graylog2.restclient.lib.ApiClientImpl$ApiRequestBuilder#handleResponse 
>>>>    (*ApiClientImpl.java:511*) 
>>>>    - org.graylog2.restclient.lib.ApiClientImpl$ApiRequestBuilder#execute 
>>>>    (*ApiClientImpl.java:441*) 
>>>>    - org.graylog2.restclient.models.UniversalSearch#doSearch (
>>>>    *UniversalSearch.java:115*) 
>>>>    - org.graylog2.restclient.models.UniversalSearch#search (
>>>>    *UniversalSearch.java:147*) 
>>>>    - controllers.SearchController#renderSearch (
>>>>    *SearchController.java:193*) 
>>>>    - controllers.SearchController#index (*SearchController.java:126*) 
>>>>    - controllers.SearchController#globalSearch (
>>>>    *SearchController.java:104*) 
>>>>    - 
>>>> Routes$$anonfun$routes$1$$anonfun$applyOrElse$5$$anonfun$apply$449#apply 
>>>>    (*routes_routing.scala:1629*) 
>>>>    - 
>>>> Routes$$anonfun$routes$1$$anonfun$applyOrElse$5$$anonfun$apply$449#apply 
>>>>    (*routes_routing.scala:1629*) 
>>>>    - play.core.Router$HandlerInvokerFactory$$anon$4#resultCall (
>>>>    *Router.scala:264*) 
>>>>    - 
>>>> play.core.Router$HandlerInvokerFactory$JavaActionInvokerFactory$$anon$15$$anon$1#invocation
>>>>  
>>>>    (*Router.scala:255*) 
>>>>    - play.core.j.JavaAction$$anon$1#call (*JavaAction.scala:55*) 
>>>>    - play.GlobalSettings$1#call (*GlobalSettings.java:67*) 
>>>>    - play.mvc.Security$AuthenticatedAction#call (*Security.java:44*) 
>>>>    - play.core.j.JavaAction$$anonfun$11#apply (*JavaAction.scala:82*) 
>>>>    - play.core.j.JavaAction$$anonfun$11#apply (*JavaAction.scala:82*) 
>>>>    - scala.concurrent.impl.Future$PromiseCompletingRunnable#liftedTree1$1 
>>>>    (*Future.scala:24*) 
>>>>    - scala.concurrent.impl.Future$PromiseCompletingRunnable#run (
>>>>    *Future.scala:24*) 
>>>>    - play.core.j.HttpExecutionContext$$anon$2#run (
>>>>    *HttpExecutionContext.scala:40*) 
>>>>    - play.api.libs.iteratee.Execution$trampoline$#execute (
>>>>    *Execution.scala:46*) 
>>>>    - play.core.j.HttpExecutionContext#execute (
>>>>    *HttpExecutionContext.scala:32*) 
>>>>    - scala.concurrent.impl.Future$#apply (*Future.scala:31*) 
>>>>    - scala.concurrent.Future$#apply (*Future.scala:485*) 
>>>>    - play.core.j.JavaAction$class#apply (*JavaAction.scala:82*) 
>>>>    - 
>>>> play.core.Router$HandlerInvokerFactory$JavaActionInvokerFactory$$anon$15$$anon$1#apply
>>>>  
>>>>    (*Router.scala:252*) 
>>>>    - 
>>>> play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5#apply
>>>>  
>>>>    (*Action.scala:130*) 
>>>>    - 
>>>> play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5#apply
>>>>  
>>>>    (*Action.scala:130*) 
>>>>    - play.utils.Threads$#withContextClassLoader (*Threads.scala:21*) 
>>>>    - play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4#apply (
>>>>    *Action.scala:129*) 
>>>>    - play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4#apply (
>>>>    *Action.scala:128*) 
>>>>    - scala.Option#map (*Option.scala:145*) 
>>>>    - play.api.mvc.Action$$anonfun$apply$1#apply (*Action.scala:128*) 
>>>>    - play.api.mvc.Action$$anonfun$apply$1#apply (*Action.scala:121*) 
>>>>    - play.api.libs.iteratee.Iteratee$$anonfun$mapM$1#apply (
>>>>    *Iteratee.scala:483*) 
>>>>    - play.api.libs.iteratee.Iteratee$$anonfun$mapM$1#apply (
>>>>    *Iteratee.scala:483*) 
>>>>    - play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1#apply (
>>>>    *Iteratee.scala:519*) 
>>>>    - play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1#apply (
>>>>    *Iteratee.scala:519*) 
>>>>    - 
>>>> play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14#apply 
>>>>    (*Iteratee.scala:496*) 
>>>>    - 
>>>> play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14#apply 
>>>>    (*Iteratee.scala:496*) 
>>>>    - scala.concurrent.impl.Future$PromiseCompletingRunnable#liftedTree1$1 
>>>>    (*Future.scala:24*) 
>>>>    - scala.concurrent.impl.Future$PromiseCompletingRunnable#run (
>>>>    *Future.scala:24*) 
>>>>    - akka.dispatch.TaskInvocation#run (*AbstractDispatcher.scala:41*) 
>>>>    - akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask#exec (
>>>>    *AbstractDispatcher.scala:393*) 
>>>>    - scala.concurrent.forkjoin.ForkJoinTask#doExec (
>>>>    *ForkJoinTask.java:260*) 
>>>>    - scala.concurrent.forkjoin.ForkJoinPool$WorkQueue#runTask (
>>>>    *ForkJoinPool.java:1339*) 
>>>>    - scala.concurrent.forkjoin.ForkJoinPool#runWorker (
>>>>    *ForkJoinPool.java:1979*) 
>>>>    - scala.concurrent.forkjoin.ForkJoinWorkerThread#run (
>>>>    *ForkJoinWorkerThread.java:107*) 
>>>>
>>>> Request information MethodGETQuery 
>>>> Refererhttp://adara.myco2.com:9000/login?destination=%2FConnection
>>>> keep-aliveAccept
>>>> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8DNT1
>>>> Accept-Languageen-US,en;q=0.5Accept-Encodinggzip, 
>>>> deflateUser-AgentMozilla/5.0 
>>>> (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0Host
>>>> adara.myco2.com:9000
>>>>
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/c1ff759b-4ba3-44a3-b679-b18d4796594a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: graylogboot.log
Description: Binary data

Reply via email to