Thank a lot for help so kind ot SANJAY MADAN & Fernández Piñas, David.

Actully after checking the problem for quite a lot of time i managed to
solve it.

Just to share the problem solution, i had already snmpd process running
thats why it was giving error

Error opening specified endpoint "udp:161"
Server Exiting with code 1

it was enable to bind new process on the same udp port.

i tried ps -ef | grep snmp to check the snmp related process.
when i saw ohh snmpd is already running i used kill <<process ID>> command
to kill that process.

now when i executed snmpd it was working fine yahooo!!! :).

May be experience could help some one ;).

Thanks again for help.

Fawad.



>
> You can run snmpconf -g -i basic_setup in order to automatically copy the
> created snmpd.conf file (notice the final d) to the /usr/local/share/snmp
> directory.
>
> Start the daemon with snmpd -f -Le -Dread_config to see what configuration
> settings it's reading and from where.
>
>
>
>> -----Original Message-----
>> From: Fawad Nazir [mailto:[EMAIL PROTECTED]
>> Sent: Monday, July 12, 2004 7:15 PM
>> To: [EMAIL PROTECTED]
>> Cc: [EMAIL PROTECTED]
>> Subject: Re: SNMP Deamon Problems...
>>
>>
>> Dear All,
>>
>>
>> The Log file says so
>>
>> [EMAIL PROTECTED] log]# cat snmpd.log
>> Warning: no access control information configured.
>>   It's unlikely this agent can serve any useful purpose in this state.
>>   Run "snmpconf -g basic_setup" to help you configure the
>> snmpd.conf file
>> for this agent.
>> Error opening specified endpoint "udp:161"
>> Server Exiting with code 1
>>
>> I have run the command snmpconf -g basic_setup.
>> And done the configuration but still it does not create
>> snmp.conf file.
>>
>> Please can you help me where i am doing wrong.
>>
>> I will be thankful.
>>
>> Fawad
>>
>> > Dear All,
>> >
>> > I have installed net-snmp-5.1.1-1.rh9.
>> >
>> > ./configure
>> > make
>> > make install
>> >
>> > all is done ok.
>> >
>> > When i execute /usr/local/sbin/snmpd it gives no error. But
>> the daemon
>> > does not start. As i have checked by sending snmpwalk
>> request i got no
>> > reply.
>> >
>> > $SnmpWalk -c public -v 1 localhost system
>> >
>> > does not work.
>> >
>> > Please can some one help where i am doing wrong.
>> > i will be thankful.
>> >
>> > Best Regards,
>> >
>> > --
>> > Fawad Nazir
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.Net email sponsored by Black Hat Briefings & Training.
>> > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
>> > digital self defense, top technical experts, no vendor pitches,
>> > unmatched networking opportunities. Visit www.blackhat.com
>> > _______________________________________________
>> > 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
>> >
>>
>>
>> --
>> Fawad Nazir
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email sponsored by Black Hat Briefings & Training.
>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
>> digital self defense, top technical experts, no vendor pitches,
>> unmatched networking opportunities. Visit www.blackhat.com
>> _______________________________________________
>> 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
>>
> -------------------------------------------------------------------------------------------------------------------
> Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
> contiene información de carácter confidencial exclusivamente dirigida a su
> destinatario o destinatarios. Queda prohibida su divulgación, copia o
> distribución a terceros sin la previa autorización escrita de Indra. En el
> caso de haber recibido este correo electrónico por error, se ruega
> notificar inmediatamente esta circunstancia mediante reenvío a la
> dirección electrónica del remitente.
>
> The information in this e-mail and in any attachments is confidential and
> solely for the attention and use of the named addressee(s). You are hereby
> notified that any dissemination, distribution or copy of this
> communication is prohibited without the prior written consent of Indra. If
> you have received this communication in error, please, notify the sender
> by reply e-mail
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> 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
>


-- 
Fawad Nazir


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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