web-dev-qa-db-ja.com

Graylog 2.1.xでのフィールド情報の読み込みが、ステータス500(内部サーバーエラー)で失敗しました

グレイログの設定に取り組んでいますが、次のエラーが発生します。

Loading field information failed with status: cannot GET http://192.168.2.108:12900/system/fields (500)

私はこのページにいます: http://docs.graylog.org/en/2.1/pages/getting_started/check_messages.html

ヒストグラムまたは検索結果が表示されません。ただし、このストリームにストリーミングしている多くのLinuxサーバーからrsyslogからメッセージが届きます。

これは私のテールです:

tailf /var/log/graylog-server/server.log
2016-10-04T22:43:24.753-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:43:54.755-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:44:24.757-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:44:54.759-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:45:24.762-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:45:54.764-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:46:24.767-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:46:47.865-04:00 INFO  [IndexRetentionThread] Elasticsearch cluster not available, skipping index retention checks.
2016-10-04T22:46:54.770-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:47:24.772-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:47:54.774-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:48:24.777-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:48:54.779-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:48:58.490-04:00 ERROR [AnyExceptionClassMapper] Unhandled exception in REST resource
org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
        at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedException(ClusterBlocks.Java:158) ~[graylog.jar:?]
        at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedRaiseException(ClusterBlocks.Java:144) ~[graylog.jar:?]
        at org.elasticsearch.action.search.AbstractSearchAsyncAction.<init>(AbstractSearchAsyncAction.Java:94) ~[graylog.jar:?]
        at org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction.<init>(SearchQueryThenFetchAsyncAction.Java:53) ~[graylog.jar:?]
        at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.Java:93) ~[graylog.jar:?]
        at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.Java:47) ~[graylog.jar:?]
        at org.elasticsearch.action.support.TransportAction.doExecute(TransportAction.Java:149) ~[graylog.jar:?]
        at org.elasticsearch.action.support.TransportAction.execute(TransportAction.Java:137) ~[graylog.jar:?]
        at org.elasticsearch.action.support.TransportAction.execute(TransportAction.Java:85) ~[graylog.jar:?]
        at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.Java:58) ~[graylog.jar:?]
        at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.Java:359) ~[graylog.jar:?]
        at org.elasticsearch.client.FilterClient.doExecute(FilterClient.Java:52) ~[graylog.jar:?]
        at org.graylog2.indexer.elasticsearch.GlobalTimeoutClient.doExecute(GlobalTimeoutClient.Java:58) ~[graylog.jar:?]
        at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.Java:359) ~[graylog.jar:?]
        at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.Java:348) ~[graylog.jar:?]
        at org.elasticsearch.client.support.AbstractClient.search(AbstractClient.Java:577) ~[graylog.jar:?]
        at org.graylog2.indexer.elasticsearch.GlobalTimeoutClient.search(GlobalTimeoutClient.Java:64) ~[graylog.jar:?]
        at org.graylog2.indexer.searches.Searches.search(Searches.Java:244) ~[graylog.jar:?]
        at org.graylog2.rest.resources.search.RelativeSearchResource.searchRelative(RelativeSearchResource.Java:113) ~[graylog.jar:?]
        at Sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source) ~[?:?]
        at Sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.Java:43) ~[?:1.8.0_102]
        at Java.lang.reflect.Method.invoke(Method.Java:498) ~[?:1.8.0_102]
        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.Java:81) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.Java:144) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.Java:161) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.Java:205) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.Java:99) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.Java:389) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.Java:347) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.Java:102) ~[graylog.jar:?]
        at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.Java:326) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.Java:271) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.Java:267) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.Java:315) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.Java:297) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.Java:267) [graylog.jar:?]
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.Java:317) [graylog.jar:?]
        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.Java:305) [graylog.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.Java:1154) [graylog.jar:?]
        at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.Java:384) [graylog.jar:?]
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.Java:224) [graylog.jar:?]
        at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.Java:176) [graylog.jar:?]
        at Java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.Java:1142) [?:1.8.0_102]
        at Java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.Java:617) [?:1.8.0_102]
        at Java.lang.Thread.run(Thread.Java:745) [?:1.8.0_102]
2016-10-04T22:49:24.783-04:00 INFO  [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2016-10-04T22:49:28.481-04:00 ERROR [AnyExceptionClassMapper] Unhandled exception in REST resource
org.elasticsearch.discovery.MasterNotDiscoveredException
        at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$5.onTimeout(TransportMasterNodeAction.Java:226) ~[graylog.jar:?]
        at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.Java:236) ~[graylog.jar:?]
        at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.Java:804) ~[graylog.jar:?]
        at Java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.Java:1142) [?:1.8.0_102]
        at Java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.Java:617) [?:1.8.0_102]
        at Java.lang.Thread.run(Thread.Java:745) [?:1.8.0_102]

ドキュメントと同じ結果が得られない理由についてのアイデアはありますか?

1
Jason

ログファイルは、ElasticSearchサービスが稼働していないことを示しています。ログと構成を見て、その理由を見つける必要があります。

1
Tero Kilkanen