Re: [CentOS-virt] Emergency help needed on host network randomly stop working.
Hi, On Wed, Oct 12, 2011 at 10:43 AM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, This is a Centos 5.5 host with one xen guest. About 2 weeks ago, the host randomly lost network connection. By this I mean I could not connect to the services on it, or ping it. Also was the status of the guest. From serial console, I connected to the host, trying to see what happened. No clue (any error messages) in messages or dmesg. ifdown/ifup the interface did not help, either. Only rebooting was my only choice. Searching through Google, I got the information that some other guys met similar problem, and resolved by setting stp on with the bridge interface. I set it, too. And the problem still occurs. Any idea what I should check now? So I assume that the problem occurs just with the xen domU and not with the dom0? And your solution is to reboot the domU (not dom0)? With loosing network you mean you cannot ping your gateway ip and/or you cannot ping the domU from your gw? You are running the latest kernel/xen packages provided by centos on your dom0 and domU? How have you configured network on this server, can you post your configs (vif line in dom0 config aand newtork config files from the domU)? And you are sure you have an unique MAC address in your LAN for your domU? Best, Peter ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Emergency help needed on host network randomly stop working.
On 10/12/11 12:43 AM, Magicloud Magiclouds wrote: Hi, This is a Centos 5.5 host with one xen guest. About 2 weeks ago, the host randomly lost network connection. By this I mean I could not connect to the services on it, or ping it. Also was the status of the guest. From serial console, I connected to the host, trying to see what happened. No clue (any error messages) in messages or dmesg. ifdown/ifup the interface did not help, either. Only rebooting was my only choice. Searching through Google, I got the information that some other guys met similar problem, and resolved by setting stp on with the bridge interface. I set it, too. And the problem still occurs. Any idea what I should check now? Thanks. When outage occurs, from the host these might be good things to look at and/or share with the list: ip link brctl show arp -n (arp -n from your next-hop router too) tcpdump -ln -i peth0 (try some activity; e.g. ping out to router, ping in from router) tcpdump -ln -i br0 (more activity) Depending on your xen bridge setup the bridge might be named eth0 or virbr0; peth0 might be different too. Eric ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-es] Instalar certificado firmado en apache
El nombre del dominio del certificado tiene que coincidir con el del dominio de la web. Algunas organizaciones lo que hacen es tener su propia CA, consiguen el certificado firmado por una CA y con ese certficado firman los certificados de sus subdominios. Saludos, Miguel De: victor santana reparaciononl...@gmail.com Para: centos-es@centos.org Enviado: martes 11 de octubre de 2011 16:22 Asunto: Re: [CentOS-es] Instalar certificado firmado en apache - ¿Que mensaje de error da el apache? - Los certificados deben ir en el fichero de configuración del dominio en cuestión, es decir si has pedido el certificado generado para www.dominioA.com no puedes ponerlo en el fichero apache de configuración de www.dominioB.com - El 11 de octubre de 2011 15:03, Maykel Franco Hernández may...@maykel.sytes.net escribió: Gracias por contestar. Lo he hecho así y nada. Da error el apache. Una cosa, se tiene que llamar el nombre de la máquina igual que el nombre con el que se pide el certificado?? Una pregunta, con esos certificados generados que me han pasado el .key y el .crt en teoría ya firmados y demás...Tengo que hacer algo aparte de compartirlos para apache?? tengo que realizar alguna modificacióin con openssl...Ya nosé que más buscar. On Tue, 11 Oct 2011 13:45:17 +0100, victor santana wrote: Aquí te van las lineas a añadir de ejemplo para tu fichero de configuración del host. ServerName dominio.com ServerAlias www.dominio.com [3] DocumentRoot /var/www/vhosts/dominio.com/httpdocs/ CustomLog /var/www/vhosts/dominio.com/logs/access_ssl_log combined ErrorLog /var/www/vhosts/dominio.com/logs/error_ssl_log Order allow,deny Allow from all AllowOverride All Options +FollowSymLinks AddDefaultCharset ISO-8859-1 # SSL Engine Switch: SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl.crt/www.dominio.com.crt [4] SSLCertificateKeyFile /etc/httpd/conf/ssl.key/dominio.com.key El 11 de octubre de 2011 13:36, Maykel Franco Hernández may...@maykel.sytes.net [5] escribió: Hola muy buenas, actualmente estoy trabajando con Centos 5 server y estoy tratando de instalar unos certificados que me ha generado piensasolutions. He habilitado el https y demás y funciona pero el tema es que me han pasado ya el server.crt y el server.key. La pregunta es la siguietne, tengo que hacer algo con esos archivos utilizando el openssl o teóricamente ya está todo generado y lo único que tengo que cambiar es esto en el archivo default-ssl SSLCertificateFile /etc/httpd/conf/ssl.crt/example.com.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/example.com.key He utilizado alguna vez https pero no con un certificado firmado. Un saludo. ___ CentOS-es mailing list CentOS-es@centos.org [1] http://lists.centos.org/mailman/listinfo/centos-es [2] -- ___ REPARACIONONLINE GARANTIA PARA SU PC ___ CentOS-es mailing list CentOS-es@centos.org [6] http://lists.centos.org/mailman/listinfo/centos-es [7] Links: -- [1] mailto:CentOS-es@centos.org [2] http://lists.centos.org/mailman/listinfo/centos-es [3] http://www.dominio.com [4] http://www.dominio.com.crt [5] mailto:may...@maykel.sytes.net [6] mailto:CentOS-es@centos.org [7] http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- ___ REPARACIONONLINE GARANTIA PARA SU PC ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Intento de Hackeo
cambia el puerto de ssh César D. Cruz Arrunátegui - Mensaje original - De: Jesús Rivas je...@evangelizacion.org.mx Para: centos-es@centos.org Enviados: Martes, 11 de Octubre 2011 10:53:18 GMT -05:00 Colombia Asunto: [CentOS-es] Intento de Hackeo Hola gente, tenemos un servidor con centos 5 y en el log secure veo intentos de acceso por ssh muy seguramente un script (checando la IP google dice que es alguien de beijing). Primero agregue la ip a hosts.deny pero luego me di cuenta que la ip cambio y siguio cambiando, entonces no veo el caso de estar agregando las ip al hosts.deny Luego cerre el acceso por ssh a root que bueno gloogeando me tope que es una buena practica de seguridad, asi como tambien limitar el numero de intentos el tiempo para poner la contraseña y ahi de ratos veo en el log intentos de acceso por ahi, pero pues por ahi ya no podra entrar. ¿Alguna otra recomendacio que me puedan dar para evitar esto? ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] c6 xen guest install, golf, and geany
On Tue, 11 Oct 2011, Mark Pryor wrote: List, Is it possible to do a text install (512RAM) of C6 server, with support for X11 forwarding over ssh, and get geany (editor) to work over ssh? Yes. I got X11 forwarding to work when I have a full Xfce desktop, but not with a server setup. I would like to golf this... IOW find the minimum number of packages. Any hints or kickstart configs for the needy? There's really not much you need to install. Minimal install + xauth + gedit and I'd have thought you were there. xauth is the important bit that you can accidentally miss off. You just need to check for ssh X forwarding working. ssh -Y to your server and echo $DISPLAY. If it's not defined, you've got a problem. jh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum repo problem?
5.7 32bit server system (headless coloc server), long running, long time stable. I need the flac utils... [root@freescruz ~]# rpm -qa |grep flac (nothing installed) [root@freescruz ~]# yum install flac-devel Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: mirror.5ninesolutions.com * extras: mirror.grikare.com * rpmforge: apt.sw.be * updates: centos.mirror.facebook.net Excluding Packages from CentOS-5 - Base Finished Excluding Packages from Red Hat Enterprise 5 - RPMforge.net - dag Finished Excluding Packages from CentOS-5 - Updates Finished 82 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies -- Running transaction check --- Package flac-devel.i386 0:1.1.2-28.el5_0.1 set to be updated -- Processing Dependency: flac = 1.1.2-28.el5_0.1 for package: flac-devel -- Processing Dependency: libFLAC++.so.5 for package: flac-devel -- Processing Dependency: libOggFLAC.so.3 for package: flac-devel -- Processing Dependency: libOggFLAC++.so.2 for package: flac-devel -- Processing Dependency: libFLAC.so.7 for package: flac-devel -- Finished Dependency Resolution flac-devel-1.1.2-28.el5_0.1.i386 from base has depsolving problems -- Missing Dependency: flac = 1.1.2-28.el5_0.1 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) flac-devel-1.1.2-28.el5_0.1.i386 from base has depsolving problems -- Missing Dependency: libOggFLAC.so.3 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) flac-devel-1.1.2-28.el5_0.1.i386 from base has depsolving problems -- Missing Dependency: libFLAC.so.7 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) flac-devel-1.1.2-28.el5_0.1.i386 from base has depsolving problems -- Missing Dependency: libFLAC++.so.5 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) flac-devel-1.1.2-28.el5_0.1.i386 from base has depsolving problems -- Missing Dependency: libOggFLAC++.so.2 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) Error: Missing Dependency: libOggFLAC++.so.2 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) Error: Missing Dependency: flac = 1.1.2-28.el5_0.1 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) Error: Missing Dependency: libFLAC.so.7 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) Error: Missing Dependency: libOggFLAC.so.3 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) Error: Missing Dependency: libFLAC++.so.5 is needed by package flac-devel-1.1.2-28.el5_0.1.i386 (base) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest now what?!? -- 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] yum repo problem?
On 10/12/11 12:09 AM, John R Pierce wrote: -- Missing Dependency: flac = 1.1.2-28.el5_0.1 is needed by package well, odd, I ran it again and it worked. WTF? -- 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] Emergency help needed on host network randomly stop working.
Hi, This is a Centos 5.5 host with one xen guest. About 2 weeks ago, the host randomly lost network connection. By this I mean I could not connect to the services on it, or ping it. Also was the status of the guest. From serial console, I connected to the host, trying to see what happened. No clue (any error messages) in messages or dmesg. ifdown/ifup the interface did not help, either. Only rebooting was my only choice. Searching through Google, I got the information that some other guys met similar problem, and resolved by setting stp on with the bridge interface. I set it, too. And the problem still occurs. Any idea what I should check now? Thanks. -- 竹密岂妨流水过 山高哪阻野云飞 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [SPAM] Re: Centos 6.0 , DRBD
Hello Joesph, i am a gentoo child. So, do i have to download latest drbd source package, then untar , and do this = { If you are about to build RPMs for both the DRBD userspace utilities and the kernel module, use: } $ ./configure --enable-spec --with-km $ make tgz $ cp drbd*.tar.gz `rpm -E _sourcedir` $ rpmbuild -bb drbd.spec $ rpmbuild -bb drbd-kernel.spec This would be right way for me? And waht do i have to do on updates=? Same Procedure? Am 11.10.2011 19:47, schrieb Joseph L. Casale: Each thing you install by hand brake this. Did you actually read my post and the link? ___ 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] Antwort: Re: Antwort: Inbuilt Bisoncam NB Pro webcam is not detected in CentOS 6
Sir, Yes i have tried with Cheese Application and its not detected my camera and its shows No Camera Regards -S.Balaji On 10/11/2011 8:10 PM, Andreas Reschke wrote: centos-boun...@centos.org schrieb am 11.10.2011 21:54:40: balajisundarbalajisun...@midascomm.com Gesendet von: centos-boun...@centos.org 11.10.2011 16:25 Bitte antworten an CentOS mailing listcentos@centos.org An CentOS mailing listcentos@centos.org Kopie Thema Re: [CentOS] Antwort: Inbuilt Bisoncam NB Pro webcam is not detected in CentOS 6 Dear All, Current System lsusb output as below Bus 002 Device 004: ID 5986:0241 Acer, Inc BisonCam, NB Pro Regards -S.Balaji On 10/11/2011 06:48 PM, Andreas Reschke wrote: centos-boun...@centos.org schrieb am 11.10.2011 15:06:46: balajisundarbalajisun...@midascomm.com Gesendet von: centos-boun...@centos.org 11.10.2011 15:06 Bitte antworten an CentOS mailing listcentos@centos.org An centos@centos.org Kopie Thema [CentOS] Inbuilt Bisoncam NB Pro webcam is not detected in CentOS 6 Sir, Recently i have buy a HCL ME Laptop with inbuilt webcam support. I have installed the CentOS 6 and its not detected the Bisoncam NB Pro webcam. Is there any driver is required, if its required please send me the driver download link and installation steps. Regards -S.Balaji ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hello balajisundar , first you must try to find out what kind of camera you have. Please us the output of lspci and lsusb Gruß Andreas Reschke Unix/Linux-Administration andreas.resc...@behrgroup.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 Hi balajisundar, OK, fine. Your centos recognize your camera . Have you tried a application like cheese, ekiga, scype with your camera? Gruß Andreas Reschke BG-IM173 Unix/Linux-Administration Siemensstrasse 164 70469 Stuttgart Behr GmbH Co. KG ST B29, 3.OG Tel.: +49 711 896-4598 Fax: ++49 711-8902-4598 Mobil: 0173-3197397 andreas.resc...@behrgroup.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] yum repo problem?
Vreme: 10/12/2011 09:40 AM, John R Pierce piše: On 10/12/11 12:09 AM, John R Pierce wrote: -- Missing Dependency: flac = 1.1.2-28.el5_0.1 is needed by package well, odd, I ran it again and it worked. WTF? I do not see any flac-devel packages in Repoforge, only in Atrpms-testing. Do you have it enabled? -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Antwort: Re: Antwort: Inbuilt Bisoncam NB Pro webcam is not detected in CentOS 6
Vreme: 10/12/2011 10:44 AM, balajisundar piše: Sir, Yes i have tried with Cheese Application and its not detected my camera and its shows No Camera Regards -S.Balaji Can please avoid top-posting (writing at the begining?) Norm here is to write bellow the written tekst. And try deleting signatures etc., making your post shorter, easier for reading. Thank you. You need uvcvideo module for your Webcam: http://www.ideasonboard.org/uvc/ It looks like it is part of the C6 kernels. There are versions of your Webcam that do not respond well to UVC commands, firmware problem, no Linux cen help you with that. UVC on Debian (you might get hints there): https://help.ubuntu.com/community/UVC There is luvcview in Repoforge repository to test UVC devices. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Emergency help needed on host network randomly stop working.
On Wednesday 12 October 2011 03:43, the following was written: Hi, This is a Centos 5.5 host with one xen guest. About 2 weeks ago, the host randomly lost network connection. By this I mean I could not connect to the services on it, or ping it. Also was the status of the guest. From serial console, I connected to the host, trying to see what happened. No clue (any error messages) in messages or dmesg. ifdown/ifup the interface did not help, either. Only rebooting was my only choice. Searching through Google, I got the information that some other guys met similar problem, and resolved by setting stp on with the bridge interface. I set it, too. And the problem still occurs. Any idea what I should check now? I am no expert but it sounds like you might be in the early stages of hardware failure. Next time this system stop responding check the following: 1. System interface state 2. Connected switch interface If the switch shows down but the system shows up I wold start by replacing the NIC on the system. -- Regards Robert Linux The adventure of a lifetime. Linux User #296285 Get Counted http://linuxcounter.net/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mock - Problems building Centos5 package on Centos6 - where can I ask for advice ?
Hi. Thanks I have managed to fix the issue. Rather than modify a Fedora src.rpm - I used a Centos6 one. I also changed the lines in the .spec file from - %build # aclocal workaround - to be improved cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 aclocal.m4 # Force use of system libtool: libtoolize --force --copy cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 build/libtool.m4 to -- %build # aclocal workaround - to be improved cat `aclocal --print-ac-dir`/libtool.m4 aclocal.m4 # Force use of system libtool: libtoolize --force --copy cat `aclocal --print-ac-dir`/libtool.m4 build/libtool.m4 -- It builds fine now ! Thank you so much for your offer of help though. Keep rocking the 'free' world, Regards On 12 October 2011 05:29, Trey Dockendorf treyd...@gmail.com wrote: If gmail will let u send a srpm just send to treyd...@gmail.com. might have to tar or zip if rpm files cant be sent. I recently rebuilt PHP for centos 6 in mock so may be able to help debug. On Oct 10, 2011 3:19 AM, Morgan Cox morganco...@gmail.com wrote: Hi trey. I would prefer being able to build my own packages rather than rely on an external repo.(that was I can always build what ever version I need to). Its not the building of the RPM it the use of mock thats failing. What is the best way of sending you the source RPM. Regards On 8 October 2011 14:22, Trey Dockendorf treyd...@gmail.com wrote: On Oct 7, 2011 3:34 AM, Morgan Cox morganco...@gmail.com wrote: Hi Thank you for your extremely quick (and faster than support from any company..) reply. Sorry, can you give more detail ? From the look of the error the 'mock centos5' is missing these files :- /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4 /usr/share/aclocal/lt~obsolete.m4 - which come from libtool2 (on centos6) Centos5 obviously doesn't have that version... I noticed in the .spec file it has --- %build # aclocal workaround - to be improved cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 aclocal.m4 # Force use of system libtool: libtoolize --force --copy cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 build/libtool.m4 --- It also has - from the original .spec file I based it on:- BuildRequires: bzip2, perl, libtool = 1.4.3, gcc-c++ I have libtool installed in the mock enviroment ... Anyone know what i'm doing wrong ? Regards ! On 6 October 2011 15:57, John Hodrien j.h.hodr...@leeds.ac.uk wrote: On Thu, 6 Oct 2011, Morgan Cox wrote: Hi. I am trying to use Mock to rebuild a .src.rpm file I have made for PHP 5.3.8 (for Centos6) I have managed to install deps fine with mock. When I try to rebuild the package though I get. BuildRequires are wrong, since this SRPM requires files that aren't being pulled in. Add BuildRequires to satisfy these missing requirements and it'll work. jh ___ 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 If your wanting PHP-5.3 for CentOS5 you may want to look at the IUS repo. They provide PHP 5.2 and 5.3 for CentOS5. If you send me your SRPM offlist Ill try to build it on my Mock environment. - Trey ___ 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] Centos 6.0 , DRBD
Vreme: 10/12/2011 07:10 AM, Karanbir Singh piše: Hi, On 10/11/2011 06:23 PM, Ljubomir Ljubojevic wrote: I do not have to read it (although I understood you the first time). My its strange then you feel compelled to comment on something without making an effort to even see what the other person is talking about. production server is not going to be a ginipig for developers. And I, so far, rebuilt over 100 packages including newer Qt for C6. people with the idea of a 'production' setup usually also understand the idea of 'devel' and 'testing'. People who dont have an idea of 'production' dont need to care about or are already isolated from needing to care about 'devel' and 'testing', isnt it ? Just saying. - KB Joseph's post was: Yeah, but generate rpm's for final installation, its trivial. http://www.drbd.org/users-guide-emb/s-build-rpm.html End of the link says Build Rpm. So, install building tools and environment, and kernel-devel on the production system (5 years ago I was thought that it is not wise to do so), and compile it against your kernel. And there is already built and tested kmod- module from ELRepo. Just so I can answer you (all), I visited that web page and read following: Note that any kernel upgrade will require you to generate a new drbd-km package to match the new kernel. So, my assumption that kernel upgrade without rebuilding the module would brake his production server was correct. I used to use madwifi-kmdl kernel modules for my Atheros wireless radio card, and each time I upgraded kernel I had to upgrade/install new module also. Very tiresome. Then I studied kmdl vs kmod packages and learned that kmod packages do not need any recompilation after kernel upgrade. They use weak-update model (essentially symlinks) as long as new kernel has same ABI as previous ones. Install process of new kernel checks kernel modules of currently installed kernels and symlinks them, avoiding need for building them or installing new packages (hoping they are already available). I was delighted when I saw that ELRepo developers use kmod model, no more messing with kernel modules. That is why I suggested using ELRepo kernel module package instead of self-built one. Only reason I can see in building your own module is to use those other packages (like drbd-heartbeat). I hope this finally clears up what I tried to say: 1. Joseph's link clearly stated it was for self building the rpm(s) so I did not need to visit the link to know what is on the page. 2. Developers of kernel module packages rarely use kmod approach in fear people will mess it up (like installing vanila kernel on CentOS sistem and still calling it CentOS,...). Ubuntu and Arch users especially have this problem, so it is safer to build for each new kernel. 3. Kernel module re-packagers from ELRepo have luxury of safely offering kmod packages for EL kernels, and I believe this is safest and best approach. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6.0 , DRBD
Am 11.10.2011 11:27, schrieb Marko Weber: Do i have to enable the epel-test repo to get itß But test sounds not stable for me and we switched to centos for stability. anyone here can help me or give me any hints on drbd on centos 6? Do i have to compile by hand? No, use elrepo, do not compile and build a rpm by yourself. This was already done be elrepo. Look here how to enable it: http://wiki.centos.org/AdditionalResources/Repositories Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Emergency help needed on host network randomly stop working.
Vreme: 10/12/2011 11:58 AM, Robert Spangler piše: On Wednesday 12 October 2011 03:43, the following was written: I am no expert but it sounds like you might be in the early stages of hardware failure. Next time this system stop responding check the following: 1. System interface state 2. Connected switch interface If the switch shows down but the system shows up I wold start by replacing the NIC on the system. I had similar problems with my server and first thing I did was to hook it up to Monitor and keyboard (serial is good too). In my case, it was (probably) network cable loosing connection. I new that once I was able to access server via keyboard and still had no connection. But in my case both NIC and switch showed connection just not blinking. Did reboot help? Can you prepare another switch and LAN cable? Or maybe cheep router so you can connect them directly and try to ping router (set it on the same subnet). NIC starting to broke can also be an issue, but you should also try looking for newer NIC drivers in ELRepo repository, some drivers have small bugs. Upgrading from 5.5 to 5.7 might also solve your problem, is it is a driver problem and not hardware. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] debuginfo repo missing??
On Wed, Oct 12, 2011 at 12:12:43AM -0500, Karanbir Singh wrote: Hi, On 10/11/2011 03:57 PM, fred smith wrote: http://debuginfo.centos.org/6 exists, but is empty. Does anyone here know when or even if it will ever be populated? We are shifting the debuginfo stuff around, its taken a few days since there is quite a lot of content to move around. Give it till this weekend and you should start seeing content in the /6/debuginfo repo's. Thanks, KB! - KB -- Fred Smith -- fre...@fcshome.stoneham.ma.us - For the word of God is living and active. Sharper than any double-edged sword, it penetrates even to dividing soul and spirit, joints and marrow; it judges the thoughts and attitudes of the heart. Hebrews 4:12 (niv) -- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6.0 , DRBD
Hi Ljubomir, i am completely confused now. With elrepo u dont mean epel.repo or? How do i enable this elrepo in Centos? marko Am 12.10.2011 12:16, schrieb Ljubomir Ljubojevic: Vreme: 10/12/2011 07:10 AM, Karanbir Singh piše: Hi, On 10/11/2011 06:23 PM, Ljubomir Ljubojevic wrote: I do not have to read it (although I understood you the first time). My its strange then you feel compelled to comment on something without making an effort to even see what the other person is talking about. production server is not going to be a ginipig for developers. And I, so far, rebuilt over 100 packages including newer Qt for C6. people with the idea of a 'production' setup usually also understand the idea of 'devel' and 'testing'. People who dont have an idea of 'production' dont need to care about or are already isolated from needing to care about 'devel' and 'testing', isnt it ? Just saying. - KB Joseph's post was: Yeah, but generate rpm's for final installation, its trivial. http://www.drbd.org/users-guide-emb/s-build-rpm.html End of the link says Build Rpm. So, install building tools and environment, and kernel-devel on the production system (5 years ago I was thought that it is not wise to do so), and compile it against your kernel. And there is already built and tested kmod- module from ELRepo. Just so I can answer you (all), I visited that web page and read following: Note that any kernel upgrade will require you to generate a new drbd-km package to match the new kernel. So, my assumption that kernel upgrade without rebuilding the module would brake his production server was correct. I used to use madwifi-kmdl kernel modules for my Atheros wireless radio card, and each time I upgraded kernel I had to upgrade/install new module also. Very tiresome. Then I studied kmdl vs kmod packages and learned that kmod packages do not need any recompilation after kernel upgrade. They use weak-update model (essentially symlinks) as long as new kernel has same ABI as previous ones. Install process of new kernel checks kernel modules of currently installed kernels and symlinks them, avoiding need for building them or installing new packages (hoping they are already available). I was delighted when I saw that ELRepo developers use kmod model, no more messing with kernel modules. That is why I suggested using ELRepo kernel module package instead of self-built one. Only reason I can see in building your own module is to use those other packages (like drbd-heartbeat). I hope this finally clears up what I tried to say: 1. Joseph's link clearly stated it was for self building the rpm(s) so I did not need to visit the link to know what is on the page. 2. Developers of kernel module packages rarely use kmod approach in fear people will mess it up (like installing vanila kernel on CentOS sistem and still calling it CentOS,...). Ubuntu and Arch users especially have this problem, so it is safer to build for each new kernel. 3. Kernel module re-packagers from ELRepo have luxury of safely offering kmod packages for EL kernels, and I believe this is safest and best approach. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ 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] Centos 6.0 , DRBD
From: Marko Weber we...@zackbummfertig.de i am completely confused now. With elrepo u dont mean epel.repo or? How do i enable this elrepo in Centos? Google 'elrepo' and it is the first answer... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6.0 , DRBD
Marko Weber wrote: i am completely confused now. With elrepo u dont mean epel.repo or? How do i enable this elrepo in Centos? http://lmgtfy.com/?q=elrepol=1 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Install Centos on remote machine?
hello , i have to an remote server contact via rescue console. How can i install centos there without any image or cd? with gentoo i untar a stage3 tarball and latest portage , baking kernel - go! (shortversion) but how to do this with centos? i gooled last hour but only find howtos with cd / dvd. the remote server i can only contact via kvm or rescue console. any ideas? marko ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Install Centos on remote machine?
http://evcz.tk/blog/2008/10/21/remote-centos-install/ works with centos 4 / 5 / 6 and fedora Am 12.10.11 16:48, schrieb Marko Weber: hello , i have to an remote server contact via rescue console. How can i install centos there without any image or cd? with gentoo i untar a stage3 tarball and latest portage , baking kernel - go! (shortversion) but how to do this with centos? i gooled last hour but only find howtos with cd / dvd. the remote server i can only contact via kvm or rescue console. any ideas? marko ___ 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] Install Centos on remote machine?
Juergen Gotteswinter wrote: Am 12.10.11 16:48, schrieb Marko Weber: i have to an remote server contact via rescue console. How can i install centos there without any image or cd? http://evcz.tk/blog/2008/10/21/remote-centos-install/ works with centos 4 / 5 / 6 and fedora snip Please don't top post, Juergen. Thanks for the link - handy to know. On the other hand, whoever's website that is, not good: someone might duplicate their car key and steal their car mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum repo problem?
On 10/12/11 2:24 AM, Ljubomir Ljubojevic wrote: I do not see any flac-devel packages in Repoforge, only in Atrpms-testing. Do you have it enabled? its in CentOS-Base it was late at night last night, but after posting that first message, I realized I'd yum upgraded the system from ~ 5.4 to 5.7, and tried the `yum install flac-devel` and got the error I pasted (I'd gotten it before the yum upgrade, too), but it went away after a yum clean all (I'd done this once or twice already prior to the yum upgrade). all I really wanted was 'flac', I couldn't even see that package before the full update. huh. -- 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] raid on large disks?
What's the right way to set up 2TB partitions for raid1 autoassembly? I don't need to boot from this but I'd like it to come up and mount automatically at boot. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Scp and SFTP speed much difference???
we have CENTOS 5.X on server A and Server B. Both servers have Gigabit network card connect to same switch. I test network speed from Server A to Server B and found speed much difference: SFTP: 42 MB/Sec SCP:20 MB/sec SCP command: scp -Crp -o CompressionLevel=1 user1@ServerB:/TMP/File1 . Anyone know how to improve SCP speed? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid on large disks?
On 10/12/11 8:48 AM, Les Mikesell wrote: What's the right way to set up2TB partitions for raid1 autoassembly? I don't need to boot from this but I'd like it to come up and mount automatically at boot. disks 2TB and up have to be formatted as GPT rather than MBR, so old MBR tools like fdisk are useless. use parted I would build a LVM vg with the multi-terabyte volumes, using lvm mirroring, and then create an XFS lv on the vg xfs seems 100% stable and high performance on centos6 -- 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] Scp and SFTP speed much difference???
On 10/12/11 9:07 AM, mcclnx mcc wrote: we have CENTOS 5.X on server A and Server B. Both servers have Gigabit network card connect to same switch. I test network speed from Server A to Server B and found speed much difference: SFTP: 42 MB/Sec SCP:20 MB/sec SCP command: scp -Crp -o CompressionLevel=1 user1@ServerB:/TMP/File1 . Anyone know how to improve SCP speed? don't specify compression on gigE, it will just slow you down. scp/sftp should be virtually the same speed, all else being equal -- 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] raid on large disks?
On Wed, Oct 12, 2011 at 11:09 AM, John R Pierce pie...@hogranch.com wrote: What's the right way to set up2TB partitions for raid1 autoassembly? I don't need to boot from this but I'd like it to come up and mount automatically at boot. disks 2TB and up have to be formatted as GPT rather than MBR, so old MBR tools like fdisk are useless. use parted I would build a LVM vg with the multi-terabyte volumes, using lvm mirroring, and then create an XFS lv on the vg xfs seems 100% stable and high performance on centos6 What I'm looking for is the way to make md raid autodetect and assemble on boot. With fdisk, you would set the partition type to FD for that, but I don't see an equivalent in parted. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid on large disks?
On Wed, Oct 12, 2011 at 12:14 PM, Les Mikesell lesmikes...@gmail.comwrote: On Wed, Oct 12, 2011 at 11:09 AM, John R Pierce pie...@hogranch.com wrote: What's the right way to set up2TB partitions for raid1 autoassembly? I don't need to boot from this but I'd like it to come up and mount automatically at boot. disks 2TB and up have to be formatted as GPT rather than MBR, so old MBR tools like fdisk are useless. use parted I would build a LVM vg with the multi-terabyte volumes, using lvm mirroring, and then create an XFS lv on the vg xfs seems 100% stable and high performance on centos6 What I'm looking for is the way to make md raid autodetect and assemble on boot. With fdisk, you would set the partition type to FD for that, but I don't see an equivalent in parted. With GPT that's set using flags. This is done in parted with the command set partition number raid on -- David ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid on large disks?
On Wed, Oct 12, 2011 at 12:20 PM, David Miller davi...@gmail.com wrote: On Wed, Oct 12, 2011 at 12:14 PM, Les Mikesell lesmikes...@gmail.comwrote: On Wed, Oct 12, 2011 at 11:09 AM, John R Pierce pie...@hogranch.com wrote: What's the right way to set up2TB partitions for raid1 autoassembly? I don't need to boot from this but I'd like it to come up and mount automatically at boot. disks 2TB and up have to be formatted as GPT rather than MBR, so old MBR tools like fdisk are useless. use parted I would build a LVM vg with the multi-terabyte volumes, using lvm mirroring, and then create an XFS lv on the vg xfs seems 100% stable and high performance on centos6 What I'm looking for is the way to make md raid autodetect and assemble on boot. With fdisk, you would set the partition type to FD for that, but I don't see an equivalent in parted. With GPT that's set using flags. This is done in parted with the command set partition number raid on I just thought of one other thing. You'll want to read up on bios boot if these large drives are being used for the grub boot loader. -- David ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid on large disks?
On 10/12/11 9:14 AM, Les Mikesell wrote: What I'm looking for is the way to make md raid autodetect and assemble on boot. With fdisk, you would set the partition type to FD for that, but I don't see an equivalent in parted. set 1 raid on but I was suggesting forgoing mdraid entirely, and using lvm mirroring (lvcreate -m 2 ... vgname) -- 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] raid on large disks?
On Wed, Oct 12, 2011 at 11:22 AM, David Miller davi...@gmail.com wrote: With GPT that's set using flags. This is done in parted with the command set partition number raid on I just thought of one other thing. You'll want to read up on bios boot if these large drives are being used for the grub boot loader. Not booting from them, but is there a problem with kernel autoassembly on large partitions? I see this in dmsg: md: Autodetecting RAID arrays. md: invalid raid superblock magic on sde1 md: sde1 has invalid sb, not importing! But mdadm --assemble /dev/md5 /dev/sde1 works fine after booting. (The array was created with a missing member which hasn't been added yet). -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid on large disks?
On Wed, Oct 12, 2011 at 11:24 AM, John R Pierce pie...@hogranch.com wrote: On 10/12/11 9:14 AM, Les Mikesell wrote: What I'm looking for is the way to make md raid autodetect and assemble on boot. With fdisk, you would set the partition type to FD for that, but I don't see an equivalent in parted. set 1 raid on but I was suggesting forgoing mdraid entirely, and using lvm mirroring (lvcreate -m 2 ... vgname) LVM seems unnecessarily complicated unless mdraid is broken on large devices. And I already have data on the md partition (moving stuff from a pair of 1.5TB drives to 3TB). If md isn't going to work, can I put LVM on a single drive, add the data, then add the mirror (reusing the one that now has the md partition and currently holding the data)? The old disks are still around but not in the machine now. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid on large disks?
- Original Message - From: Les Mikesell lesmikes...@gmail.com To: CentOS mailing list centos@centos.org Sent: Wednesday, October 12, 2011 9:28:48 AM Subject: Re: [CentOS] raid on large disks? On Wed, Oct 12, 2011 at 11:22 AM, David Miller davi...@gmail.com wrote: With GPT that's set using flags. This is done in parted with the command set partition number raid on I just thought of one other thing. You'll want to read up on bios boot if these large drives are being used for the grub boot loader. Not booting from them, but is there a problem with kernel autoassembly on large partitions? I see this in dmsg: md: Autodetecting RAID arrays. md: invalid raid superblock magic on sde1 md: sde1 has invalid sb, not importing! But mdadm --assemble /dev/md5 /dev/sde1 works fine after booting. (The array was created with a missing member which hasn't been added yet). When using mdadm you don't even have to partition a drive if you are using the whole thing. Just make sure the block device is set to GPT in parted if it is not already. After creating the RAID1 get the uuid of the raid by doing mdadm -D /dev/dm5. Then use the following format in the /etc/mdadm.conf to have it auto assemble at boot. ARRAY /dev/md5 devices=/dev/sd[e-f] uuid=$UUID_FROM_MDADM David C Miller. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] raid on large disks?
On 10/12/11 9:36 AM, Les Mikesell wrote: LVM seems unnecessarily complicated unless mdraid is broken on large devices. And I already have data on the md partition (moving stuff from a pair of 1.5TB drives to 3TB). If md isn't going to work, can I put LVM on a single drive, add the data, then add the mirror (reusing the one that now has the md partition and currently holding the data)? The old disks are still around but not in the machine now. I believe (from memory) you'd add the 2nd drive to the volume group, then vgextend vgname /dev/(newdisk) lvconvert -m 1 logicalvolumename one nice thing about lvm mirroring is you can do it with a mix of drive sizes without having to worry about geometry or layout, it will simply ensure that each block exists on two devices -- 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] CentOS 5.7 PHP upgrade
I got the IUS installed using the commands but was still unable to upgrade the php package, any ideas? root@378907 [/home/ajhalls]# rpm -install epel-release-5-4.noarch.rpm -install: unknown option root@378907 [/home/ajhalls]# rpm -ivh epel-release-5-4.noarch.rpm warning: epel-release-5-4.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f Preparing...### [100%] 1:epel-release ### [100%] root@378907 [/home/ajhalls]# rpm -ivh 00031.mpg install-tl-unx/ 10-6-11.tar ius-release-1.0-8.ius.el5.noarch.rpm access-logs/ .lastlogin applications/ mail/ backups/ Media/ .bash_history .mozilla/ .bash_logout .my.cnf .bash_profile mysql .bashrc .mysql_history conf/ perl5/ .contactemail public_ftp/ .cpanel/ public_html/ cpanel3-skel/ quiz_category.txt DB_backup_10-6-11.sql safehtml.php .dns show epel-release-5-4.noarch.rpm .ssh/ etc/ stats/ flv/ tmp/ forum.sql .trash/ hello uptime.log homux-stat.db www/ .htpasswds/ .Xauthority I.am.number.1 .zshrc root@378907 [/home/ajhalls]# rpm -ivh ius-release-1.0-8.ius.el5.noarch.rpm warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f Preparing...### [100%] 1:ius-release### [100%] root@378907 [/home/ajhalls]# yum upgrade php Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: fr2.rpmfind.net addons | 951 B 00:00 base | 1.1 kB 00:00 epel | 3.7 kB 00:00 epel/primary_db | 3.8 MB 00:03 extras | 2.1 kB 00:00 ius | 2.2 kB 00:00 ius/primary_db | 83 kB 00:00 rpmforge | 1.1 kB 00:00 updates | 1.9 kB 00:00 Excluding Packages in global exclude list Finished Setting up Upgrade Process No Match for argument: php No package php available. No Packages marked for Update root@378907 [/home/ajhalls]# yum install php53 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: fr2.rpmfind.net Excluding Packages in global exclude list Finished Setting up Install Process No package php53 available. Nothing to do ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
d...@nkmo.com wrote: I got the IUS installed using the commands but was still unable to upgrade the php package, any ideas? snip I may have missed some previously in this thread, so forgive me if I asked something that's already been suggested: what's the o/p of yum list \*php\* ? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
package name in ius is php53u eero 12.10.2011 20.15 d...@nkmo.com kirjoitti: I got the IUS installed using the commands but was still unable to upgrade the php package, any ideas? root@378907 [/home/ajhalls]# rpm -install epel-release-5-4.noarch.rpm -install: unknown option root@378907 [/home/ajhalls]# rpm -ivh epel-release-5-4.noarch.rpm warning: epel-release-5-4.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f Preparing...### [100%] 1:epel-release ### [100%] root@378907 [/home/ajhalls]# rpm -ivh 00031.mpg install-tl-unx/ 10-6-11.tar ius-release-1.0-8.ius.el5.noarch.rpm access-logs/ .lastlogin applications/ mail/ backups/ Media/ .bash_history .mozilla/ .bash_logout .my.cnf .bash_profile mysql .bashrc .mysql_history conf/ perl5/ .contactemail public_ftp/ .cpanel/ public_html/ cpanel3-skel/ quiz_category.txt DB_backup_10-6-11.sql safehtml.php .dns show epel-release-5-4.noarch.rpm .ssh/ etc/ stats/ flv/ tmp/ forum.sql .trash/ hello uptime.log homux-stat.db www/ .htpasswds/ .Xauthority I.am.number.1 .zshrc root@378907 [/home/ajhalls]# rpm -ivh ius-release-1.0-8.ius.el5.noarch.rpm warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f Preparing...### [100%] 1:ius-release### [100%] root@378907 [/home/ajhalls]# yum upgrade php Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: fr2.rpmfind.net addons | 951 B 00:00 base | 1.1 kB 00:00 epel | 3.7 kB 00:00 epel/primary_db | 3.8 MB 00:03 extras | 2.1 kB 00:00 ius | 2.2 kB 00:00 ius/primary_db | 83 kB 00:00 rpmforge | 1.1 kB 00:00 updates | 1.9 kB 00:00 Excluding Packages in global exclude list Finished Setting up Upgrade Process No Match for argument: php No package php available. No Packages marked for Update root@378907 [/home/ajhalls]# yum install php53 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: fr2.rpmfind.net Excluding Packages in global exclude list Finished Setting up Install Process No package php53 available. Nothing to do ___ 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] raid on large disks?
On Wed, Oct 12, 2011 at 11:37 AM, David C. Miller mille...@fusion.gat.com wrote: Not booting from them, but is there a problem with kernel autoassembly on large partitions? I see this in dmsg: md: Autodetecting RAID arrays. md: invalid raid superblock magic on sde1 md: sde1 has invalid sb, not importing! But mdadm --assemble /dev/md5 /dev/sde1 works fine after booting. (The array was created with a missing member which hasn't been added yet). When using mdadm you don't even have to partition a drive if you are using the whole thing. Just make sure the block device is set to GPT in parted if it is not already. After creating the RAID1 get the uuid of the raid by doing mdadm -D /dev/dm5. Then use the following format in the /etc/mdadm.conf to have it auto assemble at boot. ARRAY /dev/md5 devices=/dev/sd[e-f] uuid=$UUID_FROM_MDADM Thanks - I already had the raid and filesystem (and data) on a partition - it just wasn't restarting at boot. The above approach with the device names of the partitions seems to bring it up in time to make it work when included in /etc/fstab. That's better than nothing, but I'd really prefer kernel autoassembly because the disks are all in swappable enclosures and I do move things around once in a while. Does that just not work for large partitions? I see that 'cat /proc/mdstat' says 'super 1.0' on this device and none of the others. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
Sorry Mark, I started this upgrade project a few days ago and am stepping back to it now that I have a little more time. I tried the php53u package like eero suggested but the package could not be found still. I did a yum search php and there aren't ANY packages that start with php, the closest I have is phc which is the php compliler. We would love to be able to figure this out so we can run php.activerecord. root@378907 [/etc/yum.repos.d]# yum install php53u Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: fr2.rpmfind.net addons | 951 B 00:00 base | 1.1 kB 00:00 epel | 3.7 kB 00:00 extras | 2.1 kB 00:00 ius | 2.2 kB 00:00 rpmforge | 1.1 kB 00:00 updates | 1.9 kB 00:00 Excluding Packages in global exclude list Finished Setting up Install Process No package php53u available. Nothing to do package name in ius is php53u eero 12.10.2011 20.15 d...@nkmo.com kirjoitti: I got the IUS installed using the commands but was still unable to upgrade the php package, any ideas? root@378907 [/home/ajhalls]# rpm -install epel-release-5-4.noarch.rpm -install: unknown option root@378907 [/home/ajhalls]# rpm -ivh epel-release-5-4.noarch.rpm warning: epel-release-5-4.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f Preparing...### [100%] 1:epel-release ### [100%] root@378907 [/home/ajhalls]# rpm -ivh 00031.mpg install-tl-unx/ 10-6-11.tar ius-release-1.0-8.ius.el5.noarch.rpm access-logs/ .lastlogin applications/ mail/ backups/ Media/ .bash_history .mozilla/ .bash_logout .my.cnf .bash_profile mysql .bashrc .mysql_history conf/ perl5/ .contactemail public_ftp/ .cpanel/ public_html/ cpanel3-skel/ quiz_category.txt DB_backup_10-6-11.sql safehtml.php .dns show epel-release-5-4.noarch.rpm .ssh/ etc/ stats/ flv/ tmp/ forum.sql .trash/ hello uptime.log homux-stat.db www/ .htpasswds/ .Xauthority I.am.number.1 .zshrc root@378907 [/home/ajhalls]# rpm -ivh ius-release-1.0-8.ius.el5.noarch.rpm warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f Preparing...### [100%] 1:ius-release### [100%] root@378907 [/home/ajhalls]# yum upgrade php Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: fr2.rpmfind.net addons | 951 B 00:00 base | 1.1 kB 00:00 epel | 3.7 kB 00:00 epel/primary_db | 3.8 MB 00:03
Re: [CentOS] CentOS 5.7 PHP upgrade
d...@nkmo.com wrote: Sorry Mark, I started this upgrade project a few days ago and am stepping back to it now that I have a little more time. I tried the php53u package like eero suggested but the package could not be found still. I did a yum search php and there aren't ANY packages that start with php, the closest I have is phc which is the php compliler. We would love to be able to figure this out so we can run php.activerecord. That's why I asked you to do a list, not search (I actually haven't used the latter), with wildcards, to get *everything* that's got php in it. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum repo problem?
Vreme: 10/12/2011 05:39 PM, John R Pierce piše: On 10/12/11 2:24 AM, Ljubomir Ljubojevic wrote: I do not see any flac-devel packages in Repoforge, only in Atrpms-testing. Do you have it enabled? its in CentOS-Base it was late at night last night, but after posting that first message, I realized I'd yum upgraded the system from ~ 5.4 to 5.7, and tried the `yum install flac-devel` and got the error I pasted (I'd gotten it before the yum upgrade, too), but it went away after a yum clean all (I'd done this once or twice already prior to the yum upgrade). all I really wanted was 'flac', I couldn't even see that package before the full update. huh. Aahhh, I forgot about base repo. When I search local mirrored repos I use locate (since it is set to pull file lists via NFS), but forgot about base repo inside ISO file. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
Vreme: 10/12/2011 08:45 PM, m.r...@5-cent.us piše: d...@nkmo.com wrote: Sorry Mark, I started this upgrade project a few days ago and am stepping back to it now that I have a little more time. I tried the php53u package like eero suggested but the package could not be found still. I did a yum search php and there aren't ANY packages that start with php, the closest I have is phc which is the php compliler. We would love to be able to figure this out so we can run php.activerecord. That's why I asked you to do a list, not search (I actually haven't used the latter), with wildcards, to get *everything* that's got php in it. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos yum clean all then yum list *php* -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
Ljubomir Ljubojevic wrote: Vreme: 10/12/2011 08:45 PM, m.r...@5-cent.us pie: d...@nkmo.com wrote: Sorry Mark, I started this upgrade project a few days ago and am stepping back to it now that I have a little more time. I tried the php53u package like eero suggested but the package could not be found still. I did a yum search php and there aren't ANY packages that start with php, the closest I have is phc which is the php compliler. We would love to be able to figure this out so we can run php.activerecord. That's why I asked you to do a list, not search (I actually haven't used the latter), with wildcards, to get *everything* that's got php in it. yum clean all then yum list *php* clean all might be a good idea, but I always use escaped wildcards, so there's no chance of shell interaction. Works fine fer me. Here's the first bit of what I get: php-domxml-php4-php5.noarch 1.21.2-1.el5epel php53.x86_645.3.3-1.el5_6.1 base php53-bcmath.x86_64 5.3.3-1.el5_6.1 base php53-cli.x86_645.3.3-1.el5_6.1 base php53-common.x86_64 5.3.3-1.el5_6.1 base php53-dba.x86_645.3.3-1.el5_6.1 base php53-devel.x86_64 5.3.3-1.el5_6.1 base php53-enchant.x86_645.3.3-1.el5 epel php53-gd.x86_64 5.3.3-1.el5_6.1 base php53-imap.x86_64 5.3.3-1.el5_6.1 base php53-interbase.x86_64 5.3.3-1.el5 epel php53-intl.x86_64 5.3.3-1.el5_6.1 base php53-ldap.x86_64 5.3.3-1.el5_6.1 base php53-mapi.x86_64 7.0.1-1.el5 epel php53-mbstring.x86_64 5.3.3-1.el5_6.1 base php53-mcrypt.x86_64 5.3.3-1.el5 epel Don't feel like adding the other page or two of php53's. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
This was my response from the yum list. root@378907 [/etc/yum.repos.d]# yum clean all Loaded plugins: fastestmirror Cleaning up Everything Cleaning up list of fastest mirrors root@378907 [/etc/yum.repos.d]# yum list *php* Loaded plugins: fastestmirror Determining fastest mirrors * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: apt.sw.be addons | 951 B 00:00 addons/primary | 204 B 00:00 base | 1.1 kB 00:00 base/primary | 1.2 MB 00:00 base 3566/3566 epel | 3.7 kB 00:00 epel/primary_db | 3.8 MB 00:02 extras | 2.1 kB 00:00 extras/primary_db | 159 kB 00:00 ius | 2.2 kB 00:00 ius/primary_db | 83 kB 00:00 rpmforge | 1.1 kB 00:00 rpmforge/primary | 3.9 MB 00:26 rpmforge 10797/10797 updates | 1.9 kB 00:00 updates/primary_db | 205 kB 00:00 Excluding Packages in global exclude list Finished Available Packages graphviz-php.x86_64 2.12-8.el5 epel mnogosearch-php.x86_64 3.3.11-1.el5.rf rpmforge mod_suphp.x86_64 0.7.1-1.el5.rf rpmforge nntpgrab-php.x86_64
Re: [CentOS] CentOS 5.7 PHP upgrade
On Wed, Oct 12, 2011 at 12:45:11PM -0700, d...@nkmo.com wrote: This was my response from the yum list. And what does grep -r exclude /etc/yum* return? What control panel is in use? John -- For only the good doubt their own goodness, which is what makes them good in the first place. The bad know they are good, but the good know nothing. They spend their lives forgiving others, but they can't forgive themselves. -- Paul Auster (1947-), American novelist and poet, Man In The Dark, p 63 (2008) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
Vreme: 10/12/2011 09:26 PM, m.r...@5-cent.us piše: Ljubomir Ljubojevic wrote: Vreme: 10/12/2011 08:45 PM, m.r...@5-cent.us piše: d...@nkmo.com wrote: Sorry Mark, I started this upgrade project a few days ago and am stepping back to it now that I have a little more time. I tried the php53u package like eero suggested but the package could not be found still. I did a yum search php and there aren't ANY packages that start with php, the closest I have is phc which is the php compliler. We would love to be able to figure this out so we can run php.activerecord. That's why I asked you to do a list, not search (I actually haven't used the latter), with wildcards, to get *everything* that's got php in it. yum clean all then yum list *php* clean all might be a good idea, but I always use escaped wildcards, so there's no chance of shell interaction. Works fine fer me. Here's the What bothers me is Excluding Packages in global exclude list he got when runing yum. It looks like he has active global Exclude list or maybe base protection including php* files. yum list \*php\* --disableplugin=* --enablerepo=* --showduplicates might help. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
On 10/12/11 11:40 AM, d...@nkmo.com wrote: # yum install php53u Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: linux.mirrors.es.net * ius: pancks.sothatswhy.org.uk * rpmforge: fr2.rpmfind.net no Base, Updates ?!? why are they disabled? -- 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] CentOS 5.7 PHP upgrade
d...@nkmo.com wrote: This was my response from the yum list. root@378907 [/etc/yum.repos.d]# yum clean all snip root@378907 [/etc/yum.repos.d]# yum list *php* snip | Excluding Packages in global exclude list Finished Available Packages graphviz-php.x86_64 2.12-8.el5 epel mnogosearch-php.x86_643.3.11-1.el5.rf rpmforge mod_suphp.x86_64 0.7.1-1.el5.rf rpmforge nntpgrab-php.x86_64 0.7.0-1.el5 epel rrdtool-php.x86_641.2.27-3.el5 epel syck-php.x86_64 0.55-10.el5 epel uuid-php.x86_64 1.5.1-3.el5 epel That's *all*?! There's something *very* wrong - I literally got yum list \*php5\* | grep php53 | wc -l 28 And as another poster noted, there's no base repository. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Digest, Vol 81, Issue 12
On 10/11/11 7:29 AM, Arun Khan wrote: that requires specific configuration to suit whatever drive interconnect you have. Does these bays have a connector (+ cable) that is connected to the motherboard or RAID card to control the HDD LEDs in the bay? (sorry if this appears basic but I have no experience with such hardware) typically, a server will have a SAS backplane which sas/sata drives hot plug into, and 1 or more 4 channel SAS ports that plug into the host bus adapter or raid controller. this SAS backplane usually has a 'SES' controller[*] embedded on it, which appears to the host as another SAS device, and manages the LEDs. If its a brand name server (hp, dell, ibm, etc) using the vendor's raid cards, the LEDs all just work.if its whitebox stuff, with JBOD, getting the right failure LEDs to come on may require some custom configuration. [*] SES supercedes the earlier SAF-TE design for the same functionality. -- john r pierceN 37, W 122 santa cruz ca mid-left coast I'm guessing you want to be able to ID a failed drive visually and mdadm can make that a challenge. A SATA backplane likely will have a signal bus connector (Suoermicro server backplanes do) but onboard controllers probably won't supply the other end Built servers definitely will as john points out. Better hardware RAID HBAs probably shoild have the complimentary signal bus connector. Make sure your system builder or supplier gets you the right cable bits - i'm pretty sure they're not universal. - csawyer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
On Wednesday, October 12, 2011 03:26:03 PM m.r...@5-cent.us wrote: yum list *php* clean all might be a good idea, but I always use escaped wildcards, so there's no chance of shell interaction. Works fine fer me. Here's the first bit of what I get: Incidentally, kmail (for one MUA) renders an unescaped set of bracketing asterisks as above as being a trigger to bold the bracketed text, so it rendered as 'yum list boldphp/bold' here escaped asterisks don't do that It looked interesting seeing the php bolded in a command, though ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
Vreme: 10/12/2011 11:11 PM, Lamar Owen piše: On Wednesday, October 12, 2011 03:26:03 PM m.r...@5-cent.us wrote: yum list *php* clean all might be a good idea, but I always use escaped wildcards, so there's no chance of shell interaction. Works fine fer me. Here's the first bit of what I get: Incidentally, kmail (for one MUA) renders an unescaped set of bracketing asterisks as above as being a trigger to bold the bracketed text, so it rendered as 'yum listboldphp/bold' here escaped asterisks don't do that It looked interesting seeing the php bolded in a command, though ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos In your reply (HTML) Thunderbird shows entire php with stars in bold. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.7 PHP upgrade
While everyone was right, John got the Gold Star award for reminding me that this server has WHM Cpanel installed on it. So far the control panel interferes more than it ever helps when I am trying to manually install packages. Thank you all for your support, I have been very impressed with the promptness and ability of the list. I am now running the newest version on the machine by installing through the CP. Thanks again Alan On Wed, Oct 12, 2011 at 12:45:11PM -0700, d...@nkmo.com wrote: This was my response from the yum list. And what does grep -r exclude /etc/yum* return? What control panel is in use? John -- For only the good doubt their own goodness, which is what makes them good in the first place. The bad know they are good, but the good know nothing. They spend their lives forgiving others, but they can't forgive themselves. -- Paul Auster (1947-), American novelist and poet, Man In The Dark, p 63 (2008) ___ 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] Centos 6.0 , DRBD
On Oct 11, 2011, at 4:02 PM, Ljubomir Ljubojevic off...@plnet.rs wrote: Bear in mind that RHEL kernel is not stock kernel, there are number of back-ported patches in it. It is safer to use a package with applied RHEL specific patches (if necessary) done by people working with RHEL kernel regularly. Starting in CentOS 6 one cannot see the patches that are applied to the kernel by upstream as they are slip streamed into the kernel source tree. Therefore one should test, test, test, test... BTW Building the RPM directly from DRBD sources is fully supported by Linbit. Installing an RPM compiled by a third party, not so much. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Virtual host package, command line, I need help
I am at wits end with this KVM. It is hard to get the information needed to do this properly with centos 6 and KVM since it is so new and the googling of 'KVM' brings up everything except kernel based virtual machines. What I have done... 1) my cpus have virtualization 2) centos 6, selected 'virtual host' package 3) it goes to command line 4) I have made virtual guests with virt-install, in LVM folders, not images 5) 'cannot display' is all I get from command line The packages installed seem to have many gnome and vnc rpms. (and x-windows stuff too) Virt-manager was installed but only produces errors when run from command line I am unable to get anything past getting the guest running since I cannot open any kind of display. I have been able to easily do this in a gnome desktop, but figure command line is going to be less overhead for the server. I have added --vnc and tried some other things, but for the life of me I cannot figure out how to get a graphic or text install to come up on the local machine to save my life. With all the gnome packages (and there are quite a few) that were installed with the 'virtual host' package I figured something would come up, but all attempts have failed miserably. I am stuck in command line with no way out. I do plan on putting up a step by step video when I finally get one working, but after a few days of this (and seeing hundreds of websites with others having the same issue) I am wondering if anyone has ever got it working and what they did? This is just a pure install of centos 6, 'virtual host' package, command line, yum updated, able to make guests, no video options working for me. what is the magic command to bring up some of that gnome stuff for virt-manager or to just see the install window for a guest?? any help appreciated and most welcomed. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos