I am running the latest version of Ubuntu on WSL2 on Windows. I have a local copy of my client’s wordpress website and mysql database, with near identical nginx webserver and php.
I need to install OneAgent in order to unlock mySQL insights, nginx insights, wordpress page insights and so forth
There is much potential as Dynatrace outlines in https://www.dynatrace.com/technologies/php-monitoring/wordpress
When I install it on WSL Ubuntu, I get this error,
root@localhostname# cat /etc/os-release
NAME=“Ubuntu”
VERSION=“20.04.5 LTS (Focal Fossa)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 20.04.5 LTS”
VERSION_ID=“20.04”
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
root@localhostname# /bin/sh Dynatrace-OneAgent-Linux-1.253.245.sh --set-infra-only=false --set-app-log-content-access=true
01:57:47 Checking root privileges…
01:57:47 Process user: root, ID: 0
01:57:47 OK
01:57:47 Logging to /var/log/dynatrace/oneagent/installer/installation_4818.log
01:57:47 Installation started, version 1.253.245.20221118-071521, build date: 18.11.2022, PID 4818.
01:57:47 Detected platform: LINUX arch: X86_64
01:57:47 Error: Dynatrace OneAgent cannot be installed inside a container (or in an isolated mount namespace), setup won’t continue.
01:57:47 Error: For a supported way of deployment using a container please refer to: Set up Dynatrace OneAgent as a Docker container — Dynatrace Docs
Following the link above, one of the steps is to run apparmor, but when I do, I get this error
root@localhostname# apparmor_parser -r /etc/apparmor.d/oneagent Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning: unable to find a suitable fs in /proc/mounts, is it mounted? Use --subdomainfs to override.
I need guidance here, this may be the first post on installing on wsl2 ubuntu. How can I get past this error or is there another way I get agent installed to grab full insights (mysql, wordpress, php, nginx)?