On Tue, Oct 5, 2010 at 1:22 PM, Naama Bar Menachem <
[email protected]> wrote:

>  Hi
>
>
>
> Is there a way to change/add community name without restarting snmpd?
>
>
>
>
>
> If not- how do I restart snmpd?
>
> When I do:
>
>  ./snmpd restart [flags]
>
> I get the following error:
>
> getaddrinfo: restart Temporary failure in name resolution
>
> Error opening specified endpoint "restart"
>
> Server Exiting with code 1
>

This is because you are trying to pass 'restart' to the daemon.
'restart' is not a valid option for the binary.
 You either have to 'kill' the process and restart it, or use some
 'service' oriented mechanism  specific to your OS/distribution

For example: on my Fedora system I use: 'service snmpd restart'
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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