Gearman install issue
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Gearman install issue
Wanted to move to mod gearman 3 ( https://assets.nagios.com/downloads/nag ... ios_XI.pdf) but got stuck at
./ModGearmanInstall.sh --type=server
Have following error
*******************************************************************************
Installing the packages...
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: gearmand
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: libgearman.so.6()(64bit)
*******************************************************************************
Repolist is
# yum repolist
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
repo id repo name status
chef-stable/x86_64 Chef Software Inc chef-stable repository 776
epel/x86_64 epel-repo 13,510
nagios-base Nagios 96
nagiosxi-deps Nagios XI Dependencies 31
rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 26,753
rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 239
repolist: 41,405
Please let me know where is the GAP .
Please help
./ModGearmanInstall.sh --type=server
Have following error
*******************************************************************************
Installing the packages...
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: gearmand
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: libgearman.so.6()(64bit)
*******************************************************************************
Repolist is
# yum repolist
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
repo id repo name status
chef-stable/x86_64 Chef Software Inc chef-stable repository 776
epel/x86_64 epel-repo 13,510
nagios-base Nagios 96
nagiosxi-deps Nagios XI Dependencies 31
rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 26,753
rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 239
repolist: 41,405
Please let me know where is the GAP .
Please help
Re: Gearman install issue
Do you mean you had gearman 2 installed then you tried to upgrade to gearman 3 or you tried to do a new "clean" install of mod gearman 3? Which section of the document did you follow, e.g. Server Installation – Upgrade (2 => 3)?Wanted to move to mod gearman 3...
What is the output of the following commands?
Code: Select all
/usr/local/nagios/bin/nagios -V | head -2
rpm -qa | grep -i gearman
updatedb
locate gearmanBe sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Gearman install issue
Yes , Followed Server Installation – Upgrade (2 => 3)
The outputs are
# /usr/local/nagios/bin/nagios -V | head -2
Nagios Core 4.4.5
# rpm -qa | grep -i gearman
# updatedb
# locate gearman
/etc/mod_gearman2
/etc/mod_gearman2/module.conf.nagmonus1
/etc/mod_gearman2/module.conf.orig
/etc/mod_gearman2/module.conf.rpmsave
/etc/mod_gearman2/worker.conf.orig
/etc/mod_gearman2/worker.conf.rpmsave
/etc/systemd/system/multi-user.target.wants/mod-gearman2-worker.service
/usr/include/libgearman
/usr/include/libgearman-1.0
/usr/lib64/mod_gearman2
/usr/local/nagios/libexec/gearman.sh
/usr/local/nagios/libexec/send_gearman.pl
/usr/share/mod_gearman2
/var/mod_gearman2
/var/log/gearmand
/var/log/gearmand.log
/var/log/mod_gearman
/var/log/mod_gearman2
/var/log/gearmand/gearmand.log
/var/log/mod_gearman2/mod_gearman_neb.log
/var/log/mod_gearman2/mod_gearman_neb.log-20170625
/var/log/mod_gearman2/mod_gearman_neb.log-20170821
/var/log/mod_gearman2/mod_gearman_neb.log-20170827
/var/log/mod_gearman2/mod_gearman_neb.log-20170925
/var/log/mod_gearman2/mod_gearman_worker.log
/var/log/mod_gearman2/mod_gearman_worker.log-20190811
/var/log/mod_gearman2/mod_gearman_worker.log-20191227
/var/log/mod_gearman2/mod_gearman_worker.log-20191229
/var/log/mod_gearman2/mod_gearman_worker.log-20200106
/var/mod_gearman2/mod_gearman_worker.pid
I observed that none of the repository has gearmand rpm . Does this looks like the issue .
Thanks
The outputs are
# /usr/local/nagios/bin/nagios -V | head -2
Nagios Core 4.4.5
# rpm -qa | grep -i gearman
# updatedb
# locate gearman
/etc/mod_gearman2
/etc/mod_gearman2/module.conf.nagmonus1
/etc/mod_gearman2/module.conf.orig
/etc/mod_gearman2/module.conf.rpmsave
/etc/mod_gearman2/worker.conf.orig
/etc/mod_gearman2/worker.conf.rpmsave
/etc/systemd/system/multi-user.target.wants/mod-gearman2-worker.service
/usr/include/libgearman
/usr/include/libgearman-1.0
/usr/lib64/mod_gearman2
/usr/local/nagios/libexec/gearman.sh
/usr/local/nagios/libexec/send_gearman.pl
/usr/share/mod_gearman2
/var/mod_gearman2
/var/log/gearmand
/var/log/gearmand.log
/var/log/mod_gearman
/var/log/mod_gearman2
/var/log/gearmand/gearmand.log
/var/log/mod_gearman2/mod_gearman_neb.log
/var/log/mod_gearman2/mod_gearman_neb.log-20170625
/var/log/mod_gearman2/mod_gearman_neb.log-20170821
/var/log/mod_gearman2/mod_gearman_neb.log-20170827
/var/log/mod_gearman2/mod_gearman_neb.log-20170925
/var/log/mod_gearman2/mod_gearman_worker.log
/var/log/mod_gearman2/mod_gearman_worker.log-20190811
/var/log/mod_gearman2/mod_gearman_worker.log-20191227
/var/log/mod_gearman2/mod_gearman_worker.log-20191229
/var/log/mod_gearman2/mod_gearman_worker.log-20200106
/var/mod_gearman2/mod_gearman_worker.pid
I observed that none of the repository has gearmand rpm . Does this looks like the issue .
Thanks
Re: Gearman install issue
Let's try again removing the Mod Gearman 2 and rerunning the gearman 3 installer script.
Run the following commands from the command line, and show the output in case there are errors:
Run the following commands from the command line, and show the output in case there are errors:
Code: Select all
cp /etc/mod_gearman2/* /tmp/
yum remove gearmand gearmand-server gearmand-debuginfo gearmand-devel mod_gearman2 -y
sed -i 's/^broker\(.*\)gearman2\(.*\)/#broker\1gearman2\2/' /usr/local/nagios/etc/nagios.cfg
cd /tmp
./ModGearmanInstall.sh --type=serverBe sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Gearman install issue
Please find the output as below
# cp /etc/mod_gearman2/* /tmp/
cp: overwrite ‘/tmp/module.conf.nagmonus1’? y
cp: overwrite ‘/tmp/module.conf.orig’? y
cp: overwrite ‘/tmp/module.conf.rpmsave’? y
cp: overwrite ‘/tmp/worker.conf.orig’? y
cp: overwrite ‘/tmp/worker.conf.rpmsave’? y
# yum remove gearmand gearmand-server gearmand-debuginfo gearmand-devel mod_gearman2 -y
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
No Match for argument: gearmand
No Match for argument: gearmand-server
No Match for argument: gearmand-debuginfo
No Match for argument: gearmand-devel
No Match for argument: mod_gearman2
No Packages marked for removal
# cd /tmp
# ./ModGearmanInstall.sh --type=server
*******************************************************************************
Nagios Enterprises
Mod Gearman Installer Script
License:
Nagios Open Software License
Support:
XI Support Mailing List <[email protected]> (customers only)
Community Forums <http://support.nagios.com/forum/>
*******************************************************************************
Notices:
* Only run this script on a machine with no previous gearman installations
* Only run this script in server mode if the machine runs Nagios Core 4
* This script comes with absolutely no warranty, use it at your own risk
*******************************************************************************
Verifying nagios repo is installed...ok
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
*******************************************************************************
Installing the packages...
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: gearmand
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: libgearman.so.6()(64bit)
*******************************************************************************
ERROR
Unable to install packages. Please see the errors above.
To see usage, run ./ModGearmanInstall.sh --help
*******************************************************************************
# cp /etc/mod_gearman2/* /tmp/
cp: overwrite ‘/tmp/module.conf.nagmonus1’? y
cp: overwrite ‘/tmp/module.conf.orig’? y
cp: overwrite ‘/tmp/module.conf.rpmsave’? y
cp: overwrite ‘/tmp/worker.conf.orig’? y
cp: overwrite ‘/tmp/worker.conf.rpmsave’? y
# yum remove gearmand gearmand-server gearmand-debuginfo gearmand-devel mod_gearman2 -y
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
No Match for argument: gearmand
No Match for argument: gearmand-server
No Match for argument: gearmand-debuginfo
No Match for argument: gearmand-devel
No Match for argument: mod_gearman2
No Packages marked for removal
# cd /tmp
# ./ModGearmanInstall.sh --type=server
*******************************************************************************
Nagios Enterprises
Mod Gearman Installer Script
License:
Nagios Open Software License
Support:
XI Support Mailing List <[email protected]> (customers only)
Community Forums <http://support.nagios.com/forum/>
*******************************************************************************
Notices:
* Only run this script on a machine with no previous gearman installations
* Only run this script in server mode if the machine runs Nagios Core 4
* This script comes with absolutely no warranty, use it at your own risk
*******************************************************************************
Verifying nagios repo is installed...ok
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
Plugin "search-disabled-repos" can't be imported
Loaded plugins: amazon-id, rhui-lb, versionlock
*******************************************************************************
Installing the packages...
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: gearmand
Error: Package: mod_gearman-3.0.7-1.el7.x86_64 (nagios-base)
Requires: libgearman.so.6()(64bit)
*******************************************************************************
ERROR
Unable to install packages. Please see the errors above.
To see usage, run ./ModGearmanInstall.sh --help
*******************************************************************************
Re: Gearman install issue
Are you using a proxy? Is your RedHat subscription status current? What is the output of the command below?
Can you successfully update the system?
After running "yum update", you can try reinstalling Mod Gearman 3. If you haven't updated the repos with "yum update", you could be missing the updated package list from the nagios repository.
Code: Select all
subscription-manager statusCode: Select all
yum clean all
yum update -yBe sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Gearman install issue
I have tried cleaning and updating , does not work out .
Can you please let me know which repo supposed to have
gearmand gearmand-devel rpms
As i could not find in package list .
If you can pin point me the right repo then I should be able to proceed .
Please help
Can you please let me know which repo supposed to have
gearmand gearmand-devel rpms
As i could not find in package list .
If you can pin point me the right repo then I should be able to proceed .
Please help
-
swolf
Re: Gearman install issue
Here's the repository for RHEL/CentOS 7:
https://repo.nagios.com/nagios/7/
https://repo.nagios.com/nagios/7/
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Gearman install issue
Thanks
Please close the ticket
Please close the ticket