Re: snmpd&/dev/null error
Xiang Li <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
resending because message was rejected because message size. --deleted screen-shots--- Fortunately the list administrator did not delete your message as spam because most of list members would not be able to read Chinese:) If you look at the SYNOPSIS of snmpd: snmpd [OPTIONS] [LISTENING ADDRESSES] The "-Lf" option is only supposed to be followed by a single file. If you use "snmpd -Lsd 篓CLf /var/log/snmpd.log /dev/null" then my guess is that snmpd thinks the [OPTIONS] part has ended after "-Lf /var/log/snmpd.log" and consider whatever follows as [Listening Address]. In your case the listening address would be "/dev/null". Since the Unix domain is assumed if the first character of the <LISTENING-address> is '/', and you were running snmpd as root so it can do anything, including changing /dev/null from character device into an unix domain socket. Thanks Xiang > > > On 6/2/2011 11:21 PM, 貌|li.zhang wrote: >> >> 毛禄拢卢snmpd -Lsd 篓CLf /var/log/snmpd.log /dev/null 篓Cp >> /var/run/snmpd.pid 篓Ca茂 >> >> Lsd 毛Lf露录盲鲁枚戮拢卢好济赂枚snmpd.log禄谩 陆芦/dev/null 么卤盲碌么拢卢芒 >> 赂枚篓鹿媒禄煤玫潞炉媒枚碌陆碌拢禄路鲁毛赂碌录拢卢禄禄拢禄 >> >> 麓么snmp卤篓麓铆 >> > > -- > 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