Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to run snmptranslate on my system but it does not work, even if I did everything by tutorial from They say it should work but it doesn't.

I have a debian 6 server and net-snmp 5.4.3. I tried what they say here, the official tutorial but it still returns same error:

No log handling enabled - turning on stderr logging
MIB search path: 
Cannot find module (SNMPv2-TC): At line 10 in /usr/share/mibs/netsnmp/UCD-DLMOD-MIB
Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB
Cannot find module (SNMPv2-TC): At line 37 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB
Did not find 'enterprises' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB)
Did not find 'DisplayString' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB)
... and so on

I even created ~/.snmp/mibs directory and put there 2 cisco mibs but after I tried to run snmptranslate, I get the error.

share|improve this question
up vote 0 down vote accepted

I found a solution. I installed this package:

sudo apt-get install snmp-mibs-downloader

After installing, run this command:


It should download all necessary mibs.

share|improve this answer
It could be necessary to edit /etc/snmp/snmp.conf and comment the line with word mibs. – shadox Jun 30 '14 at 0:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.