12 Jan 2025
12:22 PM
- last edited on
13 Jan 2025
08:24 AM
by
MaciejNeumann
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 :
Versions:
Solved! Go to Solution.
13 Jan 2025 08:47 AM
@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.
13 Jan 2025 09:30 AM
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!
14 Jan 2025 09:16 AM
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