Ran into error when pushing SCOM agent onto a RHEL 8 server

Yuan Lieu 21 Reputation points
2021-04-28T21:06:31.737+00:00

I'm running SCOM 2019 evaluation version, and have already installed all the Linux related management packs. Since we only setup one test VM for this evaluation, the Resource Pool I selected during the discovery wizard was the default management server. The management server was able to connect with our RHEL target server, but ran into this error during the installation of the agent. I remember vaguely there's a cross-platform resource pool we have to use for discovering Linux servers, can anyone refresh my memory a bit?

Failed to install kit. Exit code: 1
Standard Output: Extracting...
Installing cross-platform agent ...
----- Installing package: omi (omi-1.6.4-0.ulinux.x64) -----
----- Installing package: scx (scx-1.6.4-7.universal.x64) -----
----- Removing package: scx -----
----- Removing package: omi -----
----- Installing package: omi (omi-1.6.4-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: Failed dependencies:
omi >= 1.0.8-6 is needed by scx-1.6.4-7.x86_64
error: package scx is not installed
error: package omi is not installed
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)

Exception Message:

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,396 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. CyrAz 5,176 Reputation points
    2021-04-28T22:09:21.803+00:00

    It looks like the scom account is missing permissions.
    Did you properly configure the sudoers file?

    Also you'll find a great step by step guide here : https://kevinholman.com/2016/11/11/monitoring-unix-linux-with-opsmgr-2016/


  2. AlexZhu-MSFT 5,236 Reputation points Microsoft Vendor
    2021-05-03T02:31:01.843+00:00

    Hi,

    If we follow the procedure to install the agent manually, does it show any difference?
    https://learn.microsoft.com/en-us/system-center/scom/manage-install-crossplat-agent-cmdline?view=sc-om-2019

    Alex
    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. Asoka Chang 46 Reputation points
    2022-02-28T05:22:09.447+00:00

    I got same error, but retry again and again, I push it OK... just 30mins before. :)
    I don't known why?!

    0 comments No comments