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

Unable to establish connection b/w DT Agent & Dynatrace client.

ashisbasak
Newcomer

dt-dtwsagentexe-15360.logdt-dtwsagentexe-76480.logI have installed Dynatrace Agent in some servers. Also configured the JVM parameter. After installing & configuring DT Agent, when I am opening Dynatrace Client, I am unable to see those server DT Agent in my Dynatrace client Dashboard. I need those servers DT Agent in my Dynatrace client dashboard.Could someone please help me in fixing the issue??

I have checked the Dynatrace log. Getting the below mentioned thing in the DT log.

2017-03-19 21:16:36.122740 [1536/00000148] info [native] Starting Dynatrace Web Server Agent (pid = 1536)
2017-03-19 21:16:36.122740 [1536/00000148] info [native] Reading configuration file: c:/program files (x86)/dynatrace/dynatrace agent 6.5/agent/conf/dtwsagent.ini
2017-03-19 21:16:36.122740 [1536/00000148] info [native] Initialized logfile: c:/program files (x86)/dynatrace/dynatrace agent 6.5/log/dt_dtwsagent.exe_1536.log
2017-03-19 21:16:36.122740 [1536/00000148] info [native] Max. logfile size: 10485760 bytes
2017-03-19 21:16:36.122740 [1536/00000148] info [native] No sharedmemoryfilename directive supplied in configuration. Using default.
2017-03-19 21:16:36.122740 [1536/00000148] info [native] No port directive supplied in configuration. Using default: 0
2017-03-19 21:16:36.122740 [1536/00000148] info [native] Using SHM location: c:/program files (x86)/dynatrace/dynatrace agent 6.5/agent/conf/dynaTraceWebServerSharedMemory
2017-03-19 21:16:36.138384 [1536/00000148] info [native] Initializing config data in fresh shared memory file c:/program files (x86)/dynatrace/dynatrace agent 6.5/agent/conf/dynaTraceWebServerSharedMemory.
2017-03-19 21:16:36.169616 [1536/000001a0] info [native] Loading collector peer list from c:/program files (x86)/dynatrace/dynatrace agent 6.5/agent/conf/collectorlist.dtwsagent
2017-03-19 21:16:36.169616 [1536/000001a0] info [native] 0 entries loaded
2017-03-19 21:16:36.169616 [1536/000001a0] info [native] Starting agent
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] ------------------------------------------------------------------------------------------
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Dynatrace Agent for Web server Copyright (C) 2004-2016 Dynatrace, http://www.dynatrace.com
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] ------------------------------------------------------------------------------------------
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Version ..................... 6.5.0.1289, build date Sep 16 2016 08:48:48, svn rev. 654178
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Command line is "C:\Program Files (x86)\Dynatrace\Dynatrace Agent 6.5\agent\lib\dtwsagent.exe" -service
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Build platform .............. Windows x86 32-bit
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Platform .................... Windows Server 2012 R2 6.3.9600 x64
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] OS edition .................. Datacenter
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] OS productId ................ Unknown
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Hyper-V friendly name ....... Unknown
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] System startup time ......... 2017-03-20 04:15:39
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] User name ................... NT AUTHORITY\LOCAL SERVICE
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Bootstrap version ........... 6.5.0.1289
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Log level console ........... none
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Log level file .............. info
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Log file .................... c:/program files (x86)/dynatrace/dynatrace agent 6.5/log/dt_dtwsagent.exe_1536.0.log
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Agent host .................. advqaazrapp013
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Agent library ............... c:/program files (x86)/dynatrace/dynatrace agent 6.5/agent/lib/dtwsagent.dll
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Agent name .................. dtwsagent
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Server/Collector ............ localhost:9998
2017-03-19 21:16:36.232113 [1536/000001a0] info [native] Trying to connect to Server/Collector for up to 13 seconds
2017-03-19 21:16:37.252948 [1536/000001a0] info [native] Could not retrieve LoadBalancing configuration from localhost:9998 (730061): No connection could be made because the target machine actively refused it.
2017-03-19 21:16:51.055796 [1536/000001a0] severe [native] Exception while connecting to Server/Collector localhost, info:<connect()/apr_socket_connect(), 730061, Connection refused>
2017-03-19 21:16:51.055796 [1536/000001a0] warning [native] Unable to register with Server/Collector
2017-03-19 21:16:51.087072 [1536/000001a0] info [native] Successfully started agent

1 REPLY 1

jason_ostroski
Dynatrace Pro
Dynatrace Pro

Ashish,

I would recommend first reviewing the AppMon architecture diagram to ensure you have installed, configured, and connected all components. https://community.dynatrace.com/community/display/...

If all of your components are running, you'll want to ensure your web agent is configured with the proper collector name and agent name. This is done in the dtwsagent.ini file:

https://community.dynatrace.com/community/display/...

Hope this helps!

Jason