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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...