LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Dept of utterly useless error messages

[ILUG] Dept of utterly useless error messages

Niall O Broin niall at linux.ie
Tue May 16 15:24:28 IST 2006


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell