Hi,
I am trying to attach dynatrace agent to a standalone .exe on Windows 7 box that runs as a windows service. I opened the dynatrace agent configuration tool for .NET and saw the process listed and chose that to configure the agent. Those steps were successful but the service doesn't start after that. There are no errors seen in application logs. How do I debug what's going on?
Thanks,
Subha
Answer by subhashini v. ·
There is also a bootstrap log:
2015-03-24 06:03:52 [00000154] info [native] dynaTrace Bootstrap Agent 6.0.0.6738
2015-03-24 06:03:52 [00000154] info [native] Using C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0 as Agent storage
2015-03-24 06:03:52 [00000154] info [native] Log file at C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/log/dt_RateLoader_WindowsService_bootstrap_3632.0.log
2015-03-24 06:03:52 [00000154] info [native] Trying to connect to Server/Collector for up to 20 seconds
2015-03-24 06:03:53 [00000154] info [native] Connected to Server/Collector scpfldts01.scpf.rden.us:9998
2015-03-24 06:03:54 [00000154] info [native] Server/Collector requests us to use Agent 6.0.0.6738 with a hash of 20780a357e23b992d30a0738a7d61fac
2015-03-24 06:03:54 [00000154] info [native] Requesting Agent library from Server
2015-03-24 06:04:12 [00000154] info [native] Loading Agent C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/agent/downloads/6.0.0.6738/native/windows-x86-32/dtagentcore.dll
Answer by subhashini v. ·
I see this agent log after the process restart:
2015-03-24 06:04:12 [00000230] info [native] -----------------------------------------------------------------------------------------
2015-03-24 06:04:12 [00000230] info [native] dynaTrace Agent for .NET Copyright (c) 2004-2014 Compuware Corporation, www.compuware.com
2015-03-24 06:04:12 [00000230] info [native] -----------------------------------------------------------------------------------------
2015-03-24 06:04:12 [00000230] info [native] Version ..................... 6.0.0.6738, build date Aug 1 2014 15:51:47
2015-03-24 06:04:12 [00000230] info [native] Command line is "C:\inetpub\wwwroot\RateLoaderService\DG.RateLoader.WinService.exe"
2015-03-24 06:04:12 [00000230] info [native] Build platform .............. Windows x86 32-bit
2015-03-24 06:04:12 [00000230] info [native] Platform .................... Windows Server 2008 R2 Service Pack 1 6.1.7601 x64
2015-03-24 06:04:12 [00000230] info [native] OS edition .................. Standard
2015-03-24 06:04:12 [00000230] info [native] OS productId ................ Unknown
2015-03-24 06:04:12 [00000230] info [native] Hyper-V friendly name ....... Unknown
2015-03-24 06:04:12 [00000230] info [native] Bootstrap version ........... 6.0.0.6738
2015-03-24 06:04:12 [00000230] info [native] Log level console ........... info
2015-03-24 06:04:12 [00000230] info [native] Log level file .............. info
2015-03-24 06:04:12 [00000230] info [native] Log file .................... C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/log/dt_RateLoader_WindowsService_3632.0.log
2015-03-24 06:04:12 [00000230] info [native] Agent host .................. GGABLRSRDEVDAT1
2015-03-24 06:04:12 [00000230] info [native] Agent library ............... C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/agent/downloads/6.0.0.6738/native/windows-x86-32/dtagentcore.dll
2015-03-24 06:04:12 [00000230] info [native] CLR version: v4.0.30319
2015-03-24 06:04:12 [00000230] info [native] Initializing CLR ...
2015-03-24 06:04:12 [00000230] info [native] Intel CPU 0x06 0x2d detected.
2015-03-24 06:04:12 [00000230] info [native] ProcNum=0 MaxMhz=1800 CurrentMhz=1800 MhzLimit=1800 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-03-24 06:04:12 [00000230] info [native] ProcNum=1 MaxMhz=1799 CurrentMhz=1799 MhzLimit=1799 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-03-24 06:04:12 [00000230] info [native] Processors have different CPU frequencies (1799 vs. 1800). To ensure accurate timing, the hardware timer has been disabled.
2015-03-24 06:04:12 [00000230] info [native] High-resolution Windows timer detected.
2015-03-24 06:04:12 [00000230] info [native] Agent name .................. RateLoader_WindowsService
2015-03-24 06:04:12 [00000230] info [native] Server/Collector ............ scpfldts01.scpf.rden.us:9998
2015-03-24 06:04:13 [00000230] info [native] Reading LoadBalancing configuration from scpfldts01.scpf.rden.us:9998
2015-03-24 06:04:13 [00000230] info [native] Storing collector peer list (0 entries) to C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/agent/conf/collectorlist.RateLoader_WindowsService
2015-03-24 06:04:13 [00000230] info [native] Trying to connect to Server/Collector for up to 19 seconds
2015-03-24 06:04:16 [00000230] info [native] Instrumentation channel connected successfully
2015-03-24 06:04:16 [00000230] info [native] Connected to Server/Collector scpfldts01.scpf.rden.us:9998
2015-03-24 06:04:16 [00000230] warning [native] GC Events not available.
2015-03-24 06:04:17 [000002a4] info [native] Control channel connected successfully
JANUARY 15, 3:00 PM GMT / 10:00 AM ET