Hi Dave,
   It is a new machine without any net-snmp installed I downloaded the
code(from cvs) and did make to compile the net-snmp code with the parent
process code and when I executed the parent process it started the
net-snmp thread and I got the error do I have to do anything extra here
(I even exported the LD_LIBRARY_PATH with all the shared object library
file path) else do I have to do make install. Another question is when
snmpd is started where I searched for the MODULES like 
For eg if snmpd is present in /usr/local/sbin it searches for the
library in ../libs or someother place.

"netsnmp_inject_handler() called illegally
netsnmp_assert handler != ((void *)0) failed agent_handler.c:329
netsnmp_inject_handler_before()
netsnmp_inject_handler() called illegally
netsnmp_assert handler != ((void *)0) failed agent_handler.c:329
netsnmp_inject_handler_before()
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)"

-----Original Message-----
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 14, 2006 5:32 PM
To: Sasikumar Bodathula (WT01 - Broadband Networks)
Cc: [email protected]
Subject: Re: snmpd startup error

On Sat, 2006-02-11 at 16:17 +0530, [EMAIL PROTECTED] wrote:
> Hi,
>    I am using snmpd as thread in my process when start the process i 
> am getting the following error. This is working in my machine but when

> i tar the entire setup and reconfigure the agent in another machine i 
> am getting this error

The most likely cause is that you've not copied everything across.
What are the contents of the tar file?

Was there already a version of Net-SNMP on the destination machine
before you started?  If so, did you remove it first?

Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to