Server currently unavailable error


(srinivas poshala) #1

Hi Team ,
I have installed the graylog on RHEL 7 today ( mongodb , elasticsearch ) and able to login the Web also for the attached error window is keep appearing and disappearing .

Could you please help me.


(Jochen) #2

Please check the logs of Graylog and Elasticsearch on your system: http://docs.graylog.org/en/2.2/pages/configuration/file_location.html#rpm-package


(srinivas poshala) #3

Hi Jochen ,
Thank you for the update.

Below are the graylog logs.

Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of org.joda.time.DateTime out of VALUE_EMBEDDED_OBJECT token
 at [Source: de.undercouch.bson4jackson.io.LittleEndianInputStream@1c0ba49d; pos: 146] (through reference chain: org.graylog2.cluster.ClusterConfig["last_updated"])
        at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
        at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:854)
        at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:850)
        at com.fasterxml.jackson.datatype.joda.deser.DateTimeDeserializer.deserialize(DateTimeDeserializer.java:92)
        at com.fasterxml.jackson.datatype.joda.deser.DateTimeDeserializer.deserialize(DateTimeDeserializer.java:22)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeWithErrorWrapping(BeanDeserializer.java:461)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:376)
        at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1099)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:294)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:131)
        at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3703)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2072)
        at org.mongojack.internal.stream.JacksonDBDecoder.decode(JacksonDBDecoder.java:77)
        at org.mongojack.internal.stream.JacksonDBDecoder.decode(JacksonDBDecoder.java:64)
        ... 74 more
MultiException stack 2 of 2
java.lang.IllegalStateException: Unable to perform operation: create on org.graylog2.shared.rest.resources.system.SystemResource
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:392)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
        at org.glassfish.jersey.process.internal.RequestScope.findOrCreate(RequestScope.java:162)
        at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:767)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:706)
        at org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:172)
        at org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:284)
        at org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:74)
        at org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:109)
        at org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
        at org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
        at org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
        at org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
        at org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:92)
        at org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:61)
        at org.glassfish.jersey.process.internal.Stages.process(Stages.java:197)
        at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:318)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
        at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)
        at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)

ii) Elasticsearch logs

[root@test-graylog elasticsearch]# cat graylog.log
[2017-05-21 01:09:56,015][INFO ][node                     ] [Saint Anna] version[2.4.5], pid[1063], build[c849dd1/2017-04-24T16:18:17Z]
[2017-05-21 01:09:56,016][INFO ][node                     ] [Saint Anna] initializing ...
[2017-05-21 01:09:58,702][INFO ][plugins                  ] [Saint Anna] modules [reindex, lang-expression, lang-groovy], plugins [], sites []
[2017-05-21 01:09:59,275][INFO ][env                      ] [Saint Anna] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [13.5gb], net total_space [16.9gb], spins? [unknown], types [rootfs]
[2017-05-21 01:09:59,275][INFO ][env                      ] [Saint Anna] heap size [1007.3mb], compressed ordinary object pointers [true]
[2017-05-21 01:10:02,048][INFO ][node                     ] [Saint Anna] initialized
[2017-05-21 01:10:02,048][INFO ][node                     ] [Saint Anna] starting ...
[2017-05-21 01:10:02,625][INFO ][transport                ] [Saint Anna] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2017-05-21 01:10:02,631][INFO ][discovery                ] [Saint Anna] graylog/qua4VM23R8KhgLSFr-UfuA
[2017-05-21 01:10:05,891][INFO ][cluster.service          ] [Saint Anna] new_master {Saint Anna}{qua4VM23R8KhgLSFr-UfuA}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2017-05-21 01:10:06,017][INFO ][http                     ] [Saint Anna] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2017-05-21 01:10:06,017][INFO ][node                     ] [Saint Anna] started
[2017-05-21 01:10:06,067][INFO ][gateway                  ] [Saint Anna] recovered [0] indices into cluster_state

(Jochen) #4

This looks broken. What are the contents of the cluster_config collection in the MongoDB database of Graylog?


(system) #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.