Hello Eino, please try starting Graylog with OpenJDK 8 or Oracle JDK 8. The IBM JDK is kind of notorious for being incompatible with the "official" JDK from Oracle in some places.
Cheers, Jochen On Monday, 15 February 2016 12:04:33 UTC+1, Eino Tuominen wrote: > > Hello, > > I'm having problems with the second alpha release of graylog 2.0. I have > not yet tried to configure graylog to use encryption. Anyhow, when I run > graylogctl run I get this: > > Running graylog-server ... > > 2016-02-15 12:47:51,107 ERROR: org.graylog2.bootstrap.CmdLineTool - Plugin > "Anonymous Usage Statistics" requires version 2.0.0 - not loading! > > 2016-02-15 12:47:51,108 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded > plugins: [] > > 2016-02-15 12:47:51,185 INFO : org.graylog2.bootstrap.CmdLineTool - > Running with JVM arguments: > -Xoptionsfile=/usr/lib/jvm/java-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x > > 86_64/jre/lib/amd64/compressedrefs/options.default > -Xlockword:mode=default,noLockword=java/lang/String,noLockword=java/util/MapEntry,noLockword=java/util/HashMa > > > p$Entry,noLockword=org/apache/harmony/luni/util/ModifiedMap$Entry,noLockword=java/util/Hashtable$Entry,noLockword=java/lang/invoke/MethodType,noLockword=java/la > > > ng/invoke/MethodHandle,noLockword=java/lang/invoke/CollectHandle,noLockword=java/lang/invoke/ConstructorHandle,noLockword=java/lang/invoke/ConvertHandle,noLockw > > > ord=java/lang/invoke/ArgumentConversionHandle,noLockword=java/lang/invoke/AsTypeHandle,noLockword=java/lang/invoke/ExplicitCastHandle,noLockword=java/lang/invok > > > e/FilterReturnHandle,noLockword=java/lang/invoke/DirectHandle,noLockword=java/lang/invoke/ReceiverBoundHandle,noLockword=java/lang/invoke/DynamicInvokerHandle,n > > > oLockword=java/lang/invoke/FieldHandle,noLockword=java/lang/invoke/FieldGetterHandle,noLockword=java/lang/invoke/FieldSetterHandle,noLockword=java/lang/invoke/S > > > taticFieldGetterHandle,noLockword=java/lang/invoke/StaticFieldSetterHandle,noLockword=java/lang/invoke/IndirectHandle,noLockword=java/lang/invoke/InterfaceHandl > > > e,noLockword=java/lang/invoke/VirtualHandle,noLockword=java/lang/invoke/InvokeExactHandle,noLockword=java/lang/invoke/InvokeGenericHandle,noLockword=java/lang/i > > nvoke/VarargsCollectorHandle,noLockword=java/lang/invoke/ThunkTuple > -Xjcl:jclse7b_28 > -Dcom.ibm.oti.vm.bootstrap.library.path=/usr/lib/jvm/java-1.8.0-ibm-1.8.0.2 > > .0-1jpp.1.el7.x86_64/jre/lib/amd64/compressedrefs:/usr/lib/jvm/java-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x86_64/jre/lib/amd64 > > -Dsun.boot.library.path=/usr/lib/jvm/jav > > a-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x86_64/jre/lib/amd64/compressedrefs:/usr/lib/jvm/java-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x86_64/jre/lib/amd64 > > -Djava.library.path=/ > > > usr/lib/jvm/java-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x86_64/jre/lib/amd64/compressedrefs:/usr/lib/jvm/java-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x86_64/jre/lib/amd64:/usr/l > > ib -Djava.home=/usr/lib/jvm/java-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x86_64/jre > -Djava.ext.dirs=/usr/lib/jvm/java-1.8.0-ibm-1.8.0.2.0-1jpp.1.el7.x86_64/jre/lib/ext > > - > > Duser.dir=/opt/graylog-2.0.0-alpha.2 > -Djava.runtime.version=pxa6480sr2-20151023_01 (SR2) -Djava.class.path=. > -Djava.library.path=/opt/graylog/bin/../lib/sigar - > > Xms1g -Xmx1g -XX:NewRatio=1 -server -XX:+ResizeTLAB > -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled > -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-Omit > > StackTraceInFastThrow -Djava.class.path=graylog.jar > -Dsun.java.command=graylog.jar server -f /etc/graylog/server/server.conf -p > /tmp/graylog.pid -Dsun.java.laun > > cher=SUN_STANDARD -Dsun.java.launcher.pid=13041 > > 2016-02-15 12:47:53,514 INFO : org.graylog2.shared.buffers.InputBufferImpl > - Message journal is enabled. > > 2016-02-15 12:47:53,687 INFO : kafka.log.LogManager - Loading logs. > > 2016-02-15 12:47:53,761 INFO : kafka.log.LogManager - Logs loading > complete. > > 2016-02-15 12:47:53,761 INFO : org.graylog2.shared.journal.KafkaJournal - > Initialized Kafka based journal at data/journal > > 2016-02-15 12:47:53,773 INFO : org.graylog2.shared.buffers.InputBufferImpl > - Initialized InputBufferImpl with ring size <65536> and wait strategy > <BlockingWaitS > > trategy>, running 2 parallel message handlers. > > 2016-02-15 12:47:53,809 INFO : com.mongodb.Mongo - Creating Mongo instance > (driver version 2.14.1) with authority MongoAuthority{type=Direct, > serverAddresses=..., > credentials={credentials={graylog=MongoCredential{mechanism='null', > userName='graylog', source='graylog', password=<hidden>, mechanismPrope > > rties={}}}}} and options MongoOptions{description='null', > connectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, > maxWaitTime=120000, connectTim > > eout=10000, socketTimeout=0, socketKeepAlive=false, > autoConnectRetry=false, maxAutoConnectRetryTime=0, slaveOk=false, > readPreference=primary, dbDecoderFactory=D > > efaultDBDecoder.DefaultFactory, > dbEncoderFactory=DefaultDBEncoder.DefaultFactory, safe=false, w=0, > wtimeout=0, fsync=false, j=false, socketFactory=javax.net.Def > > aultSocketFactory@7895f7e1, cursorFinalizerEnabled=true, > writeConcern=WriteConcern { "getlasterror" : 1} / (Continue on error? > false), alwaysUseMBeans=false, re > > quiredReplicaSetName=null} > > 2016-02-15 12:47:53,818 INFO : com.mongodb.driver.cluster - Cluster > created with settings {hosts=[...], mode=Single, requiredClusterType=Unknown > > } > > 2016-02-15 12:47:53,836 INFO : com.mongodb.driver.cluster - Cluster > description not yet available. Waiting for 10000 ms before timing out > > 2016-02-15 12:47:53,924 INFO : com.mongodb.driver.cluster - Monitor thread > successfully connected to server with description > ServerDescription{address=..., type=StandAlone, canonicalAddress=null, > hosts=[], passives=[], arbiters=[], primary='null', > maxDocumentSize=16777216, maxMessageSize=48000000, maxWr > > iteBatchSize=1000, electionId=null, setVersion=null, tagSet=TagSet{[]}, > setName='null', averageLatencyNanos=631811, ok=true, state=Connected, > version=ServerVers > > ion{versionList=[2, 6, 11]}, minWireVersion=0, maxWireVersion=2} > > 2016-02-15 12:47:54,285 INFO : org.graylog2.plugin.system.NodeId - Node > ID: f3d0f7ac-c24c-45ef-8ed7-2eac90bde2ae > > 2016-02-15 12:47:54,370 INFO : org.elasticsearch.node - version[2.2.0], > pid[13041], build[8ff36d1/2016-01-27T13:32:39Z] > > 2016-02-15 12:47:54,370 INFO : org.elasticsearch.node - initializing ... > > 2016-02-15 12:47:54,375 INFO : org.elasticsearch.plugins - modules [], > plugins [graylog-monitor], sites [] > > 2016-02-15 12:47:55,941 INFO : org.elasticsearch.node - initialized > > 2016-02-15 12:47:55,987 INFO : > org.hibernate.validator.internal.util.Version - HV000001: Hibernate > Validator 5.2.2.Final > > 2016-02-15 12:47:56,143 INFO : org.graylog2.shared.buffers.ProcessBuffer - > Initialized ProcessBuffer with ring size <65536> and wait strategy > <BlockingWaitStrat > > egy>. > > 2016-02-15 12:47:57,485 INFO : > org.graylog2.bindings.providers.RulesEngineProvider - No static rules file > loaded. > > 2016-02-15 12:47:57,554 INFO : org.graylog2.buffers.OutputBuffer - > Initialized OutputBuffer with ring size <65536> and wait strategy > <BlockingWaitStrategy>. > > 2016-02-15 12:47:58,079 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > 2016-02-15 12:47:58,079 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > 2016-02-15 12:47:58,079 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > 2016-02-15 12:47:58,079 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > 2016-02-15 12:47:58,079 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > 2016-02-15 12:47:58,080 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > 2016-02-15 12:47:58,080 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > 2016-02-15 12:47:58,080 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice > error (more detail on log level debug): Error in custom provider, > java.lang.IllegalSta > > teException: Unable to extract the trust manager on > okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.SSLSocketFactoryImpl > > Exception in thread "main" com.google.inject.CreationException: Unable to > create injector, see the following errors: > > > 1) Error in custom provider, java.lang.IllegalStateException: Unable to > extract the trust manager on okhttp3.internal.Platform@902ee6c1, > sslSocketFactory is cla > > ss com.ibm.jsse2.SSLSocketFactoryImpl > > while locating > org.graylog2.shared.bindings.providers.OkHttpClientProvider > > at > org.graylog2.shared.bindings.GenericBindings.configure(GenericBindings.java:80) > > while locating okhttp3.OkHttpClient > > Caused by: java.lang.IllegalStateException: Unable to extract the trust > manager on okhttp3.internal.Platform@902ee6c1, sslSocketFactory is class > com.ibm.jsse2.S > > SLSocketFactoryImpl > > at okhttp3.OkHttpClient.<init>(OkHttpClient.java:187) > > at okhttp3.OkHttpClient.<init>(OkHttpClient.java:60) > > at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:718) > > ... > -- 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 graylog2+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/5a1f6357-8ee9-43a2-84ce-7b2fe2b2bd73%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.