Ok, it was rather late in the evening, but still not the smartest thing to do.
Managed to do a
rm -r /usr/share/snmp
And now snmp isn't working very well anymore...
Anyone knows if the needed files can be restored by apt-get some particular package, or is some other tweak needed?
I have messed around with removing/installing snmp and snmpd again, but no luck (I get the directory /usr/share/snmp/snmpconf-data back again, but a
snmpwalk -Os -c public -v 1 localhost
still fails.
I am for example missing all the mib files normally in /usr/share/snmp/mibs/, but I think /usr/share/snmp also included some other directories.
Could some nice soul maybe zip together their /usr/share/snmp and post it here..? I have a feeling a plain replacement of the files could do the trick.
Thanks,
Göran
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Oops, deleted some snmp files...
Re: Oops, deleted some snmp files...
Hi,
I don't have snmp installed but I took a quick look at http://packages.deian.org and I think it is the package 'libsnmp-base' that you should try and reinstall.
/Johan
I don't have snmp installed but I took a quick look at http://packages.deian.org and I think it is the package 'libsnmp-base' that you should try and reinstall.
/Johan
-
- Posts: 57
- Joined: 25 Aug 2007, 11:56
Re: Oops, deleted some snmp files...
Indeed, that did it - thanks for the suggestion.
/Göran
/Göran