Open Veeau opened 3 years ago
Hello, sorry I don't have AlmaLinux and can't test it. Please look into apache error_log. You can also try to execute the commands by hand. Is every command executed successfully?
Thanks for the quick reply. Im not seeing anything in the Apache error logs and the only command that returns nothing is
set -o pipefail; yum list updates | tr '\n' ' ' | sed -n -e 's/^.*Updated Packages //p' | xargs -n3 | awk '{print $1}'
everything else executes ok.
First check whether this command is really the problem. Backup the line and put for testing the following in
echo "Hello World"
Now try to inventory. If it is successful you should have an package for update with "Hello World". If the line is the problem we look closer.
Yum list updates output is not equal to centos|redhat <=7.x.
the correct "command" is: set -o pipefail; yum list updates | tr '\n' ' ' | sed -n -e 's/^.*Available Upgrades //p' | xargs -n3 | awk '{print $1}'
Hello,
Is it possible to get settings for AlmaLinux? I tried copying the Centos commands but they seem to error on "Error while executing inventory_server"