SCOM 2019 deploying agents to RHEL 8 servers keeps failing - Exit Code 1 errors?

Bixby 101 Reputation points
2024-01-13T01:40:00.19+00:00

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.

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,441 questions
Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
894 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AlexZhu-MSFT 5,626 Reputation points Microsoft Vendor
    2024-01-15T02:22:58.28+00:00

    Hi,

    It seems the correct version of RHEL is not recognized and SCOM use the universal Linux instead. Are you using the latest MP for Linux that supports RHEL 9?

    https://www.microsoft.com/en-us/download/details.aspx?id=58208

    If not, we can import the above MP to see if it helps. If we are already use the above one, we can refer to this article to modify the .sh file to force use RPM one and see if it makes any difference.

    Regards,

    Alex