thanks a lot for the prompt reply. for the table i have somehow managed by adding a check for NULL,
but no luck with the latter.
running nmap does show udp 161 open , but there is no snmpd process. then i guess i need to know how to manage
ports ?
Lamdor Franklin wrote:
Hi Anupa,
I this that there must be some problem in your code.
- When u try to set the row which does not exist it must and throwing for me error like 'no instance exist'. I suggest to check that perticular communication code between snmpd and client.
- you may not be closing your port properly after the use otherwise it will not show the port is under usage. better use 'nmap' command to find out the port is still under usage or not.
good luck.
----- Original Message ----- From: "Anupama Qanungo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 23, 2004 11:53 AM
Subject: snmpd crash on adding row to table
hi! I have successfully compiled many table modules using mib2c.iterate_access.conf. It works great. There is just one problem - in the _get_first_data_point - I call my initialization module which then passes on the addresses of structures to my_data_context. Now the problem comes when I try to set a value in a non-existant row. Since my program returns a NULL for that row - should it not show "variable does not exist"- instead snmpd crashes. The second problem was the fact that snmpd would not start at some times - saw the log it gives udp 161 error - but when I do a ps I dont see any snmpd running - and I dont think I have any other process which uses that port number. All this is on an embedded device and I have to restart the whole board to fix things. I am working on ARM-Linux platform. Thanks a lot for the continuous support till now A quick response to this too will be highly appreciated Thanks again
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
