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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...