LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error when trying to install snmpd on RHEL 5 (https://www.linuxquestions.org/questions/linux-software-2/error-when-trying-to-install-snmpd-on-rhel-5-a-4175539635/)

lexu 04-13-2015 07:53 PM

Error when trying to install snmpd on RHEL 5
 
Hello All,
I am new to linux .. I am trying to install snmp on my linux box so that I can monitor performance etc in solarwinds. However when I run the following command as root
# yum install net-snmp-utils net-snmp-libs net-snmp

I get the following error below:

[root@linux~]# yum install net-snmp-utils net-snmp-libs net-snmp
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Loading "security" plugin
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 85, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 199, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 134, in doConfigSetup
self.plugins.run('init')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 76, in init_hook
login_info = up2dateAuth.getLoginInfo()
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 139, in getLoginInfo
login()
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 98, in login
li = server.up2date.login(systemId)
File "/usr/share/rhn/up2date_client/rhnserver.py", line 64, in __call__
raise up2dateErrors.SSLCertificateVerifyFailedError()
up2date_client.up2dateErrors.SSLCertificateVerifyFailedError: The SSL certificate failed verification.

Any insite on this on what I might be missing

John VV 04-13-2015 11:04 PM

this is the OLD RHEL5
so you are using the current 5.11 ?

from that output it looks like you needed a newer python than is installed by default in the LEGACY hardware OS
( rhel5 is starting to show it's age - a generation of code old )

you can NOT !!! replace python !!!
-- a big no no !!!

now you can install in a "side by side" set up a second and newer version of python

but now you have a busted "yum" and busted "rpm"
the TWO programs you need to install software with

the program you need to use to fix it is broken


contact redhat tech-support
you will have to manually replace the version of python you installed with the version in the RHN updates


redhat tech support can walk you through this


All times are GMT -5. The time now is 05:51 AM.