question

Calvin J. avatar image
Calvin J. asked ·

Problem running wsagent on Windows 2012

Hi guys:

I have installed the wsagent 6.1(x64) on the windows 2012 (x64) and my webserver is apache2.4(x64). It was running normally when i started the

dtwsagent.exe,but when i restarted the operation system(windows2012), i found that there `s no connection message on the cilent,so i have check it over and found that the file collectorlist.Apache_achievetech (path C:\Program Files\dynaTrace\dynaTrace 6.1.0\agent\conf)was empty. I have to write the

name=Apache_achievetech onto the collectorlist.Apache_achievetech file. SO, I have confused it. Why the collectorlist file will empty when I restart the system ? Thanks for your help!

BR!

Guangzhi

agentcollectorapache
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Graeme W. avatar image
Graeme W. answered ·

Calvin,

You don't need to start wsagent.exe from the executable. If you ran the installer with the right options (e.g., you included support for Apache), you should see a new service in the services control panel (i.e., services.msc) called Dynatrace Web Server Agent 6.1. You need to start or restart that service.

But you also need to edit the file dtwsagent.ini file in the agent/conf sub-directory of your Dynatrace install directory. That's where you specify the collector to connect to (in the "Server" line). You should never need to edit any of the collectorlist files -- they're built automatically from information provided by the first collector the agent connects to. I would delete any that you have touched -- or at a minimum, empty them again.

Also, you need to edit your Apache httpd.conf to load the Dynatrace module.

Both of which you should do before restarting the service and then Apache.

This is documented in

https://community.dynatrace.com/community/display/DOCDT61/Apache+Web+Server+Agent+Configuration

(The first paragraph includes a reference to details of configuring the Dynatrace Web Server Agent 6.1 service.)

-- Graeme

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.