I am working my way through the ModGearman installation docs and ran into an issue when trying to install it on the worker. I received the error message below, the script ran fine on the XI server install. Any ideas?
ERROR
Invalid distribution: . Note: DEB-based distributions are no longer supported by this script.
Issues with ModGearman worker script
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Issues with ModGearman worker script
HI,
Unfortunately, there are some compatibility issues on Debian/Ubuntu and mod-gearman packages provided by our installer supports Cent / RHEL right now.
Let me know if you have further questions.
Best Regards,
Benjamin
Unfortunately, there are some compatibility issues on Debian/Ubuntu and mod-gearman packages provided by our installer supports Cent / RHEL right now.
Integrating Mod-Gearman With Nagios XIMod Gearman is supported on the following distributions:
• CentOS/ RHEL/OracleLinux 7+
Let me know if you have further questions.
Best Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issues with ModGearman worker script
The error message was received on a CentOS 8 server. The script ran fine on the same OS for the server install portion. I assumed the worker install would work as well, are we currently limited to CentOS 7 if we want to use ModGearman?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Issues with ModGearman worker script
Hi,
We've been able to replicate this issue. I'm working with QA on this right now and filing a bug report to get it fixed. Thanks for bringing this to our attention.
Benjamin
We've been able to replicate this issue. I'm working with QA on this right now and filing a bug report to get it fixed. Thanks for bringing this to our attention.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issues with ModGearman worker script
It seems like you found a bug with the MG worker script. Try the following:
1. Make sure that the nagios repo is installed. If it's not, you can install it by running:
2. Open the ModGearmanInstall.sh script in a text editor, e.g. vi, go to line 155, and change it from this:
to this:
Save and exit.
3. Run the script:
Let us know if this helped.
1. Make sure that the nagios repo is installed. If it's not, you can install it by running:
Code: Select all
rpm -Uvh https://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpmCode: Select all
if rpm -q centos-release; thenCode: Select all
if rpm -q centos-release || rpm -q centos-linux-release; then3. Run the script:
Code: Select all
./ModGearmanInstall.sh --type=workerBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issues with ModGearman worker script
That appears to have done the trick. Thank you for the help.
Re: Issues with ModGearman worker script
You are welcome! I am glad I could help! 
Be sure to check out our Knowledgebase for helpful articles and solutions!