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/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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:
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/
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.
I got same error, but retry again and again, I push it OK... just 30mins before. :)
I don't known why?!