cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to connect to Server/Collector

oleksandr_mishc
Advisor

Hello,

All was ok, but now some of agents have those errors and did not connected.

Unable to connect to Server/Collector. Last error was: The timeout specified has expired (70007)

Could not retrieve LoadBalancing configuration from collector.core:9998 (70007): The timeout specified has expired

2017-09-04 14:16:00 [31fe8845] info    [native] Log file is /dynatrace/log/dt_test_3_bootstrap_10(5).0.log
2017-09-04 14:16:00 [31fe8845] info [native] Preferred agent version 6.5.0.1289 is not available locally
2017-09-04 14:16:00 [31fe8845] info [native] Trying to connect to Collector for up to 5 seconds
2017-09-04 14:16:10 [31fe8845] info [native] Error connecting: connect()/apr_socket_connect(), 70007, Connection timed out
2017-09-04 14:16:10 [06f452f9] info [native] Error connecting: connect()/apr_socket_connect(), 70007, Connection timed out
2017-09-04 14:16:11 [31fe8845] severe [native] Unable to connect to Server/Collector. Last error was: The timeout specified has expired (70007)
2017-09-04 14:16:11 [31fe8845] warning [native] Unable to register with Server/Collector collector.core:9998
2017-09-04 14:16:11 [31fe8845] info [native] Checking availability of binary of last used version of agent NGINX_3 (linux-x86-64/libdtnginxagent.so)
2017-09-04 14:16:11 [31fe8845] info [native] Look for persisted version of NGINX_3 (linux-x86-64/libdtnginxagent.so) in file '/dynatrace/agent/conf/agentversion.NGINX_3'
2017-09-04 14:16:11 [06f452f9] severe [native] Unable to connect to Server/Collector. Last error was: The timeout specified has expired (70007)
2017-09-04 14:16:11 [06f452f9] warning [native] Unable to register with Server/Collector collector.core:9998
2017-09-04 14:16:11 [06f452f9] info [native] Checking availability of binary of last used version of agent NGINX_3 (linux-x86-64/libdtwsagent.so)
2017-09-04 14:16:11 [31fe8845] info [native] Persisted agent version for NGINX_3 (linux-x86-64/libdtnginxagent.so) not found
2017-09-04 14:16:11 [31fe8845] info [native] Agent binary not found. Looking for latest local agent binary.
2017-09-04 14:16:11 [06f452f9] info [native] Look for persisted version of agent NGINX_3 (linux-x86-64/libdtwsagent.so) in file '/dynatrace/agent/conf/agentversion.NGINX_3'
2017-09-04 14:16:11 [31fe8845] info [native] Latest agent binary found is /dynatrace/agent/lib64/libdtnginxagent.so
2017-09-04 14:16:11 [31fe8845] info [native] Loading Agent /dynatrace/agent/lib64/libdtnginxagent.so
2017-09-04 14:16:11 [06f452f9] info [native] Persisted agent version for NGINX_3 (linux-x86-64/libdtwsagent.so) not found
2017-09-04 14:16:11 [06f452f9] info [native] Agent binary not found. Looking for latest local agent binary.
5 REPLIES 5

Hi

it looks like your collector is either down or the connection is too slow.

Make sure that the collector is up first. As you are saying that it used to work before, it could be a network change (firewall?) which now blocks the connection.

Flo

oleksandr_mishc
Advisor

Hello,

No firewall on the collector...

After unsuccesfful try connection agent try to load local agnets and those errors:

There is also :

2017-09-05 14:59:18.418506 [9/1b6372f2] warning [native] Someone else is modifying SHM -- timestamp unexpectedly changed (is: -206443562, was: -206445703)

Extracting version from agent DRUPAL_NGINX_1's agent path /dynatrace/agent/lib64/libdtwsagent.so failed. Persisting agent version to '/dynatrace/agent/conf/agentversion.DRUPAL_NGINX_1' will be ignored.

oleksandr_mishc
Advisor

Also there :

Attempting to unprotect memory area 7f05321a0000-7f05322ca000 for writing
2017-09-04 14:16:11.380003 [10/31fe8845] debug   [native] NginxPreload() NginxAPI::modules = 7f05324e9fe0, memory_start = 7f05321a0000. memory_end = 7f05324eb000
2017-09-04 14:16:11.380020 [10/31fe8845] debug [native] Allocated memory for module table at 7f053399dba0 (size=752)
2017-09-04 14:16:11.380039 [10/31fe8845] debug [native] modifyMemory(7f053399fba0, size=2, 7f053399dba0) called
7f05324cc000
2017-09-04 14:16:11.380076 [10/31fe8845] debug [native] Attempting to unprotect memory area 7f05321a0000-7f05322ca000 for writing
2017-09-04 14:16:11.380103 [10/31fe8845] debug [native] Unprotected memory area 7f05321a0000-7f05322ca000 for writing
2017-09-04 14:16:11.380120 [10/31fe8845] debug [native] Attempting to unprotect memory area 7f05324ca000-7f05324cc000 for writing
2017-09-04 14:16:11.380135 [10/31fe8845] debug [native] Unprotected memory area 7f05324ca000-7f05324cc000 for writing

Joe_Hoffman
Dynatrace Champion
Dynatrace Champion

There's something wrong with your agent installation. Perhaps you should just delete your agent and reinstall.

oleksandr_mishc
Advisor

It was problem on newtork where agent installed. Thanks