LUM on Oracle Linux 8.4

This forums is to discuss issues and features of the Linux update Manager plugin for LabTech RMM
Post Reply
sewkaz
Posts: 5
Joined: Tue Feb 22, 2022 7:03 pm
2

LUM on Oracle Linux 8.4

Post by sewkaz »

This newly added machine with Oracle Linux 8.4 installed (distro based on RHEL) is not showing in the LUM and also does not show any available updates/upgrades in the machine itself. Please check the attached screenshots.
Attachments
LUM3.png
LUM3.png (87.94 KiB) Viewed 1758 times
LUM2.png
LUM2.png (177.63 KiB) Viewed 1758 times
LUM1.png
LUM1.png (71.38 KiB) Viewed 1758 times
LUM0.png
LUM0.png (107.52 KiB) Viewed 1758 times

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: LUM on Oracle Linux 8.4

Post by Cubert »

The reason it is not showing in main windows and no data at agent console is due to the scanning script not getting back what it expected so agent is being skipped.

The plugin schedules the script "LUM Maintenance Service" against all Linux agents. The script scanner does a check in the first 8 lines of the "ELSE" section of script. If you make it to line 8 then we were not able to determine if you had apt-get or Yum installed.

On line 6, we try to execute "yum --help" and save that output to a variable (IAMRH). We then look inside that variable to see if we can find "List of Commands" which is typically in the --help section of Yum. If script finds it, then we are RedHat and will complete the scans using the YUM package manager, else the script quits.

We do the same for Debian style Linux and the Apt-Get package manager.

Just an FYI, In Habitat we have the same tool but have added the support of SUSE's package manager (Zypper).


So to figure out your problem should be pretty easy.

Does your distro have Yum installed and in the PATH for the automate agent installed?

Launch your agents console and then from the "Begin" button select tools menu then command prompt. inside the command prompt type "yum --help" and press enter. What does it return?



Example here is on a Ubuntu agent so we are using Apt-get instead of Yum.


LUM1.png
LUM1.png (64.41 KiB) Viewed 1739 times
If you get the help file as expected then does that help file contain the phrase (List of Commands) anywhere inside the text returned?


If you do get Text help back but are missing phrase then you should edit line (7) of else section of LUM script to have it look for some phrase inside the return of help.

I suspect that Yum maybe not in PATH or may be not installed so the command is returning an error instead. If this is the case and if the OS supports it, you might be able to install it via an RPM.

Post Reply

Return to “Linux Update Manager”