Page 2 of 3

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Wed Jan 21, 2015 7:54 am
by ukboarder
Same issue tgriep I'm afraid

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Wed Jan 21, 2015 10:02 am
by tgriep
Can you run the following and post the results back.

Code: Select all

rpm -qa | grep snmp
ll /usr/share/snmp/mibs
ps aux |grep snmp
cat /etc/group

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Wed Jan 21, 2015 11:08 am
by ukboarder
Hi,

Please find attached the output from these commands as requested
commandoutputs.txt
Thanks
Nick

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Wed Jan 21, 2015 1:01 pm
by tgriep
Could you run these also and post the output?

Code: Select all

 which addmib
 which snmpttconvertmib
 which snmptraphandling.py
 
 snmpttconvertmib --version
 snmptt --version
 ll /usr/local/bin
 
 cat /etc/snmp/snmptt.conf
 cat /etc/snmp/snmptt.ini
 cat /etc/snmp/snmptrapd.conf

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Thu Jan 22, 2015 3:24 am
by ukboarder
Hi,

Here are the details you requested
Commandoutputsv2.txt
Thanks

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Thu Jan 22, 2015 1:21 pm
by tgriep
Can you run this on the server while you try to upload the MIB file and post the output?

Code: Select all

tail -f /var/log/httpd/error_log
Here is another post with the same error you are having. Maybe it will work for you.

http://support.nagios.com/forum/viewtop ... =6&t=30410

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Fri Jan 23, 2015 3:28 am
by ukboarder
Hi,

We have removed it already and reinstalled with the file from the integrating SNMP document

Our error log is here -
error_log.txt

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Fri Jan 23, 2015 10:49 am
by scottwilkerson
A few more permissions checks

Code: Select all

ls -al /etc/snmp
ls -ld /usr/local/bin
ls -al /usr/share/snmp

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Fri Jan 23, 2015 10:52 am
by tgriep
It looks like the installer didn't run all of the way. Can you try this from a command line, log the output and post the results back?

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/scripts/NagiosXI-SNMPTrap-setup.sh
sh ./NagiosXI-SNMPTrap-setup.sh

Re: Failed to convert uploaded file to snmptt mib.. (rc: 127

Posted: Mon Jan 26, 2015 10:02 am
by ukboarder
Hi Guys,

Thanks for all of your help.. it looks like re-running the install script again seems to have resolved the issue, third time lucky

Thanks
Nick