[CentOS-docs] Ralph,when can you grant my permission?
If you dont trust me,please visit http://fedoraproject.org/wiki/cicku -- Best Regards, Christopher Meng--'Cicku' My personal blog is http://cicku.me,hope you can visit and say something about it. More Contact info see here:http://about.me/cicku ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-virt] Cannot remove lvs associated with deleted vm guests
At the beginning of January I encountered a problem where several vm guests on a single host somehow managed to see the the virtual disks assigned to other guests on the same hosts. I was unable to resolve this situation and shutdown the affected guests after creating new guest instances and moving the services and data off the corrupted guests. I have since removed these guests via virt-manager but all attempts to remove from the host the logical volumes associated with the former VirtIO disks fail. The volumes are considered open by lvremove and nothing I have tried can get them to close for removal. The --force option has no effect on this situation. # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Can't remove open logical volume lv_vm_base # dmsetup info -c vg_vhost01-lv_vm_base Name Maj Min Stat Open Targ Event UUID vg_vhost01-lv_vm_base 253 5 L--w21 0 LVM-gXMt00E1RDjpSX3INLZ35Prtg66aX36BeAOlKIkmfSNQRNol3Hni920R4YVaZr52 # dmsetup remove vg_vhost01-lv_vm_base device-mapper: remove ioctl failed: Device or resource busy Command failed There are several bugs filed on similar issues and udev is sometimes identified as the culprit. If I kill the udev daemon with T=`pidof -x udevd`; kill $T and rerun the lvremove -f command then I see this change in behaviour: # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 not /dev/mapper/vg_vhost01-lv_vm_pgsql--dbms.harte--lyne.ca_00p2 Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_basep2 not /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 Can't remove open logical volume lv_vm_base I need to get this system stable and return the lost disk space to the storage pool. Does anyone have any suggestions as to how to proceed? If I cannot solve this using the available system commands then prudence dictates that I have to re-install the server OS and rebuild all of the vm guests. As these guests have been laboriously transferred from other hosts during the past month this is a task I would rather not have to do. Any help is gratefully accepted. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-es] KVM P2V [Solucionado]
Muchas gracias a todos por la información ya tengo as claridad del tema, la empresa autorizo a adquirir productos de la empresa vmware. El 26 de enero de 2012 19:10, Rodolfo lu8...@gmail.com escribió: On 26/01/12 18:35, Daniel wrote: Saludos Lo que te dijo Javier Basisty es correcto y es la solucion que buscas para pasar una maquina fisica a una maquina virtual (P2V), necesitas buscar mejor hay mucha info en la red. http://www.josemariagonzalez.es/tag/rhev Holas... Lo que te puede llegar a servir es la documentación, y porque no también Proxmox VE. http://pve.proxmox.com/wiki/Main_Page --- LA DOCS http://www.proxmox.com/products/proxmox-ve --- LA PÁGINA DEL SISTEMA ADMIN DE VIRTUALES Hay mucha info de como pasar de una forma a otra... Saludos Rodolfo. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Este mensaje no contiene virus, porque ha sido creado con Linux, utilizando Software Libre y auditable. This message doesn't contain viruses, because it has been created with Linux, using auditable Free Software. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] KVM P2V [Solucionado]
On 27/01/12 10:31, Carlos Andres Torres Paredes wrote: Muchas gracias a todos por la información ya tengo as claridad del tema, la empresa autorizo a adquirir productos de la empresa vmware. Que lástima no?... van a pagar por algo gratis que funciona de 10. Suerte. Rolfo ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] KVM P2V [Solucionado]
Tal cual, kvm y todos estos soft funcionan de maravilla, muy estables y con buena perfomance tanto en 32 como en 64 bits. Aunque vmware es muy buen producto también. -Mensaje original- De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En nombre de Rodolfo Enviado el: viernes, 27 de enero de 2012 11:31 a.m. Para: centos-es@centos.org Asunto: Re: [CentOS-es] KVM P2V [Solucionado] On 27/01/12 10:31, Carlos Andres Torres Paredes wrote: Muchas gracias a todos por la información ya tengo as claridad del tema, la empresa autorizo a adquirir productos de la empresa vmware. Que lástima no?... van a pagar por algo gratis que funciona de 10. Suerte. Rolfo ___ 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] Duda sobre HP Proliant DL 380 G7
Estimados, El motivo de este mail es para realizar la consulta. Resulta que en mi empresa adquirieron un servidor hp ProLiant DL 380G7, con intención de virtualizar de 2 equipos. Pero... el problema esta al configurar las tarjetas de red (2 *NC382i*DualPort Multifunction Gigabit, Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet ). Existen 9 vlan aprox. en la empresa y se necesita configurar 2 de ellas en eth0 y eth2. Al momento de configurar la interfaces una me deja de funcionar. Por ejemplo subo eth0 y eth2 baja, se pierde el ping. Hago lo mismo con la eth2 y baja la otra tarjeta. Verifique que todas las configuraciones del switch que conectan al server ... y esta todo bien ... Lo que se me ocurrió después fue asignar una de las vlan , a una interface y bajando eth2 ... pero tampoco funciono. Copio la ultima configuración Config [xxdx@xxx ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:C8 inet addr:172.16.212.54 Bcast:172.16.212.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:261341 errors:0 dropped:0 overruns:0 frame:0 TX packets:11411 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30102885 (28.7 MiB) TX bytes:1141950 (1.0 MiB) Interrupt:169 Memory:f400-f4012800 eth0.315 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:C8 inet addr:172.16.215.240 Bcast:172.16.215.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44578 errors:0 dropped:0 overruns:0 frame:0 TX packets:10213 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3377251 (3.2 MiB) TX bytes:850129 (830.2 KiB) eth1 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CA BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:122 Memory:f200-f2012800 eth2 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CC BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:170 Memory:f800-f8012800 eth3 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CE BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:178 Memory:f600-f6012800 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2922 errors:0 dropped:0 overruns:0 frame:0 TX packets:2922 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5594349 (5.3 MiB) TX bytes:5594349 (5.3 MiB) eth0 # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet DEVICE=eth0 BOOTPROTO=static BROADCAST=172.16.212.255 HWADDR=44:1E:A1:04:6C:C8 IPADDR=172.16.212.54 IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NETWORK=172.16.212.0 GATEWAY=172.16.212.1 ONBOOT=yes TYPE=Ethernet PEERDNS=yes USERCTL=no eth0.315 DEVICE=eth0.315 BOOTPROTO=static IPADDR=172.16.215.240 NETWORK=172.16.215.0 NETMASK=255.255.255.0 BROADCAST=172.16.215.255 GATEWAY=172.16.215.1 DNS1=172.16.215.239 VLAN=yes ONBOOT=yes Alguna idea o sugerencia ?? ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Duda sobre HP Proliant DL 380 G7
Estimado jose, Quieres virtualizar mejor es q utilizes vmware y dentro de el crear las virtuales luego en Vmware ESX crear un Vswitch identificando vlan y agrupando para que funcione como troncal. PEro si ya esta el linux configura y crea rutas estaticas comando route Atte. El 27 de enero de 2012 12:24, José Castro jos.cast...@gmail.com escribió: Estimados, El motivo de este mail es para realizar la consulta. Resulta que en mi empresa adquirieron un servidor hp ProLiant DL 380G7, con intención de virtualizar de 2 equipos. Pero... el problema esta al configurar las tarjetas de red (2 *NC382i*DualPort Multifunction Gigabit, Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet ). Existen 9 vlan aprox. en la empresa y se necesita configurar 2 de ellas en eth0 y eth2. Al momento de configurar la interfaces una me deja de funcionar. Por ejemplo subo eth0 y eth2 baja, se pierde el ping. Hago lo mismo con la eth2 y baja la otra tarjeta. Verifique que todas las configuraciones del switch que conectan al server ... y esta todo bien ... Lo que se me ocurrió después fue asignar una de las vlan , a una interface y bajando eth2 ... pero tampoco funciono. Copio la ultima configuración Config [xxdx@xxx ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:C8 inet addr:172.16.212.54 Bcast:172.16.212.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:261341 errors:0 dropped:0 overruns:0 frame:0 TX packets:11411 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30102885 (28.7 MiB) TX bytes:1141950 (1.0 MiB) Interrupt:169 Memory:f400-f4012800 eth0.315 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:C8 inet addr:172.16.215.240 Bcast:172.16.215.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44578 errors:0 dropped:0 overruns:0 frame:0 TX packets:10213 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3377251 (3.2 MiB) TX bytes:850129 (830.2 KiB) eth1 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CA BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:122 Memory:f200-f2012800 eth2 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CC BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:170 Memory:f800-f8012800 eth3 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CE BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:178 Memory:f600-f6012800 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2922 errors:0 dropped:0 overruns:0 frame:0 TX packets:2922 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5594349 (5.3 MiB) TX bytes:5594349 (5.3 MiB) eth0 # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet DEVICE=eth0 BOOTPROTO=static BROADCAST=172.16.212.255 HWADDR=44:1E:A1:04:6C:C8 IPADDR=172.16.212.54 IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NETWORK=172.16.212.0 GATEWAY=172.16.212.1 ONBOOT=yes TYPE=Ethernet PEERDNS=yes USERCTL=no eth0.315 DEVICE=eth0.315 BOOTPROTO=static IPADDR=172.16.215.240 NETWORK=172.16.215.0 NETMASK=255.255.255.0 BROADCAST=172.16.215.255 GATEWAY=172.16.215.1 DNS1=172.16.215.239 VLAN=yes ONBOOT=yes Alguna idea o sugerencia ?? ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Atentamente : Hector Cuadros Prosopio . Movil :(511)995-412-884 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Duda sobre HP Proliant DL 380 G7
Jose, que versión del SO le estas instando? a mi esa misma referencia me dio problemas con la versión 5 tanto de RHEL como de CentOS, opte instalar la versión 6.0 (me arriesgue a instalar esa versión la cual no tenia ni una semana de estar disponible) de CentOS y funciono muy bien, la otra opcion que me sugirio un ingeniero que trabaja en uno de los canales de HP es que le actualizara el Firmware pero esos equipos no traen unidad de diskette y el parche viene para ese medio de almacenamiento (Todo un rollo y donde me estaba haciendo esa instalación no se disponia de sitios donde conseguir ese dispositivo). En la pagina de HP hay información al respecto. C.R El 27 de enero de 2012 12:57, Hector Cuadros Prosopio ohmi...@gmail.comescribió: Estimado jose, Quieres virtualizar mejor es q utilizes vmware y dentro de el crear las virtuales luego en Vmware ESX crear un Vswitch identificando vlan y agrupando para que funcione como troncal. PEro si ya esta el linux configura y crea rutas estaticas comando route Atte. El 27 de enero de 2012 12:24, José Castro jos.cast...@gmail.com escribió: Estimados, El motivo de este mail es para realizar la consulta. Resulta que en mi empresa adquirieron un servidor hp ProLiant DL 380G7, con intención de virtualizar de 2 equipos. Pero... el problema esta al configurar las tarjetas de red (2 *NC382i*DualPort Multifunction Gigabit, Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet ). Existen 9 vlan aprox. en la empresa y se necesita configurar 2 de ellas en eth0 y eth2. Al momento de configurar la interfaces una me deja de funcionar. Por ejemplo subo eth0 y eth2 baja, se pierde el ping. Hago lo mismo con la eth2 y baja la otra tarjeta. Verifique que todas las configuraciones del switch que conectan al server ... y esta todo bien ... Lo que se me ocurrió después fue asignar una de las vlan , a una interface y bajando eth2 ... pero tampoco funciono. Copio la ultima configuración Config [xxdx@xxx ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:C8 inet addr:172.16.212.54 Bcast:172.16.212.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:261341 errors:0 dropped:0 overruns:0 frame:0 TX packets:11411 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30102885 (28.7 MiB) TX bytes:1141950 (1.0 MiB) Interrupt:169 Memory:f400-f4012800 eth0.315 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:C8 inet addr:172.16.215.240 Bcast:172.16.215.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44578 errors:0 dropped:0 overruns:0 frame:0 TX packets:10213 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3377251 (3.2 MiB) TX bytes:850129 (830.2 KiB) eth1 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CA BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:122 Memory:f200-f2012800 eth2 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CC BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:170 Memory:f800-f8012800 eth3 Link encap:Ethernet HWaddr 44:1E:A1:04:6C:CE BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:178 Memory:f600-f6012800 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2922 errors:0 dropped:0 overruns:0 frame:0 TX packets:2922 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5594349 (5.3 MiB) TX bytes:5594349 (5.3 MiB) eth0 # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet DEVICE=eth0 BOOTPROTO=static BROADCAST=172.16.212.255 HWADDR=44:1E:A1:04:6C:C8 IPADDR=172.16.212.54 IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NETWORK=172.16.212.0 GATEWAY=172.16.212.1 ONBOOT=yes TYPE=Ethernet PEERDNS=yes USERCTL=no eth0.315 DEVICE=eth0.315 BOOTPROTO=static IPADDR=172.16.215.240 NETWORK=172.16.215.0 NETMASK=255.255.255.0 BROADCAST=172.16.215.255
Re: [CentOS] GUI login issues over NFS
On Thu, Jan 26, 2012 at 02:48:14PM -0500, Michael Weiner wrote: On Thu, Jan 26, 2012 at 2:28 PM, Tru Huynh t...@centos.org wrote: no issue here on CentOS-6.2 2.6.32-220.4.1.el6.x86_64 selinux enforced (but I have setsebool -P use_nfs_home_dirs=1) ibrix:/ibfs1/tru mounted as /home/ibrix (newly created ibrix user) Tru - Thank you for your response. When you created the NFS export on the IBRIX system, what options did you use? I am currently using its defaults of RW, NO_ROOT_SQUASH [root@xxx ~]# ibrix_version -l Fusion Manager version: 6.0.326 === Segment Servers === HOST_NAME FILE_SYSTEM IAD/IAS IAD/FS OS KERNEL_VERSION ARCH - -- --- --- - -- 1 6.0.326(X9000_6_0) 6.0.326 6.0.326 GNU/Linux 2.6.18-194.el5 x86_64 2 6.0.326(X9000_6_0) 6.0.326 6.0.326 GNU/Linux 2.6.18-194.el5 x86_64 - l'export et les options que tu as utilisé? [root@hummer-s2 ~]# ibrix_exportfs -l HOSTNAME FSNAME PATH OPTIONS - -- - --- 1 ibfs1 centos6:/ibfs1/tru rw,no_root_squash 1 ibfs1 centos5:/ibfs1/tru rw,no_root_squash 2 ibfs1 centos6:/ibfs1/tru rw,no_root_squash 2 ibfs1 centos5:/ibfs1/tru rw,no_root_squash In the CentOS-5 and CentOS-6 machines, mount reports: ibrix:/ibfs1/tru on /home/ibrix type nfs (rw,addr=) I would check if your problematic user is created both locally and in your NIS/LDAP/... setup with different uid, restart the gdm daemon (caching? issue), stop nscd (+ flush the local cached data, before restarting it). Tru -- Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B pgpOVKrnuxrWJ.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.2 install disk jumps to Gnome Partition Manager
On 01/27/2012 02:38 AM, Paul Johnson wrote: Have you seen this problem? I downloaded CentOS-6.2-i386-bin-DVD1.iso verified the md5sum, wrote on a DVD, verified that against the iso. When I boot a computer with that disk, It does not present the usual Linux install menu, it jumps to a thing called Gnome Partition Manager, and that offers a weird sort of live disk interface. There is no way to start an install, so far as I can see. please run a sha256sum against that iso - and also confirm where and how you downloaded the disk. -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219| Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GUI login issues over NFS
On Fri, Jan 27, 2012 at 3:44 AM, Tru Huynh t...@centos.org wrote: [root@xxx ~]# ibrix_version -l Fusion Manager version: 6.0.326 === Segment Servers === HOST_NAME FILE_SYSTEM IAD/IAS IAD/FS OS KERNEL_VERSION ARCH - -- --- --- - -- 1 6.0.326(X9000_6_0) 6.0.326 6.0.326 GNU/Linux 2.6.18-194.el5 x86_64 2 6.0.326(X9000_6_0) 6.0.326 6.0.326 GNU/Linux 2.6.18-194.el5 x86_64 - l'export et les options que tu as utilisé? [root@hummer-s2 ~]# ibrix_exportfs -l HOSTNAME FSNAME PATH OPTIONS - -- - --- 1 ibfs1 centos6:/ibfs1/tru rw,no_root_squash 1 ibfs1 centos5:/ibfs1/tru rw,no_root_squash 2 ibfs1 centos6:/ibfs1/tru rw,no_root_squash 2 ibfs1 centos5:/ibfs1/tru rw,no_root_squash In the CentOS-5 and CentOS-6 machines, mount reports: ibrix:/ibfs1/tru on /home/ibrix type nfs (rw,addr=) I would check if your problematic user is created both locally and in your NIS/LDAP/... setup with different uid, restart the gdm daemon (caching? issue), stop nscd (+ flush the local cached data, before restarting it). Tru - thank you for the information, here is mine for the same [root@lri-brix01 ~]# ibrix_version -l Fusion Manager version: 6.0.326 === Segment Servers === HOST_NAME FILE_SYSTEM IAD/IAS IAD/FS OS KERNEL_VERSION ARCH -- -- --- --- - -- lri-brix01 6.0.326(X9000_6_0) 6.0.326 6.0.326 GNU/Linux 2.6.18-194.el5 x86_64 lri-brix02 6.0.326(X9000_6_0) 6.0.326 6.0.326 GNU/Linux 2.6.18-194.el5 x86_64 and [root@lri-brix01 ~]# ibrix_exportfs -l HOSTNAMEFSNAME PATH OPTIONS -- -- - --- lri-brix01 ibrix *:/ibrix/testingrw,no_root_squash .. many many exportfs shares On workstation, mount shows: lri-brix:/ibrix/testing on /bme/home type nfs (rw,addr=10.66.200.11) I even mounted the test share manually, disabling autofs and ypbind, and created a 'local' user with an NFS mounted $HOME directory and it still failed. I dont see what i have done wrong. SSH logins work, and the directory is traversable by the local user but still can not log in via Gnome or KDE. Michael ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] need help to build livecd and create success iso file but it hang
Hi all my environment: 1/ windows 7 OS system 2/ use virtual box install the host centos system i try to make a centos livecd and i follow the step 1/ create file: vi /etc/yum.repos.d/centos-livecd.repo and the content of file: # Name: CentOS LiveCD repository [livecd] name = CentOS $releasever - LiveCD baseurl = http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live enabled=1 protect=0 gpgkey = http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay2010 2/ yum install livecd-tools syslinux anaconda-runtime 3/ create file alochym.ks and content of file: lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 selinux --enforcing firewall --disabled repo --name=a-base --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/os/$basearch repo --name=a-updates --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/updates/$basearch repo --name=a-extras --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/extras/$basearch repo --name=a-live --baseurl=http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live %packages bash kernel syslinux passwd policycoreutils chkconfig authconfig rootfiles comps-extras xkeyboard-config openssh 4/ run command : LANG=C livecd-creator --config=/mnt/alochym.ks --fslabel=CentOS-mini 5/ download the file CentOS-mini.iso to windows 7 6/ use virtual box create new virtual machine with CentOS-mini.iso as cdrom the log of create livecd : http://pastebin.com/Z5BFASXa the problem is when i use the CentOS-mini.iso with new virtual machine and the virtual manchine hang when automatic boot to 0 second can somebody help me Thank you ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GUI login issues over NFS
On Fri, Jan 27, 2012 at 09:17:38AM -0500, Michael Weiner wrote: ... On workstation, mount shows: lri-brix:/ibrix/testing on /bme/home type nfs (rw,addr=10.66.200.11) ... try mounting to /home/username instead of /bme/home/username (and fixing /etc/passwd) no other idea for the moment. Tru -- Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B pgpVEbSLTNiqz.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] LSi Logic SCSI controller driver
Hello, I have found a lot of discussions concerning the LSI Logic scsi driver. E.g.: https://lkml.org/lkml/2010/4/26/335 https://bugzilla.kernel.org/show_bug.cgi?id=16547 http://www.redhat.com/archives/rhl-list/2007-April/msg02661.html VMware ESXI was updated on 28. April 2011. Is this bug fixed in CentOS 6? RHEL 6 beta: the bug was included so far as I have read. -- Viele Grüße Helmut Drodofsky Internet XS Service GmbH Heßbrühlstraße 15 70565 Stuttgart Geschäftsführung Dr.-Ing. Roswitha Hahn-Drodofsky HRB 21091 Stuttgart USt.ID: DE190582774 Tel. 0711 781941 0 Fax: 0711 781941 79 Mail: i...@internet-xs.de www.internet-xs.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fsck
On 01/25/2012 10:46 AM, Steve Clark wrote: Hello, We are running units in the field that are headless. Sometimes we get units returned that we when we boot them up have some type of filesystem inconsistency that the default preen doesn't fix but running fsck -y does. I want to eliminate the -p (preen option) and always do the -y option anyone know where to make this change? Thanks, You can create a file called: /etc/sysconfig/autofsck inside there you need the following lines: AUTOFSCK_DEF_CHECK=yes AUTOFSCK_OPT=-y That should take away all options except -f and use the ones you put in AUTOFSCK_OPT. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LSi Logic SCSI controller driver
On 01/27/12 7:40 AM, Helmut Drodofsky wrote: I have found a lot of discussions concerning the LSI Logic scsi driver. E.g.: https://lkml.org/lkml/2010/4/26/335 https://bugzilla.kernel.org/show_bug.cgi?id=16547 http://www.redhat.com/archives/rhl-list/2007-April/msg02661.html VMware ESXI was updated on 28. April 2011. Is this bug fixed in CentOS 6? RHEL 6 beta: the bug was included so far as I have read. which ? those 3 bug reports/discussions are talking about 3 completely different drivers for 3 different cards.what LSI SCSI card do you have? -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fsck
On Fri, Jan 27, 2012 at 10:43 AM, Johnny Hughes joh...@centos.org wrote: On 01/25/2012 10:46 AM, Steve Clark wrote: Hello, We are running units in the field that are headless. Sometimes we get units returned that we when we boot them up have some type of filesystem inconsistency that the default preen doesn't fix but running fsck -y does. I want to eliminate the -p (preen option) and always do the -y option anyone know where to make this change? Thanks, You can create a file called: /etc/sysconfig/autofsck inside there you need the following lines: AUTOFSCK_DEF_CHECK=yes AUTOFSCK_OPT=-y That should take away all options except -f and use the ones you put in AUTOFSCK_OPT. Thanks! Is that something we should have found in the documentation? I've always wondered why it wasn't the default. It is always painful when headless/remote machines fail to boot because of this, and the odds of anyone knowing more than fsck does about repairing a file system are essentially zero. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Confusion over sendmail and smtp auth on a 6.2
While certainly Centos 6.2 specific, I found the following How-tos very helpful in setting up a similar Sendmail/Dovecot configuration on Centos. http://www.falkotimme.com/howtos/sendmail_smtp_auth_tls/index.php http://www.brennan.id.au/12-Sendmail_Server.html Hope it helps. Gerald I'm reading a lot on how to setup my smtp auth on a new Centos 6.2 server. I want to use sendmail and have this running on a Centos 3 machine now, so it's not new stuff to me. Unfortunately, the more I read, the more confusion I seem to have. Firstly, how to generate my certificates. A good recommendation or howto would be in order. I think most of the confusion here comes from the commented names of files used in sendmail.mc for all the auth files. As far as I can tell, the encryption length is the only change I need (going to a minimum of 2048 bits) from the old system generation. Those pem files throw me a bit, though. Secondly, I'm reading DoveCot has a problem with security and that I need to run something other than ? (Cyrus, Courier, etc) to make this work. I typically don't run imap security, only on smtp, so I'm not sure if there's to be interference between the two. Since postfix is the default now on Centos 6.2, what should I look for by changing it back to sendmail when it comes to smtp auth? I only authenticate users that are not in the building on our network to allow them to send email. They're free to use pop or imap to retrieve their email without authentication. Thanks for any clarity on this. steve campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Cannot remove lvs associated with deleted vm guests
At the beginning of January I encountered a problem where several vm guests on a single host somehow managed to see the the virtual disks assigned to other guests on the same hosts. I was unable to resolve this situation and shutdown the affected guests after creating new guest instances and moving the services and data off the corrupted guests. I have since removed these guests via virt-manager but all attempts to remove from the host the logical volumes associated with the former VirtIO disks fail. The volumes are considered open by lvremove and nothing I have tried can get them to close for removal. The --force option has no effect on this situation. # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Can't remove open logical volume lv_vm_base # dmsetup info -c vg_vhost01-lv_vm_base Name Maj Min Stat Open Targ Event UUID vg_vhost01-lv_vm_base 253 5 L--w21 0 LVM-gXMt00E1RDjpSX3INLZ35Prtg66aX36BeAOlKIkmfSNQRNol3Hni920R4YVaZr52 # dmsetup remove vg_vhost01-lv_vm_base device-mapper: remove ioctl failed: Device or resource busy Command failed There are several bugs filed on similar issues and udev is sometimes identified as the culprit. If I kill the udev daemon with T=`pidof -x udevd`; kill $T and rerun the lvremove -f command then I see this change in behaviour: # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 not /dev/mapper/vg_vhost01-lv_vm_pgsql--dbms.harte--lyne.ca_00p2 Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_basep2 not /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 Can't remove open logical volume lv_vm_base I need to get this system stable and return the lost disk space to the storage pool. Does anyone have any suggestions as to how to proceed? If I cannot solve this using the available system commands then prudence dictates that I have to re-install the server OS and rebuild all of the vm guests. As these guests have been laboriously transferred from other hosts during the past month this is a task I would rather not have to do. Any help is gratefully accepted. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Confusion over sendmail and smtp auth on a 6.2 server - solved
Amazing what you find when you sit down and read CAREFULLY. The answer to generating a sendmail certificate was in the sendmail.mc file. Same place as it has been for quite some time. Sorry for the bother. steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Confusion over sendmail and smtp auth on a 6.2 server - solved
On Fri, Jan 27, 2012 at 11:58 AM, Steve Campbell campb...@cnpapers.com wrote: Amazing what you find when you sit down and read CAREFULLY. The answer to generating a sendmail certificate was in the sendmail.mc file. Same place as it has been for quite some time. Sorry for the bother. Is there some reason you can't just point to the one that apache uses - either the self-signed one from a default install or the one you replaced it with if you have real certs? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fsck
On 01/27/2012 11:43 AM, Johnny Hughes wrote: On 01/25/2012 10:46 AM, Steve Clark wrote: Hello, We are running units in the field that are headless. Sometimes we get units returned that we when we boot them up have some type of filesystem inconsistency that the default preen doesn't fix but running fsck -y does. I want to eliminate the -p (preen option) and always do the -y option anyone know where to make this change? Thanks, You can create a file called: /etc/sysconfig/autofsck inside there you need the following lines: AUTOFSCK_DEF_CHECK=yes AUTOFSCK_OPT=-y That should take away all options except -f and use the ones you put in AUTOFSCK_OPT. Thanks much for the info. -- Stephen Clark *NetWolves* Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.cl...@netwolves.com http://www.netwolves.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fsck
On 01/27/2012 12:19 PM, Les Mikesell wrote: On Fri, Jan 27, 2012 at 10:43 AM, Johnny Hughesjoh...@centos.org wrote: On 01/25/2012 10:46 AM, Steve Clark wrote: Hello, We are running units in the field that are headless. Sometimes we get units returned that we when we boot them up have some type of filesystem inconsistency that the default preen doesn't fix but running fsck -y does. I want to eliminate the -p (preen option) and always do the -y option anyone know where to make this change? Thanks, You can create a file called: /etc/sysconfig/autofsck inside there you need the following lines: AUTOFSCK_DEF_CHECK=yes AUTOFSCK_OPT=-y That should take away all options except -f and use the ones you put in AUTOFSCK_OPT. Thanks! Is that something we should have found in the documentation? I've always wondered why it wasn't the default. It is always painful when headless/remote machines fail to boot because of this, and the odds of anyone knowing more than fsck does about repairing a file system are essentially zero. This is so true! I had this same argument back in the '90 with a NCR developer when their Towers did the same thing, and we using them as message switches in the public safety arena. -- Stephen Clark *NetWolves* Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.cl...@netwolves.com http://www.netwolves.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GUI login issues over NFS
On Fri, Jan 27, 2012 at 9:28 AM, Tru Huynh t...@centos.org wrote: try mounting to /home/username instead of /bme/home/username (and fixing /etc/passwd) no other idea for the moment. Tru - Thank you for the suggestion, i did this, and it still failed with that .dmrc error, even AFTER i changed the RelaxPermissions to be 2 in the gdm default.conf file and restarted the workstation. I am just stumped. Michael ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fsck
On 01/27/2012 11:19 AM, Les Mikesell wrote: On Fri, Jan 27, 2012 at 10:43 AM, Johnny Hughes joh...@centos.org wrote: On 01/25/2012 10:46 AM, Steve Clark wrote: Hello, We are running units in the field that are headless. Sometimes we get units returned that we when we boot them up have some type of filesystem inconsistency that the default preen doesn't fix but running fsck -y does. I want to eliminate the -p (preen option) and always do the -y option anyone know where to make this change? Thanks, You can create a file called: /etc/sysconfig/autofsck inside there you need the following lines: AUTOFSCK_DEF_CHECK=yes AUTOFSCK_OPT=-y That should take away all options except -f and use the ones you put in AUTOFSCK_OPT. Thanks! Is that something we should have found in the documentation? I've always wondered why it wasn't the default. It is always painful when headless/remote machines fail to boot because of this, and the odds of anyone knowing more than fsck does about repairing a file system are essentially zero. The reason it is not the default in CentOS is because it is not the default in RHEL. As to why it is not the default in RHEL, I can't say for sure ... BUT ... -y (auto answer yes) is more dangerous that -p (preen). The definition of preen is to automatically fix any filesystem problems that can be safely fixed without human intervention. When you do -y instead, it answers yes to everything ... including things that can't be fixed without human intervention. That is not necessarily the safest thing to do. If you choose to do this, make sure you have good backups :D signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cannot remove lvs associated with deleted vm guests
Hi, Its ages since I came across this problem so my memory is a little hazey but something is obviously holding on to the lv so you'll need to figure out whats holding it and kill that. The open value returned by dmsetup info is how many things have the device file open), it looks to be 2 at the moment and you cant dmsetup remove untill its zero (lvm might be one of them I cant remember) A few things worth trying are 1) make sure its not mounted anywhere! 2) if multipathd is running try stopping that. 3) either lsof or fuser on the device file may be able to tell you which process has it open 4) something vm related might not have let go properly, are there any deamons/processes etc still running? 5) reboot, the sledgehammer aproach to killing off processes!! 6) you could try hitting it with dmsetup again, you need to suspend the device first using dmsetup suspend which *may* persuade the holding process to let go, if it does reduce the open count you'll need to dmsetup resume and then suspend again untill open reaches zero when dmsetup remove should work. I'd try and avoid this option if you can, you're messing beneath the lvm layer and it may not like that, should be ok but... if none of that is possible/works you could try asking on the lvm-linux list. Reinstalling really shouldn't be necesary. chris - Original Message - From: James B. Byrne byrn...@harte-lyne.ca To: centos-v...@centos.org; centos@centos.org Cc: Sent: Friday, 27 January 2012, 17:50 Subject: [CentOS] Cannot remove lvs associated with deleted vm guests At the beginning of January I encountered a problem where several vm guests on a single host somehow managed to see the the virtual disks assigned to other guests on the same hosts. I was unable to resolve this situation and shutdown the affected guests after creating new guest instances and moving the services and data off the corrupted guests. I have since removed these guests via virt-manager but all attempts to remove from the host the logical volumes associated with the former VirtIO disks fail. The volumes are considered open by lvremove and nothing I have tried can get them to close for removal. The --force option has no effect on this situation. # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Can't remove open logical volume lv_vm_base # dmsetup info -c vg_vhost01-lv_vm_base Name Maj Min Stat Open Targ Event UUID vg_vhost01-lv_vm_base 253 5 L--w 2 1 0 LVM-gXMt00E1RDjpSX3INLZ35Prtg66aX36BeAOlKIkmfSNQRNol3Hni920R4YVaZr52 # dmsetup remove vg_vhost01-lv_vm_base device-mapper: remove ioctl failed: Device or resource busy Command failed There are several bugs filed on similar issues and udev is sometimes identified as the culprit. If I kill the udev daemon with T=`pidof -x udevd`; kill $T and rerun the lvremove -f command then I see this change in behaviour: # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 not /dev/mapper/vg_vhost01-lv_vm_pgsql--dbms.harte--lyne.ca_00p2 Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_basep2 not /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 Can't remove open logical volume lv_vm_base I need to get this system stable and return the lost disk space to the storage pool. Does anyone have any suggestions as to how to proceed? If I cannot solve this using the available system commands then prudence dictates that I have to re-install the server OS and rebuild all of the vm guests. As these guests have been laboriously transferred from other hosts during the past month this is a task I would rather not have to do. Any help is gratefully accepted. -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ 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] fsck
On Fri, Jan 27, 2012 at 2:21 PM, Johnny Hughes joh...@centos.org wrote: The reason it is not the default in CentOS is because it is not the default in RHEL. As to why it is not the default in RHEL, I can't say for sure ... BUT ... -y (auto answer yes) is more dangerous that -p (preen). The definition of preen is to automatically fix any filesystem problems that can be safely fixed without human intervention. When you do -y instead, it answers yes to everything ... including things that can't be fixed without human intervention. That is not necessarily the safest thing to do. If you choose to do this, make sure you have good backups :D I do sort-of understand the difference between the -p and -y - and the CentOS position on the subject. But seriously, how many people are going to be able to recover a filesystem better than fsck? And you need the backups anyway - the disk might really be dead. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] After a long break, one more try at bond/bridge nics
took a couple months off due to road blocks, hoping a fresh look would allow me to use my server as desired. I have three ports, eth0-2 over two nics. I want to bond them, and then use a bridge to connect to virtual machines on the virtual host computer. Never having done this, I am confused on some parts. Here is where I am at now and any pointers helpful. Single server, centos 6.x My issue is do I add the ip address of the virtual host and where? Do I not add any of the ip addresses of the virtual machines? (thus they will be looked for via the bridge?) Each virtual machine will be getting its own ip address as it will be used for a website. here is the basic configuration I am looking at, with some things not added like hwaddress and a few tweaks (zeroconf?) am I even close? I admit I have never done this and have no mentor other than this exceptional mailing list. /etc/modprobe.conf alias bond0 bonding options bond0 mode=balance-alb miimon=100 bond0 DEVICE=bond0 BOOTPROTO=none BRIDGE=br0 ONBOOT=yes BONDING_OPTS=mode=1 miimon=100 primary=eth0 br0 DEVICE=br0 TYPE=Bridge BOOTPROTO=none IPADDR=my virtual host IP address? NETWORK=xxx.xx.xx.xxx BROADCAST=xxx.xx.xx.xx NETMASK=255.255.255.0 ONBOOT=yes GATEWAY=xx.xxx.xxx.xx I did not add the hwaddress to the items below. eth0 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none eth1 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none eth2 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none = ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] After a long break, one more try at bond/bridge nics
I do this in my clusters (using six NICs, but that doesn't matter). I've documented how I create bonds and bridges with details here: https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial#Network Scroll down a bit to: https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial#Configuring_The_Bridge and https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial#Network In short; - Put the host's IP on the bridge, not the bond. - HWADDR are defined in the interfaces only, not the bond or bridge. Digimer On 01/27/2012 05:16 PM, Bob Hoffman wrote: took a couple months off due to road blocks, hoping a fresh look would allow me to use my server as desired. I have three ports, eth0-2 over two nics. I want to bond them, and then use a bridge to connect to virtual machines on the virtual host computer. Never having done this, I am confused on some parts. Here is where I am at now and any pointers helpful. Single server, centos 6.x My issue is do I add the ip address of the virtual host and where? Do I not add any of the ip addresses of the virtual machines? (thus they will be looked for via the bridge?) Each virtual machine will be getting its own ip address as it will be used for a website. here is the basic configuration I am looking at, with some things not added like hwaddress and a few tweaks (zeroconf?) am I even close? I admit I have never done this and have no mentor other than this exceptional mailing list. /etc/modprobe.conf alias bond0 bonding options bond0 mode=balance-alb miimon=100 bond0 DEVICE=bond0 BOOTPROTO=none BRIDGE=br0 ONBOOT=yes BONDING_OPTS=mode=1 miimon=100 primary=eth0 br0 DEVICE=br0 TYPE=Bridge BOOTPROTO=none IPADDR=my virtual host IP address? NETWORK=xxx.xx.xx.xxx BROADCAST=xxx.xx.xx.xx NETMASK=255.255.255.0 ONBOOT=yes GATEWAY=xx.xxx.xxx.xx I did not add the hwaddress to the items below. eth0 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none eth1 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none eth2 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none = ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Digimer E-Mail: digi...@alteeve.com Papers and Projects: https://alteeve.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] After a long break, one more try at bond/bridge nics
well, I get no errors on network restart, but all that shows starting up is the loopback. ifconfig shows br0 with all settings right. here is what I have changed, still cannot access outside world with the virtual host machine. I am sure it is a resolution thing, but the network restart does not mention the bridge. No copy paste as using an ipmi card, so all hand typed here, so the capitalization is not correct in this post. Since this is a virtual host only, I did not do 'bind' and am just using google dns servers until I set up my own for resolution. netstat -rn shows two Br0 1 has the destination ip and genamsk, the other has the gateway /etc/hosts xx.xx.xx.xx main.xxx.com main 127.0.0.1 localhost.locadomain localhost ::1 main.xxx.com main localhost6.localdomain6 localhost6 /etc/host.conf order hosts,bind /etc/resolv.conf search main.xxx.com nameserver=8.8.8.8 nameserver=8.8.4.4 /etc/sysconfig/iptables (this is the basic install, nothing was changed by me) (copied by hand, did not type capital letters) :input accept [0:0] :forward accept [0:0] :output accept [0:0] -A input -m --state established,related -j accept -a input -p icmp -j accept -a input -i lo -j accept -a input -m state --state NEW -m tcp -p tcp --dport 22 -j accept -i forward -m physdev --physdev-is-bridged -j accept -a imput -j reject --reject-with icmp-host-prohibited commit /etc/sysconfig/network NETOWRKING=yes HOSTNAME=main.xxx.com /etc//modprobe.d/bonding.conf alias bond0 bonding /etc/sysconfig/network-scripts/br0 (this file is where I typed in the ip of my machine.) (normal stuff) Device=br0 type=BRIDGE nootproto=static ipaddr, net, broadcast, netmask, etc.. as should be nozeroconf=yes onboot yes defroute yes bond0 device bond0 nm controlled no bootproto no beridge br0 bonding opts, etc.. eths are all master bond0 slave yes, nm controlled no. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] After a long break, one more try at bond/bridge nics
One thing at a time, let's get the bond working, then come back and add the bridge. They should look something like this; # Back-Channel Network - Link 1 HWADDR=00:E0:81:C7:EC:49 DEVICE=eth0 NM_CONTROLLED=no ONBOOT=yes BOOTPROTO=none MASTER=bond0 SLAVE=yes and # Back-Channel Network - Link 2 HWADDR=00:1B:21:9D:59:FC DEVICE=eth3 NM_CONTROLLED=no ONBOOT=yes BOOTPROTO=none MASTER=bond0 SLAVE=yes Then the bond config should look like this: # Back-Channel Network - Bond DEVICE=bond0 BOOTPROTO=static NM_CONTROLLED=no ONBOOT=yes BONDING_OPTS=mode=1 miimon=100 use_carrier=1 updelay=12 downdelay=0 primary=eth0 IPADDR=10.20.0.1 NETMASK=255.255.0.0 Now try to restart the network and see if the bond and it's interfaces come up. If so, then we'll come back to the bridge. One thing I can say right now though is that the name of the bridge has to sort *after* the bond interfaces. For this reason, I always recommend 'vbrX' for bridge names. On 01/27/2012 07:32 PM, Bob Hoffman wrote: well, I get no errors on network restart, but all that shows starting up is the loopback. ifconfig shows br0 with all settings right. here is what I have changed, still cannot access outside world with the virtual host machine. I am sure it is a resolution thing, but the network restart does not mention the bridge. No copy paste as using an ipmi card, so all hand typed here, so the capitalization is not correct in this post. Since this is a virtual host only, I did not do 'bind' and am just using google dns servers until I set up my own for resolution. netstat -rn shows two Br0 1 has the destination ip and genamsk, the other has the gateway /etc/hosts xx.xx.xx.xx main.xxx.com main 127.0.0.1 localhost.locadomain localhost ::1 main.xxx.com main localhost6.localdomain6 localhost6 /etc/host.conf order hosts,bind /etc/resolv.conf search main.xxx.com nameserver=8.8.8.8 nameserver=8.8.4.4 /etc/sysconfig/iptables (this is the basic install, nothing was changed by me) (copied by hand, did not type capital letters) :input accept [0:0] :forward accept [0:0] :output accept [0:0] -A input -m --state established,related -j accept -a input -p icmp -j accept -a input -i lo -j accept -a input -m state --state NEW -m tcp -p tcp --dport 22 -j accept -i forward -m physdev --physdev-is-bridged -j accept -a imput -j reject --reject-with icmp-host-prohibited commit /etc/sysconfig/network NETOWRKING=yes HOSTNAME=main.xxx.com /etc//modprobe.d/bonding.conf alias bond0 bonding /etc/sysconfig/network-scripts/br0 (this file is where I typed in the ip of my machine.) (normal stuff) Device=br0 type=BRIDGE nootproto=static ipaddr, net, broadcast, netmask, etc.. as should be nozeroconf=yes onboot yes defroute yes bond0 device bond0 nm controlled no bootproto no beridge br0 bonding opts, etc.. eths are all master bond0 slave yes, nm controlled no. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Digimer E-Mail: digi...@alteeve.com Papers and Projects: https://alteeve.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] After a long break, one more try at bond/bridge nics - solved
well...still cleaning up files to find what is and is not needed in those eth, bond, and br files... here goes.. one eth files nm_controlled no, master=bond0, slave=yes no ipaddresses or any of that stuff... bond file.. #1 thingit must be name ifcfg-bond0, not just bond0 However, the eth files must reference solely as bond0 without the ifcfg. the bond file, for the moment had the ip addresses and stuff, not sure if I need them there or not. (probably do not need them, but it worked with them) nm_controlled=no BRIDGE=br0 bonding options go in this file too. in etc/modprobe.d/ you need to make a file called bonding.conf add this line alias bond0 bonding the ifcfg-br0 file, MUST be named ifcfg-br0 (or whatever your bridge is name, br1, br2, etc) should contain type=Bridge VERY IMPORTANT YOU SPELL IT WITH A CAPITAL B, and lowercase the rest of the word bridge. (that is what was needed...go figure) add the ipaddresses, netmask, etc etc etc to this file resolv.conf you want to add your dns servers, or for a quickie fix add nameserver 8.8.8.8 nameserver 8.8.4.4 (these are googles free dns resolvers) anyway, this is just a quickie solution, will be posting a vid of each step soon.. finally!!! updated from 6.0 to the new versionbig update...gotta wait...won't let me access the VMs while updating...sounds scary...yikes ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] After a long break, one more try at bond/bridge nics - solved
On 01/27/2012 10:03 PM, Bob Hoffman wrote: well...still cleaning up files to find what is and is not needed in those eth, bond, and br files... here goes.. one eth files nm_controlled no, master=bond0, slave=yes no ipaddresses or any of that stuff... Right. bond file.. #1 thingit must be name ifcfg-bond0, not just bond0 To clarify, the *file* needs to be 'ifcfg-bondX', not the device name, which is DEVICE=bondX. The file name is used to find which files to examine/start when network starts. The later is used when interacting with the device itself (ie: ifup bond0). However, the eth files must reference solely as bond0 without the ifcfg. the bond file, for the moment had the ip addresses and stuff, not sure if I need them there or not. Exactly. The file is 'ifcfg-X', the device itself is just 'X'. (probably do not need them, but it worked with them) nm_controlled=no BRIDGE=br0 bonding options go in this file too. Yes, but remember to change the bond file name to 'ifcfg-vbrX'. It's ideal to have the device name match the file name, minus the 'ifcfg-' prefix, but it is not required. in etc/modprobe.d/ you need to make a file called bonding.conf add this line alias bond0 bonding I don't use this on EL6, not sure if it's really required anymore. the ifcfg-br0 file, MUST be named ifcfg-br0 (or whatever your bridge is name, br1, br2, etc) Again, the *file* name *must* sort after the bond file, which 'ifcfg-br0' does *not*. The reason is that the bond interface has to be up before the bridge. should contain type=Bridge VERY IMPORTANT YOU SPELL IT WITH A CAPITAL B, and lowercase the rest of the word bridge. Yes, this is an easy to miss point. (that is what was needed...go figure) add the ipaddresses, netmask, etc etc etc to this file resolv.conf you want to add your dns servers, or for a quickie fix add nameserver 8.8.8.8 nameserver 8.8.4.4 (these are googles free dns resolvers) You can, alternatively, define the DNS in the bridge file (or really, any device config where you specify an IP address). I like to do this as it puts all the stuff I need to manage into one file. For example; vim /etc/sysconfig/network-scripts/ifcfg-vbr2 # Internet-Facing Network - Bridge DEVICE=vbr2 TYPE=Bridge BOOTPROTO=static IPADDR=10.255.0.1 NETMASK=255.255.0.0 GATEWAY=10.255.255.254 DNS1=192.139.81.117 DNS2=192.139.81.1 DEFROUTE=yes anyway, this is just a quickie solution, will be posting a vid of each step soon.. finally!!! updated from 6.0 to the new versionbig update...gotta wait...won't let me access the VMs while updating...sounds scary...yikes The update of EL6 to a new y-stream release should *not* interfere with access to VMs. I suspect something else is causing a problem, like running out of bandwidth or similar. -- Digimer E-Mail: digi...@alteeve.com Papers and Projects: https://alteeve.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Samba Printer Share Access Denied
CentOS 6.2 [mlapier@mushroom ~]$ uname -a Linux mushroom.patch 2.6.32-220.4.1.el6.i686 #1 SMP Mon Jan 23 22:37:12 GMT 2012 i686 i686 i386 GNU/Linux [mlapier@mushroom ~]$ Applicable sections of smb.conf: [global] workgroup = MYGROUP server string = Samba Server Version %v log file = /var/log/samba/log.%m max log size = 50 security = user passdb backend = tdbsam load printers = yes cups options = raw printcap name = /etc/printcap printing = cups [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = yes printable = yes available = yes [root@mushroom init.d]# ./smb configtest Syntax OK [root@mushroom init.d]# [root@mushroom init.d]# smbd -V Version 3.5.10-114.el6 [root@mushroom init.d]# [mlapier@mushroom ~]$ rpm -qa | grep samba samba-3.5.10-114.el6.i686 samba-client-3.5.10-114.el6.i686 samba-common-3.5.10-114.el6.i686 samba-winbind-devel-3.5.10-114.el6.i686 samba-domainjoin-gui-3.5.10-114.el6.i686 samba-winbind-clients-3.5.10-114.el6.i686 samba4-libs-4.0.0-23.alpha11.el6.i686 samba-swat-3.5.10-114.el6.i686 samba-doc-3.5.10-114.el6.i686 samba-winbind-3.5.10-114.el6.i686 samba-winbind-krb5-locator-3.5.10-114.el6.i686 [mlapier@mushroom ~]$ [root@mushroom samba]# service smb restart Shutting down SMB services:[ OK ] Starting SMB services: [ OK ] [root@mushroom samba]# tail log.smbd [2012/01/27 22:46:03, 0] smbd/server.c:1140(main) smbd version 3.5.10-114.el6 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2012/01/27 22:46:03.703807, 0] smbd/server.c:500(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2012/01/27 22:46:03.704728, 0] smbd/server.c:500(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [root@mushroom samba]# [mlapier@mushroom etc]$ cat printcap # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. Samsung-ML-1740|Samsung ML-1740:rm=mushroom.patch:rp=Samsung-ML-1740: HP-Color-LaserJet-cp2025dn|HP Color LaserJet cp2025dn:rm=mushroom.patch:rp=HP-Color-LaserJet-cp2025dn: WorkForce-1100|EPSON WorkForce 1100:rm=mushroom.patch:rp=WorkForce-1100: [mlapier@mushroom etc]$ [mlapier@mushroom init.d]$ rpm -qa | grep cups cups-libs-1.4.2-44.el6.i686 cups-1.4.2-44.el6.i686 gutenprint-cups-5.2.5-2.el6.i686 cups-pk-helper-0.0.4-12.el6.i686 [mlapier@mushroom init.d]$ My file system shares work perfectly. I can see the printers listed on the Win XP client. I can install the printers on the XP machine but I can't print to them. When I double click on the printer icon I get the usual printer manager but on the top bar it states that access is denied. I've tried everything I can think of and everything that I've read on the Internet over the last month but still no joy. I even disabled SElinux. The only thing I see is Address already in use error in the log.smbd file. Does anyone see anything in my configuration that doesn't look just right to you? Is there anything else that you need to see? -- _ °v° /(_)\ ^ ^ Mark LaPierre Registerd Linux user No #267004 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] need help to build livecd and create success iso file but it hang
Hi all i finally know where is the problem and my problem is same with the bud_id: https://bugzilla.redhat.com/show_bug.cgi?id=757818 grubby fatal error: unable to find a suitable template grubby: doing this would leave no kernel entries. Not writing out new config. there is a work around Thank you and my livecd-tools version: [root@fedora ~]# rpm -qi livecd-tools Name: livecd-tools Epoch : 1 Version : 16.10 Release : 1.fc16 my python-imgcreator version: [root@fedora ~]# rpm -qi python-imgcreate Name: python-imgcreate Epoch : 1 Version : 16.10 Release : 1.fc16 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.01.28 09:00:19 =~=~=~=~=~=~=~=~=~=~=~= livecd-creator --config=fedora.ks --fslabel=fedor a-base. warning: fontpackages-filesystem-1.44-2.fc15.noarch: Header V3 RSA/SHA256 Signature, key ID a82ba4b7: NOKEY Installing: fontpackages-filesystem # [ 1/824] . Installing: setup# [ 2/824] . Installing: plymouth # [461/824] Need 'inst' function, try setting PLYMOUTH_POPULATE_SOURCE_FUNCTIONS to a file that defines it Installing: dracut [462/824]warning: /etc/dracut.conf created as /etc/dracut.conf.rpmnew . Installing: ypbind # [508/824] Running in chroot, ignoring request. Installing: lldpad # [564/824] ln -s '/lib/systemd/system/lldpad.service' '/etc/systemd/system/multi-user.target.wants/lldpad.service' warning: %post(lldpad-0.9.43-1.fc16.i686) scriptlet failed, exit status 1 . Installing: fcoe-utils # [565/824] ln -s '/lib/systemd/system/fcoe.service' '/etc/systemd/system/multi-user.target.wants/fcoe.service' warning: %post(fcoe-utils-1.0.20-2.fc16.i686) scriptlet failed, exit status 1 ... Installing: mesa-dri-drivers [566/824] Installing: vconfig # [824/824] grubby fatal error: unable to find a suitable template grubby: doing this would leave no kernel entries. Not writing out new config. Removing password for user root. passwd: Success Note: Forwarding request to 'systemctl enable NetworkManager.service'. Note: Forwarding request to 'systemctl disable sshd.service'. rm '/etc/systemd/system/multi-user.target.wants/sshd.service' Packages within this LiveCD psacct-6.5.5-3.fc16.i686 . vim-minimal-7.3.315-1.fc16.i686 /usr/bin/mandb: warning: $PATH not set Processing manual pages under /usr/share/man... 98.44% done, estimate finish Fri Jan 27 21:41:45 2012 Total translation table size: 2048 Total rockridge attributes bytes: 3072 Total directory bytes: 8192 Path table size(bytes): 64 Max brk space used 1a000 218415 extents written (426 MB) Inserting md5sum into iso image... md5 = 32e80008b9d55795261e00516f772d0d Inserting fragment md5sums into iso image... fragmd5 = a4cafba1613ac6ef812292e5fc6fa23554ab714ad1c99edfe97daec463ce frags = 20 Setting supported flag to 0 umount: /var/tmp/imgcreate-Vxod75/install_root/sys/fs/selinux/load: not found --- On Fri, 1/27/12, ha do haloha...@yahoo.com wrote: From: ha do haloha...@yahoo.com Subject: need help to build livecd and create success iso file but it hang To: centos@centos.org Date: Friday, January 27, 2012, 7:23 AM Hi all my environment: 1/ windows 7 OS system 2/ use virtual box install the host centos system i try to make a centos livecd and i follow the step 1/ create file: vi /etc/yum.repos.d/centos-livecd.repo and the content of file: # Name: CentOS LiveCD repository [livecd] name = CentOS $releasever - LiveCD baseurl = http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live enabled=1 protect=0 gpgkey = http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay2010 2/ yum install livecd-tools syslinux anaconda-runtime 3/ create file alochym.ks and content of file: lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 selinux --enforcing firewall --disabled repo --name=a-base --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/os/$basearch repo --name=a-updates --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/updates/$basearch repo --name=a-extras --baseurl=http://mirror-fpt-telecom.fpt.net/centos/5/extras/$basearch repo --name=a-live --baseurl=http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live %packages bash kernel syslinux passwd policycoreutils chkconfig authconfig rootfiles comps-extras xkeyboard-config openssh 4/ run command : LANG=C livecd-creator --config=/mnt/alochym.ks --fslabel=CentOS-mini 5/ download the file CentOS-mini.iso to windows 7 6/ use virtual box create new virtual machine with CentOS-mini.iso as cdrom the log of
Re: [CentOS] need help to build livecd and create success iso file but it hang
hi all sorry my bad english to resend because i am still have problem with it i finally know where is the problem and my problem is same with the bud_id: https://bugzilla.redhat.com/show_bug.cgi?id=757818 grubby fatal error: unable to find a suitable template grubby: doing this would leave no kernel entries. Not writing out new config. is there a work around for the bug ??? Thank you --- On Fri, 1/27/12, ha do haloha...@yahoo.com wrote: From: ha do haloha...@yahoo.com Subject: Re: [CentOS] need help to build livecd and create success iso file but it hang To: centos@centos.org Cc: centos-de...@centos.org Date: Friday, January 27, 2012, 9:40 PM Hi all i finally know where is the problem and my problem is same with the bud_id: https://bugzilla.redhat.com/show_bug.cgi?id=757818 grubby fatal error: unable to find a suitable template grubby: doing this would leave no kernel entries. Not writing out new config. there is a work around Thank you and my livecd-tools version: [root@fedora ~]# rpm -qi livecd-tools Name : livecd-tools Epoch : 1 Version : 16.10 Release : 1.fc16 my python-imgcreator version: [root@fedora ~]# rpm -qi python-imgcreate Name : python-imgcreate Epoch : 1 Version : 16.10 Release : 1.fc16 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.01.28 09:00:19 =~=~=~=~=~=~=~=~=~=~=~= livecd-creator --config=fedora.ks --fslabel=fedor a-base. warning: fontpackages-filesystem-1.44-2.fc15.noarch: Header V3 RSA/SHA256 Signature, key ID a82ba4b7: NOKEY Installing: fontpackages-filesystem # [ 1/824] . Installing: setup # [ 2/824] . Installing: plymouth # [461/824] Need 'inst' function, try setting PLYMOUTH_POPULATE_SOURCE_FUNCTIONS to a file that defines it Installing: dracut [462/824]warning: /etc/dracut.conf created as /etc/dracut.conf.rpmnew . Installing: ypbind # [508/824] Running in chroot, ignoring request. Installing: lldpad # [564/824] ln -s '/lib/systemd/system/lldpad.service' '/etc/systemd/system/multi-user.target.wants/lldpad.service' warning: %post(lldpad-0.9.43-1.fc16.i686) scriptlet failed, exit status 1 . Installing: fcoe-utils # [565/824] ln -s '/lib/systemd/system/fcoe.service' '/etc/systemd/system/multi-user.target.wants/fcoe.service' warning: %post(fcoe-utils-1.0.20-2.fc16.i686) scriptlet failed, exit status 1 ... Installing: mesa-dri-drivers [566/824] Installing: vconfig # [824/824] grubby fatal error: unable to find a suitable template grubby: doing this would leave no kernel entries. Not writing out new config. Removing password for user root. passwd: Success Note: Forwarding request to 'systemctl enable NetworkManager.service'. Note: Forwarding request to 'systemctl disable sshd.service'. rm '/etc/systemd/system/multi-user.target.wants/sshd.service' Packages within this LiveCD psacct-6.5.5-3.fc16.i686 . vim-minimal-7.3.315-1.fc16.i686 /usr/bin/mandb: warning: $PATH not set Processing manual pages under /usr/share/man... 98.44% done, estimate finish Fri Jan 27 21:41:45 2012 Total translation table size: 2048 Total rockridge attributes bytes: 3072 Total directory bytes: 8192 Path table size(bytes): 64 Max brk space used 1a000 218415 extents written (426 MB) Inserting md5sum into iso image... md5 = 32e80008b9d55795261e00516f772d0d Inserting fragment md5sums into iso image... fragmd5 = a4cafba1613ac6ef812292e5fc6fa23554ab714ad1c99edfe97daec463ce frags = 20 Setting supported flag to 0 umount: /var/tmp/imgcreate-Vxod75/install_root/sys/fs/selinux/load: not found --- On Fri, 1/27/12, ha do haloha...@yahoo.com wrote: From: ha do haloha...@yahoo.com Subject: need help to build livecd and create success iso file but it hang To: centos@centos.org Date: Friday, January 27, 2012, 7:23 AM Hi all my environment: 1/ windows 7 OS system 2/ use virtual box install the host centos system i try to make a centos livecd and i follow the step 1/ create file: vi /etc/yum.repos.d/centos-livecd.repo and the content of file: # Name: CentOS LiveCD repository [livecd] name = CentOS $releasever - LiveCD baseurl = http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live enabled=1 protect=0 gpgkey = http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay2010 2/ yum install livecd-tools syslinux anaconda-runtime 3/ create file alochym.ks and content of file: lang en_US.UTF-8 keyboard us timezone