Re: [CentOS-docs] Automated listing of translations on each wiki page
Dear all, On 10/13/2010 01:57 PM, Timothy Lee wrote: This is a continuation of the discussion on Link to Chinese translation in Wiki frontpage dated 7 May 2009. To re-cap, I have suggested that the patch in http://moinmo.in/FeatureRequests/ThisPageInOtherLanguages can be used to automatically generate links to translated pages at bottom right of the wiki panel. In addition, I have proposed that the use of a dictionary to look for translated page names should be dropped from the patch, since our wiki strictly uses locale prefixes to label translated pages. To that end, I have cooked up the proposed patch targeted for MoinMoin 1.5.9 (available in CentOS 5.5). I have uploaded the patch to http://moinmo.in/FeatureRequests/ThisPageInOtherLanguages?action=AttachFiledo=viewtarget=simpler.patch . It is also attached here. I sincerely hope that the patch can be applied to the official CentOS wiki, thereby making all translated pages a lot more more accessible to the public. Ping?... ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Automated listing of translations on each wiki page
On 10/19/2010 07:46 AM, Timothy Lee wrote: I sincerely hope that the patch can be applied to the official CentOS wiki, thereby making all translated pages a lot more more accessible to the public. Ping?... I'll look into this today. - KB ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-announce] CEBA-2010:0776 CentOS 5 i386 kexec-tools Update
CentOS Errata and Bugfix Advisory 2010:0776 Upstream details at : https://rhn.redhat.com/errata/RHBA-2010-0776.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: 4df54644cd1b0d04f436acd20780dbcc kexec-tools-1.102pre-96.el5_5.4.i386.rpm Source: e3230a6ac2852d172abf410c395dc3c5 kexec-tools-1.102pre-96.el5_5.4.src.rpm -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2010:0776 CentOS 5 x86_64 kexec-tools Update
CentOS Errata and Bugfix Advisory 2010:0776 Upstream details at : https://rhn.redhat.com/errata/RHBA-2010-0776.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: 244a2bb3ff9a403923933ef98f9ced42 kexec-tools-1.102pre-96.el5_5.4.x86_64.rpm Source: e3230a6ac2852d172abf410c395dc3c5 kexec-tools-1.102pre-96.el5_5.4.src.rpm -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2010:0777 CentOS 5 i386 sudo Update
CentOS Errata and Bugfix Advisory 2010:0777 Upstream details at : https://rhn.redhat.com/errata/RHBA-2010-0777.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: 5881970ee4d28e8eb76424c6ef233b02 sudo-1.7.2p1-9.el5_5.i386.rpm Source: 1e3363f817f24d94c3cddf6940804f11 sudo-1.7.2p1-9.el5_5.src.rpm -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2010:0777 CentOS 5 x86_64 sudo Update
CentOS Errata and Bugfix Advisory 2010:0777 Upstream details at : https://rhn.redhat.com/errata/RHBA-2010-0777.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: dc4af0fe73abd999078b6ccdbe1325e8 sudo-1.7.2p1-9.el5_5.x86_64.rpm Source: 1e3363f817f24d94c3cddf6940804f11 sudo-1.7.2p1-9.el5_5.src.rpm -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
Re: [CentOS-virt] performance differences between kvm/xen
On Sat, Oct 16, 2010 at 09:58:15PM +0200, Dennis Jacobfeuerborn wrote: On 10/16/2010 08:11 PM, Pasi Kärkkäinen wrote: On Thu, Oct 14, 2010 at 02:16:42PM +0100, Bart Swedrowski wrote: Hi Karanbir, On 14 October 2010 19:59, Karanbir Singhmail-li...@karan.org wrote: On 10/14/2010 07:48 AM, Tom Bishop wrote: I think xen is still on top in terms of performance and featuresnow that is indeed what it 'feels' like, but I'm quite keen on putting some numbers on that. I have done some testing some time ago on one of the EQ machines that I got from hetzner.de. Full spec of the machine was as following: * Intel® Core??? i7-920 * 8 GB DDR3 RAM * 2 x 750 GB SATA-II HDD It's nothing big but even though results are quite interesting. All tests were performed on CentOS 5.5 x86_64 with PostgreSQL 8.4 (from CentOS repos). Note that 64bit Xen guests should be HVM, not PV, for best performance. Xen HVM guests obviously still need to have PV-on-HVM drivers installed. 32bit Xen guests can be PV. Hm, why would HVM be faster than PV for 64 bit guests? It's because of the x86_64 architecture, afaik. There was some good technical explananation about it, but I can't remember the url now. -- Pasi ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] performance differences between kvm/xen
On 10/19/2010 09:41 AM, Pasi Kärkkäinen wrote: On Sat, Oct 16, 2010 at 09:58:15PM +0200, Dennis Jacobfeuerborn wrote: On 10/16/2010 08:11 PM, Pasi Kärkkäinen wrote: On Thu, Oct 14, 2010 at 02:16:42PM +0100, Bart Swedrowski wrote: Hi Karanbir, On 14 October 2010 19:59, Karanbir Singhmail-li...@karan.org wrote: On 10/14/2010 07:48 AM, Tom Bishop wrote: I think xen is still on top in terms of performance and featuresnow that is indeed what it 'feels' like, but I'm quite keen on putting some numbers on that. I have done some testing some time ago on one of the EQ machines that I got from hetzner.de. Full spec of the machine was as following: * Intel® Core??? i7-920 * 8 GB DDR3 RAM * 2 x 750 GB SATA-II HDD It's nothing big but even though results are quite interesting. All tests were performed on CentOS 5.5 x86_64 with PostgreSQL 8.4 (from CentOS repos). Note that 64bit Xen guests should be HVM, not PV, for best performance. Xen HVM guests obviously still need to have PV-on-HVM drivers installed. 32bit Xen guests can be PV. Hm, why would HVM be faster than PV for 64 bit guests? It's because of the x86_64 architecture, afaik. There was some good technical explananation about it, but I can't remember the url now. In that case I'll have to call this advice extremely bogus and you probably should refrain from passing it on. The only way I can see this being true is some weird corner case. Regards, Dennis ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] performance differences between kvm/xen
On 10/19/2010 01:16 PM, Jerry Franz wrote: On 10/19/2010 03:47 AM, Dennis Jacobfeuerborn wrote: On 10/19/2010 09:41 AM, Pasi Kärkkäinen wrote: It's because of the x86_64 architecture, afaik. There was some good technical explananation about it, but I can't remember the url now. In that case I'll have to call this advice extremely bogus and you probably should refrain from passing it on. The only way I can see this being true is some weird corner case. There appear to be some interactions with the Intel VT-d processor features. http://www.xen.org/files/xensummit_intel09/xensummit2009_IOVirtPerf.pdf If I understand that paper correctly, HVM+VT-d outperforms PV by quite a lot (if you have VT-d support on your system). Thanks for that link. Just to make my criticism of the initial claim more clear: I don't claim that HVM can never be faster than PV but that you need to understand when exactly this is the case. For example I'm not sure that x86_64 vs. x86 really enters into this but I can definitely see VT-d making an impact there. Regards, Dennis ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-es] Ayuda con firewall, vpn y vozip
Hola Amigos tengo el siguiente problema a ver quien me puede dar una luz o una ayuda. Tengo una red 192.168.1.0/24 Servidor 192.168.1.1 en la eth1, una ip fija en la eth0 (190.248.x.x) salida a internet. Dentro de la red se encuentra un servidor con vozip con la ip 172.21.131.2 al cual acceso con una ip 192.168.1.253. Además tengo configurada una red vpn (pptpd) a la cual se le asigna la 10.10.10.1 al servidor y 10.10.10.201-220 en pc remotos. La parte de la red internet tengo configurado unas redes ip estáticas para que los requerimientos de la 172.21.131.2 se canalicen a través de la 192.168.1.253, esto me funciona muy bien el problema que tengo es que cuando se hacen conexiones a través de vpn, 1. La mascara de red asignada a la maquina remota es 255.255.255.255, no se como corregirlo a que sea una red clase 24. 2. Como hago para que este pc vea mi red interna y pueda llegar a la red 172.21.131.2, pues en este hay que instar el software de eyeBeam, por que no pude hacer tampoco que se viera directamente conectándome a la ip publica por que el reenvió de paquetes de la publica a la red 172, no me funciono. Alguna idea. El servidor es centos 4.8 y actúa como firewall (iptables) y proxy con squid De ante mano muchas gracias, Saludos Raúl Eduardo Arboleda Zapata Ingeniero de Sistemas Unninca Cel +573 300 620 66 13 +573 312 288 90 86 Medellín, Antioquia Colombia, S.A. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda con firewall, vpn y vozip
Probaste de ponerle una estatica a la PC con VPN ??? porque lo que contas es tipico de pptpd. Como tenes configurado el pool de vpn ? por alli creo que esta el tema. Saludos ... *Christian G. Araquistain* 2010/10/19 Raul Arboleda raularbol...@une.net.co Hola Amigos tengo el siguiente problema a ver quien me puede dar una luz o una ayuda. Tengo una red 192.168.1.0/24 Servidor 192.168.1.1 en la eth1, una ip fija en la eth0 (190.248.x.x) salida a internet. Dentro de la red se encuentra un servidor con vozip con la ip 172.21.131.2 al cual acceso con una ip 192.168.1.253. Además tengo configurada una red vpn (pptpd) a la cual se le asigna la 10.10.10.1 al servidor y 10.10.10.201-220 en pc remotos. La parte de la red internet tengo configurado unas redes ip estáticas para que los requerimientos de la 172.21.131.2 se canalicen a través de la 192.168.1.253, esto me funciona muy bien el problema que tengo es que cuando se hacen conexiones a través de vpn, 1. La mascara de red asignada a la maquina remota es 255.255.255.255, no se como corregirlo a que sea una red clase 24. 2. Como hago para que este pc vea mi red interna y pueda llegar a la red 172.21.131.2, pues en este hay que instar el software de eyeBeam, por que no pude hacer tampoco que se viera directamente conectándome a la ip publica por que el reenvió de paquetes de la publica a la red 172, no me funciono. Alguna idea. El servidor es centos 4.8 y actúa como firewall (iptables) y proxy con squid De ante mano muchas gracias, Saludos Raúl Eduardo Arboleda Zapata Ingeniero de Sistemas Unninca Cel +573 300 620 66 13 +573 312 288 90 86 Medellín, Antioquia Colombia, S.A. ___ 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] Ayuda con firewall, vpn y vozip
Disculpa debi ser mas explicito envió los archivos de configuración Muchas gracias por tu respuesta, aca dejo todos los archivos de configuración. Feliz Día Raul /etc/pptpd.conf option /etc/ppp/options.pptpd debug logwtmp connections 100 localip 10.10.10.1 remoteip 10.10.10.200-220 /etc/ppp/chap-secrets # Secrets for authentication using CHAP # clientserver secret IP addresses raulpptpd q1w2e3r410.10.10.201 /etc/ppp/options.pptdp name pptpd refuse-pap refuse-chap refuse-mschap require-mschap-v2 require-mppe-128 proxyarp lock nobsdcomp novj novjccomp nologfd /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local echo 1 /proc/sys/net/ipv4/ip_forward /etc/iptables ifup eth0 route add -net 192.168.170.0 netmask 255.255.255.0 gw 192.168.1.250 route add -net 172.21.131.0 netmask 255.255.255.128 gw 192.168.1.253 Generado por la siguiente pagina : http://easyfwgen.morizot.net/gen/ /etc/iptables #!/bin/sh SYSCTL=/sbin/sysctl -w # IPTables Location - adjust if needed IPT=/sbin/iptables IPTS=/sbin/iptables-save IPTR=/sbin/iptables-restore # Internet Interface INET_IFACE=eth0 INET_ADDRESS=190.248.x.x # Local Interface Information LOCAL_IFACE=eth1 LOCAL_IP=192.168.1.1 LOCAL_NET=192.168.1.0/24 LOCAL_BCAST=192.168.1.255 # Localhost Interface LO_IFACE=lo LO_IP=127.0.0.1 # Save and Restore arguments handled here if [ $1 = save ] then echo -n Saving firewall to /etc/sysconfig/iptables ... $IPTS /etc/sysconfig/iptables echo done exit 0 elif [ $1 = restore ] then echo -n Restoring firewall from /etc/sysconfig/iptables ... $IPTR /etc/sysconfig/iptables echo done exit 0 fi ### # # Load Modules # echo Loading kernel modules ... # core netfilter module /sbin/modprobe ip_tables # the stateful connection tracking module /sbin/modprobe ip_conntrack # the module for full irc connection tracking /sbin/modprobe ip_conntrack_irc if [ $SYSCTL = ] then echo 1 /proc/sys/net/ipv4/ip_forward else $SYSCTL net.ipv4.ip_forward=1 fi if [ $SYSCTL = ] then echo 1 /proc/sys/net/ipv4/tcp_syncookies else $SYSCTL net.ipv4.tcp_syncookies=1 fi if [ $SYSCTL = ] then echo 1 /proc/sys/net/ipv4/conf/all/rp_filter else $SYSCTL net.ipv4.conf.all.rp_filter=1 fi if [ $SYSCTL = ] then echo 1 /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts else $SYSCTL net.ipv4.icmp_echo_ignore_broadcasts=1 fi if [ $SYSCTL = ] then echo 0 /proc/sys/net/ipv4/conf/all/accept_source_route else $SYSCTL net.ipv4.conf.all.accept_source_route=0 fi if [ $SYSCTL = ] then echo 1 /proc/sys/net/ipv4/conf/all/secure_redirects else $SYSCTL net.ipv4.conf.all.secure_redirects=1 fi if [ $SYSCTL = ] then echo 1 /proc/sys/net/ipv4/conf/all/log_martians else $SYSCTL net.ipv4.conf.all.log_martians=1 fi echo Flushing Tables ... # Reset Default Policies $IPT -P INPUT ACCEPT $IPT -P FORWARD ACCEPT $IPT -P OUTPUT ACCEPT $IPT -t nat -P PREROUTING ACCEPT $IPT -t nat -P POSTROUTING ACCEPT $IPT -t nat -P OUTPUT ACCEPT $IPT -t mangle -P PREROUTING ACCEPT $IPT -t mangle -P OUTPUT ACCEPT # Flush all rules $IPT -F $IPT -t nat -F $IPT -t mangle -F # Erase all non-default chains $IPT -X $IPT -t nat -X $IPT -t mangle -X if [ $1 = stop ] then echo Firewall completely flushed! Now running with no firewall. exit 0 fi ### # # Rules Configuration # ### $IPT -P INPUT DROP $IPT -P OUTPUT DROP $IPT -P FORWARD DROP echo Create and populate custom rule chains ... $IPT -N bad_packets # Create another chain to filter bad tcp packets $IPT -N bad_tcp_packets $IPT -N icmp_packets $IPT -N udp_inbound $IPT -N udp_outbound $IPT -N tcp_inbound $IPT -N tcp_outbound $IPT -A bad_packets -p ALL -i $INET_IFACE -s $LOCAL_NET -j DROP # Drop INVALID packets immediately $IPT -A bad_packets -p ALL -m state --state INVALID -j DROP $IPT -A bad_packets -p tcp -j bad_tcp_packets $IPT -A bad_packets -p ALL -j RETURN $IPT -A bad_tcp_packets -p tcp -i $LOCAL_IFACE -j RETURN $IPT -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j DROP $IPT -A bad_tcp_packets -p tcp --tcp-flags ALL NONE -j DROP $IPT -A bad_tcp_packets -p tcp --tcp-flags ALL ALL -j DROP $IPT -A bad_tcp_packets -p tcp --tcp-flags ALL FIN,URG,PSH -j DROP $IPT -A bad_tcp_packets -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP $IPT -A bad_tcp_packets -p tcp --tcp-flags SYN,RST SYN,RST -j DROP $IPT -A bad_tcp_packets -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP $IPT -A icmp_packets --fragment -p ICMP -j DROP $IPT -A
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On Mon, Oct 18, 2010 at 06:44:34PM +0300, Deyan Stoykov wrote: Timo Schoeler wrote: There's progress... http://press.redhat.com/2010/10/18/red-hat-enterprise-linux-6-release-candidate-available-to-partners/ Cheers, Timo Available to partners? Aren't RH obliged to release the source as usual? Yes, to partners :) -- Pasi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 12:47 AM, Pasi Kärkkäinen wrote: On Mon, Oct 18, 2010 at 06:44:34PM +0300, Deyan Stoykov wrote: Available to partners? Aren't RH obliged to release the source as usual? Yes, to partners :) I'm pretty sure Deyan is referring to their GPL obligations to make the source code available for most of it. Given their heavy historical commitment to GPL, I have no doubt it will show up very shortly. They have always done a good job there. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
Benjamin Franz wrote: On 10/19/2010 12:47 AM, Pasi Kärkkäinen wrote: On Mon, Oct 18, 2010 at 06:44:34PM +0300, Deyan Stoykov wrote: Available to partners? Aren't RH obliged to release the source as usual? Yes, to partners :) I'm pretty sure Deyan is referring to their GPL obligations to make the source code available for most of it. GPL doesn't say you have to distribute source code to the whole world, only to people you distribute the binaries to (ie the partners here). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
hi Guys, On 10/19/2010 12:00 PM, Benjamin Franz wrote: I'm pretty sure Deyan is referring to their GPL obligations to make the source code available for most of it. .. this has nothing to do with it... Given their heavy historical commitment to GPL, I have no doubt it will show up very shortly. They have always done a good job there. Sit back and think for a minute - they have given their partners( and only some of them ) access to a Release Candidate - its not RHEL6 that has been released. There will almost certainly be no source showing up anywhere for this RC, if it does - I, for one, would be very surprised. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 04:10 AM, Nicolas Thierry-Mieg wrote: Benjamin Franz wrote: Yes, to partners :) I'm pretty sure Deyan is referring to their GPL obligations to make the source code available for most of it. GPL doesn't say you have to distribute source code to the whole world, only to people you distribute the binaries to (ie the partners here). Clauses 2b and 3b of GPLv2 would appear to say otherwise.* 2b)* You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. *3b)* Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; any third party and all third parties not the third party. It is a subtle but important distinction. It means you can't be *selective* about who gets it as I read it. Everyone or no one are your options. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 04:16 AM, Karanbir Singh wrote: hi Guys, On 10/19/2010 12:00 PM, Benjamin Franz wrote: I'm pretty sure Deyan is referring to their GPL obligations to make the source code available for most of it. .. this has nothing to do with it... Yes, it does. http://www.softwarefreedom.org/resources/2008/compliance-guide.html Second, note that the last line makes the offer valid to anyone who requests the source. This is because v2 § 3(b) requires that offers be “to give any third party” a copy of the Corresponding Source. GPLv3 has a similar requirement, stating that an offer must be valid for “anyone who possesses the object code”. These requirements indicated in v2 § 3(c) and v3 § 6(c) are so that non-commercial redistributors may pass these offers along with their distributions. Therefore, the offers must be valid not only to your customers, but also to anyone who received a copy of the binaries from them. Many distributors overlook this requirement and assume that they are only required to fulfill a request from their direct customers. Once you publish/distribute GPL licensed code to *anyone*, your obligation to provide source kicks in for *everyone*. In practice, few people hammer at a company in process over it. But you *can*. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 12:52 PM, Jerry Franz wrote: Once you publish/distribute GPL licensed code to *anyone*, your obligation to provide source kicks in for *everyone*. In practice, few people hammer at a company in process over it. But you *can*. I am not a lawyer, but you blurb seems to indicate that the issue is applicable to people with the object code, which would make my last point valid. Also, there are legalise around exactly what is considered a product / code snippet / build script and distribution - which is what makes things like NDA's workable. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 05:03 AM, Karanbir Singh wrote: On 10/19/2010 12:52 PM, Jerry Franz wrote: Once you publish/distribute GPL licensed code to *anyone*, your obligation to provide source kicks in for *everyone*. In practice, few people hammer at a company in process over it. But you *can*. I am not a lawyer, but you blurb seems to indicate that the issue is applicable to people with the object code, which would make my last point valid. Only on v3 license code. Most code is still under v2. Also, there are legalise around exactly what is considered a product / code snippet / build script and distribution - which is what makes things like NDA's workable. Actually, the GPL forbids using 'add on' agreements like NDAs that attempt to make it so an end user can't recompile or redistribute the code. The authors thought of those attempts to 'end run' the GPL's obligations when they wrote it. That is why clause 4 of the v2 license (or clauses 8 and 10 of the v3 license) exists. *v2: 4.* You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. NDAs that attempt to impose *restrictions* on the GPL while still publishing/distributing to a third party can't overcome the basic legal obligations of the GPL and this is *by design*. And yes, code snippets and build scripts are covered, too. See clause 3 of the v2 license. Being as deeply involved in a FOSS exercise like CentOS as you are, you really should take the time to fully understand the license that enables it to happen at all. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/10 6:52 AM, Jerry Franz wrote: On 10/19/2010 04:16 AM, Karanbir Singh wrote: hi Guys, On 10/19/2010 12:00 PM, Benjamin Franz wrote: I'm pretty sure Deyan is referring to their GPL obligations to make the source code available for most of it. .. this has nothing to do with it... Yes, it does. http://www.softwarefreedom.org/resources/2008/compliance-guide.html Second, note that the last line makes the offer valid to anyone who requests the source. This is because v2 § 3(b) requires that offers be “to give any third party” a copy of the Corresponding Source. GPLv3 has a similar requirement, stating that an offer must be valid for “anyone who possesses the object code”. These requirements indicated in v2 § 3(c) and v3 § 6(c) are so that non-commercial redistributors may pass these offers along with their distributions. Therefore, the offers must be valid not only to your customers, but also to anyone who received a copy of the binaries from them. Many distributors overlook this requirement and assume that they are only required to fulfill a request from their direct customers. Once you publish/distribute GPL licensed code to *anyone*, your obligation to provide source kicks in for *everyone*. In practice, few people hammer at a company in process over it. But you *can*. I'm fairly sure the FSF has never taken the approach of forcing anyone to distribute source to anyone who did not have binaries and thus the offer to receive source. In theory you can't restrict the people who receive either binaries or source from redistributing them, but with RedHat you lose your service subscription if you do, and since non GPL'd parts are included, you'd have to separate them (kind of the point of using CentOS...). -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 01:31 PM, Jerry Franz wrote: I am not a lawyer, but you blurb seems to indicate that the issue is applicable to people with the object code, which would make my last point valid. Only on v3 license code. Most code is still under v2. and what license is the distro shipped as ? Also, there are legalise around exactly what is considered a product / code snippet / build script and distribution - which is what makes things like NDA's workable. Actually, the GPL forbids using 'add on' agreements like NDAs that And how does the GPL get involved in relationships and partnerships that exist between people ? Being as deeply involved in a FOSS exercise like CentOS as you are, you really should take the time to fully understand the license that enables it to happen at all. I understand the basics, for everything else - there are lawyers. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/10 7:31 AM, Jerry Franz wrote: On 10/19/2010 05:03 AM, Karanbir Singh wrote: On 10/19/2010 12:52 PM, Jerry Franz wrote: Once you publish/distribute GPL licensed code to *anyone*, your obligation to provide source kicks in for *everyone*. In practice, few people hammer at a company in process over it. But you *can*. I am not a lawyer, but you blurb seems to indicate that the issue is applicable to people with the object code, which would make my last point valid. Only on v3 license code. Most code is still under v2. V3 just makes it explicit. v2 wasn't intended to force anyone to distribute source to anyone who didn't have binaries, and if it did, it certainly couldn't dictate terms (i.e. you could charge any price you wanted for it). Also, there are legalise around exactly what is considered a product / code snippet / build script and distribution - which is what makes things like NDA's workable. Actually, the GPL forbids using 'add on' agreements like NDAs that attempt to make it so an end user can't recompile or redistribute the code. The authors thought of those attempts to 'end run' the GPL's obligations when they wrote it. That is why clause 4 of the v2 license (or clauses 8 and 10 of the v3 license) exists. *v2: 4.* You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. NDAs that attempt to impose *restrictions* on the GPL while still publishing/distributing to a third party can't overcome the basic legal obligations of the GPL and this is *by design*. And yes, code snippets and build scripts are covered, too. See clause 3 of the v2 license. Being as deeply involved in a FOSS exercise like CentOS as you are, you really should take the time to fully understand the license that enables it to happen at all. There are many different licenses covering code in Linux and *bsd distributions. It doesn't make sense to consider one of them any more important than the others. Especially the one that often prevents 'best of breed' combinations of components from being possible with its restrictions. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 05:37 AM, Karanbir Singh wrote: Only on v3 license code. Most code is still under v2. and what license is the distro shipped as ? That is a very good question. The *support and subscriptions* are under RH's own license. The *code* in the packages are under the licenses of the people who wrote it (generally not RH) and range over Apache, Perl, BSD, GPL, and a few other licenses. If RH wants to *only* publish the GPL (and similarly licensed) code, they could do that. But they would have to go package-by-package and separate them out. The kernel itself is GPL v2, btw. Also, there are legalise around exactly what is considered a product / code snippet / build script and distribution - which is what makes things like NDA's workable. Actually, the GPL forbids using 'add on' agreements like NDAs that And how does the GPL get involved in relationships and partnerships that exist between people ? That is what it does. It *licenses* distribution between people. You can't say it's under GPL - but you can't redistribute it because I've made you sign an NDA. It violates the license that *you* accepted to use it yourself in the first place. RH can only use code written by other people *if they accept the license it is published under*. Otherwise *RH* itself does not have the right to use it at all. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
how open yum.conf in mode read write ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 06:10 AM, mehdi wrote: how open yum.conf in mode read write 1. You need to do it as the 'root' user. Log in as 'root' and then you will be able to edit it. 2. Please don't hijack unrelated threads. To start a new topic, post a completely new message with a usefully relevant subject line. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
Hi, On 10/19/2010 02:09 PM, Jerry Franz wrote: That is what it does. It *licenses* distribution between people. You can't say it's under GPL - but you can't redistribute it because I've Ok, so that is the point I am trying to make here. RHEL6 isnt released as a product. They have an in-development code snapshot that they are offering to a bunch of people to come look at with them for comments, feedback, prep whathever. Also worth keeping in mind is that the RC to partners does not prevent one of those partners from publishing the sources if they want for code where licensing and their agreement with Red Hat permits them to. I am not in a position to comment on that since I have neither seen the agreement that Red Hat have in place for these said partners, nor am I one of them. Red Hat, once RHEL 6 actually ships, should make the code for the distro available on the ftp site, at which point we would need to consider the licensing and content payload for each package on its own merit. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] exim quota
exim quota uses 32 bit integer: maximum mail store quota must be less than 2GB. Is there an repository with exim compiled with Size of off_t: 8 instead Size of off_t: 4 Comments in discussion groups say, the version compiled with Size of off_t: 8 accepts lager quota. Helmut ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] excel parser (preferably perl)?
Les Mikesell wrote, On 10/18/2010 06:13 PM: I'm getting tired of converting spreadsheets that someone else updates to csv so my perl scripts can push the data into a mysql database. Is there a better way? I haven't had much luck with perl-Spreadsheet-ParseExcel (and find it odd that yum prefers the .32 version from epel over .57 from rpmforge anyway). Is the current CPAN version better? Or the equivalent java tools? Or maybe a scripted OpenOffice conversion would be possible. Needs to deal with both xls and xlsx formats, the odd characters that are confused with quotes even after csv conversion, numbers with $'s and commas embedded, excel's date formatting nonsense, etc. Would it cause more headaches than it would solve, for you to hook the excel folks directly to the mysql db and have their changes take place immediately? Assuming a LAN environment here instead of 'the only connection is email'. Could you do the sanity checking you currently do by using some db functions? MySQL Forums :: Microsoft Access :: Connecting MS Office, MS Excel, MS Access to MySQL using ODBC http://forums.mysql.com/read.php?65,148441,148441 * OK, I often come at problems from a different direction. * -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] excel parser (preferably perl)?
On 10/19/2010 9:34 AM, Todd Denniston wrote: I'm getting tired of converting spreadsheets that someone else updates to csv so my perl scripts can push the data into a mysql database. Is there a better way? I haven't had much luck with perl-Spreadsheet-ParseExcel (and find it odd that yum prefers the .32 version from epel over .57 from rpmforge anyway). Is the current CPAN version better? Or the equivalent java tools? Or maybe a scripted OpenOffice conversion would be possible. Needs to deal with both xls and xlsx formats, the odd characters that are confused with quotes even after csv conversion, numbers with $'s and commas embedded, excel's date formatting nonsense, etc. Would it cause more headaches than it would solve, for you to hook the excel folks directly to the mysql db and have their changes take place immediately? Assuming a LAN environment here instead of 'the only connection is email'. That's pretty much impossible in the near term anyway. The bulk of this involves reconciling inventory data maintained by one set of people for financial purposes in a database I don't control with some others used for operational monitoring and management. For example, we need to be able to report the current value of the set of equipment being used for a particular purpose - where servers are being shuffled around for different purposes all the time. I'm using ocsinventory-ng for operational tracking because the agents keep it updated automatically but it only handles computers and by itself doesn't deal with cost or deprecation. New requirements keep popping up as we go and I don't find out about them until someone sends me a spreadsheet with some new fields and a request to add them to the db and populate them so they'll be available in future reports. Could you do the sanity checking you currently do by using some db functions? Maybe, but doing string operations in sql instead of using perl regexps seems a little insane by itself. MySQL Forums :: Microsoft Access :: Connecting MS Office, MS Excel, MS Access to MySQL using ODBC http://forums.mysql.com/read.php?65,148441,148441 * OK, I often come at problems from a different direction. * Yeah, the inconvenient parts could probably be done in vbscript or something on a windows box, pushing the results into the db through odbc, but I thought this would be a common enough problem that cross-platform tools would be available. I am using some java stuff on the reporting side - maybe I should look there for conversion tools too. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On Tue, 2010-10-19 at 14:21 +0100, Karanbir Singh wrote: Hi, On 10/19/2010 02:09 PM, Jerry Franz wrote: That is what it does. It *licenses* distribution between people. You can't say it's under GPL - but you can't redistribute it because I've Ok, so that is the point I am trying to make here. RHEL6 isnt released as a product. They have an in-development code snapshot that they are offering to a bunch of people to come look at with them for comments, feedback, prep whathever. Also worth keeping in mind is that the RC to partners does not prevent one of those partners from publishing the sources if they want for code where licensing and their agreement with Red Hat permits them to. I am not in a position to comment on that since I have neither seen the agreement that Red Hat have in place for these said partners, nor am I one of them. http://www.redhat.com/partners/ John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 04:24 PM, JohnS wrote: Also worth keeping in mind is that the RC to partners does not prevent one of those partners from publishing the sources if they want for code where licensing and their agreement with Red Hat permits them to. I am not in a position to comment on that since I have neither seen the agreement that Red Hat have in place for these said partners, nor am I one of them. http://www.redhat.com/partners/ ... ok, and ? - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
On 10/19/2010 11:24 AM, JohnS wrote: On Tue, 2010-10-19 at 14:21 +0100, Karanbir Singh wrote: Hi, On 10/19/2010 02:09 PM, Jerry Franz wrote: That is what it does. It *licenses* distribution between people. You can't say it's under GPL - but you can't redistribute it because I've Ok, so that is the point I am trying to make here. RHEL6 isnt released as a product. They have an in-development code snapshot that they are offering to a bunch of people to come look at with them for comments, feedback, prep whathever. Also worth keeping in mind is that the RC to partners does not prevent one of those partners from publishing the sources if they want for code where licensing and their agreement with Red Hat permits them to. I am not in a position to comment on that since I have neither seen the agreement that Red Hat have in place for these said partners, nor am I one of them. http://www.redhat.com/partners/ This is an interesting list. And to me, sending out a RC to a small selection of the partners is a grand idea. Looks like this partner list includes just about any aspect of real world computing. For instance, I would want my RC to be installed on as many new and varied computer systems as possible to check for compatibility issues. Each of these partner groups has a specialty. Seems extremely logical to send a RC out to them. Also, as they are 'partners' and not the world, would this be any different from sharing the RC around within the RedHat offices? Either way, this thread is really sounding a lot like we are just getting antsy for CentOS 6! ;) I'm chomping at the bit for like 2 years now. Fortunately I selected a titanium bit because if I ever manage to chew through it, I must migrate to Fedora. :) Patience grasshopper. Can we start asking when CentOS 7 is going to be released now? HAH!!! Thanks CentOS team! John Hinton ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] best practices in using shared storage for XEN Virtual Machines and auto-failover?
I am very happy with RedHat Cluster Suite and GFS2 on a shared SAN storage (i.e. scsi block device), since RedHat Cluster Suite not only handles the file systems but also looks to the availability of the xen vms (live migration, restart, etc.). Dirk Am 14.10.10 13:25, schrieb Rudi Ahlers: Hi all, Can anyone pleas tell me what would be best practice to use shared storage with virtual machines, especially when it involved high availability / automated failover between 2 XEN servers? i.e. if I setup 2x identical XEN servers, each with say 16GB RAM, 4x 1GB NIC's, etc. Then I need the xen domU's to auto failover between the 2 servers if either goes down (hardware failure / overload / kernel updates / etc). What is the best way to connect a NAS / SAN to these 2 servers for this kind of setup to work flawlessly? The NAS can export iSCSI, NFS, SMB, etc. I'm sure I could even use ATAOE if needed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Xen3.3 rpm for 32Bit?
Am 15.10.10 22:59, schrieb Pasi Kärkkäinen: On Sat, Oct 09, 2010 at 02:15:30PM +0200, Dirk H. Schulz wrote: Hi folks, I would like to test Xen3.3 on CentOS 5.5 on an older machine which is not 64bit capable. Since this is just a first impression test I do not want to fuzz with compiling the kernels and tools myself (that comes in a later step). Can someone please point me to a repo with 32bit Xen3.3 kernels for CentOS 5? GITCO supplies 64bit kernels only, and googling brought up nothing else. Thanks for any hint or help. Do you have a specific reason to use Xen 3.3? The Xen heavily patched Xen 3.1.2 in el5 is pretty solid. EL5 still uses Xen 3.0.3, 3.1.2 is available in CentOS via centosplus only, right? And there seem to be issues with 3.03 on 3.43 hypervisor. Other than that.. grab the Xen 3.3 src.rpm and rebuild it for your 32bit box. The I lose all modifications of the RHEL/CentOS kernels. I would like to rebuild the CentOS kernels with Xen 3.3 or 3.4, if possible. Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] wireless
Hi folks I have a CentOS box with 2 network cards. One is eth0 and the other is wlan0 (Linksys WUSB54GC USB wifi card) I use wlan0 to stay linked with other workstations in an small network and eth0 just in case I need to get wired to solve some problem. eth0 is always unpluged while things are going ok. Te problem is everytime my AP is turned off for whatever reason or the link is down, no matter the AP is working again, my wlan0 stays without link. Then I have to reboot to get wireless linked again. I'm not running Network Manager, For some reason, everytime I tried to start it, it just mess my network, trying to make wlan0 to get an IP from a DHCP server, no matter wlan0 have it's own IP address specified in ifcfg-wlan0. The Centos Box is unattended and everytime it happens I have to go to the other room and press the on/off button to restart it. (no display, keyboard or mouse in it) Any advices? How could I make NetworkManager to just link it again and not start messing with my network configuration? Cheers David ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: Red Hat Enterprise Linux 6 Release Candidate Available to Partners
John Hinton wrote: snip Either way, this thread is really sounding a lot like we are just getting antsy for CentOS 6! ;) I'm chomping at the bit for like 2 years now. Fortunately I selected a titanium bit because if I ever manage to chew through it, I must migrate to Fedora. :) Patience grasshopper. Um, don't do it. Fedora is bleeding edge, not leading edge. Do you *really* want to update every few days, and spend your time debugging the o/s? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] excel parser (preferably perl)?
On 10/19/2010 11:17 AM, Les Mikesell wrote: On 10/19/2010 9:34 AM, Todd Denniston wrote: I'm getting tired of converting spreadsheets that someone else updates to csv so my perl scripts can push the data into a mysql database. Is there a better way? I haven't had much luck with perl-Spreadsheet-ParseExcel (and find it odd that yum prefers the .32 version from epel over .57 from rpmforge anyway). Is the current CPAN version better? Or the equivalent java tools? Or maybe a scripted OpenOffice conversion would be possible. Needs to deal with both xls and xlsx formats, the odd characters that are confused with quotes even after csv conversion, numbers with $'s and commas embedded, excel's date formatting nonsense, etc. Would it cause more headaches than it would solve, for you to hook the excel folks directly to the mysql db and have their changes take place immediately? Assuming a LAN environment here instead of 'the only connection is email'. That's pretty much impossible in the near term anyway. The bulk of this involves reconciling inventory data maintained by one set of people for financial purposes in a database I don't control with some others used for operational monitoring and management. For example, we need to be able to report the current value of the set of equipment being used for a particular purpose - where servers are being shuffled around for different purposes all the time. I'm using ocsinventory-ng for operational tracking because the agents keep it updated automatically but it only handles computers and by itself doesn't deal with cost or deprecation. New requirements keep popping up as we go and I don't find out about them until someone sends me a spreadsheet with some new fields and a request to add them to the db and populate them so they'll be available in future reports. Could you do the sanity checking you currently do by using some db functions? Maybe, but doing string operations in sql instead of using perl regexps seems a little insane by itself. MySQL Forums :: Microsoft Access :: Connecting MS Office, MS Excel, MS Access to MySQL using ODBC http://forums.mysql.com/read.php?65,148441,148441 * OK, I often come at problems from a different direction. * Yeah, the inconvenient parts could probably be done in vbscript or something on a windows box, pushing the results into the db through odbc, but I thought this would be a common enough problem that cross-platform tools would be available. I am using some java stuff on the reporting side - maybe I should look there for conversion tools too. I experimented a little with this sometime last year - seemed to work okay: http://www.artofsolving.com/opensource/jodconverter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing Adaptec Storage Manager - needs libstdc++-libc6.1-1.so.2
On Mon, 18 Oct 2010 12:47:16 -0400, you wrote: Peter Crighton wrote: On Sat, 16 Oct 2010 18:27:15 +0100, you wrote: On 16/10/10 18:07, Peter Crighton wrote: I'm trying to install the Adaptec Storage Manager for the 21610SA SATA RAID controller on Centos 5.5. rpm reports that it failed on the dependency on libstdc++-libc6.1-1.so.2 yum provides */libstdc++-libc6.1-1.so.2 reports no matches found snip Are you on a 32 or 64 bit system, and which is installed? It's 32 bit, Centos 5.5 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing Adaptec Storage Manager - needs libstdc++-libc6.1-1.so.2
Peter Crighton wrote: On Mon, 18 Oct 2010 12:47:16 -0400, you wrote: Peter Crighton wrote: On Sat, 16 Oct 2010 18:27:15 +0100, you wrote: On 16/10/10 18:07, Peter Crighton wrote: I'm trying to install the Adaptec Storage Manager for the 21610SA SATA RAID controller on Centos 5.5. rpm reports that it failed on the dependency on libstdc++-libc6.1-1.so.2 yum provides */libstdc++-libc6.1-1.so.2 reports no matches found snip Are you on a 32 or 64 bit system, and which is installed? It's 32 bit, Centos 5.5 Ok, I was wondering if it was one of those 64 and needs 32 bit as well. However, I think I see the problem: looking at my own system, which is a current 5.5, rpm -ql libstdc++ /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.6.0.8 /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.6.0.8 Suggesting that 6.1 is not out yet in CentOS 5.5 mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Not receiving mail
No the example above shows a telnet to port 25 connecting - which I can reproduce too - but there is no 220 response as there should be from a I am late to the thread (and I haven't a clue what we are talking about in fact), but I get a 220 when I telnet into that IP address... Escape character is '^]'. 220 mercury.localdomain ESMTP Postfix ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Who maintains php-pgsql package? I want to ask about using PostgreSQL 8.4 library instead of PostgreSQL 8.1.
Just to follow up on this. Devrim of Postgres said he does not maintain php-pgsql, Red Hat does. He also added: 2010/10/18 Devrim GÜNDÜZ dev...@gunduz.org: I don't see any way to upgrade libpq for Apache easily, except rebuilding Apache from SRPM by yourself, and using postgresql84-libs as BuildRequires instead of postgresql-libs. Unfortunately it means tons of change in package list, including even subversion... You'd better wait for RHEL / CentOS 6. I'll ask Red Hat for php-pgsql that uses postgresql84-libs; and try to build httpd from source myself in the meantime. Best, -at ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Not receiving mail
Ian Murray wrote: No the example above shows a telnet to port 25 connecting - which I can reproduce too - but there is no 220 response as there should be from a I am late to the thread (and I haven't a clue what we are talking about in fact), but I get a 220 when I telnet into that IP address... Escape character is '^]'. 220 mercury.localdomain ESMTP Postfix Odd. Why would it say localdomain? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Not receiving mail
[herr...@stones herrold]$ telnet 178.63.65.136 25 Trying 178.63.65.136... Connected to 178.63.65.136. Escape character is '^]'. 220 mercury.localdomain ESMTP Postfix quit 221 2.0.0 Bye Connection closed by foreign host. [herr...@stones herrold]$ Something between your local setup and 178.63.65.136 is blocking you -- Solve that -- it is NOT a centos issue at this point -- Russ herrold ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos In fact Russ was here before me as he says, it is likely a connectivity issue... not a mail issue. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] dhcpd rpm
-Original Message- From: Todd Denniston [mailto:todd.dennis...@tsb.cranrdte.navy.mil] Sent: Monday, October 18, 2010 10:43 AM To: CentOS mailing list Subject: Re: [CentOS] dhcpd rpm Ausmus, Matt wrote, On 10/18/2010 01:11 PM: Howdy, SNIP We’ve found the problem is generally caused by the time being out of sync between the servers or the dhcpd daemon on one of the boxes dies. NTP does not keep them closely enough synchronized? OH, and in case you were not aware of it, you could run NTP on one of them using local clock if you don't have a good trust able time server available for some reason. Also making your DHCP machines NTP peers would be good too. Or are you talking about some other type of time? -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter I think the problem we have/had was related to a Layer 8 issue. I have student workers build our DHCP servers from specifications that I give them. What more than likely happened was that dhcpdate wasn't run on the boxes when they were first built causing the date time to be off and ntpd having issues getting the time back in line. My understanding of how ntpd works is that if the time is off too much it sees the time difference as irrational and is not able to pull it back in line. Once I run ntpdate on those boxes the issues go away and ntpd is able to maintain the time sync fine. Matt Ausmus Network Administrator Chapman University Nothing is ever accomplished by a reasonable man. -Bucy’s Law ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second
On Mon, Oct 18, 2010 at 9:08 PM, JohnS jse...@gmail.com wrote: On Mon, 2010-10-18 at 18:25 -0700, Aleksey Tsalolikhin wrote: Hi. A friend of mine was doing real-time video decoding on Fedora Core 13 and he had a performance glitch (1/2 a second freeze) every 5-10 seconds. top showed flush-253:0 process at the moment of the freeze. And what is the Priority of it running at? How many Cores also? He sees this issue at normal priority and at nice -n -19 / -20. He has 6 cores with hyperthreading on 3.8 Ghz, the memory is 1.850 Mhz The system is 980x Intel 6 core He just told me he has two modes for his decoding program, in one mode the system does not write to disk at all, and there are NO GLITCHES doing it this way; another way, it writes lots of little files as it decodes, and the glitch happens actually every 5-20 seconds. Would like to get to the bottom of this so he can decode with temp files and without glitches. Cheers, Aleksey ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second
On 10/19/2010 3:34 PM, Aleksey Tsalolikhin wrote: On Mon, Oct 18, 2010 at 9:08 PM, JohnSjse...@gmail.com wrote: On Mon, 2010-10-18 at 18:25 -0700, Aleksey Tsalolikhin wrote: Hi. A friend of mine was doing real-time video decoding on Fedora Core 13 and he had a performance glitch (1/2 a second freeze) every 5-10 seconds. top showed flush-253:0 process at the moment of the freeze. And what is the Priority of it running at? How many Cores also? He sees this issue at normal priority and at nice -n -19 / -20. He has 6 cores with hyperthreading on 3.8 Ghz, the memory is 1.850 Mhz The system is 980x Intel 6 core He just told me he has two modes for his decoding program, in one mode the system does not write to disk at all, and there are NO GLITCHES doing it this way; another way, it writes lots of little files as it decodes, and the glitch happens actually every 5-20 seconds. Would like to get to the bottom of this so he can decode with temp files and without glitches. Ext3 filesystem? Maybe altering the commit option at mount time would help: http://www.mjmwired.net/kernel/Documentation/filesystems/ext3.txt#49 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Not receiving mail
On 20/10/10 5:42 AM, m.r...@5-cent.us wrote: Ian Murray wrote: No the example above shows a telnet to port 25 connecting - which I can reproduce too - but there is no 220 response as there should be from a I am late to the thread (and I haven't a clue what we are talking about in fact), but I get a 220 when I telnet into that IP address... Escape character is '^]'. 220 mercury.localdomain ESMTP Postfix Odd. Why would it say localdomain? He probably has an incorrect myhostname or mydomain value in main.cf. From the look of the postconf -n he posted, he hasn't specified either of these. From the relevant section in Dotan's postconf -n: mydestination = $myhostname, localhost.$mydomain, localhost newaliases_path = /usr/bin/newaliases.postfix The equivalent section in mine (sanitised because copying pasting is not the solution): mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = example.com myhostname = mail.example.com mynetworks = 127.0.0.0/8, 192.168.1.0/24 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix Regards, Ben signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second
On Tue, Oct 19, 2010 at 12:48 PM, Toby Bluhm toby.bl...@alltechmedusa.com wrote: Ext3 filesystem? Maybe altering the commit option at mount time would help: http://www.mjmwired.net/kernel/Documentation/filesystems/ext3.txt#49 Good one, Tony! We'll try that. Thanks!! Aleksey ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Automated Reply from Dieter Thiel cent os-annou...@centos.org=
Abwesenheitsnotiz: Vielen Dank für Ihre Nachricht. Ich bin ab dem 22.10. wieder im Büro erreichbar. In dringenden Fällen wenden Sie sich bitte an Herrn Ostermann, Email osterm...@dimast.de. Vielen Dank! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Who maintains php-pgsql package? I want to ask about using PostgreSQL 8.4 library instead of PostgreSQL 8.1.
On Tue, Oct 19, 2010 at 11:40 AM, Aleksey Tsalolikhin atsaloli.t...@gmail.com wrote: I'll ask Red Hat for php-pgsql that uses postgresql84-libs; and try to build httpd from source myself in the meantime. I've opened a bug report / enhancement request with Red Hat: https://bugzilla.redhat.com/show_bug.cgi?id=644678 Best, -at ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second
On Oct 19, 2010, at 5:33 PM, Aleksey Tsalolikhin atsaloli.t...@gmail.com wrote: On Tue, Oct 19, 2010 at 12:48 PM, Toby Bluhm toby.bl...@alltechmedusa.com wrote: Ext3 filesystem? Maybe altering the commit option at mount time would help: http://www.mjmwired.net/kernel/Documentation/filesystems/ext3.txt#49 Good one, Tony! We'll try that. Thanks!! You could also reduce the dirty interval in sysctl so it flushes sooner therefore flushes less data each time. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second
Still seeing the glitch every 5-20 secs after remounting with commit=6000. On Tue, Oct 19, 2010 at 4:00 PM, Ross Walker rswwal...@gmail.com wrote: You could also reduce the dirty interval in sysctl so it flushes sooner therefore flushes less data each time. OK. It's worth a shot. Any idea what the default value is? I'm not sure what value to put in here. I know I want to reduce it but I don't want to break my friend's system either. http://www.mjmwired.net/kernel/Documentation/sysctl/vm.txt 109 dirty_expire_centisecs 110 111 This tunable is used to define when dirty data is old enough to be eligible 112 for writeout by the pdflush daemons. It is expressed in 100'ths of a second. 113 Data which has been dirty in-memory for longer than this interval will be 114 written out next time a pdflush daemon wakes up. Thanks, -at ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] more software raid questions
hi all! back in Aug several of you assisted me in solving a problem where one of my drives had dropped out of (or been kicked out of) the raid1 array. something vaguely similar appears to have happened just a few mins ago, upon rebooting after a small update. I received four emails like this, one for /dev/md0, one for /dev/md1, one for /dev/md125 and one for /dev/md126: Subject: DegradedArray event on /dev/md125:fcshome.stoneham.ma.us X-Spambayes-Classification: unsure; 0.24 Status: RO Content-Length: 564 Lines: 23 This is an automatically generated mail message from mdadm running on fcshome.stoneham.ma.us A DegradedArray event had been detected on md device /dev/md125. Faithfully yours, etc. P.S. The /proc/mdstat file currently contains the following: Personalities : [raid1] md0 : active raid1 sda1[0] 104320 blocks [2/1] [U_] md126 : active raid1 sdb1[1] 104320 blocks [2/1] [_U] md125 : active raid1 sdb2[1] 312464128 blocks [2/1] [_U] md1 : active raid1 sda2[0] 312464128 blocks [2/1] [U_] unused devices: none firstly, what the heck are md125 and md126? previously there was only md0 and md1 secondly, I'm not sure what it's trying to tell me. it says there was a degradedarray event but at the bottom it says there are no unused devices. there are also some messages in /var/log/messages from the time of the boot earlier today, but they do NOT say anything about kicking out any of the md member devices (as they did in the event back in August): Oct 19 18:29:41 fcshome kernel: device-mapper: dm-raid45: initialized v0.2594l Oct 19 18:29:41 fcshome kernel: md: Autodetecting RAID arrays. Oct 19 18:29:41 fcshome kernel: md: autorun ... Oct 19 18:29:41 fcshome kernel: md: considering sdb2 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb2 ... Oct 19 18:29:41 fcshome kernel: md: sdb1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: sda2 has same UUID but different superblock to sdb2 Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: created md125 Oct 19 18:29:41 fcshome kernel: md: bindsdb2 Oct 19 18:29:41 fcshome kernel: md: running: sdb2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md125 active with 1 out of 2 mir rors Oct 19 18:29:41 fcshome kernel: md: considering sdb1 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb1 ... Oct 19 18:29:41 fcshome kernel: md: sda2 has different UUID to sdb1 Oct 19 18:29:41 fcshome kernel: md: sda1 has same UUID but different superblock to sdb1 Oct 19 18:29:41 fcshome kernel: md: created md126 Oct 19 18:29:41 fcshome kernel: md: bindsdb1 Oct 19 18:29:41 fcshome kernel: md: running: sdb1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md126 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda2 ... Oct 19 18:29:41 fcshome kernel: md: adding sda2 ... Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sda2 Oct 19 18:29:41 fcshome kernel: md: created md1 Oct 19 18:29:41 fcshome kernel: md: bindsda2 Oct 19 18:29:41 fcshome kernel: md: running: sda2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md1 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda1 ... Oct 19 18:29:41 fcshome kernel: md: adding sda1 ... Oct 19 18:29:41 fcshome kernel: md: created md0 Oct 19 18:29:41 fcshome kernel: md: bindsda1 Oct 19 18:29:41 fcshome kernel: md: running: sda1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md0 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: ... autorun DONE. and here's /etc/mdadm.conf: # cat /etc/mdadm.conf # mdadm.conf written out by anaconda DEVICE partitions MAILADDR fredex ARRAY /dev/md0 level=raid1 num-devices=2 uuid=4eb13e45:b5228982:f03cd503:f935bd69 ARRAY /dev/md1 level=raid1 num-devices=2 uuid=5c79b138:e36d4286:df9cf6f6:62ae1f12 which doesn't say anything about md125 or md126,... might they be some kind of detritus or fragments left over from whatever kind of failure caused the array to become degraded? do ya suppose a boot from power-off might somehow give it a whack upside the head so it'll reassemble itself according to mdadm.conf? I'm not sure which devices need to be failed and re-added to make it clean again (which is all I had to do when I had the aforementioned earlier problem.) Thanks in advance for any advice! Fred -- Fred Smith -- fre...@fcshome.stoneham.ma.us
Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second
uname -a shows: Linux localhost.localdomain 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] more software raid questions
fred smith wrote: hi all! back in Aug several of you assisted me in solving a problem where one of my drives had dropped out of (or been kicked out of) the raid1 array. something vaguely similar appears to have happened just a few mins ago, upon rebooting after a small update. I received four emails like this, one for /dev/md0, one for /dev/md1, one for /dev/md125 and one for /dev/md126: Subject: DegradedArray event on /dev/md125:fcshome.stoneham.ma.us X-Spambayes-Classification: unsure; 0.24 Status: RO Content-Length: 564 Lines: 23 This is an automatically generated mail message from mdadm running on fcshome.stoneham.ma.us A DegradedArray event had been detected on md device /dev/md125. Faithfully yours, etc. P.S. The /proc/mdstat file currently contains the following: Personalities : [raid1] md0 : active raid1 sda1[0] 104320 blocks [2/1] [U_] md126 : active raid1 sdb1[1] 104320 blocks [2/1] [_U] md125 : active raid1 sdb2[1] 312464128 blocks [2/1] [_U] md1 : active raid1 sda2[0] 312464128 blocks [2/1] [U_] unused devices: none firstly, what the heck are md125 and md126? previously there was only md0 and md1 secondly, I'm not sure what it's trying to tell me. it says there was a degradedarray event but at the bottom it says there are no unused devices. there are also some messages in /var/log/messages from the time of the boot earlier today, but they do NOT say anything about kicking out any of the md member devices (as they did in the event back in August): Oct 19 18:29:41 fcshome kernel: device-mapper: dm-raid45: initialized v0.2594l Oct 19 18:29:41 fcshome kernel: md: Autodetecting RAID arrays. Oct 19 18:29:41 fcshome kernel: md: autorun ... Oct 19 18:29:41 fcshome kernel: md: considering sdb2 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb2 ... Oct 19 18:29:41 fcshome kernel: md: sdb1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: sda2 has same UUID but different superblock to sdb2 This appears to be the cause Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: created md125 this was auto created - I've not experienced this myself and run half a dozen of these on different machines. Oct 19 18:29:41 fcshome kernel: md: bindsdb2 Oct 19 18:29:41 fcshome kernel: md: running: sdb2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md125 active with 1 out of 2 mir rors now it has mounted it separately Oct 19 18:29:41 fcshome kernel: md: considering sdb1 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb1 ... Oct 19 18:29:41 fcshome kernel: md: sda2 has different UUID to sdb1 Oct 19 18:29:41 fcshome kernel: md: sda1 has same UUID but different superblock to sdb1 and now for the second one Oct 19 18:29:41 fcshome kernel: md: created md126 Oct 19 18:29:41 fcshome kernel: md: bindsdb1 Oct 19 18:29:41 fcshome kernel: md: running: sdb1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md126 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda2 ... Oct 19 18:29:41 fcshome kernel: md: adding sda2 ... Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sda2 Oct 19 18:29:41 fcshome kernel: md: created md1 Oct 19 18:29:41 fcshome kernel: md: bindsda2 Oct 19 18:29:41 fcshome kernel: md: running: sda2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md1 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda1 ... Oct 19 18:29:41 fcshome kernel: md: adding sda1 ... Oct 19 18:29:41 fcshome kernel: md: created md0 Oct 19 18:29:41 fcshome kernel: md: bindsda1 Oct 19 18:29:41 fcshome kernel: md: running: sda1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md0 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: ... autorun DONE. and here's /etc/mdadm.conf: # cat /etc/mdadm.conf # mdadm.conf written out by anaconda DEVICE partitions MAILADDR fredex ARRAY /dev/md0 level=raid1 num-devices=2 uuid=4eb13e45:b5228982:f03cd503:f935bd69 ARRAY /dev/md1 level=raid1 num-devices=2 uuid=5c79b138:e36d4286:df9cf6f6:62ae1f12 which doesn't say anything about md125 or md126,... might they be some kind of detritus or fragments left over from whatever kind of failure caused the array to become degraded? now you need to decide (by looking at each device (may need to mount first.)) which is the correct master. remove the other one and add it back to the original array - it will them rebuild. If these are SATA drives just check the cable - I have
Re: [CentOS] more software raid questions
On Tue, Oct 19, 2010 at 7:59 PM, fred smith fre...@fcshome.stoneham.ma.us wrote: back in Aug several of you assisted me in solving a problem where one of my drives had dropped out of (or been kicked out of) the raid1 array. something vaguely similar appears to have happened just a few mins ago, upon rebooting after a small update. I received four emails like this, one for /dev/md0, one for /dev/md1, one for /dev/md125 and one for /dev/md126: Subject: DegradedArray event on /dev/md125:fcshome.stoneham.ma.us X-Spambayes-Classification: unsure; 0.24 Status: RO Content-Length: 564 Lines: 23 This is an automatically generated mail message from mdadm running on fcshome.stoneham.ma.us A DegradedArray event had been detected on md device /dev/md125. Faithfully yours, etc. P.S. The /proc/mdstat file currently contains the following: Personalities : [raid1] md0 : active raid1 sda1[0] 104320 blocks [2/1] [U_] md126 : active raid1 sdb1[1] 104320 blocks [2/1] [_U] md125 : active raid1 sdb2[1] 312464128 blocks [2/1] [_U] md1 : active raid1 sda2[0] 312464128 blocks [2/1] [U_] unused devices: none firstly, what the heck are md125 and md126? previously there was only md0 and md1 secondly, I'm not sure what it's trying to tell me. it says there was a degradedarray event but at the bottom it says there are no unused devices. there are also some messages in /var/log/messages from the time of the boot earlier today, but they do NOT say anything about kicking out any of the md member devices (as they did in the event back in August): Oct 19 18:29:41 fcshome kernel: device-mapper: dm-raid45: initialized v0.2594l Oct 19 18:29:41 fcshome kernel: md: Autodetecting RAID arrays. Oct 19 18:29:41 fcshome kernel: md: autorun ... Oct 19 18:29:41 fcshome kernel: md: considering sdb2 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb2 ... Oct 19 18:29:41 fcshome kernel: md: sdb1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: sda2 has same UUID but different superblock to sdb2 Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: created md125 Oct 19 18:29:41 fcshome kernel: md: bindsdb2 Oct 19 18:29:41 fcshome kernel: md: running: sdb2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md125 active with 1 out of 2 mir rors Oct 19 18:29:41 fcshome kernel: md: considering sdb1 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb1 ... Oct 19 18:29:41 fcshome kernel: md: sda2 has different UUID to sdb1 Oct 19 18:29:41 fcshome kernel: md: sda1 has same UUID but different superblock to sdb1 Oct 19 18:29:41 fcshome kernel: md: created md126 Oct 19 18:29:41 fcshome kernel: md: bindsdb1 Oct 19 18:29:41 fcshome kernel: md: running: sdb1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md126 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda2 ... Oct 19 18:29:41 fcshome kernel: md: adding sda2 ... Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sda2 Oct 19 18:29:41 fcshome kernel: md: created md1 Oct 19 18:29:41 fcshome kernel: md: bindsda2 Oct 19 18:29:41 fcshome kernel: md: running: sda2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md1 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda1 ... Oct 19 18:29:41 fcshome kernel: md: adding sda1 ... Oct 19 18:29:41 fcshome kernel: md: created md0 Oct 19 18:29:41 fcshome kernel: md: bindsda1 Oct 19 18:29:41 fcshome kernel: md: running: sda1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md0 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: ... autorun DONE. and here's /etc/mdadm.conf: # cat /etc/mdadm.conf # mdadm.conf written out by anaconda DEVICE partitions MAILADDR fredex ARRAY /dev/md0 level=raid1 num-devices=2 uuid=4eb13e45:b5228982:f03cd503:f935bd69 ARRAY /dev/md1 level=raid1 num-devices=2 uuid=5c79b138:e36d4286:df9cf6f6:62ae1f12 which doesn't say anything about md125 or md126,... might they be some kind of detritus or fragments left over from whatever kind of failure caused the array to become degraded? The superblocks in sdb1 and sdb2 is different from the superblocks in sda1 and sda2 so mdadm assembled sdb1 and sdb2 into different arrays. I'd have expected them to be md126 and md127 not md125 and md126 bu that's normal. Your problem is that all four arrays are degraded. Which ones are mounted? Assuming that you're running off the drives with the
Re: [CentOS] more software raid questions
fred smith wrote:helppain/backups/disks/ hi all! back in Aug several of you assisted me in solving a problem where one of my drives had dropped out of (or been kicked out of) the raid1 array. something vaguely similar appears to have happened just a few mins ago, upon rebooting after a small update. I received four emails like this, one for /dev/md0, one for /dev/md1, one for /dev/md125 and one for /dev/md126: Subject: DegradedArray event on /dev/md125:fcshome.stoneham.ma.us X-Spambayes-Classification: unsure; 0.24 Status: RO Content-Length: 564 Lines: 23 This is an automatically generated mail message from mdadm running on fcshome.stoneham.ma.us A DegradedArray event had been detected on md device /dev/md125. Faithfully yours, etc.resources/ P.S. The /proc/mdstat file currently contains the following: Personalities : [raid1] md0 : active raid1 sda1[0] 104320 blocks [2/1] [U_] md126 : active raid1 sdb1[1] 104320 blocks [2/1] [_U] md125 : active raid1 sdb2[1] 312464128 blocks [2/1] [_U] md1 : active raid1 sda2[0] 312464128 blocks [2/1] [U_] unused devices: none firstly, what the heck are md125 and md126? previously there was only md0 and md1 secondly, I'm not sure what it's trying to tell me. it says there was a degradedarray event but at the bottom it says there are no unused devices. there are also some messages in /var/log/messages from the time of the boot earlier today, but they do NOT say anything about kicking out any of the md member devices (as they did in the event back in August): Oct 19 18:29:41 fcshome kernel: device-mapper: dm-raid45: initialized v0.2594l Oct 19 18:29:41 fcshome kernel: md: Autodetecting RAID arrays. Oct 19 18:29:41 fcshome kernel: md: autorun ... Oct 19 18:29:41 fcshome kernel: md: considering sdb2 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb2 ... Oct 19 18:29:41 fcshome kernel: md: sdb1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: sda2 has same UUID but different superblock to sdb2 Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sdb2 Oct 19 18:29:41 fcshome kernel: md: created md125 Oct 19 18:29:41 fcshome kernel: md: bindsdb2 Oct 19 18:29:41 fcshome kernel: md: running: sdb2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md125 active with 1 out of 2 mir rors Oct 19 18:29:41 fcshome kernel: md: considering sdb1 ... Oct 19 18:29:41 fcshome kernel: md: adding sdb1 ... Oct 19 18:29:41 fcshome kernel: md: sda2 has different UUID to sdb1 Oct 19 18:29:41 fcshome kernel: md: sda1 has same UUID but different superblock to sdb1 Oct 19 18:29:41 fcshome kernel: md: created md126 Oct 19 18:29:41 fcshome kernel: md: bindsdb1 Oct 19 18:29:41 fcshome kernel: md: running: sdb1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md126 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda2 ... Oct 19 18:29:41 fcshome kernel: md: adding sda2 ... Oct 19 18:29:41 fcshome kernel: md: sda1 has different UUID to sda2 Oct 19 18:29:41 fcshome kernel: md: created md1 Oct 19 18:29:41 fcshome kernel: md: bindsda2 Oct 19 18:29:41 fcshome kernel: md: running: sda2 Oct 19 18:29:41 fcshome kernel: raid1: raid set md1 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: considering sda1 ... Oct 19 18:29:41 fcshome kernel: md: adding sda1 ... Oct 19 18:29:41 fcshome kernel: md: created md0 Oct 19 18:29:41 fcshome kernel: md: bindsda1 Oct 19 18:29:41 fcshome kernel: md: running: sda1 Oct 19 18:29:41 fcshome kernel: raid1: raid set md0 active with 1 out of 2 mirrors Oct 19 18:29:41 fcshome kernel: md: ... autorun DONE. and here's /etc/mdadm.conf: # cat /etc/mdadm.conf # mdadm.conf written out by anaconda DEVICE partitions MAILADDR fredex ARRAY /dev/md0 level=raid1 num-devices=2 uuid=4eb13e45:b5228982:f03cd503:f935bd69 ARRAY /dev/md1 level=raid1 num-devices=2 uuid=5c79b138:e36d4286:df9cf6f6:62ae1f12 which doesn't say anything about md125 or md126,... might they be some kind of detritus or fragments left over from whatever kind of failure caused the array to become degraded? do ya suppose a boot from power-off might somehow give it a whack upside the head so it'll reassemble itself according to mdadm.conf? I'm not sure which devices need to be failed and re-added to make it clean again (which is all I had to do when I had the aforementioned earlier problem.) Thanks in advance for any advice! Fred I've seen this kind of thing happen
Re: [CentOS] more software raid questions
Nataraj wrote: I've seen this kind of thing happen when the autodetection stuff misbehaves. I'm not sure why it does this or how to prevent it. Anyway, to recover, I would use something like: mdadm --stop /dev/md125 mdadm --stop /dev/md126 If for some reason the above commands fail, check and make sure it has not automounted the file systems from md125 and md126. Hopefully this won't happen. Then use: mdadm /dev/md0 -a /dev/sdXX To add back the drive which belongs in md0, and similar for md1. In general, it won't let you add the wrong drive, but if you want to check use: mdadm --examine /dev/sda1 | grep UUID and so forth for all your drives and find the ones with the same UUID. When I create my Raid arrays, I always use the option --bitmap=internal. With this option set, a bitmap is used to keep track of which pages on the drive are out of date and then you only resync pages which need updating instead of recopying the whole drive when this happens. In the past I once added a bitmap to an existing raid1 array using something like this. This may not be the exact command, but I know it can be done: mdadm /dev/mdN --bitmap=internal Adding the bitmap is very worthwhile and saves time and risk of data loss by not having to recopy the whole partition. Nataraj ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos mdadm /dev/mdN --assemble --force could also be useful, though I would be careful here. To use this, you would have to stop all of the arrays and then reassemble. You could also specify the specific drives. If you don't have a backup, you might want to backup the single drives that are properly mounted from md0 and md1. Data loss is always a possibility with these type of manipulations, though I have successfully recovered from things like this without losing any data. In fact I pull drives out of a raid array and add new drives in daily to sync them and send the second drive off site as a backup. Nataraj ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Increased memory usage between 4.8 and 5.5
I'm running into a memory problem when trying to switch some web servers that are running centos4.8/x86_64 to centos5.5/x86_64. The new servers running centos5.5 are using a decent amount more memory than the centos4.8 servers. Here's an example from top: --- centos 5.5 --- $ uname -a Linux ws51 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 7799 nobody16 0 348m 101m 43m S 0.0 2.6 1:10.91 httpd 20285 nobody15 0 340m 94m 43m S 0.0 2.4 1:11.36 httpd 31734 nobody15 0 340m 91m 41m S 0.0 2.3 1:13.52 httpd 8904 nobody15 0 341m 89m 39m S 0.0 2.3 0:35.28 httpd 7353 nobody15 0 336m 87m 42m S 0.0 2.2 1:21.17 httpd 26097 nobody15 0 333m 87m 43m S 0.0 2.2 1:28.84 httpd 20765 nobody15 0 335m 86m 42m S 0.0 2.2 0:48.50 httpd 23299 nobody15 0 334m 86m 42m S 0.0 2.2 1:13.35 httpd --- centos 4.8 --- $ uname -a Linux ws89 2.6.9-89.0.28.ELsmp #1 SMP Fri Aug 20 16:11:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 25117 nobody16 0 244m 57m 41m S 0.0 1.5 0:58.23 httpd 21318 nobody15 0 240m 53m 41m S 0.0 1.3 0:53.25 httpd 18517 nobody16 0 239m 51m 41m S 0.0 1.3 0:41.97 httpd 10383 nobody15 0 238m 50m 40m S 0.0 1.3 0:31.07 httpd 29560 nobody16 0 239m 49m 39m S 0.0 1.3 0:40.39 httpd 32459 nobody16 0 238m 49m 40m S 0.0 1.3 0:23.07 httpd 8441 nobody15 0 238m 48m 39m S 0.0 1.2 0:22.87 httpd 1350 nobody15 0 238m 48m 39m S 0.0 1.2 0:29.83 httpd The versions of both apache and php I have installed are the same between the two releases, so I can't imagine that being the problem. I've also tested newer versions and it doesn't seem to make a difference. I've looked into this quite a bit and below is what I've figured out so far. Looking at the output of running 'pmap -x pid' shows most of the libraries in 5.5 are using 2044K or 2048K of memory, but in 4.8 they're all using 1024K or less. Example: --- centos 5.5 --- 2b37c3248000 16 16 0 r-x-- libnss_dns-2.5.so 2b37c324c0002044 0 0 - libnss_dns-2.5.so 2b37c344b000 4 4 4 r libnss_dns-2.5.so 2b37c344c000 4 4 4 rw--- libnss_dns-2.5.so --- centos 4.8 --- 002aa4a5e000 16 - - - r-x-- libnss_dns-2.3.4.so 002aa4a620001020 - - - - libnss_dns-2.3.4.so 002aa4b61000 4 - - - r libnss_dns-2.3.4.so 002aa4b62000 4 - - - rw--- libnss_dns-2.3.4.so This seems to be explained by an increase in ELF_MAXPAGESIZE between the two releases according to this page: http://www.greenend.org.uk/rjk/2009/dataseg.html Another oddity I found that was only in centos 5.5 was a lot of heap memory being marked as Private_Dirty according to /proc/pid/smaps: 2b37c9826000-2b37cc4ca000 rw-p 2b37c9826000 00:00 0 [heap] Size: 45712 kB Rss: 45424 kB Shared_Clean: 0 kB Shared_Dirty: 1580 kB Private_Clean:0 kB Private_Dirty:43844 kB Swap: 0 kB Pss: 43913 kB The highest amount of Private_Dirty showing up on 4.8 is just 1628 kB. Does anyone have any ideas on why 5.5 is using so much memory per httpd process than it does in 4.8? I have 100+ machines I want to upgrade, but that'll have to wait until I figure out why apache uses so much more memory in 5.5... Thanks in advance, Bryan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos