Re: Cannot start snmpd agent
"Rabindra Paikaray" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi switch to root user and then try to start from there. I think this will help. You can start simply by giving #snmpd -c /usr/local/share/snmp/snmpd.conf This will start your agent in 161 port by default. On 12/3/08, Mitul Sen (misen) <[email protected]> wrote: > > It looks like the snmp agent is not starting because of the following > error which I see in the debug logs > > ......... > > verbose:udpEndpointTable:udpEndpointTable_container_init: called > > verbose:socket:buffer: Original server send buffer is 111616 > > verbose:socket:buffer: New server send buffer size is smaller than > original! > > verbose:socket:buffer: Original server receive buffer is 111616 > > verbose:socket:buffer: New server receive buffer size is smaller than > original! > > *Error opening specified endpoint ""* > > *Server Exiting with code 1* > > Again, any help will be much appreciated. > > Regards, > > Mitul > > > > > ------------------------------ > *From:* Mitul Sen (misen) > *Sent:* Tuesday, December 02, 2008 6:48 PM > *To:* '[email protected]' > *Subject:* Cannot start snmpd agent > > > > I am new to snmp and net-snmp and am trying to go through tutorials to set > up an snmp agent > > I configured the agent but am not able to start snmpd. When I run the > following command, it does not seem to do anything and continues to run > forever unless I explicitly kill the snmpd process > > misen@misen-desktop:~/work/snmp/net-snmp-5.4.2.1$ sudo snmpd -Le -C -c > /usr/local/share/snmp/snmpd.conf :10161 misen@misen-desktop:~/work/snmp/net-snmp-5.4.2.1$ > NET-SNMP version 5.4.2.1 > > misen@misen-desktop:~/work/snmp/net-snmp-5.4.2.1$ ps -eaf|grep snmp > > root 8855 1 0 18:29 ? 00:00:00 snmpd -Le -C -c > /usr/local/share/snmp/snmpd.conf :10161 > > misen 8858 5926 0 18:31 pts/2 00:00:00 grep snmp > > If I try to start the agent using the following command, the snmp agent > does not start. > > misen@misen-desktop:~/work/snmp/net-snmp-5.4.2.1$ /usr/local/sbin/snmpd > > misen@misen-desktop:~/work/snmp/net-snmp-5.4.2.1$ ps -eaf|grep snmp > > misen 8863 5926 0 18:33 pts/2 00:00:00 grep snmp > > What am I doing wrong? How can I figure out whats going on? > > Any help will be much appreciated. > > > ------------------------------------------------------------------------- > 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 > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > ------------------------------------------------------------------------- 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users