Hello everyone. I'm following this http://assets.nagios.com/downloads/nagi ... ios_XI.pdf instructions to integrate Nagios XI 2014R2.0 with Mod_Gearman.
I'm stuck just on the first move.
# yum localinstall -–nogpgcheck mod_gearman-1.5.0b1-1.el6.x86_64.rpm
Loaded plugins: fastestmirror
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 294, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 115, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 251, in getOptionsConfig
(opts, self.cmds) = self.optparser.setupYumConfig(args=args)
File "/usr/share/yum-cli/cli.py", line 1456, in setupYumConfig
(opts, cmds) = self.parse_args(args=args)
File "/usr/lib64/python2.6/optparse.py", line 1396, in parse_args
self.error(str(err))
File "/usr/lib64/python2.6/optparse.py", line 140, in __str__
return _("no such option: %s") % self.opt_str
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128)
I've been googling a while but I've got only generic answers. Does anyone know what is this?
Problem Integrating NagiosXI with Mod_Gearman
Re: Problem Integrating NagiosXI with Mod_Gearman
I was not able to recreate the issue in house. Can you run the following commands and show us the output?
Code: Select all
cat /etc/*release
uname -a
whereis pythonBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem Integrating NagiosXI with Mod_Gearman
# cat /etc/*release
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
# uname -a
Linux LB2-NagiosXI 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
# whereis python
python: /usr/bin/python2.6 /usr/bin/python /usr/bin/python2.6-config /usr/lib/python2.6 /usr/lib/python2.7 /usr/lib64/python2.6 /usr/local/lib/python /usr/include/python2.6 /usr/share/man/man1/python.1.gz
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
# uname -a
Linux LB2-NagiosXI 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
# whereis python
python: /usr/bin/python2.6 /usr/bin/python /usr/bin/python2.6-config /usr/lib/python2.6 /usr/lib/python2.7 /usr/lib64/python2.6 /usr/local/lib/python /usr/include/python2.6 /usr/share/man/man1/python.1.gz
Re: Problem Integrating NagiosXI with Mod_Gearman
Try running this
Then try installing the mod_gearman rpm again.
Code: Select all
yum clean allBe sure to check out our Knowledgebase for helpful articles and solutions!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem Integrating NagiosXI with Mod_Gearman
Actually this could be a copy paste error, the command you posted is actually
when it should be this
They look the same but have a funny - in the first
Code: Select all
yum localinstall -–nogpgcheck mod_gearman-1.5.0b1-1.el6.x86_64.rpmCode: Select all
yum localinstall -–nogpgcheck mod_gearman-1.5.0b1-1.el6.x86_64.rpmRe: Problem Integrating NagiosXI with Mod_Gearman
I'm feeling stupid now
Thanks a lot.