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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...