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

Error when trying to create event service - Connection Refused Error

Luiz.Polli
New Poster

Hi experts,

I have created a new event service in a demo deployment, but it is failing to start up. I'm seeing some errors for failed to connect to in platform-admin-server.log.

 

INFO  [2023-05-11 18:24:50,425] com.appdynamics.orcha.modules.modules.UriExec: Sending request to: http://appd-controller:9080/_ping

WARN  [2023-05-11 18:24:50,426] com.appdynamics.orcha.modules.modules.UriExec: Connection to [http://appd-controller:9080/_ping] failed due to [Failed to connect to appd-controller/192.168.0.17:9080].

INFO  [2023-05-11 18:24:51,742] com.appdynamics.platformadmin.resources.VersionResource: Found Enterprise Console version 23.4.0-10041, build

INFO  [2023-05-11 18:24:55,441] com.appdynamics.orcha.modules.modules.UriExec: Sending request to: http://appd-controller:9080/_ping

WARN  [2023-05-11 18:24:55,442] com.appdynamics.orcha.modules.modules.UriExec: Connection to [http://appd-controller:9080/_ping] failed due to [Failed to connect to appd-controller/192.168.0.17:9080].

INFO  [2023-05-11 18:25:00,442] com.appdynamics.orcha.modules.modules.UriExec: Sending request to: http://appd-controller:9080/_ping

WARN  [2023-05-11 18:25:00,443] com.appdynamics.orcha.modules.modules.UriExec: Connection to [http://appd-controller:9080/_ping] failed due to [Failed to connect to appd-controller/192.168.0.17:9080].

INFO  [2023-05-11 18:25:05,468] com.appdynamics.orcha.modules.modules.UriExec: Sending request to: http://appd-controller:9080/_ping

WARN  [2023-05-11 18:25:05,468] com.appdynamics.orcha.modules.modules.UriExec: Connection to [http://appd-controller:9080/_ping] failed due to [Failed to connect to appd-controller/192.168.0.17:9080].

 

Error_Event_Service_Not_Starting.png

Could anyone help me on that?

11 REPLIES 11

This is the solution that worked for me ....

 

Ensure entry in /etc/hosts  containing the EC hostname as I'm installing the Event Service locally.

 
platform-admin.sh stop-platform-admin
 
Edit <platform_home>/mysql/db.cnf and  made the following change:
 
From:
user=root
To:
user=appd
 
Change the ownership of all the files in the EC home directory.
chown -R appd:appd /opt/appdynamics
 
platform-admin.sh start-platform-admin
 
Remove the Events Service, and then deploy it again locally to the EC host.
 
Events Service started OK.

Ryan.Paredez
Community Manager

Hi @Michael.Lee,

Thanks for sharing this as well. Now the Community has two different options they can try. 


Thanks,

Ryan, Cisco AppDynamics Community Manager




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

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.