> From: Ambika Tripathy [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, November 16, 2008 3:20 PM

>       Thanks for your quick reply. Okay I used 5.4.2.1 
> version also with
> the same answer. After starting snmpd from 
> /usr/local/sbin/snmpd, I checked
> the ps -A | grep snmp and it was running. When I GDB snmpd, I 
> found it was
> taking some different port than 161. 

        Gdb?!  That's a bit extreme.  Note that snmpd may open ports other than 
the SNMP listening port.

>       Should I specify port 161 for this and how? What else setting /
> configuration option should I check.

        Look in /usr/local/etc/snmpd.conf.  If yuou're just getting started, 
`man snmpconf` for a good way to avoid getting clogged with details while 
learning.  If you don't want to run as root, make all port numbers >1024 
(preferably >8000) and put unix domain sockets (you would only use this for 
AgentX) in your own filesystem, but if you can build to /usr/local, you've got 
root priv, don'cha?


        HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to