AppD Archive

PHP agent cannot connect

CommunityUser
Splunk Employee
Splunk Employee

Hi,

   After quite a lot of time trying to install the php agent, finally got it to start in apache (can see from pstree). However, in the controller, its always waiting for connection.

  In the agent log (finally found out where it is), I see the following:

2016-04-20 12:18:54.930 SGT INFO 29452 [config.ConfigChannel] sending config request with version -1
2016-04-20 12:18:57.933 SGT INFO 29452 [config.ZMQConfigTransport] received config response, size: 11 bytes
2016-04-20 12:18:49.489 SGT INFO 29450 [config.ConfigChannel] sending config request with version -1
2016-04-20 12:19:13.207 SGT INFO 29452 [config.ConfigChannel] sending config request with version -1
2016-04-20 12:19:16.211 SGT INFO 29452 [config.ZMQConfigTransport] received config response, size: 11 bytes
2016-04-20 12:19:16.672 SGT INFO 29496 [config.ZMQConfigTransport] received config response, size: 11 bytes
2016-04-20 12:19:16.672 SGT ERROR 29496 [config.ConfigChannel] No agent identity in config response: currentVersion: 1461125312134
agentState: UNREGISTERED
timestampSkew: 0

   What else is wrong? What do I need to do to fix this problem?

Rgds,

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Just an update: Managed to fix the problem - had a hard time finding where the logs were, but finally found them in /usr/lib/appdynamics.../log

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

The logs are located in your <php agent installation directory>/logs.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

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