I was trying to install Oneagent on Ubuntu as steps mentioned on dynatrace page . But in the last steps I am getting below error.
root@ubuntu:~# /bin/sh Dynatrace-OneAgent-Linux-1.153.307.sh APP_LOG_CONTENT_ACCESS=1 INFRA_ONLY=0
21:22:07 Warning: Configuration params section of the installer package is missing. The installation will proceed but the agent will have to be configured manually.
21:22:07 Error: The INFRA_ONLY parameter is specified, but cloud-infrastructure monitoring mode isn't enabled in this environment's license settings.
21:22:07 Error: Please contact your sales representative to enable cloud-infrastructure monitoring mode.
How to solve this error?
Steps used during installation.
1.wget -O Dynatrace-OneAgent-Linux-1.153.307.sh "https://REDACTED.live.dynatrace.com/api/v1/deployment/installer/agent/unix/default/latest?Api-Token=REDACTED&arch=x86&flavor=default"
2. wget https://ca.dynatrace.com/dt-root.cert.pem ; ( echo 'Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="--SIGNED-INSTALLER"'; echo ; echo ; echo '----SIGNED-INSTALLER' ; cat Dynatrace-OneAgent-Linux-1.153.307.sh ) | openssl cms -verify -CAfile dt-root.cert.pem > /dev/null
3. /bin/sh Dynatrace-OneAgent-Linux-1.153.307.sh APP_LOG_CONTENT_ACCESS=1 INFRA_ONLY=0
In step 3 I am getting the error.
Solved! Go to Solution.
Hi, it looks like the installer file got truncated during download.
Have you attempted to re-download it? Did step 2 succeed, i.e. was the signature of the installer package correctly verified?