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

ActiveGate Private Synthetic Error - Synthetic Engine status​ shutting down

Roeir5
Frequent Guest

Hi, 

Recently I have installed AG for synthetic monitoring purposes. 

The installation was successful without any noticeable issues. However, post-installation, I noticed the synthetic engine status is stuck on "shutting down". Upon inspecting the vuc-status.log file, I encountered the following log entries: 

 

2025-01-12T12:02:23,484Z [VucStatus] Current status: Initializing (3)
2025-01-12T12:02:23,499Z Engine shutdown requested: ShutdownRequest{creator='DirAccessRightsCheckerManager', reason=Insufficient directory access rights}
2025-01-12T12:02:23,501Z VUC is shutting down now
2025-01-12T12:02:23,561Z [VucStatus] Current status: Paused (5)
2025-01-12T12:02:23,565Z [VucStatus] Current status: Shutting down (6)

 

 

In addition, I ensured all dynatrace related folders are owned by the user id running the processes.

Additionally, i reviewed the vuc.service status, which indicates the service is active but includes some issues:  

 

● vuc.service - Dynatrace VUC
Loaded: loaded (/etc/systemd/system/vuc.service; enabled; preset: disabled)
Active: active (running) since Sun 2025-01-12 13:51:27 IST; 14min ago
Process: 1732433 ExecStart=/opt/dynatrace/synthetic/vucontroller/bin/vuc-service.sh start (code=exited, status=0/SUCCESS)
Main PID: 1732501 (vucwrapper)

Tasks: 2 (limit: 32768)
Memory: 3.1M
CPU: 1min 11.214s
CGroup: /system.slice/vuc.service
└─1732501 /opt/dynatrace/synthetic/vucontroller/vucwrapper -java=/opt/dynatrace/synthetic/jre/bin/java -config=/var/lib/dynatrace/synthetic/config/gatewayconfig-unix.ini -arguments_section.jvm -DSYNTHETIC_VUC_BROWSER=chromium -DSYNTHETIC_VUC_DEPLOYMENT_TYPE=private -DSYNTHETIC_API_PORT=9999 -DSYNTHETIC_VUC_LOG_ROLLING_FILE_SIZE=80MB

Jan 12 13:51:26 psjdtagsl01 vuc-service.sh[1732461]: touch: cannot touch '/.local/share/applications/mimeapps.list': No such file or directory
Jan 12 13:51:27 psjdtagsl01 vuc-service.sh[1732467]: openjdk version "17.0.12" 2024-07-16
Jan 12 13:51:27 psjdtagsl01 vuc-service.sh[1732467]: OpenJDK Runtime Environment Temurin-17.0.12+7 (build 17.0.12+7)
Jan 12 13:51:27 psjdtagsl01 vuc-service.sh[1732467]: OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode, sharing)

Jan 12 13:51:27 psjdtagsl01 vuc-service.sh[1732433]: ---------- WRAPPER SET ENV ----------
Jan 12 13:51:27 psjdtagsl01 vuc-service.sh[1732433]: Starting Dynatrace Synthetic Engine...
Jan 12 13:51:27 psjdtagsl01 vuc-service.sh[1732493]: cat: dynatracefunctions_file: No such file or directory

Jan 12 13:51:27 psjdtagsl01 vuc-service.sh[1732433]: Dynatrace Synthetic Engine started
Jan 12 13:51:27 psjdtagsl01 systemd[1]: Started Dynatrace VUC.




 

 

I followed this Troubleshooting guide for possible issues causes for engine to shutdown, but none seem related to this issue.  

I suspect and issue with sudo permission required for this user running the application.

 

The AG version has been installed based on this hardware requirements.

 

The server os & distribution : Linux RHEL 9.4 (64 bit) 

The AG and chromium version has been matched according to this manual : 

https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/private-synthetic-lo...

Versions: 

  • ActiveGate : 1.303.18.20241106-152232
  • Synthetic : 1.303.32.20241112-091428
  • Chromium : 129.0.6668.89

 

 

 

3 REPLIES 3

HannahM
Dynatrace Leader
Dynatrace Leader

@Roeir5 can you open a chat or create a ticket? I think this would be best investigated by looking at the logs and seeing what installation parameters were used etc. 

Synthetic SME and community advocate.

Hi Hanna! 

I have opened a ticket with Yossi, 

This is the ticket link: 

https://one.dynatrace.com/hc/en-us/requests/425453

 

Thank you very much!

Roeir5
Frequent Guest

Hi, Issue has been diagnosed by Dynatrace after using active gate diagnostic tool,

A permission issue with how /tmp fs was set up with server initialization - check for correct permission for ag user to write read and execute under the TEMP folder 

Featured Posts