I think I'm almost there now. Running your suggestion gave me this,

> snmpd -f -Lo -C -c snmpd.conf
Error opening specified endpoint ""
Server Exiting with code 1

I felt that the endpoint needed to get mentioned so,

> snmpd -f -Lo udp:161 -C -c snmpd.conf
Error opening specified endpoint "udp:161"
Server Exiting with code 1

I read online about using "sockstat" to see if the port was in-use,
but it turns out nothing's running there. A little later I discovered
that ports below 1024 are locked out of regular users. So I tried
running the above command with sudo (there is no root user in ubuntu)
and I get this,

> sudo snmpd -f -Lo udp:161 -C -c snmpd.conf
snmpd: error while loading shared libraries: libnetsnmpagent.so.20:
cannot open shared object file: No such file or directory

It's similar to my first problem (different email) but I can't figure
out how to get sudo to recognize my "LD_LIBRARY_PATH" variable that I
mentioned in my ".bashrc" file.

Hints/Help?

Even more puzzled,
Abraham Varricatt

On Thu, Sep 2, 2010 at 4:06 PM, rakesh zingade <rakeshzing...@gmail.com> wrote:
> Try executing snmpd on foreground
>
> # snmpd -f -Lo -C -c <path for snmpd.conf>
>
> see if it generate any error message ..
>
> check for valid config stuff in snmpd.conf.. snmpconf -g basic_setup may
> help to configure snmpd.conf
>
>
>
> On Thu, Sep 2, 2010 at 3:52 PM, Abraham Varricatt
> <abraham.varricatt+s...@googlemail.com> wrote:
>>
>> I've done a compile & install of net-snmp 5.5 according to the
>> instructions in INSTALL. How do I start the snmpd agent on my system ?
>> (Ubuntu 10.04 running in VirtualBox)
>>
>> This doesn't work,
>>
>> > snmpd -c .snmp/snmpd.conf
>> > snmpget -v 2c -c private localhost SNMPv2-MIB::sysUpTime.0
>> Timeout: No Response from localhost.
>>
>> In fact, I don't see snmpd anywhere when I try "ps -ae" either !
>>
>> Puzzled,
>> Abraham Varricatt
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net Dev2Dev email is sponsored by:
>>
>> Show off your parallel programming skills.
>> Enter the Intel(R) Threading Challenge 2010.
>> http://p.sf.net/sfu/intel-thread-sfd
>> _______________________________________________
>> 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
>
>
>
> --
> Rakesh P. Zingade
> +919420626099
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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