question

Sugreevkushwaha-6566 avatar image
0 Votes"
Sugreevkushwaha-6566 asked AlexZhu-MSFT answered

Unable to monitor Linux agent

Trying to monitor unix server in SCOM, but getting error while installing the agent. We have already installed Apache and MYSQL on Linux Server.


Failed to install kit. Exit code: 1
Standard Output: Extracting...
Installing cross-platform agent ...
----- Queuing package: omi (omi-1.0.8-8.universal.x64) for installation -----
----- Queuing package: scx (scx-1.6.2-340.universal.x64) for installation -----
----- Installing packages: 100/omi-1.0.8-8.universal.x64.rpm 100/scx-1.6.2-340.universal.x64.rpm -----
Checking if Apache is installed ...
Apache found, Apache agent will be installed
Extracting...
Installing Apache agent ...
----- Installing package: apache-cimprov (apache-cimprov-1.0.1-10.universal.1.x86_64) -----
Detected Apache v2.4 ...
Checking if MySQL is installed ...
MySQL not found, will not install


Standard Error: 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 apache-cimprov-1.0.1-10.x86_64


Exception Message:

msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AlexZhu-MSFT avatar image
0 Votes"
AlexZhu-MSFT answered

Hi,

Before moving on, may we know the SCOM version and Unix/Linux box version and how we install the agent, such as from the console?

For Unix/Linux agent issue, firstly, we may check the name resolution is ok (nslookup <linux server>) and tcp port 1270 and SSH port (by default 22) is reachable. We can use test-netconnection to check this.

If the above is ok, we may check if the run as account has enough permission. To confirm if it is permission issue, we may try installing the agent manually to see if it suceeds.

Here's the link for manual installation
https://docs.microsoft.com/en-us/system-center/scom/manage-install-crossplat-agent-cmdline?view=sc-om-2019

130053-scom-test-netconnection-1270.png

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



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.