Can't locate SNMP.pm in @INC (you may need to install the SNMP module)
I have tried to install the net-snmp-perl in Azure VM(CentOS 8) by following the stor2rrd LAN installation steps.
While installing,
Facing the above error. Not able to understand why I'm getting this error.
It's seems like CentOS 8 is not supporting net-snmp-perl package.
But, I've added the LAN switch and test the results.
It's gave the below error.
Can't locate SNMP.pm in @INC (you may need to install the SNMP module)
Can please help me on this.
While installing,
[root@DEV ~]# yum install net-snmp-perl
Last metadata expiration check: 0:49:44 ago on Tue 03 Mar 2020 11:28:31 AM UTC.
No match for argument: net-snmp-perl
Error: Unable to find a match
Facing the above error. Not able to understand why I'm getting this error.
It's seems like CentOS 8 is not supporting net-snmp-perl package.
But, I've added the LAN switch and test the results.
It's gave the below error.
Can't locate SNMP.pm in @INC (you may need to install the SNMP module)
Can please help me on this.
Comments
-
Hi,
we have already seen this issue before.
1. You have to remove installed modules.yum remove net-snmp net-snmp-libs net-snmp-agent-libs net-snmp-utils
2. Download these packages from: https://pkgs.org/download/net-snmp --> CentOS8 --> OKey x86_64repo.okay.com.mx/centos/8/x86_64/release//net-snmp-perl-5.8-7.el8.2.x86_64.rpm
repo.okay.com.mx/centos/8/x86_64/release//net-snmp-5.8-7.el8.2.x86_64.rpm
repo.okay.com.mx/centos/8/x86_64/release//net-snmp-utils-5.8-7.el8.2.x86_64.rpm
repo.okay.com.mx/centos/8/x86_64/release//net-snmp-agent-libs-5.8-7.el8.2.x86_64.rpm
repo.okay.com.mx/centos/8/x86_64/release//net-snmp-libs-5.8-7.el8.2.x86_64.rpm
# yum install ./net-snmp-perl-5.8-7.el8.2.x86_64.rpm ./net-snmp-5.8-7.el8.2.x86_64.rpm ./net-snmp-utils-5.8-7.el8.2.x86_64.rpm ./net-snmp-libs-5.8-7.el8.2.x86_64.rpm ./net-snmp-agent-libs-5.8-7.el8.2.x86_64.rpm
# rpm -qa| grep snmp
net-snmp-agent-libs-5.8-7.el8.2.x86_64
net-snmp-perl-5.8-7.el8.2.x86_64
net-snmp-utils-5.8-7.el8.2.x86_64
net-snmp-libs-5.8-7.el8.2.x86_64
net-snmp-5.8-7.el8.2.x86_64
It should help, let us know, thanks. -
Hi ,
It works fine.
Thank you for your time and help Karel.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 43 XORMON NG
- 25 XORMON
- 152 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle