I am trying to use net-snmp version 5.5 that has been cross compiled for a 
coldfire.

If I launch net-snmp like this (I know...just wait):
./snmpd -f -Lo
I get a response like this:
Warning: no access control information configured.
  It's unlikely this agent can serve any useful purpose in this state.
  Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for 
this agent.

Which I would expect (a -DALL) will show that it loads all the mibs etc and 
does bunches of processing before exiting as it should
The amount of debug code that is produced leads me to believe that the compile 
must have gone as planned, and the program terminates itself appropriately.

HOWEVER

If I make a very simple config file like this:
agentaddress 192.168.111.40
syslocation Location
syscontact Contact
rwcommunity private

and launch the net-snmp like this:

./snmpd -f -DALL -Lo -Cc /tmp/snmp.conf

The last lines will be:
trace: read_config(): ../../snmplib/read_config.c, 777:
read_config: /tmp/snmp.conf:4 examining: rwcommunity private
trace: run_config_handler(): ../../snmplib/read_config.c, 498:
read_config: Found a parser.  Calling it: rwcommunity / private

and then the program exits. No code, no nothing just terminates. Any idea what 
might be going on here? How would one start to debug this? Any suggestions are 
greatly appreciated.

Thank you in advance,
Jordan


IMPORTANT NOTICE:  This communication, including any attachments, is the 
property of FreeWave Technologies, Inc. and may contain proprietary, 
confidential, or privileged information. Unauthorized use or disclosure of this 
communication is strictly prohibited and may be unlawful. Information contained 
herein may be subject to a Proprietary Information / Non-Disclosure Agreement 
and shall be maintained in confidence and not disclosed to third parties 
without the written consent of FreeWave Technologies, Inc. If you have received 
this communication in error, please immediately notify the sender and destroy 
all copies of the communication and any attachments.

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to