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!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...