Splunk AppDynamics

Unable to start event service in AppDynamics

Sandoss_Kumar
Engager

Unable to start the event service. it says below error. it says "java.lang.RuntimeException: java.net.BindException: Address already in use". "events-service-api-store.id" & "elasticsearch.id" file not available in Eventservice home folder. 

Used command: bin/events-service.sh start  -p conf/events-service-api-store.properties

Error:

ompilerOracle: exclude org/apache/lucene/lucene54/Lucene54DocValuesConsumer.addSortedNumericField
CompilerOracle: exclude org/apache/lucene/lucene54/Lucene54DocValuesConsumer.addBinaryField
CompilerOracle: exclude org/elasticsearch/search/aggregations/metrics/percentiles/tdigest/AbstractTDigestPercentilesAggregatorstart.collect
CompilerOracle: exclude org/apache/lucene/index/SortedNumericDocValuesWriter.flush
CompilerOracle: exclude org/apache/lucene/codecs/PushPostingsWriterBase.writeTerm
16:04:27.646 [main] INFO com.appdynamics.analytics.processor.AnalyticsService - Starting analytics processor with arguments [-p, /app/AppDynamics/platform/product/events-service/processor/conf/events-service-api-store.properties, -y, /app/AppDynamics/platform/product/events-service/processor/bin/../conf/events-service-api-store.yml]
java.lang.RuntimeException: java.net.BindException: Address already in use
at org.eclipse.jetty.setuid.SetUIDListener.lifeCycleStarting(SetUIDListener.java:213)
at org.eclipse.jetty.util.component.AbstractLifeCycle.setStarting(AbstractLifeCycle.java:188)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:67)
at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:44)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
at io.dropwizard.cli.Cli.run(Cli.java:75)
at io.dropwizard.Application.run(Application.java:93)
at com.appdynamics.common.framework.AbstractApp.callRunServer(AbstractApp.java:270)
at com.appdynamics.common.framework.AbstractApp.runUsingFile(AbstractApp.java:264)
at com.appdynamics.common.framework.AbstractApp.runUsingTemplate(AbstractApp.java:251)
at com.appdynamics.common.framework.AbstractApp.runUsingTemplate(AbstractApp.java:171)
at com.appdynamics.analytics.processor.AnalyticsService.main(AnalyticsService.java:72)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:334)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:302)
at org.eclipse.jetty.setuid.SetUIDListener.lifeCycleStarting(SetUIDListener.java:200)
... 12 more

Labels (1)
Tags (1)
0 Karma
1 Solution

Sandoss_Kumar
Engager

Today i ran the below command again, but after sometime event service started back.

nohup bin/events-service.sh start -p conf/events-service-api-store.properties &

View solution in original post

Philip_Rogers
Path Finder

Hi Sandoss.Kumar-

This issue can be caused by a number of factors. I would recommend you reach out directly to our support team at the link provided below.

https://help.appdynamics.com/hc/en-us/requests/

0 Karma

Sandoss_Kumar
Engager

Today i ran the below command again, but after sometime event service started back.

nohup bin/events-service.sh start -p conf/events-service-api-store.properties &

Jeanie_Kedia1
Communicator

Hi @Sandoss.Kumar  -

As you or anyone else reading this is able to offer tips, hints, or thoughts on how to troubleshoot or solve for this issue, please do share it with the community so your peers may also benefit from learnings. 

Thanks!

Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...