On 16 May 2006, at 15:11, Timothy Murphy wrote:
> On Tuesday 16 May 2006 14:43, you wrote:
>>>> May 16 13:46:50 alfred snmpd[2324]: netsnmp_assert index == tmp
>>> failed
>>> if-mib/data_access/interface.c:468 _access_interface
>>> _entry_save_name()
>>>>>> Linux error messages really are ubelievably bad.
> ...
>>> How could any sane person write a program which produces the above
>>> message?
>>>> It's an excellent error message for the programmer, which is why the
>> programmer put it in the code. The author(s) of snmpd should be able
>> to shed some light on it.
>> Are error messages private epistles from programmers to themselves?
>> In my opinion, any error message should at least hint
> at how you can correct it.
It does - it has told you that netsnmp_assert failed, with index ==
tmp, and it even gave a code line number for the failure. The fact
that you don't know enough about snmp to fix it is hardly the
programmer's fault. It may well be that it's a hairy enough error
that only an snmp expert can fix it.
As I said earlier, snmpd is hardly a tool for the end user's desktop
anyway, so just shut it down, and stop worrying about the error
messages.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!