[opensuse-es] Problema en PDC con SAMBA
Buenas, tengo el siguiente problema en mi controlador de dominio, cada alguno minutos, alguna maquina se intenta anunciar como master, (en el ejemplo la ip 10.1.4.196) y luego se cae el servicio samba.. luego de unos segundo levanta nuevamente automaticamente.. del log que les dejo abajo es lo que entiendo por lo menos, pero no se a que se da y como solucionarlo, si alguien me puede ayudar, gracias, *May 30 11:01:21 imcpdc nmbd[30531]: process_local_master_announce: Server PCNEC230 at IP 10.1.4.196 is announcing itself as a local master browser for workgroup IMCANELONES and we think we are master. Forcing election.* May 30 11:01:21 imcpdc nmbd[30531]: [2008/05/30 11:01:21, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) *May 30 11:01:21 imcpdc nmbd[30531]: ***** May 30 11:01:21 imcpdc nmbd[30531]: **May 30 11:01:21 imcpdc nmbd[30531]: Samba name server IMCPDC has stopped being a local master browser for workgroup IMCANEL ONES on subnet 10.1.1.25 May 30 11:01:21 imcpdc nmbd[30531]: May 30 11:01:21 imcpdc nmbd[30531]: ****** May 30 11:01:21 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: connection_read(112): no connection! May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: connection_read(92): no connection! May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:23 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:24 imcpdc dhcpd: DHCPINFORM from 10.1.4.37 via eth0 May 30 11:01:24 imcpdc dhcpd: DHCPACK to 10.1.4.37 May 30 11:01:24 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:24 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:24 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:24 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:24 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:24 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:24 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:25 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:25 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:25 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:25 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:25 imcpdc slapd[3625]: <= bdb_equality_candidates: (sambaSIDList) index_param failed (18) May 30 11:01:26 imcpdc slapd[3625]: connection_read(184): no connection! May 30 11:01:26 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:26 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:26 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:26 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:26 imcpdc slapd[3625]: connection_read(186): no connection! May 30 11:01:26 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:27 imcpdc smbd[19258]: [2008/05/30 11:01:27, 0] lib/debug.c:reopen_logs(597) May 30 11:01:27 imcpdc smbd[19258]: Unable to open new log file /var/log/samba/secretaria.scarrasco.log: Permission denied May 30 11:01:27 imcpdc slapd[3625]: connection_read(191): no connection! May 30 11:01:29 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:29 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:30 imcpdc slapd[3625]: connection_read(62): no connection! May 30 11:01:30 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:30 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:30 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:30 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:31 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:32 imcpdc slapd[3625]: connection_read(96): no connection! May 30 11:01:33 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:33 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:34 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:34 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:34 imcpdc slapd[3625]: <= bdb_equality_candidates: (member) index_param failed (18) May 30 11:01:35 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:35 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:35 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:35 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:35 imcpdc slapd[3625]: connection_read(51): no connection! May 30 11:01:36 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:36 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:36 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:36 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:36 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18) May 30 11:01:37 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:37 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:37 imcpdc slapd[3625]: connection_read(110): no connection! May 30 11:01:38 imcpdc nmbd[30531]: [2008/05/30 11:01:38, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) *May 30 11:01:38 imcpdc nmbd[30531]: ***** May 30 11:01:38 imcpdc nmbd[30531]: May 30 11:01:38 imcpdc nmbd[30531]: Samba name server IMCPDC is now a local master browser for workgroup IMCANELONES on sub net 10.1.1.25 May 30 11:01:38 imcpdc nmbd[30531]: May 30 11:01:38 imcpdc nmbd[30531]: ****** May 30 11:01:38 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:38 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:38 imcpdc slapd[3625]: <= bdb_equality_candidates: (mail) index_param failed (18) May 30 11:01:38 imcpdc slapd[3625]: <= bdb_equality_candidates: (mailAlternateAddress) index_param failed (18) May 30 11:01:38 imcpdc slapd[3625]: <= bdb_equality_candidates: (uniqueMember) index_param failed (18 --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org
2008/5/30, Carlos Moreira:
Buf... ni idea :-?. Pero por los mensajes que pones del registro parece un error de ldap (slapd) más que de samba, como si no encontrará algún dato que estuviera definido (parámetros "member", "mail", "sambaSIDList", "mailAlternateAddress", etc...). No śe cómo va samba con ldap, ¿es posible que te falte crear o configurar algún sistema de indexado de estos parámetros para que ldap los encuentre? Lo digo por el mensaje que se repite de "index_param failed" :-? Saludos, -- Camaleón
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2008-05-30 a las 12:44 -0300, Carlos Moreira escribió:
El servidor imcpdc dice que el servidor PCNEC230 se anuncia a sí mismo como "master browser for workgroup IMCANELONES", y que piensa que él era el master. Forzando la convocatoria de elecciones.
May 30 11:01:21 imcpdc nmbd[30531]: [2008/05/30 11:01:21, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) **May 30 11:01:21 imcpdc nmbd[30531]: Samba name server IMCPDC has stopped being a local master browser for workgroup IMCANEL ONES on subnet 10.1.1.25
El servidor imcpdc deja de ser "local master browser for workgroup IMCANEL", es decir, ha perdido las elecciones. Del resto del log, ni idea. Mira en las configuraciones, manuales y demás alguna manera de que se convierta en dictador y no admita elecciones. O mandale un ping de la muerte al candidato pa' que cierre la boca. :-P Lo siento, ni idea. - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIQWh1tTMYHG2NR9URAherAJ4q7Dg8VXQuIMotNiuJjLv80KuCMwCfaHYF cIuBsX7YOakRuYKYn/ActCE= =BV2r -----END PGP SIGNATURE-----
Gracias por la respuesta.. una cosa mas.. vos tendrás idea como hacer para mi servidor siempre que venga algún otro equipo y se quiera anunciar como master browser, el siempre responda que tiene un nivel mas y que no fuercen elecciones.. como vos decís,... para que sea dictador...y terminemos de una vez por todas este carnaval electoral?, salu2 Carlitos Carlos E. R. escribió:
Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LSU.1.00.0806032137590.32145@nimrodel.valinor> El 2008-06-03 a las 16:13 -0300, Carlos Moreira escribió:
No, lo siento, no lo se. Las pocas veces que me he tenido que pelear con samba o he perdido o me ha costado lo suyo, no me llevo bien, no lo conozco bien. No se si por acá dirán algo :-? http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/ - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIRZ5BtTMYHG2NR9URAobbAJ9fdKWVOvFFAjIcCj90Fcu9Hmnw6ACdFK3j x8ixp7nrqK4V6AODBgAdSjM= =hSDr -----END PGP SIGNATURE-----
El Martes, 3 de Junio de 2008, Carlos E. R. escribió:
* sudo smart install samba-doc * ver /usr/share/doc/packages/samba/ * Parametros obligados * No puede haber otro PDC, ni Samba ni NT, en el dominio. * Debe haber un servidor WINS en la red, siendo Samba o NT. * Samba debe trabajar usando seguridad por usuario. domain logons = yes security = user os level = 65 <-- este nivel deberia ser suficiente local master = yes preferred master = yes domain master = yes
he intentado con el loglevel, pero no he tenido buenos resultados, osea, no me soluciona el problema, Carlos E. R. escribió:
Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org
El Martes, 3 de Junio de 2008, Carlos Moreira escribió:
he intentado con el loglevel, pero no he tenido buenos resultados, osea, no me soluciona el problema,
Si mal no estoy la variable es os level debes darle un valor alto a os level algo como os level =100 para que siempre gane cualquier eleccion Jaime V ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org
participants (5)
-
Camaleón
-
Carlos E. R.
-
Carlos Moreira
-
Jaime Velez
-
jose maria