Issues with ModGearman worker script

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dshearon
Posts: 64
Joined: Tue Nov 17, 2015 9:38 am

Issues with ModGearman worker script

Post by dshearon »

I spoke too fast on closing out my last issue. Modifying the ModGearman install script to account for the release name change in CentOS worked to move it past the first error. However, after a minute or two it errored out with the information below.

Error: Unable to install Packages

Error: Unable to find a match: gearmand

I've tried installing it on an older CentOS 7 box and ran into quite a few errors for things missing as well. Are there some prerequisites I am missing for the worker side install?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Issues with ModGearman worker script

Post by ssax »

You'll need to do this on CentOS 8:

Code: Select all

yum install https://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpm -y
yum config-manager --enable powertools
yum install epel-release -y
Then make sure this line in the ModGearmanInstall.sh:

Code: Select all

if rpm -q centos-release; then
Looks like this:

Code: Select all

if rpm -q centos-release || rpm -q centos-linux-release; then
Then run the ./ModGearmanInstall.sh --type=worker command.


And this on CentOS 7:

Code: Select all

yum install https://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm -y
yum install epel-release -y
Then run the ./ModGearmanInstall.sh --type=worker command.
Locked