Hi,
We are facing issue in connecting the apache agents to connect the Dynatrace collector.
We checked the following options
1. Both the host and DT collector are on same network
2. There is no Firewall issue.
3. DT collector and the server is running with latest DT version 6.1.0.8387
4. There is no Collector grouping, also tried by removing the collectorlist.* from the dir.
Please suggest us the solution.
From Tomcat log, I saw following:
2016-01-12 09:19:01 [04e71815] info [native] Trying to connect to rgh3n0c:11023 for up to 60 seconds
2016-01-12 09:19:01 [04e71815] info [native] Connected successfully
2016-01-12 09:19:01 [04e71815] info [native] Server requests us to use Agent 6.1.0.8387 with a hash of 7c22b0ce964cc1d4f901baaf536466be
2016-01-12 09:19:01 [04e71815] info [native] Agent already available locally
2016-01-12 09:19:01 [04e71815] info [native] Loading Agent /xjp/dynatrace/agent/linux-x86-64/agent/downloads/6.1.0.8387/native/linux-x86-64/libdtagentcore.so
2016-01-12 09:19:01 [04e71815] info [native] POSIX clock type CLOCK_MONOTONIC detected
2016-01-12 09:19:01 [04e71815] info [native] Loading collector peer list from /xjp/dynatrace/agent/linux-x86-64/agent/conf/collectorlist.bxpcnj_tomcat-qa-xjp-rest.partition_r003ytn0c
2016-01-12 09:19:01 [04e71815] info [native] POSIX clock type CLOCK_MONOTONIC detected
…
2016-01-12 09:19:01 [04e71815] info [native] Agent name .................. bxpcnj_tomcat-qa-xjp-rest.partition_r003ytn0c
2016-01-12 09:19:01 [04e71815] info [native] Server/Collector ............ rgh3n0c:9998
2016-01-12 09:19:01 [04e71815] info [native] Interface type .............. JVMTI
2016-01-12 09:19:01 [04e71815] info [native] Process ID .................. 10344
2016-01-12 09:19:01 [04e71815] info [native] JVM name .................... Java HotSpot(TM) 64-Bit Server VM 23.21-b01
2016-01-12 09:19:01 [04e71815] info [native] JVM vendor .................. Oracle Corporation
2016-01-12 09:19:01 [04e71815] info [native] JVM info .................... mixed mode, sharing
2016-01-12 09:19:01 [04e71815] info [native] Detected application server: Apache Tomcat
2016-01-12 09:19:01 [04e71815] info [native] Could not retrieve LoadBalancing configuration from rgh3n0c:9998 (111): Connection refused
2016-01-12 09:19:01 [04e71815] info [native] Trying to connect to Server/Collector for up to 19 seconds
2016-01-12 09:19:21 [04e71815] severe [native] Exception while connecting to collector, info:<connect()/apr_socket_connect(), 111, Connection refused>
@
**********************
Though there is no Collector grouping, we removed the collectorlist.* from the dir and tried but it results the same.
2016-01-13 16:01:35 [8a1fa8fe] info [native] Could not retrieve LoadBalancing configuration from rgh3n0c:9998 (111): Connection refused
2016-01-13 16:01:35 [8a1fa8fe] info [native] Trying to connect to Server/Collector for up to 19 seconds
2016-01-13 16:01:55 [8a1fa8fe] severe [native] Exception while connecting to collector, info:<connect()/apr_socket_connect(), 111, Connection refused>
2016-01-13 16:01:55 [8a1fa8fe] warning [native] Unable to register with Server/Collector rgh3n0c:9998, CONTINUING WITHOUT INSTRUMENTATION.
Thanks
Karthik
Answer by Andreas G. ·
Is there anything in the collector log? there are several "communication channels" between agent and collectdor. in the beginning it seems you get a successful connection to download the collector list. the next attempt fails though. So - looking at the collector log would be interesting
Answer by Mikhail A. ·
Do your Collector locate in same domain which Tomcat? Try to write the full name of the collector (with domain or localhost) or better write ip-adress in agent conf string
And also check that the ports 9998 will be open
JANUARY 15, 3:00 PM GMT / 10:00 AM ET