Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

setting full stack on CTC servers is creating an error

joachimroshan
Newcomer

We have a need for ctc servers to be in full stack to test out our monitoring however when trying to set some of them to full stack we get the following error

 

initial research indicates that there is a problem with the oneagentctl.exe file , indeed on the servers with the problem it appears to have been "updated" today but has a file size of 0 bytes

 

D:\Dynatrace\OneAgent\agent\tools>dir D:\Dynatrace\OneAgent\agent\tools\oneagentctl.exe Volume in drive D is Support Volume Serial Number is 0C29-76E6

 

Directory of D:\Dynatrace\OneAgent\agent\tools

 

08/07/2026 16:34 0 oneagentctl.exe

 

 

Can you please urgently advise how we reinstall this missing exe/dynatrace

2 REPLIES 2

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I would suggest opening a support ticket.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

sujit_k_singh
Champion

HI @joachimroshan 

You can run the OneAgent installer again on the affected servers. A reinstall over an existing installation will repair/replace all agent binaries including oneagentctl.exe without losing configuration:

Option 1: Download the latest installer from your Dynatrace tenant or use the existing installer, Run as Administrator on the affected server, OneAgent-Windows.exe /quiet

Option 2: Copy oneagentctl.exe from a Working Server
If you have another server with a healthy OneAgent installation at the same version:

On a working server, navigate to: D:\Dynatrace\OneAgent\agent\tools\
Copy oneagentctl.exe from the working server, Stop the Dynatrace OneAgent service on the affected server, Replace the 0-byte file with the copied one, Restart the Dynatrace OneAgent service.

Try Option 1 first on one affected host, confirm it resolves cleanly and the service comes back , then roll out to the rest. Keep Option 2 in your back pocket only.

Thanks,

Sujit

Dynatrace Professional Certified

Featured Posts