Re: [CentOS-es] pregunta de shell script
On 07/07/2010 05:49 PM, samuel correa wrote: Hola a todos. Tengo un pregunta. Lo que sucede es que estoy haciendo un sistema de clonación y restauración de imagenes basado en Clonezilla y quiero que ese sistema sea totalmente autónomo. En un punto, el cliente que intenta restaurar su imagen ejecuta en un script un comando parecido a este donde establece una conexión ssh: *ssh usua...@192.168.50.100 mailto:usua...@192.168.50.100* pero en pantalla, me aparece lo siguiente: * The authenticity of host '192.168.30.100 (192.168.30.100)' can't be established. RSA key fingerprint is a7:da:a2:13:e0:88:11:1f:1c:68:27:ba:93:55:b4:5f. Are you sure you want to continue connecting (yes/no)? * quedando a la espera de que le ingresen por teclado un yes. Mi pregunta es la siguiente: Es posible que al ejecutar el script, el comando que intenta hacer la coneción ssh. tenga como parametro o algo asi ese yes para que pase derecho? Gracias. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Pero esto se ejecuta sólo una vez y la fingerprint queda almacenada en el .ssh/know_host ... por lo que la primera vez lo deberías hacer tu desde cada uno de los equipos y ya la segunda vez no lo haría En realidad soy nuevo en centos espero no equivocarme demasiado ... pero la cosa la menos en Debian es así y como ssh es un software para todas las distros entonces debería funcionar... salu2 :) ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Duda sobre freenx
saludos. Es factible usar los paquetes de freenx de centos 5.5 en RHEL5.5? de ser haci cuales son las dependencias qe usa. gracias. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] pregunta de shell script
Hola Alberto. Tienes toda la razón en lo que dices, pero resulta que el S.O. se carga por PXE en la maquina cliente, entonces realmente todas las veces que se incia con ese S.O para el cliente es como si se iniciara por primera vez, ya que el inicia ese S.O y restaura una imagen previamente creada. -SAMUEL- 2010/7/7 Alberto Rivera M. rivera.albe...@gmail.com On 07/07/2010 05:49 PM, samuel correa wrote: Hola a todos. Tengo un pregunta. Lo que sucede es que estoy haciendo un sistema de clonación y restauración de imagenes basado en Clonezilla y quiero que ese sistema sea totalmente autónomo. En un punto, el cliente que intenta restaurar su imagen ejecuta en un script un comando parecido a este donde establece una conexión ssh: *ssh usua...@192.168.50.100* pero en pantalla, me aparece lo siguiente: * The authenticity of host '192.168.30.100 (192.168.30.100)' can't be established. RSA key fingerprint is a7:da:a2:13:e0:88:11:1f:1c:68:27:ba:93:55:b4:5f. Are you sure you want to continue connecting (yes/no)? * quedando a la espera de que le ingresen por teclado un yes. Mi pregunta es la siguiente: Es posible que al ejecutar el script, el comando que intenta hacer la coneción ssh. tenga como parametro o algo asi ese yes para que pase derecho? Gracias. ___ CentOS-es mailing list centos...@centos.orghttp://lists.centos.org/mailman/listinfo/centos-es Pero esto se ejecuta sólo una vez y la fingerprint queda almacenada en el .ssh/know_host ... por lo que la primera vez lo deberías hacer tu desde cada uno de los equipos y ya la segunda vez no lo haría En realidad soy nuevo en centos espero no equivocarme demasiado ... pero la cosa la menos en Debian es así y como ssh es un software para todas las distros entonces debería funcionar... salu2 :) ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Duda sobre freenx
Configura el repo de DAG o el de RPMFORGE en el servidor que tiene RED HAT, luego simplemente yum install freenx Saludos. Carlos R! El 7 de julio de 2010 17:35, Pcontreras pcontre...@gmail.com escribió: saludos. Es factible usar los paquetes de freenx de centos 5.5 en RHEL5.5? de ser haci cuales son las dependencias qe usa. gracias. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Carlos Restrepo M. Administrador de Sistemas Profesional Linux LPI 101 - 102 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] hola listeros
Estoy recién ingresando a esta lista porque utilizo mucho Debian y para desktops Ubuntu, no tengo mucha experiencia en el CentOs ... por lo que este es mi primer mensaje :) no sé si están llegando y no tengo ni una consulta por el momento, a menos que alguien tenga el script para instalar de forma correcta el ISPConfig sobre Centos 5.5. Saludos :) ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] hola listeros
On 07/08/2010 12:23 PM, Alberto Rivera M. wrote: Estoy recién ingresando a esta lista porque utilizo mucho Debian y para desktops Ubuntu, no tengo mucha experiencia en el CentOs ... por lo que este es mi primer mensaje :) no sé si están llegando y no tengo ni una consulta por el momento, a menos que alguien tenga el script para instalar de forma correcta el ISPConfig sobre Centos 5.5. Saludos :) ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Podes verlo aca http://www.howtoforge.com/perfect-server-centos-5.5-x86_64-ispconfig-3 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Duda sobre freenx
*Me llama mucho la atención: TRES errores ortográficos en una palabra de CUATRO letras La palabra ASÍ se escribe sin H, con S, y con tilde el la Í* - *En la caja decia: Requiere Windows XP o superior... Entonces instalé LINUX.* - [CentOS-es] Duda sobre freenx *Pcontreras* pcontrerax en gmail.com centos-es%40centos.org?Subject=%5BCentOS-es%5D%20Duda%20sobre%20freenxIn-Reply-To=%3CAANLkTik2WkxXsAZkW-ZyN7IuKZDh9RXQh0csEUTbTUbz%40mail.gmail.com%3E *Mie Jul 7 18:35:36 EDT 2010* saludos. Es factible usar los paquetes de freenx de centos 5.5 en RHEL5.5? de ser *haci* cuales son las dependencias qe usa. gracias. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] (sin asunto)
Hola amigos como puedo montar un lector de cd externo usb en modo de rescate? ejecuto fdisk -l y no me aparece un ningun /dev/sdbx Teofilo Copa Fernandez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] error rpm %post rpm scriptlet failed exit status 255
Hola amigos de la lista estoy tratando de recuperar un sistema con redhat enterprise 4 pero cuando ejecuto rpm -Uvh --replacefiles --replacepkgs miarchivo.rpm me sale este error : %post rpm scriptlet failed exit status 255 les adjunto una imagen: http://yfrog.com/45dsc06112j estoy en modo prueba de fallos Teofilo Copa Fernandez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] montar un lector de cd externo usb en modo de rescate
Teofilo Copa Fernandez El día 8 de julio de 2010 18:27, Teofilo copa teox...@gmail.com escribió: Hola amigos como puedo montar un lector de cd externo usb en modo de rescate? ejecuto fdisk -l y no me aparece un ningun /dev/sdbx Teofilo Copa Fernandez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] montar un lector de cd externo usb en modo de rescate
2010/7/8 Teofilo copa teox...@gmail.com: Teofilo Copa Fernandez El día 8 de julio de 2010 18:27, Teofilo copa teox...@gmail.com escribió: Hola amigos como puedo montar un lector de cd externo usb en modo de rescate? ejecuto fdisk -l y no me aparece un ningun /dev/sdbx Has probado a arrancar el sistema de rescate con el dispositivo conectado? -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] error rpm %post rpm scriptlet failed exit status 255
On Thu, Jul 8, 2010 at 7:32 PM, Teofilo copa teox...@gmail.com wrote: Hola amigos de la lista estoy tratando de recuperar un sistema con redhat enterprise 4 pero cuando ejecuto rpm -Uvh --replacefiles --replacepkgs miarchivo.rpm me sale este error : %post rpm scriptlet failed exit status 255 les adjunto una imagen: http://yfrog.com/45dsc06112j estoy en modo prueba de fallos Y el sistema de rescate ha detectado correctamente tu instalación, y luego has hecho chroot /mnt/sysimage? Y otros comandos (como ls, cat) funcionan? -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] error rpm %post rpm scriptlet failed exit status 255
hola eduardo gracias por tu respuesta. Si cambie la raiz a /mnt/sysimage estube investigando y me parece q es por el selinux estube revisando en los foros. http://bugs.centos.org/view.php?id=1325 http://www.fedoraforum.org/forum/showthread.php?t=64826 lo probare mañana cuando regrese Teofilo Copa Fernandez El día 8 de julio de 2010 19:03, Eduardo Grosclaude eduardo.groscla...@gmail.com escribió: On Thu, Jul 8, 2010 at 7:32 PM, Teofilo copa teox...@gmail.com wrote: Hola amigos de la lista estoy tratando de recuperar un sistema con redhat enterprise 4 pero cuando ejecuto rpm -Uvh --replacefiles --replacepkgs miarchivo.rpm me sale este error : %post rpm scriptlet failed exit status 255 les adjunto una imagen: http://yfrog.com/45dsc06112j estoy en modo prueba de fallos Y el sistema de rescate ha detectado correctamente tu instalación, y luego has hecho chroot /mnt/sysimage? Y otros comandos (como ls, cat) funcionan? -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] hola listeros
On 07/08/2010 02:04 PM, root wrote: On 07/08/2010 12:23 PM, Alberto Rivera M. wrote: Estoy recién ingresando a esta lista porque utilizo mucho Debian y para desktops Ubuntu, no tengo mucha experiencia en el CentOs ... por lo que este es mi primer mensaje :) no sé si están llegando y no tengo ni una consulta por el momento, a menos que alguien tenga el script para instalar de forma correcta el ISPConfig sobre Centos 5.5. Saludos :) ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Podes verlo aca http://www.howtoforge.com/perfect-server-centos-5.5-x86_64-ispconfig-3 Si es el mismo que utilice :) gracias por la respuesta pense que estaba sólo ... saludos y gracias nuevamente ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] (sin asunto)
Si haz conectado bien y linux lo ha reconocido, deberia aparecer con fdisk -l, luego crear la carpeta donde montaras el dispo externo, y indicarle la ruta, creo q era en consola algoa si, mount /dev/el q te aparece /home/miparticionparamonstar, aqui hay mas info para leer http://www.linuxparatodos.net/portal/staticpages/index.php?page=como-montdisco receurda q es para todo dispositivo, asi q cualqier cosa conectada y reconocida sevisualiza con el comando q psuiste, salu2 Edgar Rodolfo: https://fedoraproject.org/wiki/User:Edgarr789 http://cybernautape.wordpress.com El 8 de julio de 2010 17:27, Teofilo copa teox...@gmail.com escribió: Hola amigos como puedo montar un lector de cd externo usb en modo de rescate? ejecuto fdisk -l y no me aparece un ningun /dev/sdbx Teofilo Copa Fernandez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Busqueda de archivos
Buenas noches señores listeros tengo una pequeña duda Resulta que estoy haciendo una réplica de algunos directorios, algo así como un raid 1 entre dos máquinas pero necesito saber como afecta un grupo de aplicaciones en el sistema ya que no se puede copiar toda la estructura, por lo mismo he pensado hacer todas las modificaciones necesarias y luego hacer un find . -mtime -1 modificados.txt ... pero no sé si servirá para toodo el sistema ... Alguna idea de como identificar esto salu2 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Networking just stopped working
On 08/07/10 15:41, Christopher Chan wrote: No new boxes. Not possible for any other box to be assigned the same ip internally via dhcp and definitely not the same Internet ip. Exactly. DHCP server would check for a conflict before assigning an address and is definitely not the source of the problem. Perhaps you care to explain why BOTH vlan interfaces stopped working? The odd chance that two other boxes each took one of the other ip address? Did not know that both had stopped. Conflicting IP addresses was just a suggestion. May not be the problem at all. With bonding, breaking one might break both down at the MAC level ... Hmmm ... which bond mode are you using? The box with the problem just so happens to be the only box using bonding, 802.1q and a four port Qlogic Netxen NIC. I think the chances of there being a problem between these three more likely than some 'ghost' boxes getting assigned the same ip addresses when I am the only admin around. If you are the only admin, then its not that likely. Then again, I once had a power spike reset a wireless router on my network without me knowing. Default settings were close by not quite right, and it took me a couple of days to track down the problem :-( If it was working, then suddenly stops, then something must have changed. I gather you have some configuration and change management system in place? Backups of conf files? K ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
Did not know that both had stopped. Conflicting IP addresses was just a suggestion. May not be the problem at all. With bonding, breaking one might break both down at the MAC level ... Hmmm ... which bond mode are you using? Why mode 4 of course. The box with the problem just so happens to be the only box using bonding, 802.1q and a four port Qlogic Netxen NIC. I think the chances of there being a problem between these three more likely than some 'ghost' boxes getting assigned the same ip addresses when I am the only admin around. If you are the only admin, then its not that likely. Then again, I once had a power spike reset a wireless router on my network without me knowing. Default settings were close by not quite right, and it took me a couple of days to track down the problem :-( Too bad there are no defaults that use the subnet assigned to the school or the 192.168.0.0/16 (no, not my idea - inherited) If it was working, then suddenly stops, then something must have changed. I gather you have some configuration and change management system in place? Backups of conf files? Hahaha, that was the best part. It just stopped. And stayed that way too after a reboot, reboot of switches and only started working again when I ran tcpdump for some reason. But another colleague did find this in the iLo report: Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 3) Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 4) Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 1) Repaired Network 07/06/2010 12:01 07/06/2010 12:00 1 Network Adapter Link Down (Slot 10, Port 2) Time to ask the HP chap what this is all about. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mount cannot find system /dev/root
Hi, guys: I attempt to compile a kernel on CentOS 5.3 i386 which is installed in the Virtualbox machine, and its kernel version is 2.6.18-128.el5 ,the new kernel version is 2.6.34.1 All make procedure is running ok. I can generate initrd image with no problem too. But, when I try booting this kernel, I get Kernel panic error message like these: mount: could not find filesystem '/dev/root' setuproot: moving /dev failed: No such file or directory setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! I don't know what is going on here!! Thanks if somebody will be able to help me! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
On 07/08/2010 05:08 PM, Christopher Chan wrote: Hmmm ... which bond mode are you using? Why mode 4 of course. Ouch. Never used that mode. snip mode=4 (802.3ad) IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification. Pre-requisites: 1. Ethtool support in the base drivers for retrieving the speed and duplex of each slave. 2. A switch that supports IEEE 802.3ad Dynamic link aggregation. Most switches will require some type of configuration to enable 802.3ad mode. /snip So I gather the bonding on the CentOS box is cooperating with the switches in some non-trivial fashion. Too bad there are no defaults that use the subnet assigned to the school or the 192.168.0.0/16 (no, not my idea - inherited) That is a big network. Might make sense in a school though. How many nodes on it? Any chance a ahem staff member plugged an unauthorised piece of hardware in somewhere. If it was working, then suddenly stops, then something must have changed. I gather you have some configuration and change management system in place? Backups of conf files? Hahaha, that was the best part. It just stopped. And stayed that way too after a reboot, reboot of switches and only started working again when I ran tcpdump for some reason. tcpdump is probably putting your interface into promiscuous mode which is triggering something. Perhaps ARP packets. I think something (perhaps obscure) has changed, you may just not be aware of it. Comparing your event timeline against your configuration change management systems may help. But another colleague did find this in the iLo report: You're the only admin but you have a colleague with access to an iLo report? That puts a big question mark over a previous assertion :-) Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 3) Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 4) Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 1) Repaired Network 07/06/2010 12:01 07/06/2010 12:00 1 Network Adapter Link Down (Slot 10, Port 2) Time to ask the HP chap what this is all about. Looks like the bonding failover process is doing what it should. A bit more info on you setup might help. 1. What is the purpose of the box with the fat network? 2. are all 4 interfaces being used? 3. are they plugged into the same switch? 4. you've got at least 2 networks, plus 2 vlans, plus a public internet connection to this box? K ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
On Thursday, July 08, 2010 05:09 PM, Kahlil Hodgson wrote: On 07/08/2010 05:08 PM, Christopher Chan wrote: Hmmm ... which bond mode are you using? Why mode 4 of course. Ouch. Never used that mode. Huh? Like why? It's the recommended mode unless the switch does not suppoprt it or the boards don't. snip mode=4 (802.3ad) IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification. Pre-requisites: 1. Ethtool support in the base drivers for retrieving the speed and duplex of each slave. 2. A switch that supports IEEE 802.3ad Dynamic link aggregation. Most switches will require some type of configuration to enable 802.3ad mode. /snip So I gather the bonding on the CentOS box is cooperating with the switches in some non-trivial fashion. And it works just fine thank you very much. Too bad there are no defaults that use the subnet assigned to the school or the 192.168.0.0/16 (no, not my idea - inherited) That is a big network. Might make sense in a school though. How many nodes on it? Any chance aahem staff member plugged an unauthorised piece of hardware in somewhere. Nada, zip, zilch. School is closed and the issue is now very reliably demonstrated that running tcpdump makes it behave and the network is gone the moment you stop tcpdump. So there are no external factors to this problem. Been on the phone with HP. I will be upgrading the hp packages to the latest version to see if that fixes things. If it was working, then suddenly stops, then something must have changed. I gather you have some configuration and change management system in place? Backups of conf files? Hahaha, that was the best part. It just stopped. And stayed that way too after a reboot, reboot of switches and only started working again when I ran tcpdump for some reason. tcpdump is probably putting your interface into promiscuous mode which is triggering something. Perhaps ARP packets. Yeah, it is triggering something alright. I think something (perhaps obscure) has changed, you may just not be aware of it. Comparing your event timeline against your configuration change management systems may help. No changes have been made to the box whether by me or by my colleague at the HQ. I checked the logs too. No reboot prior to the manifestation of the problem. Stumped really here... But another colleague did find this in the iLo report: You're the only admin but you have a colleague with access to an iLo report? That puts a big question mark over a previous assertion :-) He is not physically on site so he cannot add anything. Nor have the logs shown anything done by him. Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 3) Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 4) Repaired Network 07/06/2010 12:35 07/06/2010 12:00 2 Network Adapters Redundancy Reduced (Slot 10, Port 1) Repaired Network 07/06/2010 12:01 07/06/2010 12:00 1 Network Adapter Link Down (Slot 10, Port 2) Time to ask the HP chap what this is all about. Looks like the bonding failover process is doing what it should. A bit more info on you setup might help. 1. What is the purpose of the box with the fat network? Besides being able to saturate the network, what other reason can there be? 2. are all 4 interfaces being used? Oh yes! 3. are they plugged into the same switch? Yup. 4. you've got at least 2 networks, plus 2 vlans, plus a public internet connection to this box? The vlans use bond0 as their phy interface. One vlan is internal and the other is the Internet subnet. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
Christopher Chan wrote: On Thursday, July 08, 2010 05:09 PM, Kahlil Hodgson wrote: On 07/08/2010 05:08 PM, Christopher Chan wrote: Hmmm ... which bond mode are you using? Why mode 4 of course. Ouch. Never used that mode. Huh? Like why? It's the recommended mode unless the switch does not suppoprt it or the boards don't. Oh sorry, got a bit grouchy there. I don't like overtime and was getting tired too. Did not read your mail properly. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to properly change the timezone
On Wednesday 07 July 2010 21:32:45 Phil Manuel wrote: /usr/bin/system-config-time (from the system-config-date RPM package) It will work in text mode. (Essentially /etc/sysconfig/clock is the config file that also needs updating) Is /etc/sysconfig/clock really essential? I just have /etc/localtime pointing to the right timezone and never had any problem. I don't even have /etc/sysconfig/clock on my servers. I was about to install the system-config-date (package that provides system- config-time) in order to see if indeed it creates /etc/sysconfig/clock but yum tells me I need 48 more packages to satisfy dependencies. I said no obviously Best regards, Jorge ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
HiChristopher, On 08/07/10 10:25, Christopher Chan wrote: Why mode 4 of course. Huh? Like why? It's the recommended mode unless the switch does not suppoprt it or the boards don't. I never realised this is the recommended mode. Do you have pointers where it is recommended so that I can read on why? Cheers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
Chan Chung Hang Christopher wrote: Christopher Chan wrote: On Thursday, July 08, 2010 05:09 PM, Kahlil Hodgson wrote: On 07/08/2010 05:08 PM, Christopher Chan wrote: Hmmm ... which bond mode are you using? Why mode 4 of course. Ouch. Never used that mode. Huh? Like why? It's the recommended mode unless the switch does not suppoprt it or the boards don't. Oh sorry, got a bit grouchy there. I don't like overtime and was getting tired too. Did not read your mail properly. I think some bridge or vlan scenarios require promiscuous mode (and the corresponding disabling of hardware acceleration). Maybe the real issue is that something accidentally disabled it and you now only work when tcpdump re-enables it. I'm not sure how this is supposed to be managed atomically when multiple programs may manipulate it and it needs to be propagated across multiple bonded nics, but maybe something went wrong there. At least some things log the change so maybe you can get a hint about when it was turned on and off. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
I am not using Samba 3.x. I am using Samba3x-3.3.8. As I understand it, RHEL provided this branch so that Windows 7 could join a Samba domain. That aside, It does not seems to me that the error message indicates that it cannot resolve where the PDC is. What method is Windows 7 trying to use that is differnent for Windows XP to find the PDC? Samba 3.x cannot provide AD and thus the error about AD DNS name does not exist is not meaningful You probably want to use Sernet Samba packages at this point if you want to use Windows 7 clients but see this page... http://wiki.samba.org/index.php/Windows7 Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
On Thu, 2010-07-08 at 07:51 -0500, Les Mikesell wrote: I think some bridge or vlan scenarios require promiscuous mode (and the corresponding disabling of hardware acceleration). Maybe the real issue is that something accidentally disabled it and you now only work when tcpdump re-enables it. I'm not sure how this is supposed to be managed atomically when multiple programs may manipulate it and it needs to be propagated across multiple bonded nics, but maybe something went wrong there. At least some things log the change so maybe you can get a hint about when it was turned on and off. --- Check out /proc/net/bonding/bond/YOUR_BOND. Make sure your slave IDs are the same as in aggregator ID. If not it will cause the problem your having. Bad NIC hardware also it's failing over for a reason as the log showed. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mount cannot find system /dev/root
On Thu, Jul 8, 2010 at 1:42 AM, sync jian...@gmail.com wrote: Hi, guys: I attempt to compile a kernel on CentOS 5.3 i386 which is installed in the Virtualbox machine, and its kernel version is 2.6.18-128.el5 ,the new kernel version is 2.6.34.1 All make procedure is running ok. I can generate initrd image with no problem too. But, when I try booting this kernel, I get Kernel panic error message like these: mount: could not find filesystem '/dev/root' Custom kernels are not supported by CentOS. However... that question was answered by a forum user some time ago. Please see my blog for more details: http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/ Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
Hakan Koseoglu wrote: HiChristopher, On 08/07/10 10:25, Christopher Chan wrote: Why mode 4 of course. Huh? Like why? It's the recommended mode unless the switch does not suppoprt it or the boards don't. I never realised this is the recommended mode. Do you have pointers where it is recommended so that I can read on why? Maybe 'the recommended' is a bit too much. But here is a read. http://useopensource.blogspot.com/2010/02/linux-nic-teaming-recommendations.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
JohnS wrote: On Thu, 2010-07-08 at 07:51 -0500, Les Mikesell wrote: I think some bridge or vlan scenarios require promiscuous mode (and the corresponding disabling of hardware acceleration). Maybe the real issue is that something accidentally disabled it and you now only work when tcpdump re-enables it. I'm not sure how this is supposed to be managed atomically when multiple programs may manipulate it and it needs to be propagated across multiple bonded nics, but maybe something went wrong there. At least some things log the change so maybe you can get a hint about when it was turned on and off. --- Check out /proc/net/bonding/bond/YOUR_BOND. Make sure your slave IDs are the same as in aggregator ID. If not it will cause the problem your having. Bad NIC hardware also it's failing over for a reason as the log showed. Okay, I'll take a look tomorrow when I get in to work. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
Les Mikesell wrote: Chan Chung Hang Christopher wrote: Christopher Chan wrote: On Thursday, July 08, 2010 05:09 PM, Kahlil Hodgson wrote: On 07/08/2010 05:08 PM, Christopher Chan wrote: Hmmm ... which bond mode are you using? Why mode 4 of course. Ouch. Never used that mode. Huh? Like why? It's the recommended mode unless the switch does not suppoprt it or the boards don't. Oh sorry, got a bit grouchy there. I don't like overtime and was getting tired too. Did not read your mail properly. I think some bridge or vlan scenarios require promiscuous mode (and the corresponding disabling of hardware acceleration). Maybe the real issue is that something accidentally disabled it and you now only work when tcpdump re-enables it. I'm not sure how this is supposed to be managed atomically when multiple programs may manipulate it and it needs to be propagated across multiple bonded nics, but maybe something went wrong there. At least some things log the change so maybe you can get a hint about when it was turned on and off. /me wonders if the loading of the bridge and another related module has anything to do with this. I'll prepare a list of targets for rmmod. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 08:13 -0500, Doug Coats wrote: I am not using Samba 3.x. I am using Samba3x-3.3.8. As I understand it, RHEL provided this branch so that Windows 7 could join a Samba domain. That aside, It does not seems to me that the error message indicates that it cannot resolve where the PDC is. What method is Windows 7 trying to use that is differnent for Windows XP to find the PDC? I think as long as persist in chasing pointless ends, you will continue to fail. DNS AD are not at issue here. Samba 3 cannot provide AD services. If resolution is a problem, it may be that you don't have nmb running on your Samba server and you probably want it to be a wins server if it is a Domain Controller. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
I think as long as persist in chasing pointless ends, you will continue to fail. DNS AD are not at issue here. Samba 3 cannot provide AD services. If resolution is a problem, it may be that you don't have nmb running on your Samba server and you probably want it to be a wins server if it is a Domain Controller. Craig Craig, Thanks for you interest in my problem. I don't think I am trying to get Samba to do something that it was not intended to do. All I am saying is that using the same config on Samba 3.0 as a PDC with windows XP machines behaves different than Samba3x with Windows 7 and windows XP machines. I just now tried to join an XP machine to the network and got a similar error. Maybe this is a Samba3x.3.3.8 issue? I don't expect Samba to provide AD services. I simply want single sign-on on my network. Has anyone been able to get Samba3x.3.3.8 to work as a PDC? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] slow down dd - how?
How can I slow down dd? I don't want to slow down the pc, when generating a big file [~40 GByte]. Does ionice work properly? Thank you for any help! :\ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 10:34 -0500, Doug Coats wrote: I think as long as persist in chasing pointless ends, you will continue to fail. DNS AD are not at issue here. Samba 3 cannot provide AD services. If resolution is a problem, it may be that you don't have nmb running on your Samba server and you probably want it to be a wins server if it is a Domain Controller. Craig Craig, Thanks for you interest in my problem. I don't think I am trying to get Samba to do something that it was not intended to do. All I am saying is that using the same config on Samba 3.0 as a PDC with windows XP machines behaves different than Samba3x with Windows 7 and windows XP machines. I just now tried to join an XP machine to the network and got a similar error. Maybe this is a Samba3x.3.3.8 issue? I don't expect Samba to provide AD services. I simply want single sign-on on my network. Has anyone been able to get Samba3x.3.3.8 to work as a PDC? I think you are being vague (similar error). What is the exact error? What is the output of 'testparm -sv' ? Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] slow down dd - how?
Jozsi Avadkan wrote: How can I slow down dd? I don't want to slow down the pc, when generating a big file [~40 GByte]. Does ionice work properly? Yes, with CentOS 5.5 and the default scheduler. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] slow down dd - how?
On Thu, Jul 08, 2010 at 05:51:12PM +0200, Jozsi Avadkan wrote: Does ionice work properly? It works fine. -- Dominik Zyla pgpsTpENjp4im.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
I think you are being vague (similar error). What is the exact error? What is the output of 'testparm -sv' ? Craig Sorry for being to vague. Here is the XP Pro error I get when I try to join the domain. A domian controller for the domain admin could not be contacted. Esure that the domain name is typed correctly. If the name is correct, click on the Details for troubleshooting information. Details: Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt. The domain name admin might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS. If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration. An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain admin. The error was: No records found for given DNS query. (error code 0x251D DNS_INFO_NO_RECORDS) The query was for the SRV record for _ldap._tcp.dc._msdcs.admin For more information, click Help. Here is the testparm -sv you requested. For a short explaination of the IP's listed. We have two domains. One served by 192.168.6.1 and one by 192.168.5.1. I am currantly upgrading the 192.168.6. network to Windows 7. Or atleast trying. 192.168.4.1 is our gatway and the two servers listed above act as file servers and routers for their domains. I hope that makes sence. Load smb config files from /etc/samba/smb.conf Processing section [homes] Processing section [netlogon] WARNING: The share modes option is deprecated Processing section [admin] Processing section [staff] Processing section [ElemTeachers] Processing section [SecTeachers] Processing section [it] Processing section [office] Processing section [finance] Processing section [backup] Processing section [www] Processing section [scribeshare] Processing section [sosub] Loaded services file OK. Server role: ROLE_DOMAIN_PDC [global] dos charset = CP850 unix charset = UTF-8 display charset = LOCALE workgroup = ADMIN realm = netbios name = HERITAGE3 netbios aliases = netbios scope = server string = Administration Samba Server interfaces = 192.168.4.3, 192.168.6.1, 127.0.0.1 bind interfaces only = No config backend = file security = USER auth methods = encrypt passwords = Yes update encrypted = No client schannel = Auto server schannel = Auto allow trusted domains = Yes map to guest = Never null passwords = No obey pam restrictions = No password server = * smb passwd file = /etc/samba/smbpasswd private dir = /var/lib/samba/private passdb backend = smbpasswd algorithmic rid base = 1000 root directory = guest account = nobody enable privileges = Yes pam password change = No passwd program = passwd chat = *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No passwd chat timeout = 2 check password script = username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = 0 lanman auth = No ntlm auth = Yes client NTLMv2 auth = No client lanman auth = No client plaintext auth = No preload modules = use kerberos keytab = No log level = 1 syslog = 1 syslog only = No log file = /var/log/samba/%m.log max log size = 50 debug timestamp = Yes debug prefix timestamp = No debug hires timestamp = No debug pid = No debug uid = No debug class = No enable core files = Yes smb ports = 445 139 large readwrite = Yes max protocol = NT1 min protocol = CORE min receivefile size = 0 read raw = Yes write raw = Yes disable netbios = No reset on zero vc = No acl compatibility = auto defer sharing violations = Yes nt pipe support = Yes nt status support = Yes announce version = 4.9 announce as = NT max mux = 50 max xmit = 16644 name resolve order = hosts wins lmhosts bcast max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = Yes unix extensions = Yes use spnego = Yes client signing = auto server signing = No client use spnego = Yes client ldap sasl wrapping = plain enable asu support = No svcctl list = deadtime = 0 getwd cache = Yes
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
Sorry for being to vague. Here is the XP Pro error I get when I try to join the domain. A domian controller for the domain admin could not be contacted. Esure that the domain name is typed correctly. If the name is correct, click on the Details for troubleshooting information. Details: Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt. The domain name admin might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS. If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration. An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain admin. The error was: No records found for given DNS query. (error code 0x251D DNS_INFO_NO_RECORDS) The query was for the SRV record for _ldap._tcp.dc._msdcs.admin For more information, click Help. Here is the testparm -sv you requested. For a short explaination of the IP's listed. We have two domains. One served by 192.168.6.1 and one by 192.168.5.1. I am currantly upgrading the 192.168.6. network to Windows 7. Or atleast trying. 192.168.4.1 is our gatway and the two servers listed above act as file servers and routers for their domains. I hope that makes sence. It seems, that the samba domain controller 192.168.6.1 fails to register with the WINS server - 192.168.4.1, and the XP station cannot locate it. You'd better post your smb.conf file and verify if the domain controller registers with WINS server. Best regards, Alexander. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote: I think you are being vague (similar error). What is the exact error? What is the output of 'testparm -sv' ? Craig Sorry for being to vague. Here is the XP Pro error I get when I try to join the domain. A domian controller for the domain admin could not be contacted. Esure that the domain name is typed correctly. If the name is correct, click on the Details for troubleshooting information. Details: Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt. The domain name admin might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS. If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration. An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain admin. The error was: No records found for given DNS query. (error code 0x251D DNS_INFO_NO_RECORDS) The query was for the SRV record for _ldap._tcp.dc._msdcs.admin For more information, click Help. Here is the testparm -sv you requested. For a short explaination of the IP's listed. We have two domains. One served by 192.168.6.1 and one by 192.168.5.1. I am currantly upgrading the 192.168.6. network to Windows 7. Or atleast trying. 192.168.4.1 is our gatway and the two servers listed above act as file servers and routers for their domains. I hope that makes sence. Load smb config files from /etc/samba/smb.conf Processing section [homes] Processing section [netlogon] WARNING: The share modes option is deprecated Processing section [admin] Processing section [staff] Processing section [ElemTeachers] Processing section [SecTeachers] Processing section [it] Processing section [office] Processing section [finance] Processing section [backup] Processing section [www] Processing section [scribeshare] Processing section [sosub] Loaded services file OK. Server role: ROLE_DOMAIN_PDC [global] dos charset = CP850 unix charset = UTF-8 display charset = LOCALE workgroup = ADMIN realm = netbios name = HERITAGE3 netbios aliases = netbios scope = server string = Administration Samba Server interfaces = 192.168.4.3, 192.168.6.1, 127.0.0.1 bind interfaces only = No config backend = file security = USER auth methods = encrypt passwords = Yes update encrypted = No client schannel = Auto server schannel = Auto allow trusted domains = Yes map to guest = Never null passwords = No obey pam restrictions = No password server = * smb passwd file = /etc/samba/smbpasswd private dir = /var/lib/samba/private passdb backend = smbpasswd algorithmic rid base = 1000 root directory = guest account = nobody enable privileges = Yes pam password change = No passwd program = passwd chat = *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No passwd chat timeout = 2 check password script = username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = 0 lanman auth = No ntlm auth = Yes client NTLMv2 auth = No client lanman auth = No client plaintext auth = No preload modules = use kerberos keytab = No log level = 1 syslog = 1 syslog only = No log file = /var/log/samba/%m.log max log size = 50 debug timestamp = Yes debug prefix timestamp = No debug hires timestamp = No debug pid = No debug uid = No debug class = No enable core files = Yes smb ports = 445 139 large readwrite = Yes max protocol = NT1 min protocol = CORE min receivefile size = 0 read raw = Yes write raw = Yes disable netbios = No reset on zero vc = No acl compatibility = auto defer sharing violations = Yes nt pipe support = Yes nt status support = Yes announce version = 4.9 announce as = NT max mux = 50 max xmit = 16644 name resolve order = hosts wins lmhosts bcast max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = Yes unix
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 07/08/2010 05:34 PM, Doug Coats wrote: ... Has anyone been able to get Samba3x.3.3.8 to work as a PDC? It worked for me in a test setup I had a month ago: Made a copy of our main CentOS 5 server, replace samba with samba3x, and I was able to join XP and W7 (with registry patch) to the domain. The samba server was set up as a WINS server. I think there was a problem that the default location of some of the samba files have been moved going from samba to samba3x (smbpasswd maybe?). Mogens -- Mogens Kjaer, m...@lemo.dk http://www.lemo.dk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote: Here is the testparm -sv you requested. For a short explaination of the IP's listed. We have two domains. One served by 192.168.6.1 and one by 192.168.5.1. I am currantly upgrading the 192.168.6. network to Windows 7. Or atleast trying. 192.168.4.1 is our gatway and the two servers listed above act as file servers and routers for their domains. I hope that makes sence. Load smb config files from /etc/samba/smb.conf --- To be truth full I think you have an out right mess going on here. One thing your smb config is 10 miles long. Start over on a fresh install test machine and try joining the W7 machine to it. Then take your changes and merg into your current working machine config. Life will be a lot easier. One change at a time. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 13:44 -0400, JohnS wrote: On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote: Here is the testparm -sv you requested. For a short explaination of the IP's listed. We have two domains. One served by 192.168.6.1 and one by 192.168.5.1. I am currantly upgrading the 192.168.6. network to Windows 7. Or atleast trying. 192.168.4.1 is our gatway and the two servers listed above act as file servers and routers for their domains. I hope that makes sence. Load smb config files from /etc/samba/smb.conf --- To be truth full I think you have an out right mess going on here. One thing your smb config is 10 miles long. Start over on a fresh install test machine and try joining the W7 machine to it. Then take your changes and merg into your current working machine config. Life will be a lot easier. One change at a time. the reason the smb.conf is 10 miles long is that I told him to output 'testparm -sv' which includes all specific settings and all assumed defaults. His problem is WINS resolution doesn't tell the workstations which computer is the domain controller and that is what he needs to fix (first by designating a domain controller and then by making sure that WINS is functioning well). Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
His problem is WINS resolution doesn't tell the workstations which computer is the domain controller and that is what he needs to fix (first by designating a domain controller and then by making sure that WINS is functioning well). Craig Thanks for all the help. I agree that WINS seems to be the issue, or atleast it is a place that we can start with to help track down the issue. Currently 192.168.4.1 is the WINS server. This is necessary because I need cross subnet brownsing between 192.168.6. and 192.168.5. According to the man page for smb.conf only one computer on your network can be a WINS server and this is the computer that all other computers have access to. That being said 192.168.6. and 192.168.5. are both PDC's for their subnet. All I have done is moved the 192.168.6.1 configuration to a new machine. Replaced that machine. Removed Samba 3.0 and Installed Samba3x. How do I make sure that 192.168.4.1 recognizes 192.168.6.1 as the ADMIN PDC so that WINS traffic is directed correctly? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 10:50 -0700, Craig White wrote: On Thu, 2010-07-08 at 13:44 -0400, JohnS wrote: On Thu, 2010-07-08 at 12:03 -0500, Doug Coats wrote: Here is the testparm -sv you requested. For a short explaination of the IP's listed. We have two domains. One served by 192.168.6.1 and one by 192.168.5.1. I am currantly upgrading the 192.168.6. network to Windows 7. Or atleast trying. 192.168.4.1 is our gatway and the two servers listed above act as file servers and routers for their domains. I hope that makes sence. Load smb config files from /etc/samba/smb.conf --- To be truth full I think you have an out right mess going on here. One thing your smb config is 10 miles long. Start over on a fresh install test machine and try joining the W7 machine to it. Then take your changes and merg into your current working machine config. Life will be a lot easier. One change at a time. snip His problem is WINS resolution doesn't tell the workstations which computer is the domain controller and that is what he needs to fix (first by designating a domain controller and then by making sure that WINS is functioning well). Craig --- Exactly why I said start at the bottom and work your way up. And another problem is I think he said he has multi netowked smbd domains? How is he routing network calls. Triangle Topology? It's best to lab learn first no matter what your experience is. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Some Mirrors missing 5.5 directory
Alle, I've noticed recently that during my nightly mrepo runs, I get failures like this: mirror: Access failed: 404 Not Found (/centos/5.5/updates/i386/RPMS) mrepo: Mirroring failed for http://mirror.centos.org/centos/5.5/updates/i386/RPMS/ with message: Failed with return code: 256 When I checked http://mirror.centos.org/centos, I noticed some mirrors have 5.5 directories and some do not, so depending on which mirror is selected during the run, sometimes I get updates and sometimes I do not. I've only seen this with 5.5, never before. Did I miss something somewhere? I *would* just use release 5 in our mrepo conf files if I didn't need to mount CentOS-$release-$arch-bin-DVD-?of2.iso. I suppose I could hard code the $release in this line, but it just seems sloppy. Best Regards, Camron -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cw...@us.fujitsu.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 12:58 -0500, Doug Coats wrote: His problem is WINS resolution doesn't tell the workstations which computer is the domain controller and that is what he needs to fix (first by designating a domain controller and then by making sure that WINS is functioning well). Craig Thanks for all the help. I agree that WINS seems to be the issue, or atleast it is a place that we can start with to help track down the issue. Currently 192.168.4.1 is the WINS server. This is necessary because I need cross subnet brownsing between 192.168.6. and 192.168.5. According to the man page for smb.conf only one computer on your network can be a WINS server and this is the computer that all other computers have access to. That being said 192.168.6. and 192.168.5. are both PDC's for their subnet. All I have done is moved the 192.168.6.1 configuration to a new machine. Replaced that machine. Removed Samba 3.0 and Installed Samba3x. How do I make sure that 192.168.4.1 recognizes 192.168.6.1 as the ADMIN PDC so that WINS traffic is directed correctly? a 'network' is 192.168.x assuming that you are using class C subnet masks (255.255.255.0) and so you should have a WINS server on EACH network (192.168.4, 192.168.5, 192.168.6, etc.) Cross network browsing is somewhat of a hit or miss and not reliable... for a number of reasons such as the default firewall settings for Windows systems will only allow network traffic to the immediate network that it is on (i.e. 192.168.6) The important thing is to get the WINS working on EACH network. It's also easiest to have your PDC be the WINS server - period. Also, a PDC must necessarily have... domain master = yes preferred master = yes domain logins = yes security = user Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
a 'network' is 192.168.x assuming that you are using class C subnet masks (255.255.255.0) and so you should have a WINS server on EACH network (192.168.4, 192.168.5, 192.168.6, etc.) Cross network browsing is somewhat of a hit or miss and not reliable... for a number of reasons such as the default firewall settings for Windows systems will only allow network traffic to the immediate network that it is on (i.e. 192.168.6) The important thing is to get the WINS working on EACH network. It's also easiest to have your PDC be the WINS server - period. Also, a PDC must necessarily have... domain master = yes preferred master = yes domain logins = yes security = user Craig I agree that preferred master should have been set to yes. I made that change with but still no joy. I don't mean to be contrary but our cross subnet browsing has been working since 2003 when we set up this network. It has been very reliable and I depend on it to work. And I believe it is because of have our WINS servers the way that they are. I do think that I have hit upon an issue. The WINS data for samba is kept in /var/cache/samba.dat but it is updated dynamically with nmdb. It has dated data. When I moved the server I changed the server name slightly and so the WINS data points to the old name at the current IP. In fact with this network rebuild I changed most of my computer names and they are all incorrect. I think I need to shut down all three instances of samba clear the wins data and then start them all again so that they populate from scratch. Doug ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 7/8/2010 1:15 PM, Craig White wrote: a 'network' is 192.168.x assuming that you are using class C subnet masks (255.255.255.0) and so you should have a WINS server on EACH network (192.168.4, 192.168.5, 192.168.6, etc.) I thought the point of WINS was to have a single address that would collate the names/addresses from all your networks. The important thing is to get the WINS working on EACH network. It's also easiest to have your PDC be the WINS server - period. But PDC's aren't limited to one subnet either. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
I do think that I have hit upon an issue. The WINS data for samba is kept in /var/cache/samba.dat but it is updated dynamically with nmdb. It has dated data. When I moved the server I changed the server name slightly and so the WINS data points to the old name at the current IP. In fact with this network rebuild I changed most of my computer names and they are all incorrect. I think I need to shut down all three instances of samba clear the wins data and then start them all again so that they populate from scratch. Correction to that. Only the WINS server has data in this location. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
Doug Coats wrote: I do think that I have hit upon an issue. The WINS data for samba is kept in /var/cache/samba.dat but it is updated dynamically with nmdb. It has dated data. When I moved the server I changed the server name slightly and so the WINS data points to the old name at the current IP. In fact with this network rebuild I changed most of my computer names and they are all incorrect. I think I need to shut down all three instances of samba clear the wins data and then start them all again so that they populate from scratch. Correction to that. Only the WINS server has data in this location. Um, does a timing issue come into play here? If the local clock is not within a few seconds, we can't connect to AD (we are going through kerborous). Is there time data in the cache? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
With the WINS data cleared. for the past 20 min. (I did it before I wrote about it) Neither PDC has reported to WINS. So no wonder my PC's can't find their domain. So how do I make sure that 192.168.6.1 is added to wins.dat. I could do it manually but I would rather it communicate the way that it was intended to just so I know that the network is configured and working correctly. Doug ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 13:41 -0500, Doug Coats wrote: I agree that preferred master should have been set to yes. I made that change with but still no joy. I don't mean to be contrary but our cross subnet browsing has been working since 2003 when we set up this network. It has been very reliable and I depend on it to work. And I believe it is because of have our WINS servers the way that they are. Contrary? Well I had to ask. Because it has to work like that for your SNMs. NP I do think that I have hit upon an issue. The WINS data for samba is kept in /var/cache/samba.dat but it is updated dynamically with nmdb. It has dated data. When I moved the server I changed the server name slightly and so the WINS data points to the old name at the current IP. In fact with this network rebuild I changed most of my computer names and they are all incorrect. I think I need to shut down all three instances of samba clear the wins data and then start them all again so that they populate from scratch. Doug --- Ok since you say the interdomain networking is functioning (triangle routing) have a read at this: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2573732 John all else that fails put that machine on another known working Subnet and have a go at that. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
Um, does a timing issue come into play here? If the local clock is not within a few seconds, we can't connect to AD (we are going through kerborous). Is there time data in the cache? mark Both the XP box and the Windows 7 use the PDC server as their time server so they are set to the same time. Doug ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
--- Ok since you say the interdomain networking is functioning (triangle routing) have a read at this: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2573732 John all else that fails put that machine on another known working Subnet and have a go at that. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos As I said in another post I changed the machine name to an entirely different format and I didn't copy any domain information from the prior machine(meaning I didn't try to migrate the information placed in the smbpasswd). Since all the machines were being switched to Windows 7 I wanted a clean start. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 13:43 -0500, Les Mikesell wrote: On 7/8/2010 1:15 PM, Craig White wrote: a 'network' is 192.168.x assuming that you are using class C subnet masks (255.255.255.0) and so you should have a WINS server on EACH network (192.168.4, 192.168.5, 192.168.6, etc.) I thought the point of WINS was to have a single address that would collate the names/addresses from all your networks. The important thing is to get the WINS working on EACH network. It's also easiest to have your PDC be the WINS server - period. But PDC's aren't limited to one subnet either. WINS is a broadcast based protocol and thus it only works on the local network and each subnet/network MUST necessarily have master browser elections. The WINS server on each subnet would serve as a clearing house for name resolution for each subnet/network. That is clearly not working for him just from that error message. Samba machines are not limited to one subnet either by multiple network addresses or via routers but their ability to identify their presence on other subnets/networks is limited at best (remote announce). The concept was that computers just find each other on a subnet via network browsing. When you have a server involved, you want to 'rig' the browser elections so you have entirely predictable location for retrieving the current workgroup members instead of the haphazard method employed by default. This means you put a WINS server on each subnet and specifically instruct each client (whether a Windows workstation or a samba server) to specifically interrogate that WINS server for the latest browse list. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 7/8/2010 1:52 PM, Doug Coats wrote: With the WINS data cleared. for the past 20 min. (I did it before I wrote about it) Neither PDC has reported to WINS. So no wonder my PC's can't find their domain. So how do I make sure that 192.168.6.1 is added to wins.dat. I could do it manually but I would rather it communicate the way that it was intended to just so I know that the network is configured and working correctly. Is the wins server address configured in the PDCs? I thought the way this was supposed to work was that the master browsers on each subnet would update their addresses to the wins server - and that a pdc would always be the master browser on its subnet. If the wins address is configured, are there firewalls between them? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 13:52 -0500, Doug Coats wrote: With the WINS data cleared. for the past 20 min. (I did it before I wrote about it) Neither PDC has reported to WINS. So no wonder my PC's can't find their domain. So how do I make sure that 192.168.6.1 is added to wins.dat. I could do it manually but I would rather it communicate the way that it was intended to just so I know that the network is configured and working correctly. the truth is you can't if the PDC's do not have an interface on 192.168.6 network - you can create static entries in WINS files on each hosts but that defeats the purpose. You can however, distribute NETBIOS server information via DHCP. What you really want is a WINS server on each subnet. If it's workstation professional, you might be able to install WINS on one of them if you don't have any samba server on that particular subnet. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 7/8/2010 2:12 PM, Craig White wrote: I thought the point of WINS was to have a single address that would collate the names/addresses from all your networks. The important thing is to get the WINS working on EACH network. It's also easiest to have your PDC be the WINS server - period. But PDC's aren't limited to one subnet either. WINS is a broadcast based protocol and thus it only works on the local network and each subnet/network MUST necessarily have master browser elections. The WINS server on each subnet would serve as a clearing house for name resolution for each subnet/network. That is clearly not working for him just from that error message. Errr, no. WINS is a server at a specified and routable IP address where the subnet master browsers send their lists periodically. Normally you'd have your DHCP server hand out the wins server address and manually configure it on machines with static IPs. The point of using WINS is to have one server that knows all of your windows name/address mappings. Samba machines are not limited to one subnet either by multiple network addresses or via routers but their ability to identify their presence on other subnets/networks is limited at best (remote announce). The concept was that computers just find each other on a subnet via network browsing. When you have a server involved, you want to 'rig' the browser elections so you have entirely predictable location for retrieving the current workgroup members instead of the haphazard method employed by default. This means you put a WINS server on each subnet and specifically instruct each client (whether a Windows workstation or a samba server) to specifically interrogate that WINS server for the latest browse list. You are partly right there, but you really want to end up with one server that knows all the names, not a separate incomplete set on every subnet. How do you manage VPN connections that might be point-to-point with nothing else on the same subnet at all? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
I just did a checkconfig on the PDC in question 192.168.6.1. And I noticed something that might be nothing but it puzzles me. The nmb service is set to off at all run levels. If I check the nmb status it says that it is stopped. Doesn't Samba need that for net-bios support? I am probably showing my ignorace here but what is the connection between net-bios names and WINS? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 14:12 -0500, Doug Coats wrote: As I said in another post I changed the machine name to an entirely different format and I didn't copy any domain information from the prior machine(meaning I didn't try to migrate the information placed in the smbpasswd). Since all the machines were being switched to Windows 7 I wanted a clean start. --- I see now. I went back and read your whole thread. Just like Craig has said to you in the last mail it will not work as you expect. There has to be a helper or Wins server on each of the SNs to contact the Master Browser. That's is the only I am aware of doing it the right way also. You could pass them off of a DHCP Helper server but I suspect that's beyond what you want. The thing is the network is a Ad-Hoc Network and there hard to deal with with out proper prior planing. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 14:29 -0500, Les Mikesell wrote: WINS is a broadcast based protocol and thus it only works on the local network and each subnet/network MUST necessarily have master browser elections. The WINS server on each subnet would serve as a clearing house for name resolution for each subnet/network. That is clearly not working for him just from that error message. Errr, no. WINS is a server at a specified and routable IP address where the subnet master browsers send their lists periodically. Normally you'd have your DHCP server hand out the wins server address and manually configure it on machines with static IPs. The point of using WINS is to have one server that knows all of your windows name/address mappings. --- Correct and Not Correct... How about that? There really is no right or wrong in either of you twos answer. The right way is Wins on every SN to pass to the MB. That's my opinion. DHCP is the HACKING Way to pass off wins clients. My Opinion. But his topology will require prolly a DHCP helper client because of the subnets. In essence it is a bad designed network that is the problem. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 14:36 -0500, Doug Coats wrote: I just did a checkconfig on the PDC in question 192.168.6.1. And I noticed something that might be nothing but it puzzles me. The nmb service is set to off at all run levels. If I check the nmb status it says that it is stopped. Doesn't Samba need that for net-bios support? I am probably showing my ignorace here but what is the connection between net-bios names and WINS? man nmbd it has EVERYTHING to do with netbios Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 14:36 -0500, Doug Coats wrote: I just did a checkconfig on the PDC in question 192.168.6.1. And I noticed something that might be nothing but it puzzles me. The nmb service is set to off at all run levels. If I check the nmb status it says that it is stopped. Doesn't Samba need that for net-bios support? I am probably showing my ignorace here but what is the connection between net-bios names and WINS? --- i need to come and PULL YOUR HAIR OUT I not being an asshole but we have what is call man to find info on various applications including samba. man nmbd John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
Doug Coats wrote: mark wrote: Um, does a timing issue come into play here? If the local clock is not within a few seconds, we can't connect to AD (we are going through kerborous). Is there time data in the cache? Both the XP box and the Windows 7 use the PDC server as their time server so they are set to the same time. How 'bout with the server that's supposed to be the master, above the two other PDCs? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 7/8/2010 2:36 PM, Doug Coats wrote: I just did a checkconfig on the PDC in question 192.168.6.1. And I noticed something that might be nothing but it puzzles me. The nmb service is set to off at all run levels. If I check the nmb status it says that it is stopped. Doesn't Samba need that for net-bios support? I am probably showing my ignorace here but what is the connection between net-bios names and WINS? Netbios can use multiple network transports, some of which only have broadcasts to support name resolution. Each subnet will elect a master browser to collect the names and respond to queries. As an extension for the IP protocol which is routeable, the WINS service accepts the lists from multiple master browsers at a pre-configured IP address. For it to work, the master browser that happens to be elected on any subnet must be configured to use the same WINS address and must have IP protocol working - and the clients need the address to query as part of their configuration, either from DHCP or manually entered if they have a static IP. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
How 'bout with the server that's supposed to be the master, above the two other PDCs? mark It is set up to NTP to the same external servers so they should all be in sync. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 14:29 -0500, Les Mikesell wrote: On 7/8/2010 2:12 PM, Craig White wrote: I thought the point of WINS was to have a single address that would collate the names/addresses from all your networks. The important thing is to get the WINS working on EACH network. It's also easiest to have your PDC be the WINS server - period. But PDC's aren't limited to one subnet either. WINS is a broadcast based protocol and thus it only works on the local network and each subnet/network MUST necessarily have master browser elections. The WINS server on each subnet would serve as a clearing house for name resolution for each subnet/network. That is clearly not working for him just from that error message. Errr, no. WINS is a server at a specified and routable IP address where the subnet master browsers send their lists periodically. Normally you'd have your DHCP server hand out the wins server address and manually configure it on machines with static IPs. The point of using WINS is to have one server that knows all of your windows name/address mappings. Samba machines are not limited to one subnet either by multiple network addresses or via routers but their ability to identify their presence on other subnets/networks is limited at best (remote announce). The concept was that computers just find each other on a subnet via network browsing. When you have a server involved, you want to 'rig' the browser elections so you have entirely predictable location for retrieving the current workgroup members instead of the haphazard method employed by default. This means you put a WINS server on each subnet and specifically instruct each client (whether a Windows workstation or a samba server) to specifically interrogate that WINS server for the latest browse list. You are partly right there, but you really want to end up with one server that knows all the names, not a separate incomplete set on every subnet. How do you manage VPN connections that might be point-to-point with nothing else on the same subnet at all? I'm not going to argue with you but I will point out the Samba documentation that covers this... http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html from which I quote... Right now Samba WINS does not support MS-WINS replication. This means that when setting up Samba as a WINS server, there must only be one nmbd configured as a WINS server on the network. Some sites have used multiple Samba WINS servers for redundancy (one server per subnet) and then used remote browse sync and remote announce to effect browse list collation across all segments. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 7/8/2010 2:43 PM, JohnS wrote: WINS is a broadcast based protocol and thus it only works on the local network and each subnet/network MUST necessarily have master browser elections. The WINS server on each subnet would serve as a clearing house for name resolution for each subnet/network. That is clearly not working for him just from that error message. Errr, no. WINS is a server at a specified and routable IP address where the subnet master browsers send their lists periodically. Normally you'd have your DHCP server hand out the wins server address and manually configure it on machines with static IPs. The point of using WINS is to have one server that knows all of your windows name/address mappings. --- Correct and Not Correct... How about that? There really is no right or wrong in either of you twos answer. The right way is Wins on every SN to pass to the MB. That's my opinion. So what do you do on a VPN connection that is configured to not be on the same subnet as any server? Or subnets where there is no windows-related service at all but you might plug in a client? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
Netbios can use multiple network transports, some of which only have broadcasts to support name resolution. Each subnet will elect a master browser to collect the names and respond to queries. As an extension for the IP protocol which is routeable, the WINS service accepts the lists from multiple master browsers at a pre-configured IP address. For it to work, the master browser that happens to be elected on any subnet must be configured to use the same WINS address and must have IP protocol working - and the clients need the address to query as part of their configuration, either from DHCP or manually entered if they have a static IP. -- Les Mikesell lesmikes...@gmail.com Thank you Les for not killing me off like some of the other people who have been trying to help. As a response to others, YES, I should have read the man but I might have posed the question all the same. Sometimes my eyes glaze over after about he 3rd sentence when trying to make sense of them. I turned on nmb and that solved my problem. Sometimes my life serves as a warning to others and now all they have to do is read my posts and learn from my mistakes. Thanks for your patience ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 14:55 -0500, Les Mikesell wrote: Correct and Not Correct... How about that? There really is no right or wrong in either of you twos answer. The right way is Wins on every SN to pass to the MB. That's my opinion. So what do you do on a VPN connection that is configured to not be on the same subnet as any server? Or subnets where there is no windows-related service at all but you might plug in a client? --- And your getting at what? How does this relate to the OPs problem? You seen to have a little knowledge of ip. So why not pass the proper routing info to the vpn client. If perhaps it was configured right the first time there would not be no what do I do now. Windows related servvce problem? Slap a dhcp helper to pass the connections to the main dhcp server then to the wins server. It can be any Unix variant dhcp helper and server. There's two words for this: 'Network Aware. That's all it takes. Don't make so complicated you can't control. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 7/8/2010 3:11 PM, JohnS wrote: On Thu, 2010-07-08 at 14:55 -0500, Les Mikesell wrote: Correct and Not Correct... How about that? There really is no right or wrong in either of you twos answer. The right way is Wins on every SN to pass to the MB. That's my opinion. So what do you do on a VPN connection that is configured to not be on the same subnet as any server? Or subnets where there is no windows-related service at all but you might plug in a client? --- And your getting at what? How does this relate to the OPs problem? I'm getting at your assertion that a Wins server on every subnet is right being impractical in most networks. And like the OPs problem it has to do with a windows client being able to resolve a windows name on a different subnet. You seen to have a little knowledge of ip. So why not pass the proper routing info to the vpn client. If perhaps it was configured right the first time there would not be no what do I do now. Windows name resolution has next to nothing to do with ip routing. If your routing works you can make windows name resolution work over it, but it isn't automatic. Windows related servvce problem? Slap a dhcp helper to pass the connections to the main dhcp server then to the wins server. It can be any Unix variant dhcp helper and server. There's two words for this: 'Network Aware. That's all it takes. DHCP service also doesn't have much to do with name resolution other than being able to hand out the address of the resolver. Don't make so complicated you can't control. Agreed, but putting a wins server on every subnet would be complicated - and unnecessary. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 15:31 -0500, Les Mikesell wrote: And your getting at what? How does this relate to the OPs problem? I'm getting at your assertion that a Wins server on every subnet is right being impractical in most networks. And like the OPs problem it has to do with a windows client being able to resolve a windows name on a different subnet. Ahh yea I know that. But times you have to suffice one or the other but not both. You seen to have a little knowledge of ip. So why not pass the proper routing info to the vpn client. If perhaps it was configured right the first time there would not be no what do I do now. Windows name resolution has next to nothing to do with ip routing. If your routing works you can make windows name resolution work over it, but it isn't automatic. If it does not work then it want happen as in getting routed to the wins server. You agree on that right? If routing don't work then there is no wins resolution in effect. In other words we have to know where to go. Windows related servvce problem? Slap a dhcp helper to pass the connections to the main dhcp server then to the wins server. It can be any Unix variant dhcp helper and server. There's two words for this: 'Network Aware. That's all it takes. DHCP service also doesn't have much to do with name resolution other than being able to hand out the address of the resolver. lol no not much but come in needy in some situations. Pass off the wins addy indeed though. Don't make so complicated you can't control. Agreed, but putting a wins server on every subnet would be complicated - and unnecessary. Yea could be a PITA. You know umm Winblows Serve, WINS Services can umm do multi SNs I do think. Now I may not me totally correct on that. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 7/8/2010 4:00 PM, JohnS wrote: Windows name resolution has next to nothing to do with ip routing. If your routing works you can make windows name resolution work over it, but it isn't automatic. If it does not work then it want happen as in getting routed to the wins server. You agree on that right? If routing don't work then there is no wins resolution in effect. In other words we have to know where to go. Yes, if your routing is broken or you firewall needed services between subnets, lots of things will break. Agreed, but putting a wins server on every subnet would be complicated - and unnecessary. Yea could be a PITA. You know umm Winblows Serve, WINS Services can umm do multi SNs I do think. Now I may not me totally correct on that. That's the whole point of using a WINS server. If you only have or care about one subnet you can let broadcasts and the ad-hoc master browser election do their thing. Current windows versions will also use DNS for most name lookups but I don't know if you can use it to find a PDC. Active Directory sort of hides the difference between netbios and DNS names by combining them - and things get weird if don't put them on the same server. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: ?? Centos Still Broken, Red Hat won't fix ??
To the Linux Community at Large: I reported to this list back in January, 2010 that the standard x86_64 kernel, when built from the src.rpm and modified for AMD K8 / K10 Extensions would not build. I reported this here and to Red Hat via Bugzilla ID number 558367. RH AS / Centos 5.3 worked fine. That was Centos 5.4 / Red Hat Enterprise AS 5 Update 4. Today we tried to optimize Red Hat Enterprise AS 5 Update 5. Same problem. At last check all kernels from 2.6.18-10 to 2.6.18-194 won't build with AMD specific optimizations. For 9 years now we have used and supported Centos and before that white box. We have sold, installed and provided consulting on Red Hat Linux and RH Enterprise Linux, Centos, Scientific Linux, OpenSUSE and SUSE Linux Enterprise. In April this year, the bug was still marked as new and we had to recommend to a customer to use SUSE Linux Enterprise instead of Red Hat Enterprise, as Novell's product supports optimizations in its kernel for AMD Opterons. 12 SLES Enterprise copies were sold to the customer. I'm sure that would have easily paid for the fix required in Redhat's kernel. I am beginning to wonder if Red Hat is getting too big? Or that it just does not care. Other ideas less pleasant come to mind Today, the old bug was still marked as new (6+ months and counting). I entered a new bug report for RH 5.5 for the same issue. Is there no way, unless you are a huge customer, to get your bug listed as anything except LOW PRIORITY?? Now we are looking at the AMD G34 CPU's and are building some demo units. I think its time to benchmark these systems with the working - non optimized Red Hat / Centos Linux versus the optimized Opensuse / SLES Linux for standard server functions and publish them. Has anyone else had this NON response from Red Hat for similar issues? I'd like to hear from them. Thanks for reading -- Seth Bardash Integrated Solutions and Systems LLC 719-495-5866 Shop Phone 719-337-4779 Cell s...@integratedsolutions.org Failure cannot survive knowledge and perseverance! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] EC2 elastic IP failover
Hello, I have two EC2 instances and I would like to setup some sort of failover strategy for them. They currently act as load balancers, forwarding layer 7 traffic using haproxy and stunnel to other EC2 instances. One of these load balancers currently has an elastic IP assigned with an A record pointing to it. What I'm trying to achieve is to remap this elastic IP in the eventuality of an instance failure. I know that heartbeat/keepalived/pacemaker/openais can do this without any kind of trouble but these tools don't work in Amazon's cloud due to restrictions imposed on their network (multicast/unicast traffic). One way of doing this would would require a network monitoring system that supports event-based script execution. At this point I'm thinking about writing a wrapper script around 'ec2-associate-address' and upon detecting a failure on instance A, my network monitoring system would simply execute the script on instance B in order to re-associate the elastic IP. Does anyone have a better/more elegant solution to this? Regards, -- Andrei ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: ?? Centos Still Broken, Red Hat won't fix ??
On Thu, 8 Jul 2010 at 3:39pm, Seth Bardash wrote I am beginning to wonder if Red Hat is getting too big? Or that it just does not care. Other ideas less pleasant come to mind Today, the old bug was still marked as new (6+ months and counting). I entered a new bug report for RH 5.5 for the same issue. Is there no way, unless you are a huge customer, to get your bug listed as anything except LOW PRIORITY?? It has been stated many times and on many fora that Red Hat's bugzilla is not a mechanism for support. They are under no obligation to address issues raised there. Is it nice when they do? Absolutely. Should you expect (nay, demand) it? Nope. The proper way to get Red Hat to address an issue is to open a ticket via your support contract with them. Now we are looking at the AMD G34 CPU's and are building some demo units. I think its time to benchmark these systems with the working - non optimized Red Hat / Centos Linux versus the optimized Opensuse / SLES Linux for standard server functions and publish them. While that may be interesting to compare distributions, I think it would do little to evaluate the benefit of the kernel CPU optimizations. There are just too many other variables. I would be very interested to see numbers comparing the exact same Red Hat distribution benchmarked with and without the kernel optimizations (you said 5.3 worked just fine). Do you have previous numbers on that showing a marked benefit? -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
After a little bit of research I feel a little vindicated. It seems that Samba3x seporated out nmb. On Samba 3.0 the nmb service does not show up in the chkconfig. It simply starts and stops with smb. On Samba3x it seporates out nmb and it does not start by itself. So based on my experience I never needed to start nmb seporately so just like all of you it didn't enter my mind as the culperate. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 18:10 -0500, Doug Coats wrote: After a little bit of research I feel a little vindicated. It seems that Samba3x seporated out nmb. On Samba 3.0 the nmb service does not show up in the chkconfig. It simply starts and stops with smb. On Samba3x it seporates out nmb and it does not start by itself. So based on my experience I never needed to start nmb seporately so just like all of you it didn't enter my mind as the culperate. yeah - Fedora packaging separated the 2 several releases ago and I gather that all of the new packages are now doing that but RHEL releases aren't likely to change. I thought the name calling was rather rude/harsh and uncalled for and think you did a pretty good job of tracking down the problem. Generally though, in your setup I would probably discourage cross subnet browse lists because they can get large and slow and generate excessive traffic. I would probably segregate student computers and teacher computers and not display teacher computers to students, etc. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On 07/08/10 1:31 PM, Les Mikesell wrote: I'm getting at your assertion that a Wins server on every subnet is right being impractical in most networks. And like the OPs problem it has to do with a windows client being able to resolve a windows name on a different subnet. I've never HEARD of using multiple wins servers, one per network segment. each SMB client can find the WINS server if you put it in the right DHCP option, or if you manually configure the client to know where the WINS server is. I've never used more than 2 of them enterprise-wide, and nowdays, you don't need WINS at all, Windows uses DNS as its primary locator service with Active Directory, and WINS is heavily deprecated. but, this whole discussion really has nothing to do with CentOS specifically, it would better be addressed on a Samba list, I'm sure. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: ?? Centos Still Broken, Red Hat won't fix ??
On Thu, Jul 08, 2010 at 06:35:47PM -0400, Joshua Baker-LePain wrote: It has been stated many times and on many fora that Red Hat's bugzilla is not a mechanism for support. They are under no obligation to address issues raised there. Is it nice when they do? Absolutely. There are two issues you're conflating here. The first, paramount one is: Is Red Hat taking responsibility for bugs people have taken the effort to accurately report to them? This is a measure of any software project, totally separate from the issue of whether and for what the project leads provide paid support. In particular, if they are marketing this software to anyone - even if the person kind enough to report the bug is not a paying customer - they have a responsibility _to their paying customers_ to resolve all serious bugs in a timely manner - or at least to indicate in their bugzilla why they are rejecting fixing them. This is an implicit contract that runs across all open source software projects. We can't pretend that Red Hat is ignorant of it. If they're chosing to ignore it this a violation of our community's ethics. Not that the rest of us are Boy Scouts either. Still it's worthy of discussion and complaint - the tribute vice owes to virtue and all that. Besides, the poster here is making a serious point about Red Hat losing sales. Smart companies pay attention to that sort of detail. It's not being unkind to point out to them when they're missing out on a profit opportunity. They owe it not just to their customers, but to their shareholders, to stay awake on that. Best, Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: ?? Centos Still Broken, Red Hat won't fix ??
On 07/08/10 2:39 PM, Seth Bardash wrote: To the Linux Community at Large: I reported to this list back in January, 2010 that the standard x86_64 kernel, when built from the src.rpm and modified for ... I don't understand how you think that this is a bug. you modified something and it broke. the provided redhat binary kernels work fine as advertised. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: ?? Centos Still Broken, Red Hat won't fix ??
On Thu, 8 Jul 2010, Whit Blauvelt wrote: This is an implicit contract that runs across all open source software projects. implicit contract ? You know 'Whit' -- you deserve congratulations You were just promoted into the 'hot air windbag' 'internet lawyer' 'I am entitled to it, just because I breathe' category How about celebrating your promotion by leaving this mailing list? -- Russ herrold ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mount cannot find system /dev/root
On Thu, Jul 8, 2010 at 10:18 PM, Akemi Yagi amy...@gmail.com wrote: On Thu, Jul 8, 2010 at 1:42 AM, sync jian...@gmail.com wrote: Hi, guys: I attempt to compile a kernel on CentOS 5.3 i386 which is installed in the Virtualbox machine, and its kernel version is 2.6.18-128.el5 ,the new kernel version is 2.6.34.1 All make procedure is running ok. I can generate initrd image with no problem too. But, when I try booting this kernel, I get Kernel panic error message like these: mount: could not find filesystem '/dev/root' Custom kernels are not supported by CentOS. However... that question was answered by a forum user some time ago. Please see my blog for more details: http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/ Thanks for your suggestion Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Networking just stopped working
On Thursday, July 08, 2010 09:40 PM, JohnS wrote: On Thu, 2010-07-08 at 07:51 -0500, Les Mikesell wrote: I think some bridge or vlan scenarios require promiscuous mode (and the corresponding disabling of hardware acceleration). Maybe the real issue is that something accidentally disabled it and you now only work when tcpdump re-enables it. I'm not sure how this is supposed to be managed atomically when multiple programs may manipulate it and it needs to be propagated across multiple bonded nics, but maybe something went wrong there. At least some things log the change so maybe you can get a hint about when it was turned on and off. --- Check out /proc/net/bonding/bond/YOUR_BOND. Make sure your slave IDs are the same as in aggregator ID. If not it will cause the problem your having. Bad NIC hardware also it's failing over for a reason as the log showed. They check out. What did help besides running tcpdump forever was to do a 'service network restart'. That made the network behave. I wonder what's going on... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS problem while trying to join windows 7 to samba3x pdc
On Thu, 2010-07-08 at 17:07 -0700, John R Pierce wrote: On 07/08/10 1:31 PM, Les Mikesell wrote: I'm getting at your assertion that a Wins server on every subnet is right being impractical in most networks. And like the OPs problem it has to do with a windows client being able to resolve a windows name on a different subnet. I've never HEARD of using multiple wins servers, one per network segment. each SMB client can find the WINS server if you put it in the right DHCP option, or if you manually configure the client to know where the WINS server is. I've never used more than 2 of them enterprise-wide, and nowdays, you don't need WINS at all, Windows uses DNS as its primary locator service with Active Directory, and WINS is heavily deprecated. but, this whole discussion really has nothing to do with CentOS specifically, it would better be addressed on a Samba list, I'm sure. Actually, Microsoft always recommended multiple WINS servers and using WINS replication. I quoted the Samba documentation regarding using a separate Samba based WINS server on each subnet. It's not that WINS is deprecated in favor of DNS but where active directory is used, it must use DNS and not WINS but a Samba 3.x server is still in a NT type Domain and WINS is the methodology. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: ?? Centos Still Broken, Red Hat won't fix ??
On Thu, 8 Jul 2010 at 8:16pm, Whit Blauvelt wrote On Thu, Jul 08, 2010 at 06:35:47PM -0400, Joshua Baker-LePain wrote: It has been stated many times and on many fora that Red Hat's bugzilla is not a mechanism for support. They are under no obligation to address issues raised there. Is it nice when they do? Absolutely. There are two issues you're conflating here. The first, paramount one is: Is Red Hat taking responsibility for bugs people have taken the effort to accurately report to them? This is a measure of any software project, totally separate from the issue of whether and for what the project leads provide paid support. In particular, if they are marketing this software to anyone - even if the person kind enough to report the bug is not a paying customer - they have a responsibility _to their paying customers_ to resolve all serious bugs in a timely manner - or at least to indicate in their bugzilla why they are rejecting fixing them. To be clear here, the bug in question is not present in any binaries that Red Hat ships. None of their paying customers will ever experience this bug while running in a supported configuration. It's a case of you broke it, you get to keep the pieces. -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OpenOffice.org 3.1 installation was corrupted-installed again, nothing in Applications/Office menu
I had a corrupted installation of OpenOffice.org 3.1. When I used yum remove openoffice.org-core the response was package openoffice.org-core available but not installed, but then, when I used yum install openoffice.org-core there was a long list of Transaction Check Errors. I then removed openoffice.org3.1-redhat-menus-noarch which was in the errors. Here's the first of those errors: Transaction Check Error: file /usr/bin/soffice from install of openoffice.org-core-3.1.1-19.5.el5_5.1.i386 conflicts with file from package openoffice.org3.1-redhat-menus-3.1-9393.noarch The transaction completed OK, after I removed openoffice.org3.1-redhat-menus-noarch, but now, there is nothing in Applications/Office menu for OpenOffice.org :-) Question: How do I get the different entries for OpenOffice.org to appear in that menu again so I can launch the application? (If I need to install the latest version of openoffice.org3.1-redhat-menus-noarch what command do I use to get the correct version?) CentOS 5.5 (32 bit): [la...@dell2400 ~]$ uname -a Linux dell2400.homelan 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linuxlate TIA! Lanny Panties, Swimwear, Women's Bras, Mens Underwear http://www.bras-panties.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: ?? Centos Still Broken, Red Hat won't fix ??
On Thu, Jul 08, 2010 at 08:16:05PM -0400, Whit Blauvelt wrote: Besides, the poster here is making a serious point about Red Hat losing sales. If the OP is making a serious point about RH losing sales, perhaps he should tell RedHat about it, instead of posting trollbait to an unrelated mailing list (and addressing it to the Linux community at large, which the CentOS mailing list is surely not). You mention some sort of implicit open source contract: the other side of that is the user, who needs to report problems properly and expect an appropriate response. Would you complain to RedHat support about a problem with packages in the centosplus repository? #!perl use what everyone already else said about unsupported configurations; --keith -- kkel...@wombat.san-francisco.ca.us ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos