I have a new SCOM 2019 environment and I'm trying to deploy the SCOM agent to RHEL 8 servers, but it keeps failing. I keep getting the error message below:
Failed to install kit. Exit code: 1
Standard Output: Extracting...
Installing cross-platform agent ...
----- Upgrading package: omi (omi-1.6.0-0.ulinux.x64) -----
Skipping package since existing version >= version available
----- Installing package: scx (scx-1.6.3-793.universal.x64) -----
----- Removing package: scx -----
----- Removing package: omi -----
----- Installing package: omi (omi-1.6.0-0.ulinux.x64) -----
Install failed
Standard Error: touch: cannot touch '/etc/scxagent-enable-port': Permission denied
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
error: package scx is not installed
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
error: Failed dependencies:
omi < 1.7.3-0 conflicts with (installed) omi-1.7.3-0.x86_64
omi < 1.7.3-0 is obsoleted by (installed) omi-1.7.3-0.x86_64
Exception Message:
I am confused by the permission denied errors because we think the sudoers file is configured correctly. We also have the latest Linux mgmt packs installed.
Has anyone encountered this error before? If so, how were you able to resolve it?
Thank you for any input.