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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...