Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent)

cancel
Showing results for 
Search instead for 
Did you mean: 

PHP agent could not send config request

Highlighted
Adventurer

PHP agent could not send config request

I'm trying to get up the php agent, but seems that there is some error in agent.log.

Reinstalling the agent to the latest version doesn't solve the problem. 

 

Any help?

 

Agent.log: 

[root@spdc1apibilling95 logs]# tailf agent.log
2018-07-04 18:17:06.924 CET INFO xxxxxxx 3641 [config.ConfigChannel] sending config request with version -1
2018-07-04 18:17:07.154 CET INFO 3642 [agent.AgentKernel] starting up agent kernel [4.4.3.0GA.5b071fef580bca60d0ed12ddb96d7be8864f342c]
2018-07-04 18:17:07.155 CET INFO xxxxxxx 3642 [config.ConfigChannel] sending config request with version -1
2018-07-04 18:17:07.219 CET ERROR xxxxxxx 3635 [config.ConfigChannel] could not send config request
2018-07-04 18:17:07.437 CET ERROR xxxxxxx 3637 [config.ConfigChannel] could not send config request
2018-07-04 18:17:07.925 CET ERROR xxxxxxx 3641 [config.ConfigChannel] could not send config request
2018-07-04 18:17:08.157 CET ERROR xxxxxxx 3642 [config.ConfigChannel] could not send config request
2018-07-04 18:17:09.862 CET INFO 3644 [agent.AgentKernel] starting up agent kernel [4.4.3.0GA.5b071fef580bca60d0ed12ddb96d7be8864f342c]
2018-07-04 18:17:09.862 CET INFO xxxxxxx 3644 [config.ConfigChannel] sending config request with version -1
2018-07-04 18:17:10.864 CET ERROR xxxxxxx 3644 [config.ConfigChannel] could not send config request

PHP agent could not send config request
10 REPLIES 10
Highlighted
AppDynamics Team

Re: PHP agent could not send config request

Hi Eric,

 

We would need complete logs to understand what exact issue you are facing.

Can you share the zip of <php-agent-installation-dir>/logs using the details I have send you through a personal message.

 

Thanks

Abhimanyu



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
Adventurer

Re: PHP agent could not send config request

Sent!

Highlighted
Adventurer

Re: PHP agent could not send config request

Sorry. The problem is not solved. and i haven't recieved news. 

Please could you tell us something?

AppDynamics Team

Re: PHP agent could not send config request

Hi Eric,

 

With the logs you have provided. I see -

[AD Thread Pool-ProxyControlReq0] 05 Jul 2018 10:54:51,436  INFO com.singularity.XMLConfigManager - XML Agent Account Info Resolver did not find account name. Using default account name [customer1]
[AD Thread Pool-ProxyControlReq0] 05 Jul 2018 10:54:51,437  INFO com.singularity.XMLConfigManager - XML Agent Account Info Resolver did not find account access key.

Can you please check if you have passed right account name and access key? The configuration can be found appdynamics_agent.ini file which gets plugged in PHP. 

 

Thanks

Abhimanyu

 

 

 


Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
Adventurer

Re: PHP agent could not send config request

I've checked the file and compared with another file of a machine that works properly, and both are the same.

 

The only difference is that this has complementary configuration for php-fpm

Highlighted
AppDynamics Team

Re: PHP agent could not send config request

Can you also confirm, if the agent doesn't even show connected in the controller dashboard at all?  Or is it just that you don't see any load reporting?



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
Adventurer

Re: PHP agent could not send config request

both. Cannot see nothing on the controller dashboard and logs collects nothing neither

Highlighted
Adventurer

Re: PHP agent could not send config request

This is very critical. I've realized that abunch of machines hasn't this service running propertly.

Maybe it is license problem? How can i check if some machine is registered? on logs?

Highlighted
AppDynamics Team

Re: PHP agent could not send config request

Hi Eric,

 

Can you please create a zendesk ticket for the same so that we can help you better here and may be get on-call if needed to debug the issue? 

 

Thanks

Abhimanyu



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.