Splunk AppDynamics

Event service not running (Linux Installation)

CommunityUser
Splunk Employee
Splunk Employee

Hi, 

when I run 

/appdynamics/controller/HA/appdservice-noroot.sh appdcontroller status

I get the following results

version: 004-002-013-001
db running as monitor - active
primary
watchdog not running
assassin not running
controller running
events service not running
reporting service running
machine-agent service not running

So then I switch over to this and get this result:

/appdynamics/controller/events_service/bin/events-service.sh
Please set JAVA_HOME env variable

Lastly I try this 

/appdynamics/controller/bin/controller.sh start-events-service
[INFO] Path to mysql is not defined in system environment (MYSQL_BIN). Using mysql from /apps/appdynamics/controller/db/bin

[INFO] Mysql configuration file is not defined in system environment (AD_DB_CNF). Using mysql configuration file: /apps/appdynamics/controller/db/db.cnf

[INFO] Mysql datadir is /data/appdynamics/controller/db/data
Starting the Events Service... This may take a few minutes. Check the /apps/appdynamics/controller/logs/events-service-startup.log for details.

I've attached the events-service-startup.log. Any help on getting the events service started and running would be greatly appreciated. Thanks!

Labels (3)
0 Karma

Mohammed_Rayan
Contributor

Hi Jahinnipa,

Can you try to start it manually and verify

cd <events_service_install_dir>
nohup bin/events-service.sh start -p conf/events-service-api-store.properties &

Note: Before you invoke the above command, Please make sure to remove any  staleevents-service-api-store.id that might be present . Location for instance [/opt/AppDynamics/Controller/events_service/bin/../events-service-api-store.id]

You can refer the below article on this

https://community.appdynamics.com/t5/Knowledge-Base/Unable-to-start-events-service-after-abrupt-shut...

Regards,

Mohammed Rayan

0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

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

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...