RE: Ayuda

Fernández Piñas, David <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 
SELinux is preventing /usr/sbin/snmpd (snmpd_t) "create" access to <Unknown> (snmpd_t)

SELinux no deja al agente SNMP abrir el puerto snmp para escuchar peticiones.


-----Mensaje original-----
De: NOC-BBY-MetroAntel [mailto:[email protected]] 
Enviado el: miércoles, 28 de enero de 2009 13:51
Para: 'Mike Ayers'
CC: [email protected]
Asunto: RE: Ayuda

In /var/log/messages I have this

Jan 28 07:49:04 customer-195-42 snmpd[28237]: could not open netlink socket Jan 28 07:49:04 customer-195-42 last message repeated 10 times Jan 28 07:49:04 customer-195-42 snmpd[28237]: netsnmp_prefix_listen: Bind failed. Exiting thread Jan 28 07:49:05 customer-195-42 kernel: DROP WAN: IN=eth0 OUT= MAC=00:08:a1:ab:8d:b7:00:01:42:2c:5b:db:08:00 SRC=196.14.169.11
DST=200.25.195.42 LEN=131 TOS=0x00 PREC=0x00 TTL=106 ID=1725 PROTO=UDP
SPT=12304 DPT=27462 LEN=111 
Jan 28 07:49:06 customer-195-42 setroubleshoot:      SELinux is preventing
/usr/sbin/snmpd (snmpd_t) "create" access to <Desconocido> (snmpd_t).
For complete SELinux messages. run sealert -l
ef0154be-9bca-4659-b7bf-38bdadee3188
[root@customer-195-42 snmp]#




-----Mensaje original-----
De: Mike Ayers [mailto:[email protected]] Enviado el: Martes, 27 de Enero de 2009 20:02
Para: NOC-BBY-MetroAntel
CC: [email protected]
Asunto: RE: Ayuda

> From: NOC-BBY-MetroAntel [mailto:[email protected]]
> Sent: Tuesday, January 27, 2009 4:18 PM

> [root@customer-195-42 ~]# rm /var/run/snmpd.pid
> rm: ¿borrar el fichero regular «/var/run/snmpd.pid»? (s/n) s
> [root@customer-195-42 ~]#
> 
> [root@customer-195-42 ~]# /etc/init.d/snmpd start Iniciando snmpd: [  
> OK  ]
> [root@customer-195-42 ~]# /etc/init.d/snmpd status snmpd interrumpido 
> pero existe un archivo pid
> [root@customer-195-42 ~]#

	!!!

	Hmmmm....

	cambie por favor:

> # Ramas MIB que se permiten ver
> 
> ## name incl/excl subtree mask(optional)
> 
> view all included .1 80

	a:

# Ramas MIB que se permiten ver
## name incl/excl subtree mask(optional) view all included .1.3 C0 view none excluded .1.3 C0

	Mire en /etc/init.d/snmpd para encontrar la localización del snmpd ejecutable, entonces:

$ /path/to/snmpd -Le -f

	Corte y pegar por favor la salida.


	Gracias,

Mike

----------------------------------------------------------------------------
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.