Hi,Dave,hi all
 
I've tried the command "./snmpd -f -Le  -Dread_config" in hyper-terminal.it 
gives me the output as follows:
 
^^^^^
read_config:/usr/local/lib/snmp/snmp.conf:No such file or directory
read_config:/usr/local/lib/snmp/snmpd.conf:No such file or directory
read_config://.snmp/snmp.conf:No such file or directory
read_config://.snmp/snmp.local.conf:No such file or directory
read_config:/var/net-snmp/snmp.conf:No such file or directory
read_config:/var/net-snmp/snmp.local.conf:No such file or directory
Cannot find module (SNMPv2-MIB):At line 0 in (none)
Cannot find module (SNMPv2-SMI):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 (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)
read_config:reading normal configuration tokens
read_config:config path used:/usr/local/share/snmp:/usr/local
/lib/snmp://.snmp:/var/net-snmp
read_config:/usr/local/etc/snmp/snmpd.conf:No such file or directory
read_config:/usr/local/etc/snmp/snmpd.local.conf:No such file or directory
read_config:/usr/local/share/snmp/snmpd.conf:No such file or directory
read_config:/usr/local/share/snmp/snmpd.local.conf:No such file or directroy
read_config:/usr/local/lib/snmp/snmpd.conf:No such file or directory
read_config:/usr/local/lib/snmp/snmpd.local.conf:No such file or directory
read_config://.snmp/snmpd.conf:No such file or directory
read_config://.snmp/snmpd.local.conf:No such file or directory
read_config:/var/net-snmp/snmpd.conf:No such file or directory
read_config:/var/net-snmp/snmpd.local.conf:No such file or directory
 
^^^^^^
Warning:no access control infromation configured.
 It's unlikely this agent can serve any useful purpose in this agent.
Run "snmpconf -g basic_setup" to help you configure the snmpd.conf
file for this agent
 
Creating directory:/var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpd.conf
read_config_store open failure on /var/net-snmp/snmpd.conf
 
^^^^
NET-SNMP version 5.1.4
 
----
OK,Let me show more information about the cross-compile command:
I use the command on PC for cross-compile as follows:
 
#CC=arm-linux-gcc ./configure --host=arm-linux
 --enable-mini-agent --disable-ipv6 --with -endianness=little
 --disable-manuals --disable-scripts --disable-md5 
 --with-mib-modules="myMibModule" --sysconfdir=/tmp/yaffs
 --datadir=/tmp/yaffs
 
#make LDFLAGS='-static'
 
#make prefix=/home/embed exec_prefix=/home/embed install
 
it works fine.
 
what's the matter with the embedded device?
 
Thank all of you!
 
-----------original message----------------------
On 22/06/07, Goodshirly <[EMAIL PROTECTED]> wrote:>  when I run the command 
%./snmpd -f -L DmyMibModule>>  it gives me the output as follows:> Warning:no 
access control information configured.->  It seems that the snmpd still can not 
find the snmpd.conf.> How to fix this problem?Where *exactly* is it looking for 
the snmpd.conf file?Try running    ./snmpd -f -Le  -Dread_configand check the 
debug output for the search list.Dave
_________________________________________________________________
通过 Live.com 查看资讯、娱乐信息和您关心的其他信息!
http://www.live.com/getstarted.aspx
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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