[CentOS-announce] CEBA-2011:1351 CentOS 5 x86_64 libX11 Update
CentOS Errata and Bugfix Advisory 2011:1351 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1351.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: faeb454599b5272ada9292b969a65b5e libX11-1.0.3-11.el5_7.1.i386.rpm 853e787c306e1457cfc5e8d527f1f2f2 libX11-1.0.3-11.el5_7.1.x86_64.rpm 742324dff34bd82bf4349c9937230d14 libX11-devel-1.0.3-11.el5_7.1.i386.rpm abca3a1a66017a33b41993376897eec4 libX11-devel-1.0.3-11.el5_7.1.x86_64.rpm Source: a0b1a07b57e5421705c9785aeb1c689f libX11-1.0.3-11.el5_7.1.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2011:1351 CentOS 5 i386 libX11 Update
CentOS Errata and Bugfix Advisory 2011:1351 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1351.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: faeb454599b5272ada9292b969a65b5e libX11-1.0.3-11.el5_7.1.i386.rpm 742324dff34bd82bf4349c9937230d14 libX11-devel-1.0.3-11.el5_7.1.i386.rpm Source: a0b1a07b57e5421705c9785aeb1c689f libX11-1.0.3-11.el5_7.1.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2011:1352 CentOS 5 i386 OpenIPMI FASTTRACK Update
CentOS Errata and Bugfix Advisory 2011:1352 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1352.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: 9fff4607b3e8aa755446d2e4e4a5e9f6 OpenIPMI-2.0.16-12.el5.i386.rpm 00016e11e287e8971f6b23dbe1948c9c OpenIPMI-devel-2.0.16-12.el5.i386.rpm 3e7527b4643a6657133cd3ef7e0e75cb OpenIPMI-gui-2.0.16-12.el5.i386.rpm ee8a53c2dcca7302d5c991986dec5122 OpenIPMI-libs-2.0.16-12.el5.i386.rpm 6886d04c9cf1855dca96417b32d1866e OpenIPMI-perl-2.0.16-12.el5.i386.rpm 027db873cd32d6ca2344fa75a5f681f0 OpenIPMI-python-2.0.16-12.el5.i386.rpm 26dcedf1349506f825a88a8c0997e8ad OpenIPMI-tools-2.0.16-12.el5.i386.rpm Source: 8d57da4edaf32550287fde148a1f22f5 OpenIPMI-2.0.16-12.el5.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2011:1352 CentOS 5 x86_64 OpenIPMI FASTTRACK Update
CentOS Errata and Bugfix Advisory 2011:1352 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1352.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: b55ee8b1741d8c07e8288920579e3f39 OpenIPMI-2.0.16-12.el5.x86_64.rpm 00016e11e287e8971f6b23dbe1948c9c OpenIPMI-devel-2.0.16-12.el5.i386.rpm 58fedad89af7c24a456c0e5859642146 OpenIPMI-devel-2.0.16-12.el5.x86_64.rpm c7d9e01440bdd7c1ea932f806e0639bd OpenIPMI-gui-2.0.16-12.el5.x86_64.rpm ee8a53c2dcca7302d5c991986dec5122 OpenIPMI-libs-2.0.16-12.el5.i386.rpm 9aa9a74c9e1610ca951b3cfe239465aa OpenIPMI-libs-2.0.16-12.el5.x86_64.rpm eeb84aed8ee5e1878e2cf9aa60f3fbd7 OpenIPMI-perl-2.0.16-12.el5.x86_64.rpm 45e83c0c34af31a0f48591aee6e8ee4a OpenIPMI-python-2.0.16-12.el5.x86_64.rpm c7484fb92d66e2fcc6fab95dd412e17e OpenIPMI-tools-2.0.16-12.el5.x86_64.rpm Source: 8d57da4edaf32550287fde148a1f22f5 OpenIPMI-2.0.16-12.el5.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
Re: [CentOS-virt] Should I switch and if so what is the procedure
How hard is it to switch from Xen to KVM? On Wed, Oct 5, 2011 at 11:02 AM, Manuel Wolfshant wo...@nobugconsulting.rowrote: On 10/05/2011 05:55 PM, Rich wrote: Since the Xen and Linux kernel people have finally made peace and Xen is going to be included with the kernel, should I keep using the Xen virtual server with Centos or should I switch to KVM? I am running Centos 5.7 now. I guess the real question is can I still use Xen with Centos 6? I doubt that xen will be included as an option for RHEL 6 any time soon. So neither will it be for CentOS 6. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Should I switch and if so what is the procedure
you recreate the VIM and export the disks. -- Nehemiah I. Dacres Saint Louis University: Advanced Technology Group Linux System Administrator Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, October 5, 2011 at 10:06 AM, Rich wrote: How hard is it to switch from Xen to KVM? On Wed, Oct 5, 2011 at 11:02 AM, Manuel Wolfshant wo...@nobugconsulting.ro (mailto:wo...@nobugconsulting.ro) wrote: On 10/05/2011 05:55 PM, Rich wrote: Since the Xen and Linux kernel people have finally made peace and Xen is going to be included with the kernel, should I keep using the Xen virtual server with Centos or should I switch to KVM? I am running Centos 5.7 now. I guess the real question is can I still use Xen with Centos 6? I doubt that xen will be included as an option for RHEL 6 any time soon. So neither will it be for CentOS 6. ___ CentOS-virt mailing list CentOS-virt@centos.org (mailto:CentOS-virt@centos.org) http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org (mailto:CentOS-virt@centos.org) http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Should I switch and if so what is the procedure
On 10/05/2011 06:06 PM, Rich wrote: How hard is it to switch from Xen to KVM? http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Virtualization_Getting_Started_Guide/ ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Should I switch and if so what is the procedure
On 10/5/11 8:02 AM, Manuel Wolfshant wrote: I doubt that xen will be included as an option for RHEL 6 any time soon. So neither will it be for CentOS 6. not impossible that CentOS could have it as a value-add: http://lists.centos.org/pipermail/centos-virt/2011-July/002554.html I'm still running dom0 on CentOS 5 and am switching VMs and bare-metal non-Xen servers to 6. I figure I have enough time to wait to see what happens in 6.x (or 7?) before I will start worrying about 5 EOL. So long as I have hardware support I guess. Eric ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Should I switch and if so what is the procedure
On Wed, 2011-10-05 at 10:55 -0400, Rich wrote: Since the Xen and Linux kernel people have finally made peace and Xen is going to be included with the kernel, should I keep using the Xen virtual server with Centos or should I switch to KVM? I am running Centos 5.7 now. I guess the real question is can I still use Xen with Centos 6? The support end of life for CentOS 5 is listed as March 31, 2014 (http://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d). There isn't any pressure, at this point, to convert your VM hosts to CentOS 6 unless there is some feature you require. I doubt RH will add XEN support to RHEL 6. They don't like to add functionality to an existing product. We can hope they bring XEN back in RHEL 7. There was some discussion about producing RPMs to add XEN support into CentOS 6, but I haven't seen any status updates, recently. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Should I switch and if so what is the procedure
On Wed, Oct 5, 2011 at 7:16 PM, Ed Heron e...@heron-ent.com wrote: There was some discussion about producing RPMs to add XEN support into CentOS 6, but I haven't seen any status updates, recently. I am succesfully using the dom0 EL6 kernel from: http://xenbits.xen.org/people/mayoung/testing/x86_64/ and xen4 packages for EL6 by provided by this repositry: http://xenbits.xen.org/people/mayoung/EL6.xen/ It would be great to get at least the dom0 kernel in the centosplus repo... Regards, Peter ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] kvm-qemu: unable to execute QEMU command savevm (monitor missing?)
On Tue, Oct 4, 2011 at 7:42 PM, Jason Brian Friedrich m...@friedrich.org.uk wrote: Hey Trey, just a quick update. If you add the CR repo for CentOS 6.0 you will get an updated RPM which solves the problem for me. - Jason On Tue, Oct 4, 2011 at 01:43, Trey Dockendorf treyd...@gmail.com wrote: On Tue, Sep 27, 2011 at 6:48 AM, Jason Brian Friedrich m...@friedrich.org.uk wrote: System: CentOS Linux release 6.0 (final) Kernel: 2.6.32-71.23.1.el6.x86_64 KVM: QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2) Libvirt: ibvirtd (libvirt) 0.8.1 Hi everyone, I only recently subscribed to this list and hope you can shed some light on the following error. I created a VM on my Centos 6 KVM machine, used a qcow2 image and wanted to create a snapshot via 'virsh snapshot-create' command: // [root@kvmhost ~]# virsh snapshot-create server01 error: internal error unable to execute QEMU command 'savevm': The command savevm has not been found \\ I googled before the post, found some [0] threads [1], but could not find an answer how to solve the problem. If the kvm-qemu lacks the support of a savevm monitor, how can I add one? Do I need to recompile kvm-qemu with special flags or is simply a RPM package or a module missing? Thanks in advance, - Jason [0] http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html [1] https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt I ran into this too. Unfortunately I haven't found a solution either, but here's an interesting bug report that shows this effects all the way up to Fedora 15, https://bugzilla.redhat.com/show_bug.cgi?id=727709. The one fix mentioned 89241fe0, I've actually patched into the CentOS libvirt RPM, but from testing it doesn't seem to be enough. I now can run the snapshot-create command without error, but nothing appears to happen. I've tested creating files, taking a snapshot, deleting files and reverting and nothing comes back or changes. Also the qcow2 images don't change at all during this time either. I'm working on applying the other commits mentioned in Comment #4, but am running into problems since most of those commits are 0.9.0+ and I'm patching CentOS's 0.8.1. I'd love to know if anyone actually has snapshots working in CentOS 5 or 6. This is kind of a critical feature to the entire virtualization process. - Trey ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt Awesome thanks for the info! Unfortunately I hit a new error, very related it seems to the original problem, but then I get this error --- # virsh snapshot-create CentOSVM_0 error: operation failed: failed to take snapshot using command 'savevm 1317846732' In full debug output I see it failover to HMP, but this is what appears to be the relevant debug info. If the full debug is desired let me know (it's like 1000 lines long spanning 1 second) --- 15:27:12.473: 8080: debug : qemuMonitorJSONIOProcessLine:116 : Line [{error: {class: CommandNotFound, desc: The command human-monitor-command has not been found, data: {name: human-monitor-command}}}] 15:27:12.473: 8080: debug : virJSONValueFromString:933 : string={error: {class: CommandNotFound, desc: The command human-monitor-command has not been found, data: {name: human-monitor-command}}} This was with libvirt-0.8.7-18.el6_1.1 from CentOS 6 CR. I restarted the libvirtd daemon after the upgrade, still same result. Restarted the VM also , still same. I only updated libvirt, libvirt-client and libvirt-python from CR, haven't done a full system update. I'll try the full update next, but any suggestions are welcome in the mean time. Thanks - Trey ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Should I switch and if so what is the procedure
On 10/05/2011 06:16 PM, Ed Heron wrote: On Wed, 2011-10-05 at 10:55 -0400, Rich wrote: Since the Xen and Linux kernel people have finally made peace and Xen is going to be included with the kernel, should I keep using the Xen virtual server with Centos or should I switch to KVM? I am running Centos 5.7 now. I guess the real question is can I still use Xen with Centos 6? The support end of life for CentOS 5 is listed as March 31, 2014 (http://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d). There isn't any pressure, at this point, to convert your VM hosts to CentOS 6 unless there is some feature you require. I doubt RH will add XEN support to RHEL 6. They don't like to add functionality to an existing product. We can hope they bring XEN back in RHEL 7. While Xen will probably return in RHEL 7 simply because it is part of the upstream kernel now I doubt it will be officially supported by Red Hat. Between buying Qumranet (http://www.redhat.com/promo/qumranet/) and now Gluster (https://www.redhat.com/promo/storage/) it is clear that Red Hat aims to become a provider of a complete independent virtualization stack and is unlikely to support competing products directly. The question is what does Xen offer that KVM cannot provide? Looking at the slides of the KVM Forum 2011 (http://www.linux-kvm.org/page/KVM_Forum_2011) there seem to be many interesting improvements in the pipeline so at some point the question really is why hold on to Xen at all when there is not real reason to? Regards, Dennis ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-es] Raid5 con LVM en Citrix XenServer
2011/10/4 Carlos Ernesto Pruna carlosepc@gmail.com: Hola amigos estoy teniendo un problema en lo siguiente, tengo un server que el board tiene implementado raid por hardware pero de ninguna manera logro que los sistemas que monto detecten el arreglo creado, he probado con ubuntu, debian, proxmox, citrix,. en fin en realidad lo que necesito es montar una plataforma de virtualización por lo tanto me fui para Citrix XenServer 6 recién salidase que xenserver esta montado sobre centos..el disco del board tiene unos drivers para el raid pero son muy antiguos no aguantan estos nuevos nucleos...ahora como no tengo otra alternativa decidí irme por la vía del raid por software que nadie me lo aconseja pero la cuestión es que necesito tener un raid montado ahí: en centos el arreglo se hace con mdadm ahora esto es lo que tengo: monte el sistema en un sata2 de 80Gb el sistema es Citrix XenServer v6 y tengo 3 HDD sata2 de 1.5 tera cada uno la documentación sobre esto no esta muy completa o no se si es que se me limita por el citrix pero siempre que inicio el proceso me falla en algun punto o ahi algun comando que no existe o algo por el estilo he pensado en la variante de montar el proxmox que es basado en debian y he visto que la doc y las herramientas para montar el raid son un poco + asequibles... realmente me gusta + xenserver.. necesito que alguien me de alguna idea algún link o doc que tengan sobre este asunto: llevo días batallando con esto: Salu2 y muchas gracias de antemano!!! -- -- Carlos Ernesto Pruna carlosepc@gmail.com == LinuxUser Registered: #413305 http://counter.li.org UbuntuUser Registered: #17735 http://ubuntucounter.geekosophical.net Personal Blog: http://carlosepc.esnoei.com Blog: http://mycmdline.esnoei.com Website: http://www.esnoei.com Twitter: http://twitter.com/kandalfghost Cell Phone: 1-(786)552-2375 Fax: 1-(305)999-1366 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Cuales son las especificaciones de tu servidor, porque a mi me suena que tu servidor no tiene una controladora real de Hardware? Evita a toda costa usar soft-raid en un ambiente de virtualizacion, no es nada agradable cuando se pierden los datos. Por ahi lei que alguien corria el Xenserver desde USB y tenia las VMs en el arreglo RAID, vaya o no lo he hecho en XenServer, pero si en Proxmox y es bastante sencillo. Saludos. -- Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Raid5 con LVM en Citrix XenServer
2011/10/4 Victor Padro vpa...@gmail.com: 2011/10/4 Carlos Ernesto Pruna carlosepc@gmail.com: Hola amigos estoy teniendo un problema en lo siguiente, tengo un server que el board tiene implementado raid por hardware pero de ninguna manera logro que los sistemas que monto detecten el arreglo creado, he probado con ubuntu, debian, proxmox, citrix,. en fin en realidad lo que necesito es montar una plataforma de virtualización por lo tanto me fui para Citrix XenServer 6 recién salidase que xenserver esta montado sobre centos..el disco del board tiene unos drivers para el raid pero son muy antiguos no aguantan estos nuevos nucleos...ahora como no tengo otra alternativa decidí irme por la vía del raid por software que nadie me lo aconseja pero la cuestión es que necesito tener un raid montado ahí: en centos el arreglo se hace con mdadm ahora esto es lo que tengo: monte el sistema en un sata2 de 80Gb el sistema es Citrix XenServer v6 y tengo 3 HDD sata2 de 1.5 tera cada uno la documentación sobre esto no esta muy completa o no se si es que se me limita por el citrix pero siempre que inicio el proceso me falla en algun punto o ahi algun comando que no existe o algo por el estilo he pensado en la variante de montar el proxmox que es basado en debian y he visto que la doc y las herramientas para montar el raid son un poco + asequibles... realmente me gusta + xenserver.. necesito que alguien me de alguna idea algún link o doc que tengan sobre este asunto: llevo días batallando con esto: Salu2 y muchas gracias de antemano!!! -- -- Carlos Ernesto Pruna carlosepc@gmail.com == LinuxUser Registered: #413305 http://counter.li.org UbuntuUser Registered: #17735 http://ubuntucounter.geekosophical.net Personal Blog: http://carlosepc.esnoei.com Blog: http://mycmdline.esnoei.com Website: http://www.esnoei.com Twitter: http://twitter.com/kandalfghost Cell Phone: 1-(786)552-2375 Fax: 1-(305)999-1366 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Cuales son las especificaciones de tu servidor, porque a mi me suena que tu servidor no tiene una controladora real de Hardware? Evita a toda costa usar soft-raid en un ambiente de virtualizacion, no es nada agradable cuando se pierden los datos. Por ahi lei que alguien corria el Xenserver desde USB y tenia las VMs en el arreglo RAID, vaya o no lo he hecho en XenServer, pero si en Proxmox y es bastante sencillo. Saludos. -- Everything that irritates us about others can lead us to an understanding of ourselves Porque mi respuesta esta siendo moderada si tengo años en esta lista de correos? Espero que alguien pueda decirme el porque. Gracias. -- Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Raid5 con LVM en Citrix XenServer
Saludos. -- Everything that irritates us about others can lead us to an understanding of ourselves Porque mi respuesta esta siendo moderada si tengo años en esta lista de correos? Espero que alguien pueda decirme el porque. Gracias. hola soy alguien y voy a darte algunas posibles razones que no tienen por qué ser las únicas, podrían haber más. revisa las acciones que puedas haber tomado en la lista. Hay muchos suscritos desde hace mucho tiempo, que no postean y sólo reciben mails... ahora toda persona que desde aprox mediados del 2010 escribe a la lista, se le quita el bit de moderación. Solamente se le pone si su cuenta es usada para enviar spam (hay quien sigue usando windows y se contamina y su cuenta es usada para enviar mails con spam, etc). Revisa si te has desuscrito y suscrito nuevamente, para el sistema cuenta como una nueva suscripción. A todos los que postean regularmente, sin excepción, a todos los que postean, sin excepción, se les quita el bit de moderación. Recuerden que el bit de moderación fue activado cuando comenzaron a llegar mails no relacionados a la lista ni autorizados por los que enviaban (virus, spam) y realmente ha sido útil, todos los días nos llegan a los moderadores mails de spam que quedan filtrados de nuestro lado, desde spam hasta estoy de vacaciones hasta el 31 de febrero, te deseo suerte y te respondo luego. Cómo funciona la moderación? No tengan pena escribir, simplemente el primer mail que envíen nos llega a nosotros primeramente, es analizado por mí o por Roger (roger.. vives?) y si el mail es definitivamente spam o algún tipo de tema no relacionado con la lista (por favor! Sólo no permitimos mails automaticos de vacaciones, mails claramente spam o temas muy por ese estilo) simplemente entonces el mail no es permitido, incluso le rechazamos para que el que origina el mail de vacaciones por ejemplo se dé cuenta de lo que hizo. Si el mail es relacionado con los temas que se están tratando, pues simple y llanamente se dá paso y se quita el bit de moderación al usuario. En tu caso no es ninguna de las anteriores.. entonces algo pasó, quizá ese día que posteaste no se te quitó el bit de moderación porque Roger andaba dormido o porque yo estaba almorzando, etc. Yo creo que por probar te desuscribiste o algo parecido porque sí tienes varios posts en los últimos tiempos. saludos epe ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Raid5 con LVM en Citrix XenServer
Por lo general hay muchas placas madre que traen sata raid on board, que en realidad solo te entrega un raid por software, lo cual como indican no es recomendable para ambientes de virtualizacion. Para dar uso de este tipo de controladoras en linux debes utilizar fake-raid, pero incluso en la documentación de CentOs recomiendan desactivarlo y si necesitas un raid por software es mejor opción crearlo con mdadm. http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5 Saludos. On 05-10-2011 0:43, Victor Padro wrote: 2011/10/4 Victor Padrovpa...@gmail.com: 2011/10/4 Carlos Ernesto Prunacarlosepc@gmail.com: Hola amigos estoy teniendo un problema en lo siguiente, tengo un server que el board tiene implementado raid por hardware pero de ninguna manera logro que los sistemas que monto detecten el arreglo creado, he probado con ubuntu, debian, proxmox, citrix,. en fin en realidad lo que necesito es montar una plataforma de virtualización por lo tanto me fui para Citrix XenServer 6 recién salidase que xenserver esta montado sobre centos..el disco del board tiene unos drivers para el raid pero son muy antiguos no aguantan estos nuevos nucleos...ahora como no tengo otra alternativa decidí irme por la vía del raid por software que nadie me lo aconseja pero la cuestión es que necesito tener un raid montado ahí: en centos el arreglo se hace con mdadm ahora esto es lo que tengo: monte el sistema en un sata2 de 80Gb el sistema es Citrix XenServer v6 y tengo 3 HDD sata2 de 1.5 tera cada uno la documentación sobre esto no esta muy completa o no se si es que se me limita por el citrix pero siempre que inicio el proceso me falla en algun punto o ahi algun comando que no existe o algo por el estilo he pensado en la variante de montar el proxmox que es basado en debian y he visto que la doc y las herramientas para montar el raid son un poco + asequibles... realmente me gusta + xenserver.. necesito que alguien me de alguna idea algún link o doc que tengan sobre este asunto: llevo días batallando con esto: Salu2 y muchas gracias de antemano!!! -- -- Carlos Ernesto Pruna carlosepc@gmail.com == LinuxUser Registered: #413305 http://counter.li.org UbuntuUser Registered: #17735 http://ubuntucounter.geekosophical.net Personal Blog: http://carlosepc.esnoei.com Blog: http://mycmdline.esnoei.com Website: http://www.esnoei.com Twitter: http://twitter.com/kandalfghost Cell Phone: 1-(786)552-2375 Fax: 1-(305)999-1366 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Cuales son las especificaciones de tu servidor, porque a mi me suena que tu servidor no tiene una controladora real de Hardware? Evita a toda costa usar soft-raid en un ambiente de virtualizacion, no es nada agradable cuando se pierden los datos. Por ahi lei que alguien corria el Xenserver desde USB y tenia las VMs en el arreglo RAID, vaya o no lo he hecho en XenServer, pero si en Proxmox y es bastante sencillo. Saludos. -- Everything that irritates us about others can lead us to an understanding of ourselves Porque mi respuesta esta siendo moderada si tengo años en esta lista de correos? Espero que alguien pueda decirme el porque. Gracias. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Raid5 con LVM en Citrix XenServer
a mi me suena a que estas usando una placa para desktop con capacidad para implementar raid, segun tengo entendido este tipo de configuracion no es soportado por linux, si este es tu caso deberias adquirir un adaptador para Raid compatible con linux. En todo caso si es un servidor lo que estas usando y si tienen adaptador de raid integrado, verifica el chipset del dispositivo, algunos basados en intel no son compatibles con linux, digo esto por que tengo un servidor cuyo raid tiene esta configuracion y no es reconocido por linux. César D. Cruz Arrunátegui - Mensaje original - De: Victor Padro vpa...@gmail.com Para: centos-es@centos.org Enviados: Martes, 4 de Octubre 2011 22:42:14 GMT -05:00 Colombia Asunto: Re: [CentOS-es] Raid5 con LVM en Citrix XenServer 2011/10/4 Carlos Ernesto Pruna carlosepc@gmail.com: Hola amigos estoy teniendo un problema en lo siguiente, tengo un server que el board tiene implementado raid por hardware pero de ninguna manera logro que los sistemas que monto detecten el arreglo creado, he probado con ubuntu, debian, proxmox, citrix,. en fin en realidad lo que necesito es montar una plataforma de virtualización por lo tanto me fui para Citrix XenServer 6 recién salidase que xenserver esta montado sobre centos..el disco del board tiene unos drivers para el raid pero son muy antiguos no aguantan estos nuevos nucleos...ahora como no tengo otra alternativa decidí irme por la vía del raid por software que nadie me lo aconseja pero la cuestión es que necesito tener un raid montado ahí: en centos el arreglo se hace con mdadm ahora esto es lo que tengo: monte el sistema en un sata2 de 80Gb el sistema es Citrix XenServer v6 y tengo 3 HDD sata2 de 1.5 tera cada uno la documentación sobre esto no esta muy completa o no se si es que se me limita por el citrix pero siempre que inicio el proceso me falla en algun punto o ahi algun comando que no existe o algo por el estilo he pensado en la variante de montar el proxmox que es basado en debian y he visto que la doc y las herramientas para montar el raid son un poco + asequibles... realmente me gusta + xenserver.. necesito que alguien me de alguna idea algún link o doc que tengan sobre este asunto: llevo días batallando con esto: Salu2 y muchas gracias de antemano!!! -- -- Carlos Ernesto Pruna carlosepc@gmail.com == LinuxUser Registered: #413305 http://counter.li.org UbuntuUser Registered: #17735 http://ubuntucounter.geekosophical.net Personal Blog: http://carlosepc.esnoei.com Blog: http://mycmdline.esnoei.com Website: http://www.esnoei.com Twitter: http://twitter.com/kandalfghost Cell Phone: 1-(786)552-2375 Fax: 1-(305)999-1366 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Cuales son las especificaciones de tu servidor, porque a mi me suena que tu servidor no tiene una controladora real de Hardware? Evita a toda costa usar soft-raid en un ambiente de virtualizacion, no es nada agradable cuando se pierden los datos. Por ahi lei que alguien corria el Xenserver desde USB y tenia las VMs en el arreglo RAID, vaya o no lo he hecho en XenServer, pero si en Proxmox y es bastante sencillo. Saludos. -- Everything that irritates us about others can lead us to an understanding of ourselves ___ 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] Listar versión obsoleta de paquete (up2date)
Buenas a todos: Estoy intentando utilizar up2date en unos centos 4 y (un red hat 3), pero no logro dar en el palo. Lo que necesito es que up2date me de un listado de versiones obsoletas para poder instalar alguna de ellas, no importa cual sea mientras no sea la ultima. Esto es para un testeo de distribución de parches, asi que no es una opción valida bajar cada rpm a mano y luego instalarlo. Esto mismo en 5 y 6 lo hago con yum (yum list all), al que he tenido que modificar un variable en el yum.conf (showdupesfromrepos=1 ), Pero a pesar que modifico la variable que supongo cumple la misma función en 4 (showAvailablePacka) no consigo que me muestra las versiones obsoletas. Alguno tiene una idea si sobre esto o si debo encarar el problema de otra forma?. Saludos, ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
Hello, unfortunately /etc/init.d doesn't seem to suit me: I want my (sockets) script to be restarted when crashed or killed (I kill it every night to solve memory issues with perl interpreter) Regards Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied
Thanks Craig for your comments. I've got my sendmail on CentOS 6 working with: # yum erase postfix # yum install sendmail sendmail-cf # mkdir /etc/mail/auth # chmod 700 /etc/mail/auth # mkdir /etc/mail/certs # chmod 700 /etc/mail/certs Create the file /etc/mail/auth/client-info: AuthInfo:smtp.gmail.com U:smmsp I:Alexander.Farber P:XXX M:PLAIN AuthInfo:smtp.gmail.com:587 U:smmsp I:Alexander.Farber P:XXX M:PLAIN # cd /etc/mail/auth # makemap -r hash client-info.db client-info # cd /etc/mail/certs # openssl dsaparam 1024 -out dsa1024.pem # openssl req -x509 -nodes -days 3650 -newkey dsa:dsa1024.pem -out /etc/mail/certs/mycert.pem -keyout /etc/mail/certs/mykey.pem # ln -s /etc/mail/certs/mycert.pem /etc/mail/certs/CAcert.pem # rm dsa1024.pem # chmod 400 *.pem Added to file /etc/mail/sendmail.mc: define(`SMART_HOST', `smtp.gmail.com')dnl define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs') define(`confCACERT_PATH', `CERT_DIR') define(`confCACERT', `CERT_DIR/CAcert.pem') define(`confSERVER_CERT', `CERT_DIR/mycert.pem') define(`confSERVER_KEY', `CERT_DIR/mykey.pem') define(`confCLIENT_CERT', `CERT_DIR/mycert.pem') define(`confCLIENT_KEY', `CERT_DIR/mykey.pem') Then make in /etc/mail and service sendmail restart I understand your point that it is stupid of me (and probably many other users) to ask same questions again and again, without really understanding what's going on :-) The file /etc/pki/tls/misc/CA.pl on CentOS is cubersome to understand though. I tried creating ./CA.pl -newca etc. but then I wanted to start over because of an invalid input made by myself and I didn't even know how. I know CA.pl keeps a text file somewhere where it stores increasing integer numbers... but couldn't find it Regards Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied
Also needed for Gmail in sendmail.mc: define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
On Wednesday 05 Oct 2011 07:04:36 Alexander Farber wrote: unfortunately /etc/init.d doesn't seem to suit me: I want my (sockets) script to be restarted when crashed or killed It's not /etc/init.d but /etc/init. That's what upstart is for, by default it considers jobs to be services that need to be respawned if they exit. See also man init(5). Upstart provides a compatibility interface for SysV so /etc/init.d is still there and used but this is not what you want. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to the email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed in the governing client engagement leter or contract. If you have received this email in error please notify supp...@henderson-group.com John Henderson (Holdings) Ltd Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT. Registered in Northern Ireland Registration Number NI010588 Vat No.: 814 6399 12 * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Howto use Gmail with sendmail on CentOS 6
Hello, I hope nobody minds, if I post a short summary here for archives - How to forward mails via Gmail account from CentOS 6 (I use sendmail, because haven't figured out how to setup Postfix yet): # yum erase postfix # yum install sendmail sendmail-cf cyrus-sasl-plain cyrus-sasl-md5 # mkdir /etc/mail/auth # chmod 700 /etc/mail/auth Create the file /etc/mail/auth/client-info: AuthInfo:smtp.gmail.com U:smmsp I:your_gmail_address P:your_password M:PLAIN AuthInfo:smtp.gmail.com:587 U:smmsp I:your_gmail_address P:your_password M:PLAIN # cd /etc/mail/auth # makemap -r hash client-info.db client-info # chmod 600 client-info client-info.db Then edit /etc/mail/sendmail.mc (most lines are there already and just need to be uncommented and edited a bit): define(`SMART_HOST', `smtp.gmail.com')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl define(`confCLIENT_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl define(`confCLIENT_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl Then create certificates (I've used DE, NRW, Bochum, my hostname, my gmail address there as input): # cd /etc/pki/tls/certs # make sendmail.pem Append the following line to /etc/aliases: root: your_gmail_address and run newaliases. If you need, also append apache to /etc/mail/trusted-users. Finally: # cd /etc/mail # make (this will generate new sendmail.cf) # service sendmail restart and check the /var/log/maillog for error messages while sending test mail messages from command line. Regards Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
On Wed, Oct 5, 2011 at 12:54 AM, R P Herrold herr...@owlriver.com wrote: I don't know WHAT you are looking at, if anything, but it is not a CentOS 6 install; 'upstart' is a non-starter for the future, and certainly not in CentOS' upstream's plans Yeah, about that. - http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Migration_Planning_Guide/index.html 4.2 Service Initialization - In Red Hat Enterprise Linux 6, *init* from the sysvinit package has been replaced with *Upstart*, an event-based init system. This system handles the starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running. For more information on Upstart itself, refer to the init(8) man page. Upstart is very much a non-starter. It's already been replaced in recent fedora versions by systemd. HOWEVER, it's very much in RHEL6 and CentOS6. While I don't think OP should necessarily be using inittab that way, there are certainly commercial pieces of software (I'm looking at YOU Tivoli Storage Manager!) that want to use inittab for keeping crash-prone things alive. /etc/init is the place for this, however the format is different... So OP is most likely going to need to rewrite things anyway. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 1:10 AM, Les Mikesell lesmikes...@gmail.com wrote: On Tue, Oct 4, 2011 at 11:41 PM, Negative negativebinom...@gmail.com wrote: Do you have to use the local video at all? What happens if you use freenx and run in a session started from a remote NX client? Doesn't freenx use X? I haven't installed but will try it. Yes, it uses X, but it doesn't use the local video hardware. What I did try was to leave X off on workstation and built a fedora guest. I also connected to the workstation from another machine via ssh and I tried running the virt-viewer via X-forwarding, it stayed up for about 10 or 15 minutes and crashed. Since I could see the console on the work station then, it showed a kernel panic. Not sure what that means. Freenx would at least keep the sesson active when you disconnect. I was trying to say, but not very well, that when qemu-kvm is running a guest and X is running, whether it's on the local video hardware or not, I get a kernel panic. So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. I wonder if an older version of the kvm package would work around this, or maybe an older version of the kernel. kernel: 2..18-274.3.1.el5 kvm: 83-239.el5.centos After rebooting I opened a terminal via ssh and it seems ok -- up for about 30 minutes so far, I'll check in the morning. The trouble with that is I usually connect to the workshop via vnc, so I'm not sure the guest will be of much use. A vncserver session not attached to the local console should also avoid local hardware issues - but freenx/NX is nicer to use. -- Les Mikesell lesmikes...@gmail.com ___ 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
[CentOS] Firefox 7 on CentOS 5
Anyone have any luck running updated Firefox on CentOS 5? We have CentOS 5 workstations and need to update their Firefox but it dumps core even when using the libstdc++ from Fedora 9. I would like anything stable and secure beyond Firefox 3 but can't find tarballs for anything other than 7.0.1. CentOS 5.5 i386 w/ updates firefox-7.0.1.tar.bz2 libstdc++-4.3.0-8.i386.rpm from Fedora 9 Thanks, -- Wade Hampton ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firefox 7 on CentOS 5
Wade Hampton wrote: Anyone have any luck running updated Firefox on CentOS 5? We have CentOS 5 workstations and need to update their Firefox but it dumps core even when using the libstdc++ from Fedora 9. I would like anything stable and secure beyond Firefox 3 but can't find tarballs for anything other than 7.0.1. snip If you're going to go for something not accessible by yum, why not install from Firefox's website? mark, *not* doing this, wants stable ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firefox 7 on CentOS 5
On Wed, Oct 05, 2011 at 09:23:46AM -0400, Wade Hampton wrote: Anyone have any luck running updated Firefox on CentOS 5? We have CentOS 5 workstations and need to update their Firefox but it dumps core even when using the libstdc++ from Fedora 9. I would like anything stable and secure beyond Firefox 3 but can't find tarballs for anything other than 7.0.1. I'm running Firefox-7 on Centos 5.7. Back on (I think it was) Firefox 5, I found that firefox had dependencies on libstdc++ that weren't met by the lib on centos. I went digging around on my system and found that some other programs had their own local copies of libstdc++, so I tried copying them, once at a time, into the same directory where mozilla itself keeps some libraries. After a little cut-n-try I found one that worked. I've not changed it since, it still works. Not sure how to discover the version # of the libstdc++.so.6 I am using, but dong some 'finding' on my system I see that there is a copy of libstdc++.so.6 in two different places that are the same size as the one Firefox is ucing. they are 970680 bytes, and the filename is libstdc++.so.6.0.9, FWIW. I also note that Centos-6 works with Firefox-7 without having to do what I described above. Simplest for you MAY be to excerpt the libstdc++.so.6.* from centos-6 rather than groping for one, as I did. Good luck! -- Fred Smith -- fre...@fcshome.stoneham.ma.us Do you not know? Have you not heard? The LORD is the everlasting God, the Creator of the ends of the earth. He will not grow tired or weary, and his understanding no one can fathom. - Isaiah 40:28 (niv) - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firefox 7 on CentOS 5
Wade Hampton writes: Anyone have any luck running updated Firefox on CentOS 5? We have CentOS 5 workstations and need to update their Firefox but it dumps core even when using the libstdc++ from Fedora 9. I would like anything stable and secure beyond Firefox 3 but can't find tarballs for anything other than 7.0.1. CentOS 5.5 i386 w/ updates firefox-7.0.1.tar.bz2 libstdc++-4.3.0-8.i386.rpm from Fedora 9 Yes, this combination works fine here. Except, I'm using it on 5.7 with the x86_64 version of everything. Make sure to rename the stdc++ library to libstdc++.so.6 and drop it into the top firefox installation directory where the binary and the bulk of the .so libs live. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
Hello again, I still have 1 minor problem - I've created a new file /etc/init/pref.conf: start on stopped rc RUNLEVEL=3 stop on starting rc RUNLEVEL=[!3] console output respawn chdir /tmp exec /bin/su -c '/usr/local/pref/pref.pl /tmp/pref-`date +%a`.txt 21' afarber And started my script (a TCP-sockets daemon for a game) with # sudo initctl start pref pref start/running, process 2590 I can also see it running with ps uawx, netstat -an and # sudo initctl status pref But I can not restart it with: # sudo initctl restart pref initctl: Unknown instance: # sudo initctl stop pref initctl: Unknown instance: Why so? I was hoping to use the last command in a nightly cronjob (I have to restart my script because of perl memory problems) And also when I run # sudo initctl start pref several times, then I get # sudo initctl status pref pref stop/waiting - even though the process seems to run ok. Thank you Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: Not sure what that means. Freenx would at least keep the sesson active when you disconnect. I was trying to say, but not very well, that when qemu-kvm is running a guest and X is running, whether it's on the local video hardware or not, I get a kernel panic. So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. 'X' should be split cleanly into client and server programs where in X-speak the server serves the display and keyboard and programs are the clients. An X client program should not be touching any hardware directly. But, virtualization stuff might try to cheat. If you don't need the local console, you might try loading VMware ESXi first, then run all your other OS's as guests under that - you do need a windows box to run as the console when making changes or installing things, though. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Les Mikesell wrote: On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: snip So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. 'X' should be split cleanly into client and server programs where in X-speak the server serves the display and keyboard and programs are the clients. An X client program should not be touching any hardware directly. But, virtualization stuff might try to cheat. If you don't need the local console, you might try loading VMware ESXi first, then run all your other OS's as guests under that - you do need a windows box to run as the console when making changes or installing things, though. Actually, if you do that, you can log into ESX1 - it's actually a modified RHEL 3, I think. It's the remote admin GUI that you need WinDoze for. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 11:00 AM, m.r...@5-cent.us wrote: Les Mikesell wrote: On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: snip So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. 'X' should be split cleanly into client and server programs where in X-speak the server serves the display and keyboard and programs are the clients. An X client program should not be touching any hardware directly. But, virtualization stuff might try to cheat. If you don't need the local console, you might try loading VMware ESXi first, then run all your other OS's as guests under that - you do need a windows box to run as the console when making changes or installing things, though. Actually, if you do that, you can log into ESX1 - it's actually a modified RHEL 3, I think. It's the remote admin GUI that you need WinDoze for. mark VMware's a possibility. Would I need to remove the kvm package? Do I have to keep libvirtd off? I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Negative wrote: On Wed, Oct 5, 2011 at 11:00 AM, m.r...@5-cent.us wrote: Les Mikesell wrote: On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: snip So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. 'X' should be split cleanly into client and server programs where in X-speak the server serves the display and keyboard and programs are the clients. An X client program should not be touching any hardware directly. But, virtualization stuff might try to cheat. If you don't need the local console, you might try loading VMware ESXi first, then run all your other OS's as guests under that - you do need a windows box to run as the console when making changes or installing things, though. Actually, if you do that, you can log into ESX1 - it's actually a modified RHEL 3, I think. It's the remote admin GUI that you need WinDoze for. VMware's a possibility. Would I need to remove the kvm package? Do I have to keep libvirtd off? You could. I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. It keeps coming back to sounding like a hardware problem, maybe the video card. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Negative wrote: On Wed, Oct 5, 2011 at 11:00 AM, m.r...@5-cent.us wrote: Les Mikesell wrote: On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: snip So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. 'X' should be split cleanly into client and server programs where in X-speak the server serves the display and keyboard and programs are the clients. An X client program should not be touching any hardware directly. But, virtualization stuff might try to cheat. If you don't need the local console, you might try loading VMware ESXi first, then run all your other OS's as guests under that - you do need a windows box to run as the console when making changes or installing things, though. Actually, if you do that, you can log into ESX1 - it's actually a modified RHEL 3, I think. It's the remote admin GUI that you need WinDoze for. VMware's a possibility. Would I need to remove the kvm package? Do I have to keep libvirtd off? You could. I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. It keeps coming back to sounding like a hardware problem, maybe the video card. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Negative wrote: On Wed, Oct 5, 2011 at 11:00 AM, m.r...@5-cent.us wrote: Les Mikesell wrote: On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: snip So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. 'X' should be split cleanly into client and server programs where in X-speak the server serves the display and keyboard and programs are the clients. An X client program should not be touching any hardware directly. But, virtualization stuff might try to cheat. If you don't need the local console, you might try loading VMware ESXi first, then run all your other OS's as guests under that - you do need a windows box to run as the console when making changes or installing things, though. Actually, if you do that, you can log into ESX1 - it's actually a modified RHEL 3, I think. It's the remote admin GUI that you need WinDoze for. VMware's a possibility. Would I need to remove the kvm package? Do I have to keep libvirtd off? You could. I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. It keeps coming back to sounding like a hardware problem, maybe the video card. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:00 AM, m.r...@5-cent.us wrote: Les Mikesell wrote: On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: snip So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. 'X' should be split cleanly into client and server programs where in X-speak the server serves the display and keyboard and programs are the clients. An X client program should not be touching any hardware directly. But, virtualization stuff might try to cheat. If you don't need the local console, you might try loading VMware ESXi first, then run all your other OS's as guests under that - you do need a windows box to run as the console when making changes or installing things, though. Actually, if you do that, you can log into ESX1 - it's actually a modified RHEL 3, I think. It's the remote admin GUI that you need WinDoze for. VMware's a possibility. Would I need to remove the kvm package? Do I have to keep libvirtd off? You could. I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. It keeps coming back to sounding like a hardware problem, maybe the video card. mark That was my first thought. I've had the same behavior with two video cards -- an ATI and an nvidia. Could it be that the kvm-amd module causes problems? It is loaded along with the kvm-intel and kvm. . ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:00 AM, m.r...@5-cent.us wrote: Les Mikesell wrote: On Wed, Oct 5, 2011 at 8:17 AM, Negative negativebinom...@gmail.com wrote: snip So now I've found I can run X without problems and I can run qemu-kvm without problems, but I cannot run both at the same time. snip I still wonder what is causing this. I couldn't find any mention of a snip It keeps coming back to sounding like a hardware problem, maybe the video card. That was my first thought. I've had the same behavior with two video cards -- an ATI and an nvidia. Could it be that the kvm-amd module causes problems? It is loaded along with the kvm-intel and kvm. . If you've had the *same* behaviour with two separate video cards, from two different vendors, then I start wondering about either the m/b, or memory. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
On Wednesday 05 Oct 2011 15:03:43 Alexander Farber wrote: I still have 1 minor problem - I've created a new file /etc/init/pref.conf: start on stopped rc RUNLEVEL=3 stop on starting rc RUNLEVEL=[!3] console output respawn chdir /tmp exec /bin/su -c '/usr/local/pref/pref.pl /tmp/pref-`date +%a`.txt 21' afarber And started my script (a TCP-sockets daemon for a game) with # sudo initctl start pref pref start/running, process 2590 I can also see it running with ps uawx, netstat -an and # sudo initctl status pref But I can not restart it with: # sudo initctl restart pref initctl: Unknown instance: # sudo initctl stop pref initctl: Unknown instance: Does your pref.pl fork or daemonize itself? You may need to add 'expect fork' or 'expect daemon' to your pref.conf. Is the PID you get from `status pref' the same as you see in ps output? -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to the email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed in the governing client engagement leter or contract. If you have received this email in error please notify supp...@henderson-group.com John Henderson (Holdings) Ltd Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT. Registered in Northern Ireland Registration Number NI010588 Vat No.: 814 6399 12 * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 10:11 AM, Negative negativebinom...@gmail.com wrote: VMware's a possibility. Would I need to remove the kvm package? Do I have to keep libvirtd off? You could use VMware server or player as an alternative to kvm under Centos. VMware ESXi loads as the base OS, so you have to wipe everything and start over. The latest release (5.0) claims that virtualization can be 'nested' - that is you could run kvm (etc.) on a guest, although performance probably wouldn't be great. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
Hello Michael and others - On Wed, Oct 5, 2011 at 5:42 PM, Michael Gliwinski michael.gliwin...@henderson-group.com wrote: On Wednesday 05 Oct 2011 15:03:43 Alexander Farber wrote: start on stopped rc RUNLEVEL=3 stop on starting rc RUNLEVEL=[!3] console output respawn chdir /tmp exec /bin/su -c '/usr/local/pref/pref.pl /tmp/pref-`date +%a`.txt 21' afarber # sudo initctl stop pref initctl: Unknown instance: Does your pref.pl fork or daemonize itself? You may need to add 'expect fork' or 'expect daemon' to your pref.conf. Is the PID you get from `status pref' the same as you see in ps output? No, it doesn't daemoniz or fork anything and prints stuff to stdout and stderr only - because I was running it with /etc/inittab on the CentOS 5.7 (and thus shouldn't daemonize). The pid doesn't match or I can't get it: (I've omitted sudo below, I use CLI as afarber): # initctl status pref pref start/running, process 1507 # initctl restart pref pref start/running, process 2083 # initctl restart pref initctl: Unknown instance: # initctl restart pref initctl: Unknown instance: # ps uwx USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND afarber 1532 0.0 0.0 108788 15084 ?S16:05 0:00 /usr/bin/perl -w /usr/local/pref/pref.pl # netstat -an | grep -w 8080 tcp0 0 0.0.0.0:80800.0.0.0:* LISTEN # initctl status pref pref stop/waiting Any ideas please? I've also added more details at http://serverfault.com/questions/318742/etc-inittab-respawn-script-migrating-from-rhel-centos-5-x-to-6-x Thank you Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 80, Issue 2
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CEBA-2011:1351 CentOS 5 x86_64 libX11 Update (Johnny Hughes) 2. CEBA-2011:1351 CentOS 5 i386 libX11 Update (Johnny Hughes) 3. CEBA-2011:1352 CentOS 5 i386 OpenIPMI FASTTRACK Update (Johnny Hughes) 4. CEBA-2011:1352 CentOS 5 x86_64 OpenIPMI FASTTRACK Update (Johnny Hughes) -- Message: 1 Date: Wed, 5 Oct 2011 10:45:05 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CEBA-2011:1351 CentOS 5 x86_64 libX11 Update To: centos-annou...@centos.org Message-ID: 20111005104505.ga9...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2011:1351 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1351.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: faeb454599b5272ada9292b969a65b5e libX11-1.0.3-11.el5_7.1.i386.rpm 853e787c306e1457cfc5e8d527f1f2f2 libX11-1.0.3-11.el5_7.1.x86_64.rpm 742324dff34bd82bf4349c9937230d14 libX11-devel-1.0.3-11.el5_7.1.i386.rpm abca3a1a66017a33b41993376897eec4 libX11-devel-1.0.3-11.el5_7.1.x86_64.rpm Source: a0b1a07b57e5421705c9785aeb1c689f libX11-1.0.3-11.el5_7.1.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- Message: 2 Date: Wed, 5 Oct 2011 10:45:05 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CEBA-2011:1351 CentOS 5 i386 libX11 Update To: centos-annou...@centos.org Message-ID: 20111005104505.ga9...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2011:1351 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1351.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: faeb454599b5272ada9292b969a65b5e libX11-1.0.3-11.el5_7.1.i386.rpm 742324dff34bd82bf4349c9937230d14 libX11-devel-1.0.3-11.el5_7.1.i386.rpm Source: a0b1a07b57e5421705c9785aeb1c689f libX11-1.0.3-11.el5_7.1.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- Message: 3 Date: Wed, 5 Oct 2011 10:52:10 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CEBA-2011:1352 CentOS 5 i386 OpenIPMI FASTTRACK Update To: centos-annou...@centos.org Message-ID: 20111005105210.ga9...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2011:1352 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1352.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: 9fff4607b3e8aa755446d2e4e4a5e9f6 OpenIPMI-2.0.16-12.el5.i386.rpm 00016e11e287e8971f6b23dbe1948c9c OpenIPMI-devel-2.0.16-12.el5.i386.rpm 3e7527b4643a6657133cd3ef7e0e75cb OpenIPMI-gui-2.0.16-12.el5.i386.rpm ee8a53c2dcca7302d5c991986dec5122 OpenIPMI-libs-2.0.16-12.el5.i386.rpm 6886d04c9cf1855dca96417b32d1866e OpenIPMI-perl-2.0.16-12.el5.i386.rpm 027db873cd32d6ca2344fa75a5f681f0 OpenIPMI-python-2.0.16-12.el5.i386.rpm 26dcedf1349506f825a88a8c0997e8ad OpenIPMI-tools-2.0.16-12.el5.i386.rpm Source: 8d57da4edaf32550287fde148a1f22f5 OpenIPMI-2.0.16-12.el5.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- Message: 4 Date: Wed, 5 Oct 2011 10:52:10 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CEBA-2011:1352 CentOS 5 x86_64 OpenIPMI FASTTRACK Update To: centos-annou...@centos.org Message-ID: 20111005105210.ga9...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2011:1352 Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1352.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: b55ee8b1741d8c07e8288920579e3f39 OpenIPMI-2.0.16-12.el5.x86_64.rpm 00016e11e287e8971f6b23dbe1948c9c OpenIPMI-devel-2.0.16-12.el5.i386.rpm 58fedad89af7c24a456c0e5859642146 OpenIPMI-devel-2.0.16-12.el5.x86_64.rpm c7d9e01440bdd7c1ea932f806e0639bd OpenIPMI-gui-2.0.16-12.el5.x86_64.rpm ee8a53c2dcca7302d5c991986dec5122 OpenIPMI-libs-2.0.16-12.el5.i386.rpm
Re: [CentOS] guest vms crash host systems
Les Mikesell wrote: On Wed, Oct 5, 2011 at 10:11 AM, Negative negativebinom...@gmail.com wrote: VMware's a possibility. Would I need to remove the kvm package? Do I have to keep libvirtd off? You could use VMware server or player as an alternative to kvm under Centos. VMware ESXi loads as the base OS, so you have to wipe everything and start over. The latest release (5.0) claims that virtualization can be 'nested' - that is you could run kvm (etc.) on a guest, although performance probably wouldn't be great. Any idea what the new version is based on? Is it still a 2.4 kernel (and based on RHEL 3)? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 11:02 AM, m.r...@5-cent.us wrote: You could use VMware server or player as an alternative to kvm under Centos. VMware ESXi loads as the base OS, so you have to wipe everything and start over. The latest release (5.0) claims that virtualization can be 'nested' - that is you could run kvm (etc.) on a guest, although performance probably wouldn't be great. Any idea what the new version is based on? Is it still a 2.4 kernel (and based on RHEL 3)? Don't think they admit to any relationship to Linux. uname just says VMkernel 5.0.0 #1 with a build number. Most of the user level programs are implemented with busybox. It has ssh/scp, but no rsync. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 05, 2011 at 11:31:29AM -0500, Les Mikesell wrote: On Wed, Oct 5, 2011 at 11:02 AM, m.r...@5-cent.us wrote: Centos. ?VMware ESXi loads as the base OS, so you have to wipe everything and start over. ?The latest release (5.0) claims that virtualization can be 'nested' - that is you could run kvm (etc.) on a guest, although performance probably wouldn't be great. Any idea what the new version is based on? Is it still a 2.4 kernel (and based on RHEL 3)? Don't think they admit to any relationship to Linux. uname just says VMkernel 5.0.0 #1 with a build number. Most of the user level programs are implemented with busybox. It has ssh/scp, but no rsync. Note the i in ESXi; this is an embedded linux variant. ESX is still RedHat based, to the best of my knowledge. -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: snip I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. snip Do I remember this is 5.7? Look at the announcement that *just* came out in the last hour, with the libX11 bugfix. https://rhn.redhat.com/errata/RHBA-2011-1351.html says Previously, in the 64-bit mode, libX11 computed addresses using the 32-bit arithmetic. As a consequence, under heavy load, applications running in the X environment terminated unexpectedly. A patch has been provided to address this issue, and the crashes no longer occur in the described scenario. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Les Mikesell wrote: On Wed, Oct 5, 2011 at 11:02 AM, m.r...@5-cent.us wrote: You could use VMware server or player as an alternative to kvm under Centos. VMware ESXi loads as the base OS, so you have to wipe everything and start over. The latest release (5.0) claims that virtualization can be 'nested' - that is you could run kvm (etc.) on a guest, although performance probably wouldn't be great. Any idea what the new version is based on? Is it still a 2.4 kernel (and based on RHEL 3)? Don't think they admit to any relationship to Linux. uname just says VMkernel 5.0.0 #1 with a build number. Most of the user level programs are implemented with busybox. It has ssh/scp, but no rsync. It was - the docs for the version that was around in early '09 *said* that the latest release was based on RHEL 3. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
My script has 2 pecularities: 1) When it gets SIGTERM or SIGINT, it writes some data into PostgreSQL and this takes 10-15 seconds 2) When it is started numerous times, then the subsequent runs will fail immediately, because only the 1st instance will be able to listen at the TCP-port 8080 And in /var/log/messages I see: ... 17:44:25 static init: pref main process ended, respawning 17:44:26 static init: pref main process (2128) terminated with status 98 17:44:26 static init: pref main process ended, respawning 17:44:26 static init: pref main process (2133) terminated with status 98 17:44:26 static init: pref respawning too fast, stopped is that all maybe the reason and is there something I could do? (maybe somehow delay the subsequent spawns?) Regards Alex On Wed, Oct 5, 2011 at 5:51 PM, Alexander Farber alexander.far...@gmail.com wrote: http://serverfault.com/questions/318742/etc-inittab-respawn-script-migrating-from-rhel-centos-5-x-to-6-x ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 12:01 PM, m.r...@5-cent.us wrote: It was - the docs for the version that was around in early '09 *said* that the latest release was based on RHEL 3. You are supposed to be able to download the open source components here: http://downloads.vmware.com/d/info/datacenter_cloud_infrastructure/vmware_vsphere/5_0#open_source but all I see is a license file - that does mention the 2.6 kernel and drivers. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Les Mikesell wrote: On Wed, Oct 5, 2011 at 12:01 PM, m.r...@5-cent.us wrote: It was - the docs for the version that was around in early '09 *said* that the latest release was based on RHEL 3. You are supposed to be able to download the open source components here: http://downloads.vmware.com/d/info/datacenter_cloud_infrastructure/vmware_vsphere/5_0#open_source but all I see is a license file - that does mention the 2.6 kernel and drivers. Yeah, well, the RHEL stuff I assume is released; their own heavy enhancements, I don't know. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
On Wed, Oct 5, 2011 at 12:04 PM, Alexander Farber alexander.far...@gmail.com wrote: My script has 2 pecularities: 1) When it gets SIGTERM or SIGINT, it writes some data into PostgreSQL and this takes 10-15 seconds 2) When it is started numerous times, then the subsequent runs will fail immediately, because only the 1st instance will be able to listen at the TCP-port 8080 And in /var/log/messages I see: ... 17:44:25 static init: pref main process ended, respawning 17:44:26 static init: pref main process (2128) terminated with status 98 17:44:26 static init: pref main process ended, respawning 17:44:26 static init: pref main process (2133) terminated with status 98 17:44:26 static init: pref respawning too fast, stopped is that all maybe the reason and is there something I could do? (maybe somehow delay the subsequent spawns?) Can you make it sleep a bit and retry the socket open a few times if it fails due to the previous process not releasing the port yet? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 12:16 PM, m.r...@5-cent.us wrote: It was - the docs for the version that was around in early '09 *said* that the latest release was based on RHEL 3. You are supposed to be able to download the open source components here: http://downloads.vmware.com/d/info/datacenter_cloud_infrastructure/vmware_vsphere/5_0#open_source but all I see is a license file - that does mention the 2.6 kernel and drivers. Yeah, well, the RHEL stuff I assume is released; their own heavy enhancements, I don't know. It doesn't matter if someone else released source. Anyone distributing binaries containing GPL code is supposed to also supply the matching source along with anything else that becomes part of a derived work. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
Good idea, thank you! On Wed, Oct 5, 2011 at 7:22 PM, Les Mikesell lesmikes...@gmail.com wrote: Can you make it sleep a bit and retry the socket open a few times if it fails due to the previous process not releasing the port yet? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?
Les Mikesell wrote: On Wed, Oct 5, 2011 at 12:04 PM, Alexander Farber alexander.far...@gmail.com wrote: My script has 2 pecularities: 1) When it gets SIGTERM or SIGINT, it writes some data into PostgreSQL and this takes 10-15 seconds 2) When it is started numerous times, then the subsequent runs will fail immediately, because only the 1st instance will be able to listen at the TCP-port 8080 snip Ok, here's an option: change it to perl, and make it a multithreaded process, so that it can wait at the critical point. fork do stuff that doesn't need the port if child, exit if parent if #0 ended, fork #2 else loop mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
Les Mikesell wrote: On Wed, Oct 5, 2011 at 12:16 PM, m.r...@5-cent.us wrote: It was - the docs for the version that was around in early '09 *said* that the latest release was based on RHEL 3. You are supposed to be able to download the open source components here: http://downloads.vmware.com/d/info/datacenter_cloud_infrastructure/vmware_vsphere/5_0#open_source but all I see is a license file - that does mention the 2.6 kernel and drivers. Yeah, well, the RHEL stuff I assume is released; their own heavy enhancements, I don't know. It doesn't matter if someone else released source. Anyone distributing binaries containing GPL code is supposed to also supply the matching source along with anything else that becomes part of a derived work. IIRC, I don't *think* that if you take it and enhance it, you're required to release your commercial enhancements. For example, video drivers, proprietary. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 12:36 PM, m.r...@5-cent.us wrote: Yeah, well, the RHEL stuff I assume is released; their own heavy enhancements, I don't know. It doesn't matter if someone else released source. Anyone distributing binaries containing GPL code is supposed to also supply the matching source along with anything else that becomes part of a derived work. IIRC, I don't *think* that if you take it and enhance it, you're required to release your commercial enhancements. For example, video drivers, proprietary. The whole point of the GPL is to require the release of source (to anyone who gets binaries) of any derived work. Kernel modules aren't strictly considered to be derived from the kernel, although there has been some speculation that they could be. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On 2011-10-05, at 12:14 PM, Les Mikesell lesmikes...@gmail.com wrote: On Wed, Oct 5, 2011 at 12:36 PM, m.r...@5-cent.us wrote: Yeah, well, the RHEL stuff I assume is released; their own heavy enhancements, I don't know. It doesn't matter if someone else released source. Anyone distributing binaries containing GPL code is supposed to also supply the matching source along with anything else that becomes part of a derived work. IIRC, I don't *think* that if you take it and enhance it, you're required to release your commercial enhancements. For example, video drivers, proprietary. The whole point of the GPL is to require the release of source (to anyone who gets binaries) of any derived work. Kernel modules aren't strictly considered to be derived from the kernel, although there has been some speculation that they could be. VMware ESXi is available for free download -I think it's restricted to non-commercial use - but you have to register with VMware first. The VSphere Vcenter console is too. I have it running on an Intel hardware based home server with half a dozen vm's. It does look and feel a lot like RHEL. Gordon ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On 10/05/11 11:14 AM, Les Mikesell wrote: The whole point of the GPL is to require the release of source (to anyone who gets binaries) of any derived work. Kernel modules aren't strictly considered to be derived from the kernel, although there has been some speculation that they could be. the closed source drivers usually have two pieces, clearly seperated. one piece is open source and interfaces with the kernel, the other piece implements the hardware specific features (be they wifi or 3D graphics or what) and is called from the 1st piece, and is supplied as a closed binary module. its my understanding that there's NO traces of any linux kernel in ESXi. the RHEL that was in the original ESX was the management console, which ran in VM0 (much like dom0 on a Xen system), and wasn't the hypervisor. What I saw poking around a esxi4 install looked more akin to a stripped down BSD, with a BusyBox shell. -- 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] guest vms crash host systems
On Wed, Oct 5, 2011 at 1:00 PM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: snip I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. snip Do I remember this is 5.7? Look at the announcement that *just* came out in the last hour, with the libX11 bugfix. https://rhn.redhat.com/errata/RHBA-2011-1351.html says Previously, in the 64-bit mode, libX11 computed addresses using the 32-bit arithmetic. As a consequence, under heavy load, applications running in the X environment terminated unexpectedly. A patch has been provided to address this issue, and the crashes no longer occur in the described scenario. mark If this isn't my lucky day. RH and Centos solved my problem even before I defined it. I saw the update earlier and didn't dare hope. I updated and it seems to have solved the issue. On the host machine, I fired up virt-manager, started the Fedora guest and it's been up for a half hour. Now I, too, can start complaining about Gnome 3. I've read it's like Windows, but it's the spitting image of the Mac OS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems, gnow, Gnome 3
Negative wrote: MVNCH Now I, too, can start complaining about Gnome 3. I've read it's like Windows, but it's the spitting image of the Mac OS. Maybe, but I was having to deal with it on a user's fedora 15 machine, and I ACTIVELY dislike it, with it's scroll-over-and-the-transparent-menu-fades-in crap. Pointless and annoying eye candy. mark, getting back to real work on his command lines ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 3:06 PM, Negative negativebinom...@gmail.com wrote: On Wed, Oct 5, 2011 at 1:00 PM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: snip I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. snip Do I remember this is 5.7? Look at the announcement that *just* came out in the last hour, with the libX11 bugfix. https://rhn.redhat.com/errata/RHBA-2011-1351.html says Previously, in the 64-bit mode, libX11 computed addresses using the 32-bit arithmetic. As a consequence, under heavy load, applications running in the X environment terminated unexpectedly. A patch has been provided to address this issue, and the crashes no longer occur in the described scenario. mark And, Mark, thanks for mentioning it. If this isn't my lucky day. RH and Centos solved my problem even before I defined it. I saw the update earlier and didn't dare hope. I updated and it seems to have solved the issue. On the host machine, I fired up virt-manager, started the Fedora guest and it's been up for a half hour. Now I, too, can start complaining about Gnome 3. I've read it's like Windows, but it's the spitting image of the Mac OS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Permission question
Hello, We own a CentOS Server which hosts a few domains using Cpanel, however each host or domain has its own user and its own folder under /home, we want a separate user(newuser1) to have read and write privileges in all home's subdirectories so we can do some tasks remotely using WinSCP, that user is already in the sudoers group and the root login is disabled in SSH for security, but I haven't been able to assign the correct privileges and rights to newuser1 using chmod -R owneruser:newuser1 /home/owneruserdir, everytime we login with newuser1 using WinSCP to /home and try to change directory to /home/owneruserdir we receive a permission denied message, so I don't know where else to look. Any pointers will be apreciated. Thanks. -- Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Permission question
Victor Padro wrote: Hello, We own a CentOS Server which hosts a few domains using Cpanel, however each host or domain has its own user and its own folder under /home, we want a separate user(newuser1) to have read and write privileges in all home's subdirectories so we can do some tasks remotely using WinSCP, that user is already in the sudoers group and the root login is disabled in SSH for security, but I haven't been able to assign the correct privileges and rights to newuser1 using chmod -R owneruser:newuser1 /home/owneruserdir, everytime we login with newuser1 using WinSCP to /home and try to change directory to /home/owneruserdir we receive a permission denied message, so I don't know where else to look. you did give execute permissions to the group members on the dirs? if unsure show us ls -l /home | grep owneruserdir ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6 USB changes
Ok, I just managed, after much effort, to rebuild my USB key to install CentOS 6. There are a number of changes. Partition the USB key, but make partition 1, Win 95 (FAT32) (I think that's partition type b), bigger. I made it 500M. The rest should be ext3 (or whatever). Format the partitions. Make sure to toggle the bootable flag on partition 1. syslinux /dev/DOS partition When you're done, the DOS partition should look like this: ls -laF /mnt /boot/ /ldlinux.sys /syslinux/ Under /boot is /grub, and it's contents. Make sure you create a grub.conf to put in there. If syslinux didn't put it there, mount your .iso, and copy /mnt/iso/isolinux into there, then rename /syslinux/isolinus.cfg to /syslinux/syslinux.cfg. I put a grub.conf here, too: cat /mnt/disk/syslinux/grub.conf #debug --graphics default=0 splashimage=@SPLASHPATH@ timeout 5 hiddenmenu title @PRODUCT@ @VERSION@ kernel @KERNELPATH@ initrd @INITRDPATH@ title Install system with basic video driver kernel @KERNELPATH@ xdriver=vesa nomodeset askmethod initrd @INITRDPATH@ title rescue kernel @KERNELPATH@ rescue askmethod initrd @INITRDPATH@ On the second partition, copy your .iso images. Then copy /mnt/iso/images there. You should be good to go. NOTE: during the install, if you make any partitions encrypted, it will hang when it's done formatting, so reboot, and tell it to install again, and then not to format. It will start, then ask for the password, then actually go through the install. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Permission question
On 10/05/11 1:01 PM, Victor Padro wrote: chmod -R owneruser:newuser1 /home/owneruserdir chMOD changes the access modes, not the owner:group. rather, you likely should have done... chgrp -R newuser1 /home/owneruserdir chmod -R g+rwx /home/owneruserdir AND you likely want to set the group sticky bit so new files inherit the group find /home/owneruserdir -type d | xargs chmod g+s also, you'll want to globally set umask 0002 so files get created group write by default. -- 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
[CentOS] Formatting an external USB drive
I have an external USB drive that was formatted with NTFS and I want to use it to backup some files from my Centos 5.5 system. When I check my documentation, I am not certain of the best way to do the formatting. Suggestions welcomed Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Odd issue with C6 and NIS
In article calszghhtwld-rw1tq+z+eugk+wrrc47ygg31+fc2trpyp-y...@mail.gmail.com, Jim Perrin centos@centos.org wrote: ... Current versions of fedora do this as well, in addition to f15 having a buggy startup script for yp*. I agree with you that if you specify auth, the tools for it should be there. That said, NIS needs to die. Quickly. Why? I'll grant NIS is insecure at best for login auth, and should not be used for that purpose (at least not outside the lab). But for other purposes e.g. automount maps, NIS is simple and easy and still functional. I'll also readily agree I wouldn't want NIS on internet-facing systems, but for things like automount maps on the internal corporate LAN, is it really a catastropic problem? Cheers, sr. -- || Steve Rikli ||| || || Systems Administrator ||| How can something that is almost 3 MB || || Genyosha Networks ||| in size be called a kernel? || || s...@genyosha.net ||| || ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Permission question
On Wed, Oct 5, 2011 at 3:20 PM, Nicolas Thierry-Mieg nicolas.thierry-m...@imag.fr wrote: Victor Padro wrote: Hello, We own a CentOS Server which hosts a few domains using Cpanel, however each host or domain has its own user and its own folder under /home, we want a separate user(newuser1) to have read and write privileges in all home's subdirectories so we can do some tasks remotely using WinSCP, that user is already in the sudoers group and the root login is disabled in SSH for security, but I haven't been able to assign the correct privileges and rights to newuser1 using chmod -R owneruser:newuser1 /home/owneruserdir, everytime we login with newuser1 using WinSCP to /home and try to change directory to /home/owneruserdir we receive a permission denied message, so I don't know where else to look. you did give execute permissions to the group members on the dirs? if unsure show us ls -l /home | grep owneruserdir ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This is the output: drwx--x--x 29 owneruser1owneruser1 4096 Oct 5 07:15 owneruserdir1/ drwx--x--x 13 owneruser2 owneruser2 4096 Oct 1 02:18 owneruserdir2/ Thanks! -- Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Formatting an external USB drive
- Original Message - From: Todd Cary t...@aristesoftware.com To: CentOS mailing list centos@centos.org Sent: Wednesday, October 5, 2011 3:34:54 PM Subject: [CentOS] Formatting an external USB drive I have an external USB drive that was formatted with NTFS and I want to use it to backup some files from my Centos 5.5 system. When I check my documentation, I am not certain of the best way to do the formatting. Suggestions welcomed Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Use fdisk as root. Before plugging the drive in type fdisk -l to get a listing of drives already attached. Plug the drive in and after a minute type fdisk -l to see the new drive listed. It will be something like /dev/sdX where X is the next letter in the order. to set the drive up type fdisk /dev/sdX. To clear the partition table type o and hit return and then type w and hit return. Now type fdisk /dev/sdX again. Type n and hit return. Type p and hit return. Type 1 and hit return. Hit return twice more to use the whole disk. Type w and hit return to finish. To format it type mkfs.ext3 -L usb-disk /dev/sdX1 and hit return to format the partition as ext3. Create a directory to mount the disk to mkdir /backup-disk and then mount it mount LABEL=usb-disk /backup-disk. To have it auto mount at boot edit the /etc/fstab file and add. LABEL=usb-disk /backup-disk ext3 defaults 0 0 David. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Permission question
On Wed, Oct 5, 2011 at 5:29 PM, John R Pierce pie...@hogranch.com wrote: On 10/05/11 1:01 PM, Victor Padro wrote: chmod -R owneruser:newuser1 /home/owneruserdir chMOD changes the access modes, not the owner:group. rather, you likely should have done... chgrp -R newuser1 /home/owneruserdir chmod -R g+rwx /home/owneruserdir AND you likely want to set the group sticky bit so new files inherit the group find /home/owneruserdir -type d | xargs chmod g+s also, you'll want to globally set umask 0002 so files get created group write by default. -- john r pierce N 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I did what you just suggest and now I can't see the contents of /home, seems like I'm jailed on my own home directory, is there a way to know if I'm jailed and a way to be unjailed if that's the case? Thank you. -- Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Permission question
On 10/05/11 5:01 PM, Victor Padro wrote: I did what you just suggest and now I can't see the contents of /home, seems like I'm jailed on my own home directory, is there a way to know if I'm jailed and a way to be unjailed if that's the case? I have no idea what you're talking about. Jail is a chroot environment, you would see your chroot directory as / ... Everything I described previously is all very standard POSIX Unix permissions stuff. CPanel does all sorts things behind the OS's back, so you maybe should be talking to the CPanel people -- 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
[CentOS] Confgure SAN with Linux
Hi, i'm new to this subject. I try to present a san attachment on my Linux server (OEL 5.5). I'm running a HP server with qlogic 2462 and my SAN Storage is a HP EVA. Zoning is good. I installed HP SanSurfer and i see the vdisk with this utility. But, impossible to see the volume from the os. Fdisk returns me to the local disks, and multipath -l command does not return any info. I installed qlogic drivers, edit multipah.conf, install devicee mapper Have you any idea or how to ? I hope I was clear, I started with Linux and I can not put all the necessary information. Thank's for your help Best regards Ce message et toutes les pi?ces jointes sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration, ASF d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Formatting an external USB drive
Dave - I recieved this response and I am not sure what the next step should be: [root@centos5 todd]# /sbin/fdisk /dev/sda1 The number of cylinders for this disk is set to 30514. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): [root@centos5 todd]# Todd On 10/5/2011 4:08 PM, David C. Miller wrote: - Original Message - From: Todd Caryt...@aristesoftware.com To: CentOS mailing listcentos@centos.org Sent: Wednesday, October 5, 2011 3:34:54 PM Subject: [CentOS] Formatting an external USB drive I have an external USB drive that was formatted with NTFS and I want to use it to backup some files from my Centos 5.5 system. When I check my documentation, I am not certain of the best way to do the formatting. Suggestions welcomed Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Use fdisk as root. Before plugging the drive in type fdisk -l to get a listing of drives already attached. Plug the drive in and after a minute type fdisk -l to see the new drive listed. It will be something like /dev/sdX where X is the next letter in the order. to set the drive up type fdisk /dev/sdX. To clear the partition table type o and hit return and then type w and hit return. Now type fdisk /dev/sdX again. Type n and hit return. Type p and hit return. Type 1 and hit return. Hit return twice more to use the whole disk. Type w and hit return to finish. To format it type mkfs.ext3 -L usb-disk /dev/sdX1 and hit return to format the partition as ext3. Create a directory to mount the disk to mkdir /backup-disk and then mount it mount LABEL=usb-disk /backup-disk. To have it auto mount at boot edit the /etc/fstab file and add. LABEL=usb-disk /backup-disk ext3 defaults 0 0 David. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] guest vms crash host systems
On Wed, Oct 5, 2011 at 3:11 PM, Negative negativebinom...@gmail.com wrote: On Wed, Oct 5, 2011 at 3:06 PM, Negative negativebinom...@gmail.comwrote: On Wed, Oct 5, 2011 at 1:00 PM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: On Wed, Oct 5, 2011 at 11:15 AM, m.r...@5-cent.us wrote: Negative wrote: snip I still wonder what is causing this. I couldn't find any mention of a similar problem, including on my desktop in my office, where I have a very similar setup, with four kvm guests, two Fedora, one Centos 6 and one Windows XP. snip Do I remember this is 5.7? Look at the announcement that *just* came out in the last hour, with the libX11 bugfix. https://rhn.redhat.com/errata/RHBA-2011-1351.html says Previously, in the 64-bit mode, libX11 computed addresses using the 32-bit arithmetic. As a consequence, under heavy load, applications running in the X environment terminated unexpectedly. A patch has been provided to address this issue, and the crashes no longer occur in the described scenario. mark And, Mark, thanks for mentioning it. If this isn't my lucky day. RH and Centos solved my problem even before I defined it. I saw the update earlier and didn't dare hope. I updated and it seems to have solved the issue. On the host machine, I fired up virt-manager, started the Fedora guest and it's been up for a half hour. Now I, too, can start complaining about Gnome 3. I've read it's like Windows, but it's the spitting image of the Mac OS. I spoke too soon. Crashed again after being up for several hours. I'm running memtest86 now. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Formatting an external USB drive
- Original Message - From: Todd Cary t...@aristesoftware.com To: centos@centos.org Sent: Wednesday, October 5, 2011 6:43:10 PM Subject: Re: [CentOS] Formatting an external USB drive Dave - I recieved this response and I am not sure what the next step should be: [root@centos5 todd]# /sbin/fdisk /dev/sda1 The number of cylinders for this disk is set to 30514. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): [root@centos5 todd]# Todd You are trying to run fdisk on the first partition of /dev/sda. Unless you are using an old PATA drive for booting your USB drive should not be /dev/sda. Before you go any further do the following commands and report back with the output. fdisk -l df -h David. On 10/5/2011 4:08 PM, David C. Miller wrote: - Original Message - From: Todd Caryt...@aristesoftware.com To: CentOS mailing listcentos@centos.org Sent: Wednesday, October 5, 2011 3:34:54 PM Subject: [CentOS] Formatting an external USB drive I have an external USB drive that was formatted with NTFS and I want to use it to backup some files from my Centos 5.5 system. When I check my documentation, I am not certain of the best way to do the formatting. Suggestions welcomed Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Use fdisk as root. Before plugging the drive in type fdisk -l to get a listing of drives already attached. Plug the drive in and after a minute type fdisk -l to see the new drive listed. It will be something like /dev/sdX where X is the next letter in the order. to set the drive up type fdisk /dev/sdX. To clear the partition table type o and hit return and then type w and hit return. Now type fdisk /dev/sdX again. Type n and hit return. Type p and hit return. Type 1 and hit return. Hit return twice more to use the whole disk. Type w and hit return to finish. To format it type mkfs.ext3 -L usb-disk /dev/sdX1 and hit return to format the partition as ext3. Create a directory to mount the disk to mkdir /backup-disk and then mount it mount LABEL=usb-disk /backup-disk. To have it auto mount at boot edit the /etc/fstab file and add. LABEL=usb-disk /backup-disk ext3 defaults 0 0 David. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ 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] Confgure SAN with Linux
On 10/05/11 5:58 PM, MARMEY Cyril wrote: I try to present a san attachment on my Linux server (OEL 5.5). call Oracle Support for OEL, thats not CentOS. -- 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] Formatting an external USB drive
..or the OP might want to try to get gparted loaded up, would make things much easier on him. I think the last time I looked I found it on one of the repo's but not sure which one. It provides a very nice and easy gui to do all of this from, although of course it is all available from the cli, depending on his skill level. On Wed, Oct 5, 2011 at 9:37 PM, David C. Miller mille...@fusion.gat.comwrote: - Original Message - From: Todd Cary t...@aristesoftware.com To: centos@centos.org Sent: Wednesday, October 5, 2011 6:43:10 PM Subject: Re: [CentOS] Formatting an external USB drive Dave - I recieved this response and I am not sure what the next step should be: [root@centos5 todd]# /sbin/fdisk /dev/sda1 The number of cylinders for this disk is set to 30514. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): [root@centos5 todd]# Todd You are trying to run fdisk on the first partition of /dev/sda. Unless you are using an old PATA drive for booting your USB drive should not be /dev/sda. Before you go any further do the following commands and report back with the output. fdisk -l df -h David. On 10/5/2011 4:08 PM, David C. Miller wrote: - Original Message - From: Todd Caryt...@aristesoftware.com To: CentOS mailing listcentos@centos.org Sent: Wednesday, October 5, 2011 3:34:54 PM Subject: [CentOS] Formatting an external USB drive I have an external USB drive that was formatted with NTFS and I want to use it to backup some files from my Centos 5.5 system. When I check my documentation, I am not certain of the best way to do the formatting. Suggestions welcomed Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Use fdisk as root. Before plugging the drive in type fdisk -l to get a listing of drives already attached. Plug the drive in and after a minute type fdisk -l to see the new drive listed. It will be something like /dev/sdX where X is the next letter in the order. to set the drive up type fdisk /dev/sdX. To clear the partition table type o and hit return and then type w and hit return. Now type fdisk /dev/sdX again. Type n and hit return. Type p and hit return. Type 1 and hit return. Hit return twice more to use the whole disk. Type w and hit return to finish. To format it type mkfs.ext3 -L usb-disk /dev/sdX1 and hit return to format the partition as ext3. Create a directory to mount the disk to mkdir /backup-disk and then mount it mount LABEL=usb-disk /backup-disk. To have it auto mount at boot edit the /etc/fstab file and add. LABEL=usb-disk /backup-disk ext3 defaults 0 0 David. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Permission question
On Wed, Oct 5, 2011 at 7:38 PM, John R Pierce pie...@hogranch.com wrote: On 10/05/11 5:01 PM, Victor Padro wrote: I did what you just suggest and now I can't see the contents of /home, seems like I'm jailed on my own home directory, is there a way to know if I'm jailed and a way to be unjailed if that's the case? I have no idea what you're talking about. Jail is a chroot environment, you would see your chroot directory as / ... Everything I described previously is all very standard POSIX Unix permissions stuff. CPanel does all sorts things behind the OS's back, so you maybe should be talking to the CPanel people -- john r pierce N 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I just had a typo, fixed the glitch and everything is working ok, thanks a lot for your help Nicolas John. -- Everything that irritates us about others can lead us to an understanding of ourselves ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos