UnresolvedAdressException milo - opc-ua

Im trying to connect from an basic Milo-Client (ReadSample), but getting UnresolvedAdressException. Both Client and Server are in an remote Network and I only got Access to the Client. I'm pretty sure its not a Firewall since I can Connect with other Clients (Prosys OPC UA Client) and i can see that the ip is resolved to an Host-Name in the Logs:
Server is opc.tcp://192.168.115.40:49580 aka opc.tcp://Extern-Mess-Rec:49580 (tried both in UaTcpStackClient.getEndpoints(url).get();)
13:24:51.530 [main] DEBUG
io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as
the default logging framework 13:24:51.546 [main] DEBUG
io.netty.channel.MultithreadEventLoopGroup -
-Dio.netty.eventLoopThreads: 8 13:24:51.561 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address:
available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe:
available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent0 -
sun.misc.Unsafe.copyMemory: available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned:
true 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent - Platform: Windows
13:24:51.561 [main] DEBUG io.netty.util.internal.PlatformDependent -
Java version: 8 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
13:24:51.561 [main] DEBUG io.netty.util.internal.PlatformDependent -
sun.misc.Unsafe: available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.noJavassist:
false 13:24:51.686 [main] DEBUG
io.netty.util.internal.PlatformDependent - Javassist: available
13:24:51.686 [main] DEBUG io.netty.util.internal.PlatformDependent -
-Dio.netty.tmpdir: C:\Users\SOFTWA~1\AppData\Local\Temp\3 (java.io.tmpdir) 13:24:51.686 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64
(sun.arch.data.model) 13:24:51.686 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect:
false 13:24:51.718 [main] DEBUG io.netty.channel.nio.NioEventLoop -
-Dio.netty.noKeySetOptimization: false 13:24:51.718 [main] DEBUG io.netty.channel.nio.NioEventLoop -
-Dio.netty.selectorAutoRebuildThreshold: 512 13:24:51.858 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level:
simple 13:24:51.858 [main] DEBUG io.netty.util.ResourceLeakDetector -
-Dio.netty.leakDetection.maxRecords: 4 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.numHeapArenas: 8 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.numDirectArenas: 8 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.pageSize: 8192 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.maxOrder: 11 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.chunkSize: 16777216 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.tinyCacheSize: 512 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.smallCacheSize: 256 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.normalCacheSize: 64 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.maxCachedBufferCapacity: 32768 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.cacheTrimInterval: 8192 13:24:52.296 [main] DEBUG io.netty.util.internal.ThreadLocalRandom -
-Dio.netty.initialSeedUniquifier: 0x35f32988e43eab85 (took 10 ms) 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil -
-Dio.netty.allocator.type: unpooled 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize:
65536 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil -
-Dio.netty.maxThreadLocalCharBufferSize: 16384 13:24:52.358 [ua-netty-event-loop-0] DEBUG
io.netty.util.internal.JavassistTypeParameterMatcherGenerator -
Generated:
io.netty.util.internal.matchers.org.eclipse.milo.opcua.stack.client.handlers.UaRequestFutureMatcher 13:24:52.389 [ua-netty-event-loop-0] DEBUG
io.netty.buffer.AbstractByteBuf -
-Dio.netty.buffer.bytebuf.checkAccessible: true 13:24:52.858 [ua-netty-event-loop-0] DEBUG io.netty.util.Recycler -
-Dio.netty.recycler.maxCapacity.default: 262144 13:24:52.890 [ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler
- Sent Hello message on channel=[id: 0xa0ec7fec, L:/130.83.225.169:58872 - R:/192.168.115.40:49580]. 13:24:52.905
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler
- Received Acknowledge message on channel=[id: 0xa0ec7fec, L:/130.83.225.169:58872 - R:/192.168.115.40:49580]. 13:24:52.921
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- OpenSecureChannel timeout scheduled for +5s 13:24:52.967 [ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- OpenSecureChannel timeout canceled 13:24:52.967 [ua-shared-pool-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- Sent OpenSecureChannelRequest (Issue, id=0, currentToken=-1, previousToken=-1). 13:24:52.999 [ua-shared-pool-1] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- Received OpenSecureChannelResponse. 13:24:52.999 [ua-shared-pool-1] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- SecureChannel id=1140, currentTokenId=1, previousTokenId=-1, lifetime=3600000ms, createdAt=DateTime{utcTime=131384570808248472,
javaDate=Fri May 05 13:24:40 CEST 2017} 13:24:52.999
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- 0 message(s) queued before handshake completed; sending now. 13:24:52.999 [ForkJoinPool.commonPool-worker-1] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - Channel
bootstrap succeeded: localAddress=/130.83.225.169:58872,
remoteAddress=/192.168.115.40:49580 13:24:53.061
[ForkJoinPool.commonPool-worker-1] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - Sending
CloseSecureChannelRequest... 13:24:53.061 [main] INFO
org.eclipse.milo.examples.client.ClientExampleRunner - Using endpoint:
opc.tcp://Extern-Mess-Rec:49580 [None] 13:24:53.077
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager -
channelInactive(), disconnect complete 13:24:53.077
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - disconnect
complete, state set to Idle 13:24:53.124 [main] DEBUG
org.eclipse.milo.opcua.sdk.client.OpcUaClient - Added
ServiceFaultListener:
org.eclipse.milo.opcua.sdk.client.ClientSessionManager$$Lambda$1049/664457955#58134517
13:24:53.171 [main] DEBUG
org.eclipse.milo.opcua.sdk.client.OpcUaClient - Added
SessionActivityListener:
org.eclipse.milo.opcua.sdk.client.subscriptions.OpcUaSubscriptionManager$1#2d2e5f00
13:24:55.592 [ForkJoinPool.commonPool-worker-1] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - Channel
bootstrap failed: null java.nio.channels.UnresolvedAddressException:
null
at sun.nio.ch.Net.checkAddress(Net.java:101)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChannel.java:209)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(AbstractNioChannel.java:207)
at io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1279)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:50)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:421)
at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:1024)
at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:203)
at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745) 13:24:55.608 [main] ERROR org.eclipse.milo.examples.client.ClientExampleRunner - Error
running client example: java.nio.channels.UnresolvedAddressException
java.util.concurrent.ExecutionException:
java.nio.channels.UnresolvedAddressException
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at org.eclipse.milo.examples.client.ReadExample.run(ReadExample.java:43)
at org.eclipse.milo.examples.client.ClientExampleRunner.run(ClientExampleRunner.java:106)
at org.eclipse.milo.examples.client.ReadExample.main(ReadExample.java:35)
Caused by: java.nio.channels.UnresolvedAddressException: null
at sun.nio.ch.Net.checkAddress(Net.java:101)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChannel.java:209)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(AbstractNioChannel.java:207)
at io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1279)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:50)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:421)
at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:1024)
at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:203)
at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)

The server you're getting endpoints from is probably returning "Extern-Mess-Rec" as its hostname, which you can't resolve.
See this answer for how to deal with that scenario.

Related

occurred error while use zkcopy copy data from zookeeper

1、using zkcopy and run cmd as following:
java -jar target/zkcopy.jar --source xxxx:2181/clickhouse --target xxxx:2181/clickhouse
2、cmd output as following:
2021-09-07 21:47:33,542 [main] INFO com.github.ksprojects.ZkCopy - using 10 concurrent workers to copy data
2021-09-07 21:47:33,542 [main] INFO com.github.ksprojects.ZkCopy - delete nodes = true
2021-09-07 21:47:33,542 [main] INFO com.github.ksprojects.ZkCopy - ignore ephemeral nodes = true
2021-09-07 21:47:33,543 [main] INFO com.github.ksprojects.zkcopy.reader.Reader - Reading /clickhouse from 10.201.226.32:2181
2021-09-07 21:47:34,590 [main] INFO com.github.ksprojects.zkcopy.reader.Reader - Processing, total=12417, processed=3142
2021-09-07 21:47:35,655 [main] INFO com.github.ksprojects.zkcopy.reader.Reader - Processing, total=12417, processed=6059
2021-09-07 21:47:36,655 [main] INFO com.github.ksprojects.zkcopy.reader.Reader - Processing, total=12417, processed=9172
2021-09-07 21:47:37,655 [main] INFO com.github.ksprojects.zkcopy.reader.Reader - Processing, total=12497, processed=12497
2021-09-07 21:47:37,657 [main] INFO com.github.ksprojects.zkcopy.reader.Reader - Completed.
2021-09-07 21:47:37,687 [main] INFO com.github.ksprojects.zkcopy.writer.Writer - Writing data...
2021-09-07 21:47:38,338 [main] INFO com.github.ksprojects.zkcopy.writer.Writer - Committing transaction
2021-09-07 21:47:38,954 [main] INFO com.github.ksprojects.zkcopy.writer.Writer - Committing transaction
Exception in thread "main" picocli.CommandLine$ExecutionException: Error while calling command (com.github.ksprojects.ZkCopy#7960847b): java.lang.RuntimeException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
at picocli.CommandLine.execute(CommandLine.java:458)
at picocli.CommandLine.access$300(CommandLine.java:134)
at picocli.CommandLine$RunLast.handleParseResult(CommandLine.java:538)
at picocli.CommandLine.parseWithHandlers(CommandLine.java:656)
at picocli.CommandLine.call(CommandLine.java:883)
at picocli.CommandLine.call(CommandLine.java:834)
at com.github.ksprojects.ZkCopy.main(ZkCopy.java:69)
Caused by: java.lang.RuntimeException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
at com.github.ksprojects.zkcopy.writer.AutoCommitTransactionWrapper.maybeCommitTransaction(AutoCommitTransactionWrapper.java:74)
at com.github.ksprojects.zkcopy.writer.AutoCommitTransactionWrapper.create(AutoCommitTransactionWrapper.java:39)
at com.github.ksprojects.zkcopy.writer.Writer.upsertNode(Writer.java:147)
at com.github.ksprojects.zkcopy.writer.Writer.update(Writer.java:96)
at com.github.ksprojects.zkcopy.writer.Writer.update(Writer.java:104)
at com.github.ksprojects.zkcopy.writer.Writer.update(Writer.java:104)
at com.github.ksprojects.zkcopy.writer.Writer.update(Writer.java:104)
at com.github.ksprojects.zkcopy.writer.Writer.update(Writer.java:104)
at com.github.ksprojects.zkcopy.writer.Writer.update(Writer.java:104)
at com.github.ksprojects.zkcopy.writer.Writer.write(Writer.java:65)
at com.github.ksprojects.ZkCopy.call(ZkCopy.java:86)
at com.github.ksprojects.ZkCopy.call(ZkCopy.java:14)
at picocli.CommandLine.execute(CommandLine.java:456)

Liquibase stopped working after moving from 3.6.3 to 3.8.7 or 3.10.2

I was using liquibase 3.6.3 and everything worked fine but today I've moved to 3.10.2 and suddenly I can't run any database updates. The only thing which is in the log file I've pasted below.
We run on DB2 for IBM i.
We use power shell scripts and bat scripts and if we run them outside of the liquibase, everything works fine but when those scripts get called from liquibase after the upgrade, it hangs on the last line from below log.
liquibase.log exist.
Liquibase found.
10:42:16.338 [main] DEBUG l.integration.commandline.Main - Custom logging config found, not going to modify
10:42:16.373 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/liquibase.jar!/liquibase.build.properties as liquibase.build.properties
10:42:16.378 [main] INFO l.integration.commandline.Main -
Starting Liquibase at Mon, 24 Aug 2020 10:42:16 CEST (version 3.10.2 #22 built at Mon Jul 27 04:21:02 UTC 2020)
10:42:16.392 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/liquibase.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.393 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/commons-cli-1.4.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.393 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/h2-1.4.200.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.394 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-api-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.394 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-core-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.395 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-impl-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.396 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/logback-classic-1.2.3.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.397 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/logback-core-1.2.3.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.397 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/slf4j-api-1.7.25.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/slf4j-api-1.7.28.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/snakeyaml-1.18.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/snakeyaml-1.24.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.403 [main] DEBUG l.servicelocator.ServiceLocator - ServiceLocator.findClasses for liquibase.license.LicenseService
10:42:16.403 [main] DEBUG l.servicelocator.ServiceLocator - ServiceLocator finding classes matching interface liquibase.license.LicenseService
10:42:16.403 [main] DEBUG l.s.DefaultPackageScanClassResolver - Searching for implementations of liquibase.license.LicenseService in packages: [liquibase.change, liquibase.command, liquibase.changelog, liquibase.database, liquibase.parser, liquibase.precondition, liquibase.datatype, liquibase.serializer, liquibase.sqlgenerator, liquibase.executor, liquibase.snapshot, liquibase.logging, liquibase.diff, liquibase.structure, liquibase.structurecompare, liquibase.lockservice, liquibase.sdk.database, liquibase.ext, liquibase.pro, com.datical.liquibase]```

Solve Zookeeper NoSuchMethodError from Kafka

I am facing this error when i run /bin/kafka-server-start.sh /config/server.properties
2020-02-27T13:23:34,540 ERROR [main] kafka.server.KafkaServer - [KafkaServer id=0] Fatal error during KafkaServer startup. Prepare to shutdown
java.lang.NoSuchMethodError: org.apache.zookeeper.ZooKeeper.multi(Ljava/lang/Iterable;Lorg/apache/zookeeper/AsyncCallback$MultiCallback;Ljava/lang/Object;)V
at kafka.zookeeper.ZooKeeperClient.send(ZooKeeperClient.scala:239) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zookeeper.ZooKeeperClient.$anonfun$handleRequests$2(ZooKeeperClient.scala:161) ~[kafka_2.12-2.4.0.jar:?]
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) ~[scala-library-2.12.10.jar:?]
at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:253) ~[kafka_2.12-2.4.0.jar:?]
at kafka.utils.CoreUtils$.inReadLock(CoreUtils.scala:259) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zookeeper.ZooKeeperClient.$anonfun$handleRequests$1(ZooKeeperClient.scala:161) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zookeeper.ZooKeeperClient.$anonfun$handleRequests$1$adapted(ZooKeeperClient.scala:157) ~[kafka_2.12-2.4.0.jar:?]
at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62) ~[scala-library-2.12.10.jar:?]
at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55) ~[scala-library-2.12.10.jar:?]
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49) ~[scala-library-2.12.10.jar:?]
at kafka.zookeeper.ZooKeeperClient.handleRequests(ZooKeeperClient.scala:157) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zk.KafkaZkClient.retryRequestsUntilConnected(KafkaZkClient.scala:1691) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zk.KafkaZkClient.retryRequestsUntilConnected(KafkaZkClient.scala:1678) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zk.KafkaZkClient.retryRequestUntilConnected(KafkaZkClient.scala:1673) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zk.KafkaZkClient$CheckedEphemeral.create(KafkaZkClient.scala:1743) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zk.KafkaZkClient.checkedEphemeralCreate(KafkaZkClient.scala:1720) ~[kafka_2.12-2.4.0.jar:?]
at kafka.zk.KafkaZkClient.registerBroker(KafkaZkClient.scala:93) ~[kafka_2.12-2.4.0.jar:?]
at kafka.server.KafkaServer.startup(KafkaServer.scala:270) [kafka_2.12-2.4.0.jar:?]
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:44) [kafka_2.12-2.4.0.jar:?]
at kafka.Kafka$.main(Kafka.scala:84) [kafka_2.12-2.4.0.jar:?]
at kafka.Kafka.main(Kafka.scala) [kafka_2.12-2.4.0.jar:?]
2020-02-27T13:23:34,549 INFO [main] kafka.server.KafkaServer - [KafkaServer id=0] shutting down
2020-02-27T13:23:34,556 INFO [main] kafka.network.SocketServer - [SocketServer brokerId=0] Stopping socket server request processors
2020-02-27T13:23:34,590 INFO [main] kafka.network.SocketServer - [SocketServer brokerId=0] Stopped socket server request processors
2020-02-27T13:23:34,606 INFO [main] kafka.server.ReplicaManager - [ReplicaManager broker=0] Shutting down
2020-02-27T13:23:34,610 INFO [main] kafka.server.ReplicaManager$LogDirFailureHandler - [LogDirFailureHandler]: Shutting down
2020-02-27T13:23:34,620 INFO [main] kafka.server.ReplicaManager$LogDirFailureHandler - [LogDirFailureHandler]: Shutdown completed
2020-02-27T13:23:34,623 INFO [main] kafka.server.ReplicaFetcherManager - [ReplicaFetcherManager on broker 0] shutting down
2020-02-27T13:23:34,631 INFO [LogDirFailureHandler] kafka.server.ReplicaManager$LogDirFailureHandler - [LogDirFailureHandler]: Stopped
2020-02-27T13:23:34,631 INFO [main] kafka.server.ReplicaFetcherManager - [ReplicaFetcherManager on broker 0] shutdown completed
2020-02-27T13:23:34,634 INFO [main] kafka.server.ReplicaAlterLogDirsManager - [ReplicaAlterLogDirsManager on broker 0] shutting down
2020-02-27T13:23:34,646 INFO [main] kafka.server.ReplicaAlterLogDirsManager - [ReplicaAlterLogDirsManager on broker 0] shutdown completed
2020-02-27T13:23:34,646 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-Fetch]: Shutting down
2020-02-27T13:23:34,774 INFO [ExpirationReaper-0-Fetch] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-Fetch]: Stopped
2020-02-27T13:23:34,774 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-Fetch]: Shutdown completed
2020-02-27T13:23:34,776 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-Produce]: Shutting down
2020-02-27T13:23:34,959 INFO [ExpirationReaper-0-Produce] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-Produce]: Stopped
2020-02-27T13:23:34,959 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-Produce]: Shutdown completed
2020-02-27T13:23:34,961 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-DeleteRecords]: Shutting down
2020-02-27T13:23:35,003 INFO [ExpirationReaper-0-DeleteRecords] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-DeleteRecords]: Stopped
2020-02-27T13:23:35,003 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-DeleteRecords]: Shutdown completed
2020-02-27T13:23:35,004 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-ElectLeader]: Shutting down
2020-02-27T13:23:35,012 INFO [ExpirationReaper-0-ElectLeader] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-ElectLeader]: Stopped
2020-02-27T13:23:35,013 INFO [main] kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper - [ExpirationReaper-0-ElectLeader]: Shutdown completed
2020-02-27T13:23:35,039 INFO [main] kafka.server.ReplicaManager - [ReplicaManager broker=0] Shut down completely
2020-02-27T13:23:35,042 INFO [main] kafka.log.LogManager - Shutting down.
2020-02-27T13:23:35,047 INFO [main] kafka.log.LogCleaner - Shutting down the log cleaner.
2020-02-27T13:23:35,048 INFO [main] kafka.log.LogCleaner - [kafka-log-cleaner-thread-0]: Shutting down
2020-02-27T13:23:35,050 INFO [kafka-log-cleaner-thread-0] kafka.log.LogCleaner - [kafka-log-cleaner-thread-0]: Stopped
2020-02-27T13:23:35,052 INFO [main] kafka.log.LogCleaner - [kafka-log-cleaner-thread-0]: Shutdown completed
2020-02-27T13:23:35,118 INFO [main] kafka.log.LogManager - Shutdown complete.
2020-02-27T13:23:35,120 INFO [main] kafka.zookeeper.ZooKeeperClient - [ZooKeeperClient Kafka server] Closing.
2020-02-27T13:23:35,145 INFO [main] org.apache.zookeeper.ZooKeeper - Session: 0x17085a21f120000 closed
2020-02-27T13:23:35,150 INFO [main] kafka.zookeeper.ZooKeeperClient - [ZooKeeperClient Kafka server] Closed.
2020-02-27T13:23:35,151 INFO [main] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Fetch]: Shutting down
2020-02-27T13:23:35,152 INFO [main-EventThread] org.apache.zookeeper.ClientCnxn - EventThread shut down
2020-02-27T13:23:35,156 INFO [ThrottledChannelReaper-Fetch] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Fetch]: Stopped
2020-02-27T13:23:35,159 INFO [main] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Fetch]: Shutdown completed
2020-02-27T13:23:35,159 INFO [main] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Produce]: Shutting down
2020-02-27T13:23:36,160 INFO [ThrottledChannelReaper-Produce] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Produce]: Stopped
2020-02-27T13:23:36,161 INFO [main] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Produce]: Shutdown completed
2020-02-27T13:23:36,161 INFO [main] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Request]: Shutting down
2020-02-27T13:23:36,163 INFO [ThrottledChannelReaper-Request] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Request]: Stopped
2020-02-27T13:23:36,163 INFO [main] kafka.server.ClientQuotaManager$ThrottledChannelReaper - [ThrottledChannelReaper-Request]: Shutdown completed
2020-02-27T13:23:36,167 INFO [main] kafka.network.SocketServer - [SocketServer brokerId=0] Shutting down socket server
2020-02-27T13:23:36,311 INFO [main] kafka.network.SocketServer - [SocketServer brokerId=0] Shutdown completed
2020-02-27T13:23:36,326 INFO [main] kafka.server.KafkaServer - [KafkaServer id=0] shut down completed
2020-02-27T13:23:36,329 ERROR [main] kafka.server.KafkaServerStartable - Exiting Kafka.
2020-02-27T13:23:36,337 INFO [kafka-shutdown-hook] kafka.server.KafkaServer - [KafkaServer id=0] shutting down
ERROR [main] kafka.server.KafkaServer - [KafkaServer id=0] Fatal error during KafkaServer startup. Prepare to shutdown
i am facing this problem when i start kafka server

Oracle Enterprise Manager 12c Installation error on Oracle Enterprise Linux 6

I have Oracle Enterprise Linux 6 Update 5 installed as an OS, and installed Oracle Database 12c. Using SQL Developer, I am able to confirm that the Database is working fine. I have even had success connecting to the database from another computer in the institution using SQL Developer and my local address (172.16.5.40). I tried to install Oracle Enterprise Manager 12c, and run into the following error:
INFO: oracle.sysman.top.oms:About to execute plug-in Start Oracle Management Service
INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service is running
INFO: oracle.sysman.top.oms:Internal PlugIn Class: oracle.sysman.oms.StartOMS
INFO: oracle.sysman.top.oms:Classpath = /u01/app/oracle/em/middleware/oms/sysman/jlib/omsConfig.jar:/u01/app/oracle/em/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/oracle/em/middleware/oms/sysman/jlib/emcore_client.jar:/u01/app/oracle/em/middleware/oms/../modules/com.bea.core.apache.log4j_1.2.13.jar:/u01/app/oracle/em/middleware/oms/jlib/rcucommon.jar:/u01/app/oracle/em/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/oracle/em/middleware/oms/sysman/jlib/emagentSDK.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xml.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.dms_11.1.1/dms.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/oracle/em/middleware/oms/jlib/rcu.jar
INFO: oracle.sysman.top.oms:BaseConfiguration:invoke:Starting BaseConfiguration invoke method on an aggregate=oracle.sysman.top.oms for Action=configuration in step=12:microstep=0
INFO: oracle.sysman.top.oms:Fetching the ports from staticports.ini file: /u01/app/oracle/em/middleware/.gcinstall_temp/staticports.ini
INFO: oracle.sysman.top.oms:Starting OMS ...
INFO: oracle.sysman.top.oms:Executing command: /u01/app/oracle/em/middleware/oms/bin/emctl start oms
INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.oms:Starting Oracle Management Server...
INFO: oracle.sysman.top.oms:Starting WebTier...
INFO: oracle.sysman.top.oms:WebTier Could Not Be Started
INFO: oracle.sysman.top.oms:Error Occurred: WebTier Could Not Be Started
INFO: oracle.sysman.top.oms:Please check /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
INFO: oracle.sysman.top.oms:Starting export oms config...
INFO: oracle.sysman.top.oms:Executing command: /u01/app/oracle/em/middleware/oms/bin/emctl exportconfig oms -keep_host -dir /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup
INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.oms:Enter Enterprise Manager Root (SYSMAN) Password : Enter Enterprise Manager Root (SYSMAN) Password : ExportConfig started...
INFO: oracle.sysman.top.oms:Machine is Admin Server host. Performing Admin Server backup...
INFO: oracle.sysman.top.oms:Exporting emoms properties...
INFO: oracle.sysman.top.oms:Exporting secure properties...
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:Export has determined that the OMS is not fronted
INFO: oracle.sysman.top.oms:by an SLB. You have chosen to export the local
INFO: oracle.sysman.top.oms:hostname. The exported data may ONLY be imported
INFO: oracle.sysman.top.oms:on a host with the same hostname. Please see the
INFO: oracle.sysman.top.oms:EM Advanced Configuration Guide for more details.
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:Exporting configuration for pluggable modules...
INFO: oracle.sysman.top.oms:Preparing archive file...
INFO: oracle.sysman.top.oms:Backup has been written to file: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/opf_ADMIN_20140128_134121.bka
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:The export file contains sensitive data.
INFO: oracle.sysman.top.oms: You must keep it secure.
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:ExportConfig completed successfully!
INFO: oracle.sysman.top.oms:Export config of OMS is successful.
INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service has failed its perform method
emctl.log:
2014-01-28 17:05:01,727 [main] INFO wls.OMSController main.219 - Executing emctl command : start
2014-01-28 17:05:16,102 [main] INFO util.EmctlUtil logp.251 - Output messages of the command :
opmnctl stopall: stopping opmn and all managed processes...
2014-01-28 17:05:16,102 [main] INFO util.EmctlUtil logp.251 - error messages of the command :
2014-01-28 17:07:18,004 [main] INFO util.EmctlUtil logp.251 - Output messages of the command :
opmnctl startall: starting opmn and all managed processes...
2014-01-28 17:07:18,005 [main] INFO util.EmctlUtil logp.251 - error messages of the command :
================================================================================
opmn id=OracleServer.Compsci:6701
Response: 0 of 1 processes started.
ias-instance id=instance1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
ohs1/OHS/OHS/
Error
--> Process (index=1,uid=163667581,pid=5583)
time out while waiting for a managed process to start
Log:
/u01/app/oracle/em/gc_inst/WebTierIH1/diagnostics/logs/OHS/ohs1/console~OHS~1.log
2014-01-28 17:07:18,005 [main] ERROR commands.BaseCommand logAndPrint.620 - WebTier Could Not Be Started
2014-01-28 17:07:18,006 [main] ERROR wls.OMSController main.252 - OMSController failed for start oms
2014-01-28 17:07:18,008 [main] ERROR wls.OMSController main.253 - OMSController Error: WebTier Could Not Be Started
java.lang.Exception: WebTier Could Not Be Started
at oracle.sysman.emctl.commands.StartCommand.startOMS(StartCommand.java:257)
at oracle.sysman.emctl.commands.StartCommand.execute(StartCommand.java:155)
at oracle.sysman.emctl.wls.OMSController.main(OMSController.java:233)
2014-01-28 17:07:19,187 [main] DEBUG ctxt.CommandContext trace.419 - Starting processing of arguments
2014-01-28 17:07:19,190 [main] DEBUG ctxt.CommandContext trace.419 - Option keep_host entered
2014-01-28 17:07:19,190 [main] DEBUG ctxt.CommandContext trace.419 - Value of option dir specified as /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup
2014-01-28 17:07:19,191 [main] DEBUG ctxt.CommandContext trace.419 - Done processing options passed on command line
2014-01-28 17:07:19,191 [main] DEBUG ctxt.CommandContext trace.419 - Checking if mandatory params are passed.
2014-01-28 17:07:19,191 [main] DEBUG ctxt.CommandContext trace.419 - Reading value of password option sysman_pwd
2014-01-28 17:07:19,230 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - ExportConfig started...
2014-01-28 17:07:19,230 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - oracle home is /u01/app/oracle/em/middleware/oms
2014-01-28 17:07:19,231 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - instance home is /u01/app/oracle/em/gc_inst/em/EMGC_OMS1
2014-01-28 17:07:19,231 [main] DEBUG ctxt.CommandContext trace.419 - Validating CommandContext and setting default values
2014-01-28 17:07:19,232 [main] DEBUG ctxt.CommandContext trace.419 - Setting optional parameter oms_only to default value false
2014-01-28 17:07:19,238 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:19,685 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:19,685 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:22,059 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:23,134 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:23,839 [main] INFO oms.HAUtil verifyReposPwd.95 - Sysman password is valid
2014-01-28 17:07:23,840 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - sysman password validated
2014-01-28 17:07:23,841 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:23,886 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:23,886 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:23,915 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:23,969 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:24,689 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Admin backup is true
2014-01-28 17:07:26,395 [main] INFO script.ScriptExecutor output.2119 - read domain from "/u01/app/oracle/em/gc_inst/user_projects/domains/GCDomain"
2014-01-28 17:07:31,898 [main] INFO script.ScriptExecutor output.2119 - succeed: read domain from "/u01/app/oracle/em/gc_inst/user_projects/domains/GCDomain"
2014-01-28 17:07:32,136 [main] INFO script.ScriptExecutor output.2119 - find Server "EMGC_ADMINSERVER" as obj0
2014-01-28 17:07:32,231 [main] INFO script.ScriptExecutor output.2119 - succeed: find Server "EMGC_ADMINSERVER" as obj0
2014-01-28 17:07:32,323 [main] INFO script.ScriptExecutor output.2119 - find Server "EMGC_OMS1" as obj1
2014-01-28 17:07:32,325 [main] INFO script.ScriptExecutor output.2119 - succeed: find Server "EMGC_OMS1" as obj1
2014-01-28 17:07:32,338 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - admin backup cmd is /u01/app/oracle/em/middleware/oms/bin/zip -q -r -9 /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/GCDomain_backup.zip user_projects -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/tmp* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/logs* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/adr* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/*.log* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/*.trc* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/*.lck* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/tmp* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/logs* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/adr* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/*.log* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/*.trc* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/*.lck*
2014-01-28 17:07:37,168 [main] INFO oms.ExportConfigOMSCmds logp.251 - zip exited with code 0
2014-01-28 17:07:37,168 [main] INFO oms.ExportConfigOMSCmds logp.251 - whether admin pack failed: false
2014-01-28 17:07:37,169 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - admin server backup completed successfully
2014-01-28 17:07:37,169 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Export readme file is /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/plugins.list
2014-01-28 17:07:37,260 [main] DEBUG deploymentservice.EMPluginDeploymentUtil logp.251 - Version obtained from configmanager 12.1.0.3.0
2014-01-28 17:07:37,261 [main] DEBUG deploymentservice.EMPluginDeploymentUtil logp.251 - Unique OMS key obtained/generated = GCDomain#EMGC_OMS1#12.1.0.3.0
2014-01-28 17:07:37,275 [main] DEBUG deploymentservice.EMPluginDeploymentUtil logp.251 - Returning OMS GUID: 69258938A596AB98276D063F08AD4BE0
2014-01-28 17:07:37,282 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.971 - Fetching plugins for OMS 69258938A596AB98276D063F08AD4BE0
2014-01-28 17:07:37,408 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.emas:12.1.0.5.0
2014-01-28 17:07:37,409 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.mos:12.1.0.5.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.satc:12.1.0.2.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.db:12.1.0.5.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.xa:12.1.0.5.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.secl:12.1.0.2.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.secs:12.1.0.2.0
2014-01-28 17:07:37,411 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sesy:12.1.0.2.0
2014-01-28 17:07:37,411 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.soee:12.1.0.2.0
2014-01-28 17:07:37,411 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sidb:12.1.0.2.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smdn:12.1.0.2.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.emct:12.1.0.5.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sehc:12.1.0.4.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.smf:12.1.0.3.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sovn:12.1.0.2.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.vt:12.1.0.5.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.emfa:12.1.0.5.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.empa:12.1.0.4.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smad:12.1.0.1.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smbs:12.1.0.1.0
2014-01-28 17:07:37,415 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smis:12.1.0.2.0
2014-01-28 17:07:37,415 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smss:12.1.0.3.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.soav:12.1.0.4.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.savf:12.1.0.1.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.bda:12.1.0.3.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.ssa:12.1.0.7.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.ssad:12.1.0.2.0
2014-01-28 17:07:37,418 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Backup is being written to file: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/export.properties
2014-01-28 17:07:37,421 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:37,443 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:37,444 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:37,476 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:37,614 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:37,972 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Retrieving java callbacks from em_gcha_callbacks table
2014-01-28 17:07:37,988 [main] INFO oms.HAUtil addJarsInClassLoader.464 - Added jar /u01/app/oracle/em/middleware/oms/sysman/jlib/emCORE.jar to classpath
2014-01-28 17:07:38,018 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - executing java callback: oracle.sysman.core.ocm.gcha.OCMHACallbacks
2014-01-28 17:07:38,021 [main] INFO oms.ExportConfigOMSCmds logp.251 - Got export data from callback module ocm
2014-01-28 17:07:38,021 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - preparing archive file
2014-01-28 17:07:38,022 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/GCDomain_backup.zip
2014-01-28 17:07:38,622 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/plugins.list
2014-01-28 17:07:38,623 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/middleware/oms/sysman/prov/agentpush/agentpush.properties
2014-01-28 17:07:38,632 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/export.properties
2014-01-28 17:07:38,633 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding:
2014-01-28 17:07:38,633 [main] ERROR oms.ExportConfigOMSCmds logp.251 - Error reading file: . Skip file for archive.
2014-01-28 17:07:38,651 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:38,675 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:38,676 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:38,708 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:38,772 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:38,958 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - ExportConfig succeeded!
console~OHS~1.log:
--------
14/01/28 17:05:18 Start process
--------
/u01/app/oracle/em/middleware/Oracle_WT/ohs/bin/apachectl startssl: execing httpd
[Tue Jan 28 17:05:18 2014] [warn] Errors will be logged into /u01/app/oracle/em/gc_inst/WebTierIH1/diagnostics/logs/OHS/ohs1/ohs1.log
[Tue Jan 28 17:05:19 2014] [warn] Errors will be logged into /u01/app/oracle/em/gc_inst/WebTierIH1/diagnostics/logs/OHS/ohs1/ohs1.log
Audit init
Unable to resolve address for localhost:6700
ONS runtime exiting
--------
14/01/28 17:07:18 Stop process
--------
/u01/app/oracle/em/middleware/Oracle_WT/ohs/bin/apachectl stop: httpd stopped
ohs1.log:
[2014-01-28T17:05:20.2995-05:00] [OHS] [NOTIFICATION:16] [OHS-9999] [mod_weblogic.c] [host_id: OracleServer.Compsci] [host_addr: 127.0.0.1] [pid: 5583] [tid: 139855446157120] [user: oracle] [VirtualHost: main] WebLogic Server Plugin version 1.1 <WLSPLUGINS_11.1.1.6.0_LINUX.X64_111122.1115.0001>
[2014-01-28T17:05:20.5147-05:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: OracleServer.Compsci] [host_addr: 127.0.0.1] [pid: 5583] [tid: 139855446157120] [user: oracle] [VirtualHost: main] Oracle-Application-Server-11g/11.1.1.6.0 Oracle-HTTP-Server (Unix) mod_ssl/11.0.0.0.0 OtherSSL/0.0.0 mod_plsql/11.1.1.0.0 mod_onsint/2.0 configured -- resuming normal operations
[2014-01-28T17:07:19.3932-05:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: OracleServer.Compsci] [host_addr: 127.0.0.1] [pid: 5583] [tid: 139855446157120] [user: oracle] [VirtualHost: main] caught SIGTERM, shutting down
my hosts file contains 3 entries:
127.0.0.1 OracleServer.Compsci OracleServer
172.16.5.40 OralceServer.Compsci OracleServer
::1 OracleServer.Compsci OracleServer
Make sure that you have altered your hosts file to look someting like this :
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
11.111.1.111 srv01.com srv01
And you can ping the srv01 and that 11.111.1.111 will respond.
Make sure that the 6700 port is not in use by any process.

com.thinkaurelius.titan.core.TitanException: Could not acquire new ID block from storage

I am running a simple program
TitanGraph bg = TitanFactory.open("/home/titan-all-0.4.2/conf/titan-cassandra-es.properties");
IdGraph g = new IdGraph(bg, true, false);
Vertex v = g.addVertex("xyz132456");
g.commit();
Here there is no vertex xyz132456 exist before but i am getting following exception. I am getting this exception very frequently. My titan server(0.4.2) is configured with all default settings as i am just testing simple operations with this.
253 [main] INFO org.elasticsearch.node - [Chtylok] version[0.90.5], pid[4015], build[c8714e8/2013-09-17T12:50:20Z]
253 [main] INFO org.elasticsearch.node - [Chtylok] initializing ...
260 [main] INFO org.elasticsearch.plugins - [Chtylok] loaded [], sites []
2303 [main] INFO org.elasticsearch.node - [Chtylok] initialized
2303 [main] INFO org.elasticsearch.node - [Chtylok] starting ...
2309 [main] INFO org.elasticsearch.transport - [Chtylok] bound_address {local[1]}, publish_address {local[1]}
2316 [elasticsearch[Chtylok][clusterService#updateTask][T#1]] INFO org.elasticsearch.cluster.service - [Chtylok] new_master [Chtylok][1][local[1]]{local=true}, reason: local-disco-initial_connect(master)
2325 [main] INFO org.elasticsearch.discovery - [Chtylok] elasticsearch/1
2420 [main] INFO org.elasticsearch.http - [Chtylok] bound_address {inet[/0:0:0:0:0:0:0:0:9201]}, publish_address {inet[/10.0.0.5:9201]}
2420 [main] INFO org.elasticsearch.node - [Chtylok] started
2987 [elasticsearch[Chtylok][clusterService#updateTask][T#1]] INFO org.elasticsearch.gateway - [Chtylok] recovered [1] indices into cluster_state
3234 [main] INFO com.thinkaurelius.titan.diskstorage.Backend - Initiated backend operations thread pool of size 2
3542 [main] INFO com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration - Configuring edge store cache size: 201476830
5105 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [1000 ms]
6105 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [2000 ms]
7105 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [3000 ms]
8106 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [4001 ms]
9106 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [5001 ms]
10106 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [6001 ms]
11107 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [7002 ms]
12107 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [8002 ms]
13107 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [9002 ms]
14108 [main] WARN com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool - Waiting for id renewal thread on partition 2 [10003 ms]
Exception in thread "Thread-4" com.thinkaurelius.titan.core.TitanException: Could not acquire new ID block from storage
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.renewBuffer(StandardIDPool.java:117)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.access$100(StandardIDPool.java:14)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool$IDBlockThread.run(StandardIDPool.java:172)
Caused by: com.thinkaurelius.titan.diskstorage.PermanentStorageException: Permanent failure in storage backend
at com.thinkaurelius.titan.diskstorage.cassandra.thrift.CassandraThriftKeyColumnValueStore.convertException(CassandraThriftKeyColumnValueStore.java:311)
at com.thinkaurelius.titan.diskstorage.cassandra.thrift.CassandraThriftKeyColumnValueStore.getNamesSlice(CassandraThriftKeyColumnValueStore.java:196)
at com.thinkaurelius.titan.diskstorage.cassandra.thrift.CassandraThriftKeyColumnValueStore.getSlice(CassandraThriftKeyColumnValueStore.java:120)
at com.thinkaurelius.titan.diskstorage.idmanagement.ConsistentKeyIDManager$1.call(ConsistentKeyIDManager.java:106)
at com.thinkaurelius.titan.diskstorage.idmanagement.ConsistentKeyIDManager$1.call(ConsistentKeyIDManager.java:103)
at com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:90)
at com.thinkaurelius.titan.diskstorage.idmanagement.ConsistentKeyIDManager.getCurrentID(ConsistentKeyIDManager.java:103)
at com.thinkaurelius.titan.diskstorage.idmanagement.ConsistentKeyIDManager.getIDBlock(ConsistentKeyIDManager.java:159)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.renewBuffer(StandardIDPool.java:111)
... 2 more
Caused by: TimedOutException()
at org.apache.cassandra.thrift.Cassandra$multiget_slice_result$multiget_slice_resultStandardScheme.read(Cassandra.java:11623)
at org.apache.cassandra.thrift.Cassandra$multiget_slice_result$multiget_slice_resultStandardScheme.read(Cassandra.java:11560)
at org.apache.cassandra.thrift.Cassandra$multiget_slice_result.read(Cassandra.java:11486)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at org.apache.cassandra.thrift.Cassandra$Client.recv_multiget_slice(Cassandra.java:701)
at org.apache.cassandra.thrift.Cassandra$Client.multiget_slice(Cassandra.java:685)
at com.thinkaurelius.titan.diskstorage.cassandra.thrift.CassandraThriftKeyColumnValueStore.getNamesSlice(CassandraThriftKeyColumnValueStore.java:176)
... 9 more
Exception in thread "main" java.lang.IllegalArgumentException: -1
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.nextBlock(StandardIDPool.java:88)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.nextID(StandardIDPool.java:134)
at com.thinkaurelius.titan.graphdb.database.idassigner.VertexIDAssigner.assignID(VertexIDAssigner.java:269)
at com.thinkaurelius.titan.graphdb.database.idassigner.VertexIDAssigner.assignID(VertexIDAssigner.java:155)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.assignID(StandardTitanGraph.java:226)
at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.addPropertyInternal(StandardTitanTx.java:521)
at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.setProperty(StandardTitanTx.java:552)
at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.addProperty(StandardTitanTx.java:495)
at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.addVertex(StandardTitanTx.java:345)
at com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsTransaction.addVertex(TitanBlueprintsTransaction.java:72)
at com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.addVertex(TitanBlueprintsGraph.java:157)
at com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.addVertex(TitanBlueprintsGraph.java:24)
at com.tinkerpop.blueprints.util.wrappers.id.IdGraph.addVertex(IdGraph.java:131)
at newpackage.CityBizzStarting.main(CityBizzStarting.java:24)