Thank you for your answer; I understand what you mean, but I would like to know snmpd by which of the function changes the listening address; you know / dev / null is a block device file, the general order can not be changed;
please help one again ; Thank you ; 张莉 [email protected] 发件人: Xiang Li [mailto:[email protected]] 发送时间: 2011年6月4日 10:16 收件人: "张莉|li.zhang" 抄送: [email protected] 主题: Re: 答复: snmpd&/dev/null error I think I already answered your question. But here I am willing to try one more time. the way you specified the command: snmpd -Lsd �CLf /var/log/snmpd.log /dev/null This causes the snmpd argument parser to take "/dev/null" as the "listening address". Normally you would be specifying something like 192.168.2.1:161. But since you used /dev/null at that place, the parser would treat it as an "Unix domain socket" and try to open it. While it is trying to open it it changed its permission from character device (you saw a'c' before) into an unix domain socket (you saw a 's' after). In your words /dev/null "文件属性 从c 变成了s". The snmpd argument parser assumes the listening address is an Unix domain if the first character of the <transport-address> is '/'. I suggest you simply remove /dev/null from your config. Xiang On 6/3/2011 8:47 PM, 张莉|li.zhang wrote: Dear li: Thanks for your help; I already know; snmpd -Lsd �CLf /var/log/snmpd.log /dev/null is wrong; but the / dev / null attributes to change; I do not understand what is advanced through the command or function to / dev / null change, I want to know the reason; If you can not be answered here, I trouble you to reflect the higher engineers deep problems; for that; Thank you; Thank you _______________________________________________ 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 -- Xiang Li http://www.champnms.com -- Xiang Li http://www.champnms.com
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________ 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
