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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...