cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to start event service in AppDynamics

Sandoss.Kumar
Producer

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

3 REPLIES 3

Philip.Rogers
AppDynamics Team (Retired)

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/




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

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.Kedia
AppDynamics Team (Retired)

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!