[CentOS-announce] CESA-2010:0780 Moderate CentOS 5 i386 thunderbird Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0780 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0780.htm

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
8d79ea2227cbe2ccf8cc38f58185b08d  thunderbird-2.0.0.24-9.el5.centos.i386.rpm

Source:
76ae1189a5bb23e670e77d14782f80ab  thunderbird-2.0.0.24-9.el5.centos.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] CESA-2010:0780 Moderate CentOS 5 x86_64 thunderbird Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0780 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0780.htm

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
f1cc32f61895a52707421fdd3c30637e  thunderbird-2.0.0.24-9.el5.centos.x86_64.rpm

Source:
76ae1189a5bb23e670e77d14782f80ab  thunderbird-2.0.0.24-9.el5.centos.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] CESA-2010:0782 Critical CentOS 5 i386 firefox Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0782 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0782.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
d6d74606e240b46e24a6e5fef808fc6e  firefox-3.6.11-2.el5.centos.i386.rpm
ceea764509f836a4222d8513e48a2f4a  nss-3.12.8-1.el5.centos.i386.rpm
b4895cf2e2fe94c741a982d93b4a1337  nss-devel-3.12.8-1.el5.centos.i386.rpm
402f808034c08a9c7effdf7ae86a23e3  nss-pkcs11-devel-3.12.8-1.el5.centos.i386.rpm
441e7f16824f2bc9cdc284a0b5b91fbc  nss-tools-3.12.8-1.el5.centos.i386.rpm
8c4a659199e659b1ee2d7a41fb8f92a0  xulrunner-1.9.2.11-2.el5.i386.rpm
a0604d96522a44d340eb406f0178a31a  xulrunner-devel-1.9.2.11-2.el5.i386.rpm

Source:
20957cf139608fae04d639c75f15691d  firefox-3.6.11-2.el5.centos.src.rpm
784e7196380fec754e89dbeae6313e71  nss-3.12.8-1.el5.centos.src.rpm
923f4121812b78274473dcc24bca6aec  xulrunner-1.9.2.11-2.el5.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] CESA-2010:0782 Critical CentOS 5 x86_64 firefox Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0782 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0782.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
1d76f8ea733023360514810ed885638b  firefox-3.6.11-2.el5.centos.i386.rpm
575961cc6506ee441290aad8b51cbd5e  firefox-3.6.11-2.el5.centos.x86_64.rpm
5ae191de09f5151cbf7ae3ea8b2d2913  nss-3.12.8-1.el5.centos.i386.rpm
d4edb508f4bff1c9f7af8341c90f55a4  nss-3.12.8-1.el5.centos.x86_64.rpm
5216c2211c0880dbcc2aff3339ed95c3  nss-devel-3.12.8-1.el5.centos.i386.rpm
22a61dc2bda3fbfcbac93a101a33e2ee  nss-devel-3.12.8-1.el5.centos.x86_64.rpm
9e9ff8d37acf69ac09ba5a7cc8ff2d15  nss-pkcs11-devel-3.12.8-1.el5.centos.i386.rpm
81f27b4dfa55490ea6bf06ff3571d08c  
nss-pkcs11-devel-3.12.8-1.el5.centos.x86_64.rpm
bb5c333b2b4c261d1b030fb104b2a7ff  nss-tools-3.12.8-1.el5.centos.x86_64.rpm
cc38638ab4ff3506b61972829303b2b9  xulrunner-1.9.2.11-2.el5.i386.rpm
816f6c4d75b685a0144e7021f48db943  xulrunner-1.9.2.11-2.el5.x86_64.rpm
fc366ca6b614ead8f6a5bc29751776fb  xulrunner-devel-1.9.2.11-2.el5.i386.rpm
fdff86550f32c351554f168701516f51  xulrunner-devel-1.9.2.11-2.el5.x86_64.rpm

Source:
20957cf139608fae04d639c75f15691d  firefox-3.6.11-2.el5.centos.src.rpm
784e7196380fec754e89dbeae6313e71  nss-3.12.8-1.el5.centos.src.rpm
923f4121812b78274473dcc24bca6aec  xulrunner-1.9.2.11-2.el5.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:0784 CentOS 5 x86_64 ImageMagick Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Bugfix Advisory 2010:0784 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2010-0784.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
f35c2ede188bbc9dabff214317f1e657  ImageMagick-6.2.8.0-4.el5_5.3.i386.rpm
84d0d02e622c259f8b2541cc1fc8779e  ImageMagick-6.2.8.0-4.el5_5.3.x86_64.rpm
1dcc77d7658f89b8acf1e2d7834a81c8  ImageMagick-c++-6.2.8.0-4.el5_5.3.i386.rpm
1b52a5ee81eddab6d28d372ccfcca342  ImageMagick-c++-6.2.8.0-4.el5_5.3.x86_64.rpm
a02c9c2d242196723cd7bcd9998ccc95  
ImageMagick-c++-devel-6.2.8.0-4.el5_5.3.i386.rpm
a645990bd4b107e5b0d4008c9b4af601  
ImageMagick-c++-devel-6.2.8.0-4.el5_5.3.x86_64.rpm
28a75bad5739fddc2727511fb01795a1  ImageMagick-devel-6.2.8.0-4.el5_5.3.i386.rpm
956c5f4f0ebb9da978b065a107ecb9ef  ImageMagick-devel-6.2.8.0-4.el5_5.3.x86_64.rpm
dee21dae5a90ab3187f135d64a81a369  ImageMagick-perl-6.2.8.0-4.el5_5.3.x86_64.rpm

Source:
f9a30b7e8ad269ce986ee146d1f39c00  ImageMagick-6.2.8.0-4.el5_5.3.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:0784 CentOS 5 i386 ImageMagick Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Bugfix Advisory 2010:0784 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2010-0784.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
64c750c7eafbd6b983c82ed9b299fa6d  ImageMagick-6.2.8.0-4.el5_5.3.i386.rpm
1666b9cf231bec62325d8b45746178c5  ImageMagick-c++-6.2.8.0-4.el5_5.3.i386.rpm
8241a6a9f72bc46e4de30d6cfe638cf4  
ImageMagick-c++-devel-6.2.8.0-4.el5_5.3.i386.rpm
add031afaf712e499d0cd0f1dff8c8d6  ImageMagick-devel-6.2.8.0-4.el5_5.3.i386.rpm
9c8978b14d756de81a0295086985403f  ImageMagick-perl-6.2.8.0-4.el5_5.3.i386.rpm

Source:
f9a30b7e8ad269ce986ee146d1f39c00  ImageMagick-6.2.8.0-4.el5_5.3.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] CESA-2010:0785 Moderate CentOS 5 i386 quagga Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0785 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0785.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
13af6a53e1124955ca900e850d3ec44f  quagga-0.98.6-5.el5_5.2.i386.rpm
62e87b3017ee07f2312ca3eda09644b6  quagga-contrib-0.98.6-5.el5_5.2.i386.rpm
8a3630eb555845c9a080b5220541b950  quagga-devel-0.98.6-5.el5_5.2.i386.rpm

Source:
dfa897fcc8bd1cb5e918fd2117928ab3  quagga-0.98.6-5.el5_5.2.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] CESA-2010:0785 Moderate CentOS 5 x86_64 quagga Update

2010-10-20 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0785 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0785.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
51a7fb83e64128d8078846d2b84763fd  quagga-0.98.6-5.el5_5.2.x86_64.rpm
1f10aebdc314bb6e2273ac626b8a1172  quagga-contrib-0.98.6-5.el5_5.2.x86_64.rpm
b6bdacf7b18ad41ac52283d682c0d8b8  quagga-devel-0.98.6-5.el5_5.2.i386.rpm
21837878f8bbee16284f7c88acfd6b0c  quagga-devel-0.98.6-5.el5_5.2.x86_64.rpm

Source:
dfa897fcc8bd1cb5e918fd2117928ab3  quagga-0.98.6-5.el5_5.2.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

2010-10-20 Thread Grant McWilliams
  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



Even though this is Intel talking I'd still be very sceptical of getting
those numbers since this is quite the opposite of what I've seen.
Maybe the vt-d is getting good enough to actually accelerate IO operations
but even so that would only happen on the latest hardware.

I will say that Xen has a really long packet path though.

Grant McWilliams
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] performance differences between kvm/xen

2010-10-20 Thread Dennis Jacobfeuerborn
On 10/20/2010 08:12 AM, Grant McWilliams wrote:

   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



 Even though this is Intel talking I'd still be very sceptical of getting
 those numbers since this is quite the opposite of what I've seen.
 Maybe the vt-d is getting good enough to actually accelerate IO operations
 but even so that would only happen on the latest hardware.

 I will say that Xen has a really long packet path though.

Being skeptical is the best approach in the absence of 
verifiable/falsifiable data. Today or tomorrow I'll get my hands on a new 
host system and although it is supposed to go into production immediately I 
will probably find some time to do some rudimentary benchmarking in that 
regard to see if this is worth investigating further. Right now I'm 
planning to use fio for block device measurements but don't know any decent 
(and uncomplicated) network i/o benchmarking tools. Any ideas what tools I 
could use to quickly get some useful data on this from the machine?

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

2010-10-20 Thread Karanbir Singh
On 10/20/2010 12:35 PM, Dennis Jacobfeuerborn wrote:
 Being skeptical is the best approach in the absence of
 verifiable/falsifiable data. Today or tomorrow I'll get my hands on a new
 host system and although it is supposed to go into production immediately I
 will probably find some time to do some rudimentary benchmarking in that
 regard to see if this is worth investigating further. Right now I'm

That sounds great. I've got a machine coming online in the next few days 
as well and will do some testing on there. Its got 2 of these :

Intel(R) Xeon(R) CPU E5310

So not the newest/greatest, but should be fairly representative.

 planning to use fio for block device measurements but don't know any decent
 (and uncomplicated) network i/o benchmarking tools. Any ideas what tools I
 could use to quickly get some useful data on this from the machine?

iozone and openssl speed tests are always a good thing to run as a 'warm 
up' to your app level testing. Since pgtest has been posted here 
already, I'd say that is definitely one thing to include so it creates a 
level of common-code-testing and comparison. mysql-bench is worth 
hitting as well. I have a personal interest in web app delivery, so a 
apache-bench hosted from an external machine hitting domU's / VM's ( but 
more than 1 instance, and hitting more than 1 VM / domU at the same time 
) would be good to have as well.

And yes, publish lots of machine details and also details on the code / 
platform / versions used. I will try to do the same ( but will  limit my 
testing to whats already available in the distro )

thanks

- KB
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] performance differences between kvm/xen

2010-10-20 Thread Tom Bishop
Ok so I'd like to help, since most folks have Intel Chipsets, I have a AMD
4p(16 core)/32gig memory opteron server that I'm running that we can get
some numbers onbut it would be nice if we could run apples to apples...I
have iozone loaded and can run that but would be nice to run using the same
parametersis there any way we could list the types of test we would like
to run and the actual command with options listed and then we would have
some thing to compare at least  level the playing field...KB, any thoughts,
is this a good idea?

On Wed, Oct 20, 2010 at 6:52 AM, Karanbir Singh mail-li...@karan.orgwrote:

 On 10/20/2010 12:35 PM, Dennis Jacobfeuerborn wrote:
  Being skeptical is the best approach in the absence of
  verifiable/falsifiable data. Today or tomorrow I'll get my hands on a new
  host system and although it is supposed to go into production immediately
 I
  will probably find some time to do some rudimentary benchmarking in that
  regard to see if this is worth investigating further. Right now I'm

 That sounds great. I've got a machine coming online in the next few days
 as well and will do some testing on there. Its got 2 of these :

 Intel(R) Xeon(R) CPU E5310

 So not the newest/greatest, but should be fairly representative.

  planning to use fio for block device measurements but don't know any
 decent
  (and uncomplicated) network i/o benchmarking tools. Any ideas what tools
 I
  could use to quickly get some useful data on this from the machine?

 iozone and openssl speed tests are always a good thing to run as a 'warm
 up' to your app level testing. Since pgtest has been posted here
 already, I'd say that is definitely one thing to include so it creates a
 level of common-code-testing and comparison. mysql-bench is worth
 hitting as well. I have a personal interest in web app delivery, so a
 apache-bench hosted from an external machine hitting domU's / VM's ( but
 more than 1 instance, and hitting more than 1 VM / domU at the same time
 ) would be good to have as well.

 And yes, publish lots of machine details and also details on the code /
 platform / versions used. I will try to do the same ( but will  limit my
 testing to whats already available in the distro )

 thanks

 - KB
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] performance differences between kvm/xen

2010-10-20 Thread Grant McWilliams
On Wed, Oct 20, 2010 at 6:24 AM, Tom Bishop bisho...@gmail.com wrote:

 Ok so I'd like to help, since most folks have Intel Chipsets, I have a AMD
 4p(16 core)/32gig memory opteron server that I'm running that we can get
 some numbers onbut it would be nice if we could run apples to apples...I
 have iozone loaded and can run that but would be nice to run using the same
 parametersis there any way we could list the types of test we would like
 to run and the actual command with options listed and then we would have
 some thing to compare at least  level the playing field...KB, any thoughts,
 is this a good idea?


 On Wed, Oct 20, 2010 at 6:52 AM, Karanbir Singh mail-li...@karan.orgwrote:

 On 10/20/2010 12:35 PM, Dennis Jacobfeuerborn wrote:
  Being skeptical is the best approach in the absence of
  verifiable/falsifiable data. Today or tomorrow I'll get my hands on a
 new
  host system and although it is supposed to go into production
 immediately I
  will probably find some time to do some rudimentary benchmarking in that
  regard to see if this is worth investigating further. Right now I'm

 That sounds great. I've got a machine coming online in the next few days
 as well and will do some testing on there. Its got 2 of these :

 Intel(R) Xeon(R) CPU E5310

 So not the newest/greatest, but should be fairly representative.

  planning to use fio for block device measurements but don't know any
 decent
  (and uncomplicated) network i/o benchmarking tools. Any ideas what tools
 I
  could use to quickly get some useful data on this from the machine?

 iozone and openssl speed tests are always a good thing to run as a 'warm
 up' to your app level testing. Since pgtest has been posted here
 already, I'd say that is definitely one thing to include so it creates a
 level of common-code-testing and comparison. mysql-bench is worth
 hitting as well. I have a personal interest in web app delivery, so a
 apache-bench hosted from an external machine hitting domU's / VM's ( but
 more than 1 instance, and hitting more than 1 VM / domU at the same time
 ) would be good to have as well.

 And yes, publish lots of machine details and also details on the code /
 platform / versions used. I will try to do the same ( but will  limit my
 testing to whats already available in the distro )

 thanks

 - KB
 __



So what we're on the verge of doing here is creating a test set... I'd love
to see a shell script that ran a bunch of tests, gathered data about the
system and then created an archive that would then be uploaded to a website
which created graphs. Dreaming maybe but it would be consistent. So what
goes in our testset?

Just a generic list, add to or take away form it..


   - phoronix test suite ?
   - iozone
   - kernbench
   - dbench
   - bonnie++
   - iperf
   - nbench


The phoronix test suite has most tests in it in addition to many many
others. Maybe a subset of those tests with the aim of testing Virtualization
would be good?

Grant McWilliams
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] Rv: Rutas estáticas.

2010-10-20 Thread Hector Martínez Romo
puedes escribirlas en el archivo /etc/rc.local

El 18 de octubre de 2010 06:57, Monica BM monica...@yahoo.es escribió:

 Reenvío la topología de red que ha salido fatal en el primer correo.



 ==RED=Router=REDRouter ===

  =10.0.1.0-10.0.1.254 
 10.0.2.254-10.0.2.0 
 10.0.2.253..10.0.3.254


  ==eth0..eth1=== 
 eth0eth1



 Un saludo y muchas gracias.



 - Mensaje reenviado 
 De: Monica BM monica...@yahoo.es
 Para: lista Centos centos-es@centos.org
 Enviado: lun,18 octubre, 2010 11:44
 Asunto: [CentOS-es] Rutas estáticas.

 Buenas:
 Tengo un pequeño problema con las rutas estáticas:

 Se que para qeu estén fijos, es decir, qeu si reinicio las rutas sigan
 continuando, tengo qeu añadirlas al siguiente fichero:

 /etc/sysconfig/network-scripts/route-intfz

 Lo que no comprendo es cómo tengo que hacerlo, he estado leyendo
 documentación,
 pero no entiendo como tengo que configurarlo, pro ejemplo he seguido esta
 documentacion:


 http://www.guatewireless.org/os/linux/distros/debian/configurando-rutas-estaticas-en-sistemas-linux-debianubuntu-y-redhat/



 La oficial de Red Hat, e incluso aquí mismo en la lista.

 Mi Topología aproxiamda es la siguiente:

 RED
  Router  RED

 Router

  10.0.1.0 10.0.1.254 -
 10.0.2.254 10.0.2.0
 10.0.2.253 -10.0.3.254
 eth0eth1


   eth0   eth1


 Muy bien, entonces, lo que quiero es enrutar los paquetes que salgan de la
 10.0.1.0 y lleguen a la 10.0.3.0

 por línea de comandos creo que sería:

 ip route add 10.0.3.0/24 via 10.0.2.254 dev eth0

 Hace demasuiado qeu no hago nada con rutas estáticas y tengo un cacao muy
 majo.

 También me sirve una documentación que lo explique bien, por lo menos esta
 parte

 para dejar grabado las rutas aunque se reinicie.

 Un saludo y muchas gracias.



 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es

___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Reenviar correos.

2010-10-20 Thread Fernando Jesús Rojas de la Torre
Tengo una copiadora que no soporta autenticación en smtp ni tampoco
enviar por puerto que no sea el 25.

Mi intención es configurar un gateway para el correo de manera que el
mta de un centos acepte correo por el puerto 25 de esa copiadora y lo
empaquete y envíe por el 465 utilizando la autenticación de mi mta en
internet.

¿se puede hacer esto?


___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] sobre balanceo de carga y conexiones entrantes.

2010-10-20 Thread Mariano Cediel
Buenos días.
Dados 3 routers de 3 proveedores distintos (haciendo NAT) que me
permiten conectarme a internet.
Y un centos.router.
Según la documentación revisada, sabría montar con iproute2 un
balanceo para que el tráfico de la LAN lo repartiera entre los 3 ISP
(todos los ejemplos que he visto, se utilizan tantas interfaces
FISICAS como conexiones hay, pero entiendo que con una interface
interna y otra externa con varios alias funcionaría también ... no ?)

Mi otra pregunta es la siguiente [sobre las conexiones entrantes]
Supongamos que redirecciono el puerto 22 del router1 hacia el centos.router
Entrar, entra por el router1, y sale por ... ¿?
... por la que toque en ese momento ?
... o siempre sale por la que entra ?

Saludos

-- 

        [o - -  -   -    -      -
   (\   |                  u d t
   (  \_('              c c s
   (__(=_)             s o ?
      -=
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Rv: Rutas estáticas.

2010-10-20 Thread Sebastian Juarez
No te recomiendo usar rc.local para esto, dado que ante cualquier
problema de red perderás la config

Un ejemplo:
$ cat /etc/sysconfig/network-scripts/route-eth1
GATEWAY0=168.1.101.249
NETMASK0=255.255.255.0
ADDRESS0=192.168.100.0

GATEWAY1=168.1.101.249
NETMASK1=255.255.255.0
ADDRESS1=10.30.179.0

Para este caso son dos rutas estáticas, el equivalente en ip route es:

# ip route add 192.168.100.0/24 via 168.1.101.249 dev eth1
# ip route add 10.30.179.0/24 via 168.1.101.249 dev eth1

Si las quieres en la eth0, deberías crear el archivo como
/etc/sysconfig/network-scripts/route-eth0

Salu2

---
Sebastian Juárez
Mail: ssebb...@gmail.com
MSN: ssebb...@vafe.com.ar
ICQ: 9803305
()  ascii ribbon campaign
/\  www.asciiribbon.org
    against html e-mail
    against proprietary attachments



El día 20 de octubre de 2010 12:49, Hector Martínez Romo
pela...@gmail.com escribió:
 puedes escribirlas en el archivo /etc/rc.local

 El 18 de octubre de 2010 06:57, Monica BM monica...@yahoo.es escribió:

 Reenvío la topología de red que ha salido fatal en el primer correo.



 ==RED=Router=REDRouter ===

  =10.0.1.0-10.0.1.254 
 10.0.2.254-10.0.2.0 
 10.0.2.253..10.0.3.254


  ==eth0..eth1=== 
 eth0eth1



 Un saludo y muchas gracias.



 - Mensaje reenviado 
 De: Monica BM monica...@yahoo.es
 Para: lista Centos centos-es@centos.org
 Enviado: lun,18 octubre, 2010 11:44
 Asunto: [CentOS-es] Rutas estáticas.

 Buenas:
 Tengo un pequeño problema con las rutas estáticas:

 Se que para qeu estén fijos, es decir, qeu si reinicio las rutas sigan
 continuando, tengo qeu añadirlas al siguiente fichero:

 /etc/sysconfig/network-scripts/route-intfz

 Lo que no comprendo es cómo tengo que hacerlo, he estado leyendo
 documentación,
 pero no entiendo como tengo que configurarlo, pro ejemplo he seguido esta
 documentacion:


 http://www.guatewireless.org/os/linux/distros/debian/configurando-rutas-estaticas-en-sistemas-linux-debianubuntu-y-redhat/



 La oficial de Red Hat, e incluso aquí mismo en la lista.

 Mi Topología aproxiamda es la siguiente:

     RED
  Router                                          RED

             Router

  10.0.1.0                         10.0.1.254     -
 10.0.2.254                         10.0.2.0
 10.0.2.253     -    10.0.3.254
                                         eth0                    eth1


   eth0                   eth1


 Muy bien, entonces, lo que quiero es enrutar los paquetes que salgan de la
 10.0.1.0 y lleguen a la 10.0.3.0

 por línea de comandos creo que sería:

 ip route add 10.0.3.0/24 via 10.0.2.254 dev eth0

 Hace demasuiado qeu no hago nada con rutas estáticas y tengo un cacao muy
 majo.

 También me sirve una documentación que lo explique bien, por lo menos esta
 parte

 para dejar grabado las rutas aunque se reinicie.

 Un saludo y muchas gracias.



 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es

 ___
 CentOS-es 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] Evitar Relay access

2010-10-20 Thread Sebastian Juarez
Esto me sirvio bastante en su momento:
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,
check_policy_service unix:private/policy,
reject_unknown_recipient_domain,
reject_invalid_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unauth_pipelining,

smtpd_helo_restrictions = permit_mynetworks,
reject_invalid_helo_hostname,
reject_unknown_helo_hostname,
reject_non_fqdn_helo_hostname

smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain

---
Sebastian Juárez
Mail: ssebb...@gmail.com
MSN: ssebb...@vafe.com.ar
ICQ: 9803305
()  ascii ribbon campaign
/\  www.asciiribbon.org
    against html e-mail
    against proprietary attachments



El día 18 de octubre de 2010 20:48, Ing. Ernesto Pérez Estévez
cen...@nuestroserver.com escribió:
 Oct 18 09:54:51 lab postfix/smtpd[26018]: NOQUEUE: reject: RCPT from
 unknown[113.22.18.49]: 554 5.7.1g...@sportingparlor.com: Relay access
 denied; from=bronzes...@nicolaibrix.com  to=g...@sportingparlor.com
 proto=ESMTP helo=TAIHBSQC
 Oct 18 09:54:51 lab postfix/smtpd[26018]: NOQUEUE: reject: RCPT from
 unknown[113.22.18.49]: 554 5.7.1g...@sphvalue.com: Relay access denied;
 from=bronzes...@nicolaibrix.com  to=g...@sphvalue.com  proto=ESMTP
 helo=TAIHBSQC
 Oct 18 09:54:51 lab postfix/smtpd[26018]: lost connection after DATA from
 unknown[113.22.18.49]
 le está negando hacer relay, creo que no hay mucho de qué preocuparse,
 no te consumirá mucho espacio. y no es gran cosa en cuanto a carga.

 si te fijas son máquinas que vienen si reversa (algunas) quizá puedas
 tratar de implementar algún sistema de listas negras para que les
 bloqueen desde el mismo inicio. Esto reduciría el payload pues no
 llegarían a hacer mucho.. pero definitivamente sí irá a capa de aplicación.

 Es normal repito.. tienes que tomarlo con paciencia.
 saludos
 epe

 Oct 18 09:54:51 lab postfix/smtpd[26018]: disconnect from
 unknown[113.22.18.49]
 Oct 18 09:55:02 lab postfix/smtpd[26016]: connect from
 unknown[183.81.105.156]
 Oct 18 09:55:03 lab postfix/smtpd[26016]: NOQUEUE: reject: RCPT from
 unknown[183.81.105.156]: 554 5.7.1ro...@lend-america.com: Relay access
 denied; from=researcher...@quesavoir.com  to=ro...@lend-america.com
 proto=ESMTP helo=VQESPDXR
 Oct 18 09:55:04 lab postfix/smtpd[26016]: NOQUEUE: reject: RCPT from
 unknown[183.81.105.156]: 554 5.7.1ro...@lend-america.com: Relay access
 denied; from=computin...@prospectheightsrealestate.com  to=
 ro...@lend-america.com  proto=ESMTP helo=VQESPDXR
 Oct 18 09:55:04 lab postfix/smtpd[26016]: NOQUEUE: reject: RCPT from
 unknown[183.81.105.156]: 554 5.7.1ro...@lend-america.com: Relay access
 denied; from=backfire...@rpopros.com  to=ro...@lend-america.com
 proto=ESMTP helo=VQESPDXR
 Oct 18 09:55:05 lab postfix/smtpd[26016]: lost connection after DATA from
 unknown[183.81.105.156]
 Oct 18 09:55:05 lab postfix/smtpd[26016]: disconnect from
 unknown[183.81.105.156]




 ___
 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] Rv: Rutas estáticas.

2010-10-20 Thread carlos restrepo
Completamente de acuerdo con Sebastian, es mejor solución agregar las rutas
en el archivo /etc/sysconfig/network-scripts/route-ethX.


Saludos.

Carlos R.

El 20 de octubre de 2010 12:11, Sebastian Juarez ssebb...@gmail.comescribió:

 No te recomiendo usar rc.local para esto, dado que ante cualquier
 problema de red perderás la config

 Un ejemplo:
 $ cat /etc/sysconfig/network-scripts/route-eth1
 GATEWAY0=168.1.101.249
 NETMASK0=255.255.255.0
 ADDRESS0=192.168.100.0

 GATEWAY1=168.1.101.249
 NETMASK1=255.255.255.0
 ADDRESS1=10.30.179.0

 Para este caso son dos rutas estáticas, el equivalente en ip route es:

 # ip route add 192.168.100.0/24 via 168.1.101.249 dev eth1
 # ip route add 10.30.179.0/24 via 168.1.101.249 dev eth1

 Si las quieres en la eth0, deberías crear el archivo como
 /etc/sysconfig/network-scripts/route-eth0

 Salu2

 ---
 Sebastian Juárez
 Mail: ssebb...@gmail.com
 MSN: ssebb...@vafe.com.ar
 ICQ: 9803305
 ()  ascii ribbon campaign
 /\  www.asciiribbon.org
 against html e-mail
 against proprietary attachments



 El día 20 de octubre de 2010 12:49, Hector Martínez Romo
 pela...@gmail.com escribió:
  puedes escribirlas en el archivo /etc/rc.local
 
  El 18 de octubre de 2010 06:57, Monica BM monica...@yahoo.es escribió:
 
  Reenvío la topología de red que ha salido fatal en el primer correo.
 
 
 
  ==RED=Router=REDRouter
 ===
 
   =10.0.1.0-10.0.1.254
 10.0.2.254-10.0.2.0
 10.0.2.253..10.0.3.254
 
 
   ==eth0..eth1===
 eth0eth1
 
 
 
  Un saludo y muchas gracias.
 
 
 
  - Mensaje reenviado 
  De: Monica BM monica...@yahoo.es
  Para: lista Centos centos-es@centos.org
  Enviado: lun,18 octubre, 2010 11:44
  Asunto: [CentOS-es] Rutas estáticas.
 
  Buenas:
  Tengo un pequeño problema con las rutas estáticas:
 
  Se que para qeu estén fijos, es decir, qeu si reinicio las rutas sigan
  continuando, tengo qeu añadirlas al siguiente fichero:
 
  /etc/sysconfig/network-scripts/route-intfz
 
  Lo que no comprendo es cómo tengo que hacerlo, he estado leyendo
  documentación,
  pero no entiendo como tengo que configurarlo, pro ejemplo he seguido
 esta
  documentacion:
 
 
 
 http://www.guatewireless.org/os/linux/distros/debian/configurando-rutas-estaticas-en-sistemas-linux-debianubuntu-y-redhat/
 
 
 
  La oficial de Red Hat, e incluso aquí mismo en la lista.
 
  Mi Topología aproxiamda es la siguiente:
 
  RED
   Router  RED
 
  Router
 
   10.0.1.0 10.0.1.254 -
  10.0.2.254 10.0.2.0
  10.0.2.253 -10.0.3.254
  eth0eth1
 
 
eth0   eth1
 
 
  Muy bien, entonces, lo que quiero es enrutar los paquetes que salgan de
 la
  10.0.1.0 y lleguen a la 10.0.3.0
 
  por línea de comandos creo que sería:
 
  ip route add 10.0.3.0/24 via 10.0.2.254 dev eth0
 
  Hace demasuiado qeu no hago nada con rutas estáticas y tengo un cacao
 muy
  majo.
 
  También me sirve una documentación que lo explique bien, por lo menos
 esta
  parte
 
  para dejar grabado las rutas aunque se reinicie.
 
  Un saludo y muchas gracias.
 
 
 
  ___
  CentOS-es mailing list
  CentOS-es@centos.org
  http://lists.centos.org/mailman/listinfo/centos-es
 
 
 
 
  ___
  CentOS-es mailing list
  CentOS-es@centos.org
  http://lists.centos.org/mailman/listinfo/centos-es
 
  ___
  CentOS-es 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




-- 
Carlos Restrepo M.
Administrador de Sistemas
Profesional Linux LPI 101 - 102
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Squid e Iptables AYUDA

2010-10-20 Thread Walvis AM
hola a todos,

me he dispuesto configurar mi Squid de forma transparente y para estoy
siguiendo el manual de de la web
http://www2.linuxparatodos.net/web/comunidad/base-de-conocimiento/-/wiki/Base%20de%20Conocimiento/Servidor+Proxy

el cual dice textualmente y sito:

Configuración Squid Transparente Este tipo de configuración de squid
transparente, lo que hace es que conexiones son enrutadas al proxy sin hacer
ninguna configuración en los clientes para que tengan salida a internet.
Este tipo de configuración depende de reglas de nuestro firewall. Parámetro
http_port Solamente tendremos que configurar este parámetro para que se un
proxy transparente. Se le debe indicar la IP del servidor squid, puerto de
escucha y la palabra transparente.

http_port 3128

por

http_port 192.168.1.254:3128 transparent

Reglas del Firewall Para poder configurar este tipo de proxy transparente,
tendremos que configurar reglas de firewall, en nuestro caso usaremos reglas
de iptables ya que es la herramienta mas utilizada en todas distribuciones
GNU/Linux. Pero para que funcione de manera transparente debemos de aplicar
la siguiente regla en iptables.

iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT
--to-port 3128

Con esto estamos desviando el trafico que venga por la LAN que vaya por web
al puerto 3128. Con esto ya hicimos transparente nuestro proxy pero no se
pueden desplegar las paginas seguras, para eso necesitamos aplicar otras
reglas en iptables liberando el puerto 443, y lo hacemos de la siguiente
manera:

iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 443 -j REDIRECT
--to-port 3128

Habilitamos el reenvío de paquetes dentro de la red.

echo 1  /proc/sys/net/ipv4/ip_forward

Y Guardamos las reglas con el siguiente comando.

iptables-save  /etc/sysconfig/iptables

Reiniciamos el servicio de firewall

/etc/init.d/iptables restart

Con esto tendremos configurado nuestro squid transparente.
-

mi problema es que aun siguiendo esta guía, me da problemas a la hora de
reinicar el iptables

** aquí esta el reicicio del demonio***

# service iptables restart

Bad argument `80'

Bad argument `443'

Aplicando reglas del cortafuegos iptables: [  OK  ]

Cargando módulos iptables adicionales:ip_conntrack_netbios_[  OK  ]nntrack_ftp





*** Esta es la configuración que agregue en iptables, el resto viene
por defecto y no la toqué *



iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 80 -j REDIRECT --to-port
3128

iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 443 -j REDIRECT
--to-port 3128


gracias por adelantado

-- 
Ing. Walvis Acosta
Dpto. Técnico
IQ-Tech
Telef: (02) 2594943 (Quito-Ecuador)
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Squid e Iptables AYUDA

2010-10-20 Thread Roberto Panta Arcos

Te doy un alcance. yo tuve el mismo problema y le hice estos cambios y ahora mi 
proxy me da muy bien 
cambia esta línea:
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT --to-port 
3128

por (o weno agregale solo la segunda linea) :
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j DNAT --to 
192.168.1.254:3128
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT --to-port 
3128

Y borra las lineas de prerouting q van a ETH0

Espero q te ayude.


 Date: Wed, 20 Oct 2010 13:10:58 -0500
 From: walvi...@gmail.com
 To: centos-es@centos.org
 Subject: [CentOS-es] Squid e Iptables AYUDA
 
 hola a todos,
 
 me he dispuesto configurar mi Squid de forma transparente y para estoy
 siguiendo el manual de de la web
 http://www2.linuxparatodos.net/web/comunidad/base-de-conocimiento/-/wiki/Base%20de%20Conocimiento/Servidor+Proxy
 
 el cual dice textualmente y sito:
 
 Configuración Squid Transparente Este tipo de configuración de squid
 transparente, lo que hace es que conexiones son enrutadas al proxy sin hacer
 ninguna configuración en los clientes para que tengan salida a internet.
 Este tipo de configuración depende de reglas de nuestro firewall. Parámetro
 http_port Solamente tendremos que configurar este parámetro para que se un
 proxy transparente. Se le debe indicar la IP del servidor squid, puerto de
 escucha y la palabra transparente.
 
 http_port 3128
 
 por
 
 http_port 192.168.1.254:3128 transparent
 
 Reglas del Firewall Para poder configurar este tipo de proxy transparente,
 tendremos que configurar reglas de firewall, en nuestro caso usaremos reglas
 de iptables ya que es la herramienta mas utilizada en todas distribuciones
 GNU/Linux. Pero para que funcione de manera transparente debemos de aplicar
 la siguiente regla en iptables.
 
 iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT
 --to-port 3128
 
 Con esto estamos desviando el trafico que venga por la LAN que vaya por web
 al puerto 3128. Con esto ya hicimos transparente nuestro proxy pero no se
 pueden desplegar las paginas seguras, para eso necesitamos aplicar otras
 reglas en iptables liberando el puerto 443, y lo hacemos de la siguiente
 manera:
 
 iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 443 -j REDIRECT
 --to-port 3128
 
 Habilitamos el reenvío de paquetes dentro de la red.
 
 echo 1  /proc/sys/net/ipv4/ip_forward
 
 Y Guardamos las reglas con el siguiente comando.
 
 iptables-save  /etc/sysconfig/iptables
 
 Reiniciamos el servicio de firewall
 
 /etc/init.d/iptables restart
 
 Con esto tendremos configurado nuestro squid transparente.
 -
 
 mi problema es que aun siguiendo esta guía, me da problemas a la hora de
 reinicar el iptables
 
 ** aquí esta el reicicio del demonio***
 
 # service iptables restart
 
 Bad argument `80'
 
 Bad argument `443'
 
 Aplicando reglas del cortafuegos iptables: [  OK  ]
 
 Cargando módulos iptables adicionales:ip_conntrack_netbios_[  OK  ]nntrack_ftp
 
 
 
 
 
 *** Esta es la configuración que agregue en iptables, el resto viene
 por defecto y no la toqué *
 
 
 
 iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 80 -j REDIRECT --to-port
 3128
 
 iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 443 -j REDIRECT
 --to-port 3128
 
 
 gracias por adelantado
 
 -- 
 Ing. Walvis Acosta
 Dpto. Técnico
 IQ-Tech
 Telef: (02) 2594943 (Quito-Ecuador)
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es
  
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] pregunta sobre Qmail

2010-10-20 Thread Mario Villela Larraza
Tengo un vps con qmail al crearle un virtual host y agregarlo a qmail y
configurarlo con thunderbird recibe perfectamente los correos pero al
momento del envio lo realisa bien pero se queda atorado el proceso en
copiando en carpeta sent y de hai no pasa que es lo que puede estar
pasando y como lo puedo arreglar?



-- 
Mario Villela Larraza
mario.villelalarr...@gmail.com
Cel 0445512591926
Nextel ID 62*15*27621
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] pregunta sobre Qmail

2010-10-20 Thread Carlos Sura

Hola Mario Villela,
Ya verificaste los registros a ver si no muestran algun error?* Que 
configuracion estas usando?* Seguro que los protocolos estan bien?
A mi se me hace que ha de ser un breve error de configuracion.
Como referencia te dejo unos enlaces 
interesantes:http://qmailrocks.org/install_rh.htmhttp://ricardoisaza.blogspot.com/2007/06/configuracion-de-qmail-toaster.htmlhttp://linuxiandounrato.blogspot.com/2006/02/instalando-qmail-y-reemplazando.htmlhttp://www.shupp.org/toaster/
Son algo viejos pero te puede servir para verificar... Y a lo sumo creo que 
podria ser que necesitas qmailtoaster.
Exitos,Carlos Sura.-







 Date: Wed, 20 Oct 2010 22:30:31 -0500
 From: mario.villelalarr...@gmail.com
 To: centos-es@centos.org
 Subject: [CentOS-es] pregunta sobre Qmail
 
 Tengo un vps con qmail al crearle un virtual host y agregarlo a qmail y
 configurarlo con thunderbird recibe perfectamente los correos pero al
 momento del envio lo realisa bien pero se queda atorado el proceso en
 copiando en carpeta sent y de hai no pasa que es lo que puede estar
 pasando y como lo puedo arreglar?
 
 
 
 -- 
 Mario Villela Larraza
 mario.villelalarr...@gmail.com
 Cel 0445512591926
 Nextel ID 62*15*27621
 ___
 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] excel parser (preferably perl)?

2010-10-20 Thread Alexander Georgiev
 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.

Yep, there a few java excel libraries like:

http://jexcelapi.sourceforge.net/ - we are using this one for dumping
into excel spreadsheets ...

or

http://poi.apache.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Frank Cox

On Wed, 2010-10-20 at 09:39 +0300, Alexander Georgiev wrote:
 
 Yep, there a few java excel libraries like:

Interesting.  Are you aware of any similar libraries for C?
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread John R Pierce
  On 10/18/10 3:13 PM, Les Mikesell 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.

I suspect it would be easiest to implement this as a set of Excel macros 
that connect to your mysql with ODBC and write the data directly to your 
database.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Alexander Georgiev
2010/10/20 Frank Cox thea...@sasktel.net:
 Yep, there a few java excel libraries like:

 Interesting.  Are you aware of any similar libraries for C?

Nope, but you can always use the COM interface.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread mehdi
how
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread John R Pierce
On 10/20/10 1:11 AM, mehdi wrote:
 how

On Windows, Excel is all one big set of ActiveX objects with 100s of 
methods, you can programmatically dink around with most every aspect of it.




but, this whole thread has drifted far far away from CentOS and probably 
belongs on a completely different mail list.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum update

2010-10-20 Thread Ritika Garg
After giving command yum update openoffice the output is:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.aol.in
 * updates: ftp.oss.eznetsols.org
 * addons: centos.aol.in
 * extras: centos.aol.in
Setting up Update Process
No Packages marked for Update
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Antwort: yum update

2010-10-20 Thread Andreas Reschke
centos-boun...@centos.org wrote on 20.10.2010 11:27:45:

 Ritika Garg ritikagar...@gmail.com 
 Gesendet von: centos-boun...@centos.org
 
 20.10.2010 11:28
 
 Bitte antworten an
 CentOS mailing list centos@centos.org
 
 An
 
 centos@centos.org
 
 Kopie
 
 Thema
 
 [CentOS] yum update
 
 After giving command yum update openoffice the output is:
 
 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
  * base: centos.aol.in
  * updates: ftp.oss.eznetsols.org
  * addons: centos.aol.in
  * extras: centos.aol.in
 Setting up Update Process
 No Packages marked for Update
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Hi Ritika,
what would you say with this? Your openoffice would be uptodate (the 
centos-version, not the version from openoffice.org, which should be a 
newer one)

Andreas___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update

2010-10-20 Thread Sorin Srbu
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Ritika Garg
Sent: Wednesday, October 20, 2010 11:28 AM
To: centos@centos.org
Subject: [CentOS] yum update

After giving command yum update openoffice the output is:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.aol.in
 * updates: ftp.oss.eznetsols.org
 * addons: centos.aol.in
 * extras: centos.aol.in
Setting up Update Process
No Packages marked for Update

So? What’s your question?

-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Kevin Thorpe
  On 19/10/2010 17:48, Toby Bluhm wrote:
 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.
This might be coming out of left field but I have an Excel add-in 
which, among other things, packs up Excel spreadsheets and posts the 
content in blocks to a web server as csv. The other clever bit is that 
it works on column headings so that it doesn't break if users 
add/remove/switch columns. It also provides an acknowledgement mechanism 
which colours and comments a cell for each line so you can notify if the 
line looks borked to the server.

It does the opposite as well. Using an embedded web browser to find and 
select info then the server presents an html table which the add-in 
unpacks into the spreadsheet.

If anyone wants it then please ask off-list. I'll need to strip some of 
the functionality out as it's confidential business process info.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Net CD/DVD writer

2010-10-20 Thread admin lewis
Hi,
i'm looking for a net cd writer software. I've found webcdwriter
(http://joerghaeger.de/webCDwriter/) but it seems not more upgraded.
Anyone know something else ?
thx lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-20 Thread fred smith
On Tue, Oct 19, 2010 at 07:34:19PM -0700, Nataraj wrote:
 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!
 
  

Re: [CentOS] yum update

2010-10-20 Thread Peter Kjellstrom
On Wednesday 20 October 2010, Ritika Garg wrote:
 After giving command yum update openoffice the output is:

There isn't really one package called openoffice so running the above command 
is no better than yum update abcdefghijkl.

What you probably want to do is to update all packages (yum update).

The output below is also a bit strange. Giving yum update an incorrect pkg 
name should result in something like this added to the output:

 No Match for argument: openoffice

What are you running exactly?

/Peter

 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
  * base: centos.aol.in
  * updates: ftp.oss.eznetsols.org
  * addons: centos.aol.in
  * extras: centos.aol.in
 Setting up Update Process
 No Packages marked for Update


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Les Mikesell
On 10/20/10 3:11 AM, Alexander Georgiev wrote:
 2010/10/20 Frank Coxthea...@sasktel.net:
 Yep, there a few java excel libraries like:

 Interesting.  Are you aware of any similar libraries for C?

 Nope, but you can always use the COM interface.

But that only works under windows...

---
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-20 Thread Rob Kampen




fred smith wrote:

  On Tue, Oct 19, 2010 at 07:34:19PM -0700, Nataraj wrote:
  
  
fred smith wrote:helppain/backups/disks/

  

snip

  
Well, I've already tried to use --fail and --remove on md125 and md126
but I'm told the members are still active.

mdadm /dev/md126 --fail /dev/sdb1 --remove /dev/sdb1
mdadm /dev/md125 --fail /dev/sdb2 --remove /dev/sdb2

	mdadm /dev/md126 --fail /dev/sdb1 --remove /dev/sdb1
	mdadm: set /dev/sdb1 faulty in /dev/md126
	mdadm: hot remove failed for /dev/sdb1: Device or resource busy

with the intention of then re-adding them to md0 and md1.

so I tried:

mdadm /dev/md0 --fail /dev/sda1 --remove /dev/sda1
and got a similar message. 

at which point I knew I was in over my head.

  

it appears that the devices are mounted - need to umount first??

  
  
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

  
  
  



attachment: rkampen.vcf___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OpenLDAP, PAM, GDM Configuration on CentOS 5.5

2010-10-20 Thread Trevor T Kates
Hello:

I am currently establishing a LDAP installation for my department and hope to 
get a little help on some of the finer details of the configuration. OpenLDAP 
2.3.43-12 is currently installed, configured and running on one of my servers 
with a few client installations querying authentication information from it. 
The ppolicy schema has been added to the configuration and a password policy 
has been added to the directory under 
cn=default,ou=Policies,dc=domain,dc=com. Users are able to authenticate 
properly on the client machines to at least login; however, I have been unable 
to achieve the following functions:
- Force user to change password on first login and display a prompt from gdm to 
facilitate the change
- Lock user account from access and display a message from gdm to that fact

These workstations are being used in a restricted mode so that the user may 
only work within X and may not open a terminal.

Any help with this particular problem would be appreciated.

Thanks.


Trevor T. Kates
Associate Software Systems Engineer



CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.___
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

2010-10-20 Thread Ross Walker
On Oct 19, 2010, at 7:34 PM, Aleksey Tsalolikhin atsaloli.t...@gmail.com 
wrote:

 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

 109dirty_expire_centisecs
 110
 111This tunable is used to define when dirty data is old enough to be 
 eligible
 112for writeout by the pdflush daemons.  It is expressed in 100'ths
 of a second.
 113Data which has been dirty in-memory for longer than this interval will 
 be
 114written out next time a pdflush daemon wakes up.

There are several dirty tunables, try a 'sysctl -a | grep dirty'

Try limiting both the amount if dirty memory to hold and the number of seconds 
to hold it. Defaults are way too liberal and if you are processing a lot of 
data can both expose you to extreme data loss in a system failure and bottle 
neck your storage during pdflush.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Can we use gstreamer bad, ugly and ffmpeg packages ( installed using binary rpms) without any legal problems

2010-10-20 Thread praveenya kumar
Hi

We are using centos 5.3 Operating system. It comes with basic gstreamer
setup including gstreamer, gstreamer-tools, gstreamer-plugins-base and
gstreamer-plugins-good packages. To support different media formats we had
to install gstreamer-plugins-bad, gstreamer-plugins-ugly and
gstreamer-plugins-ffmpeg from third party repository like rpmfusion as
centos repository is not providing these packages. My question is, Can we
use these packages ( bad, ugly and ffmpeg) without any legal or licensing
issues? If No, Please tell the legal way of using them.

thanks
G Praveen
___
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

2010-10-20 Thread JohnS

On Tue, 2010-10-19 at 16:34 -0700, Aleksey Tsalolikhin wrote:
 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.
 

Maybe add in this also vm.dirty_ratio = 50  Start at 0 and work your way
up.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can we use gstreamer bad, ugly and ffmpeg packages ( installed using binary rpms) without any legal problems

2010-10-20 Thread Karanbir Singh
Hi,

On 10/20/2010 02:33 PM, praveenya kumar wrote:
 we use these packages ( bad, ugly and ffmpeg) without any legal or
 licensing issues? If No, Please tell the legal way of using them.

The only person who can answer that question definitively is your 
lawyer; Also, it depends on where you are, where you machine is, where 
your code is and how/ what you are doing with it. So, speak to your 
lawyer. (S)He's the person who will need to prep your legal case should 
it ever come to that.

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-20 Thread Rudi Ahlers
On Wed, Oct 20, 2010 at 4:34 AM, Nataraj incoming-cen...@rjl.com wrote:
 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

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




How do you add  --bitmap=internal to an existing, running RAID set? I
have tried with the command above but got the following error:


[r...@intranet ~]# mdadm /dev/md2 --bitmap=internal
mdadm: -b cannot have any extra immediately after it, sorry.
[r...@intranet ~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hda1[0]
  104320 blocks [2/1] [U_]

md2 : active raid1 sda1[0] sdb1[1]
  244195904 blocks [2/2] [UU]

md1 : active raid1 hda2[0]
  244091520 blocks [2/1] [U_]




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] undefined reference when linking against libresolv

2010-10-20 Thread Sergio Belkin
Hi,


I have a project that is a library that links against libresolv,
It works fine on recent distros: Ubuntu 10.x  Fedora 13, Mandriva
2010.1 but on Centos 5.x I get the following errors


glibc installed is: glibc-2.5-18.el5_1.1

g++ -DHAVE_CONFIG_H -I.  -I./include -I/usr/include/postgresql  -O3
-ansi   -Wall -Wno-deprecated  -D_FORTIFY_SOURCE=0 -MT testUpLog.o -MD
-MP -MF .deps/testUpLog.Tpo -c -o testUpLog.o testUpLog.cc
mv -f .deps/testUpLog.Tpo .deps/testUpLog.Po
/bin/sh ./libtool --tag=CXX   --mode=link g++  -O3 -ansi   -Wall
-Wno-deprecated  -D_FORTIFY_SOURCE=0  -L/usr/lib64 -L/lib64
-L/usr/lib64/mysql -o testUpLog testUpLog.o libUpTools.la -lpq
-lmysqlclient -lssl -lpthread
libtool: link: g++ -O3 -ansi -Wall -Wno-deprecated -D_FORTIFY_SOURCE=0
-o .libs/testUpLog testUpLog.o  -L/usr/lib64 -L/lib64
-L/usr/lib64/mysql ./.libs/libUpTools.so -lpq -lmysqlclient -lssl
-lpthread
./.libs/libUpTools.so: undefined reference to `__ns_name_uncompress'
./.libs/libUpTools.so: undefined reference to `__ns_initparse'
./.libs/libUpTools.so: undefined reference to `__ns_parserr'
collect2: ld returned 1 exit status
make[1]: *** [testUpLog] Error 1
make[1]: Leaving directory `/tmp/UpTools-8.5.3'
make: *** [check-am] Error 2


library.la file contains:
dlname='libUpTools.so.0'
library_names='libUpTools.so.0.0.0 libUpTools.so.0 libUpTools.so'
old_library='libUpTools.a'
inherited_linker_flags=''
dependency_libs=' -L/usr/lib64 -L/lib64 -L/usr/lib64/mysql -lpq
-lmysqlclient -lssl -lpthread'
weak_library_names=''
current=0
age=0
revision=0
installed=no
shouldnotlink=no
dlopen=''
dlpreopen=''
libdir='/usr/lib'


You can read my files on pastebin.com

*configure.ac

http://pastebin.com/hs5q21Rq

*Makefile.am;

http://pastebin.com/KW1sGZve

Thanks in advance


-- 
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] undefined reference when linking against libresolv

2010-10-20 Thread m . roth
Hi, Sergio,

Sergio Belkin wrote:

 I have a project that is a library that links against libresolv,
 It works fine on recent distros: Ubuntu 10.x  Fedora 13, Mandriva
 2010.1 but on Centos 5.x I get the following errors

I'd assume that your undefined references were added in later versions of
glibc. Remember that Fedora 13, for example, has more recent libraries, in
some cases, with enhancements to the ones in CentOS. CentOS 5/RHEL 5 are
based on FC 6 or so. With these, you get stability, but not the newest
releases of some libraries.

  mark and you don't usually need to debug the o/s

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] libmpeg2-utils

2010-10-20 Thread m . roth
Trying to update a user's system, and yum gives up, because it wants to
update libmpeg2, and there's a dependency - the currently installed
version is required by libmpeg2-utils, and there seems to be no update to
that. Anyone have an idea why this is the case? I really don't want to add
another repo just for this workstation, when libmpeg2 does have an update
in its current repos.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 68, Issue 9

2010-10-20 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of CentOS-announce digest...


Today's Topics:

   1. CEBA-2010:0776 CentOS 5 i386 kexec-tools Update (Karanbir Singh)
   2. CEBA-2010:0776 CentOS 5 x86_64 kexec-tools Update (Karanbir Singh)
   3. CEBA-2010:0777  CentOS 5 i386 sudo Update (Karanbir Singh)
   4. CEBA-2010:0777  CentOS 5 x86_64 sudo Update (Karanbir Singh)


--

Message: 1
Date: Mon, 18 Oct 2010 22:15:28 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CEBA-2010:0776 CentOS 5 i386 kexec-tools
Update
To: centos-annou...@centos.org
Message-ID: 20101018221528.ga20...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


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



--

Message: 2
Date: Mon, 18 Oct 2010 22:15:28 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CEBA-2010:0776 CentOS 5 x86_64 kexec-tools
Update
To: centos-annou...@centos.org
Message-ID: 20101018221528.ga20...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


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



--

Message: 3
Date: Tue, 19 Oct 2010 14:55:29 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CEBA-2010:0777  CentOS 5 i386 sudo Update
To: centos-annou...@centos.org
Message-ID: 20101019145529.ga6...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


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



--

Message: 4
Date: Tue, 19 Oct 2010 14:55:29 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CEBA-2010:0777  CentOS 5 x86_64 sudo Update
To: centos-annou...@centos.org
Message-ID: 20101019145529.ga6...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


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-annou...@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


End of CentOS-announce Digest, Vol 68, Issue 9
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] chroot from 32-bit to 64-bit filesystem?

2010-10-20 Thread Scott Johnson
I have a 32-bit PXE environment and I want to chroot to a CentOS x64 root
filesystem.  Of course that doesn't work.  Any tricks or hacks that would
allow me to do that?  Currently I get the error:

chroot: /bin/bash: Exec format error

What if I updated my PXE environment to 64-bit.  Could I then chroot to a
32-bit?
I use PXE to quickly troubleshoot both 32-bit and 64-bit arch.

Thanks.
-Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Disk Problem???

2010-10-20 Thread John Kennedy
Every few hours we get the following in /var/log/messages:

Oct 19 20:56:20 wltracp1a kernel: mptscsi: ioc0: bus reset: SUCCESS
(sc=010190c56080)
Oct 19 20:56:20 wltracp1a kernel: mptscsi: ioc0: attempting task abort!
(sc=010190c56080)
Oct 19 20:56:20 wltracp1a kernel: scsi4 : destination target 2, lun 0
Oct 19 20:56:20 wltracp1a kernel: command = Test Unit Ready 00 00 00
00 00
Oct 19 20:56:20 wltracp1a kernel: mptbase: ioc0: IOCStatus=8048
LogInfo=3114 Originator={PL}, Code={IO Executed}, SubCode(0x)
Oct 19 20:56:20 wltracp1a kernel: mptscsi: ioc0: task abort: SUCCESS
(sc=010190c56080)
Oct 19 20:56:20 wltracp1a kernel: mptscsi: ioc0: Attempting host reset!
(sc=010190c56080)
Oct 19 20:56:20 wltracp1a kernel: mptbase: Initiating ioc0 recovery
Oct 19 20:56:20 wltracp1a kernel: mptscsi: ioc0: attempting task abort!
(sc=010190c56080)
Oct 19 20:56:20 wltracp1a kernel: scsi4 : destination target 2, lun 0
Oct 19 20:56:20 wltracp1a kernel: command = Test Unit Ready 00 00 00
00 00
Oct 19 20:56:20 wltracp1a kernel: mptbase: ioc0: IOCStatus=8048
LogInfo=3114 Originator={PL}, Code={IO Executed}, SubCode(0x)
Oct 19 20:56:20 wltracp1a kernel: mptscsi: ioc0: task abort: SUCCESS
(sc=010190c56080)
Oct 19 20:56:21 wltracp1a kernel: scsi: Device offlined - not ready after
error recovery: host 4 channel 0 id 2 lun 0

We are running CentOS 4.6 on Sun x4600 hardware with a connection to a
NetApp filer. The box has 3 X 146 GB hard drives. We know that one of the
drives (set in LSI as a failed Hot Spare) has failed but that is in slot 0
and should not be an issue here.
Any ideas on what is breaking?
Thanks,
John

-- 
 John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] chroot from 32-bit to 64-bit filesystem?

2010-10-20 Thread RedShift
  On 10/20/10 19:23, Scott Johnson wrote:
 I have a 32-bit PXE environment and I want to chroot to a CentOS x64 root 
 filesystem.  Of course that doesn't work.  Any tricks or hacks that would 
 allow me to do that?  Currently I get the error:

 chroot: /bin/bash: Exec format error

 What if I updated my PXE environment to 64-bit.  Could I then chroot to a 
 32-bit?
 I use PXE to quickly troubleshoot both 32-bit and 64-bit arch.

 Thanks.
 -Scott


Booting an x86-64 kernel with the proper config options set to enable execution 
of 32 bit binaries should allow you to do that. I think.


Glenn
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-20 Thread Peter Crighton
On Fri, 08 Oct 2010 16:25:26 -0700, you wrote:

on 10-6-2010 2:27 PM Robert Heller spake the following:
 At Wed, 06 Oct 2010 21:33:25 +0100 CentOS mailing list centos@centos.org 
 wrote:
 

 My system is: 
 Intel CC820 motherboard (which supports PME# wake up for wake on LAN)
 3com 3C905C which also supports wake on LAN via PME#
 Linux 5.5

 The motherboard BIOS is later than one that reports an issue with WOL
 and this particular network card was fixed.


 
If the card goes dark when the system is off but still plugged in, the card
does not get its power and signal from the pci bus and will need the header
cable plugged in. There is no other way... The card HAS to be powered from
somewhere at all times so it can activate the system.


I have now purchased a WOL cable but that has not helped.

There are no options in the BIOS for WOL and I have updated to the
latest.

I have found this page http://ubuntuforums.org/showthread.php?t=951563
which refers to using pci-config to force the bus power to be left on
for the card prior to shutting down. Could this be the problem and if
so where do I get pci-config (or the equivalent) for Centos as I can't
identify a package to install that.
___
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

2010-10-20 Thread Peter Crighton
On Mon, 18 Oct 2010 17:35:05 +0100, you 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.



ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2

Hopefully that should do the trick.

Unfortunately not.


Thanks for the suggestions - I had another look at the Adaptec site
and identified that there was a later version of the storage manager
and that installed without complaint. Followed by one more install due
to a thread exception (solved with a search on the web) it now works.
(Sorry to have wasted time - I could have got that installed first go
myself!)

Out of interest, I believe that ln tells Linux to use one file as
another (a link) but under what condition is it OK to make the link as
suggested?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-20 Thread Steve Clark

On 10/20/2010 01:53 PM, Peter Crighton wrote:

On Fri, 08 Oct 2010 16:25:26 -0700, you wrote:

   

on 10-6-2010 2:27 PM Robert Heller spake the following:
 

At Wed, 06 Oct 2010 21:33:25 +0100 CentOS mailing listcentos@centos.org  
wrote:

   

My system is:
Intel CC820 motherboard (which supports PME# wake up for wake on LAN)
3com 3C905C which also supports wake on LAN via PME#
Linux 5.5

The motherboard BIOS is later than one that reports an issue with WOL
and this particular network card was fixed.

 
   
   

If the card goes dark when the system is off but still plugged in, the card
does not get its power and signal from the pci bus and will need the header
cable plugged in. There is no other way... The card HAS to be powered from
somewhere at all times so it can activate the system.
 


I have now purchased a WOL cable but that has not helped.

There are no options in the BIOS for WOL and I have updated to the
latest.

I have found this page http://ubuntuforums.org/showthread.php?t=951563
which refers to using pci-config to force the bus power to be left on
for the card prior to shutting down. Could this be the problem and if
so where do I get pci-config (or the equivalent) for Centos as I can't
identify a package to install that.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

   
To get mine to work under fedora I had to run ethtool and turn on the 
wol option.
Also it seemed to get reset after used wol to start it up so in my 
rc.local I put

/sbin/ethtool -s eth1 wol g
/sbin/ethtool -s eth0 wol g

HTH,
Steve


--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing Adaptec Storage Manager - needs libstdc++-libc6.1-1.so.2

2010-10-20 Thread m . roth
Peter Crighton wrote:
 On Mon, 18 Oct 2010 17:35:05 +0100, you 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.
ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
snip
 Out of interest, I believe that ln tells Linux to use one file as
 another (a link) but under what condition is it OK to make the link as
 suggested?

Often, though not always, you can make a symbolic link downwards. Trying
to make a link upwards, that is, from an older release to a newer (ln -s
libwhatever.1 libwhatever.2) most probably won't work, since entry points,
or function names, may have been changed or modified.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] problem regarding rpmbuild : creating rpm for python files

2010-10-20 Thread saurabh verma
HI people ,

I am not sure whether this is right mailing list for this question , but i
tried subscribing to redhat rpm list , failed to do so .

I'm facing a issue while creating RPM for python punjab
http://code.stanziq.com/punjab/

I've created a spec file which contains the list of files to packaged

http://pastie.org/1236027

And when i try to run rpmbuild -ba command on this spec file , rpmbuild
tried to optimize the python byte coded files , which i can see from ( i
guess macros )+ /usr/lib/rpm/brp-python-bytecompile , and fails after
that .

http://pastie.org/1236040

please help me about controlling this behaviour so that I can skip the
brp-python-bytecompile section .

Thanks in advance ,
Saurabh Verma
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-20 Thread Steve Clark

On 10/20/2010 02:13 PM, cen...@crighton.me.uk wrote:

On Wed, 20 Oct 2010 14:04:51 -0400, you wrote:


   

To get mine to work under fedora I had to run ethtool and turn on the
wol option.
Also it seemed to get reset after used wol to start it up so in my
rc.local I put
/sbin/ethtool -s eth1 wol g
/sbin/ethtool -s eth0 wol g
 

ethtool -s eth0 wol g results in a message Cannot get current
wake-on-lan settings: Operation not supported even though both the
motherboard and NIC do support WOL.

   

Hmm...

[r...@centostest ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x0007 (7)
Link detected: yes
[r...@centostest ~]# ethtool -s eth0 wol g
[r...@centostest ~]# uname -a
Linux centostest 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 
i686 athlon i386 GNU/Linux

[r...@centostest ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x0007 (7)
Link detected: yes
[r...@centostest ~]#

--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not receiving mail

2010-10-20 Thread Dotan Cohen
Got it! I had to set these three last values:
postconf -e 'mydomain = sharingcenter.eu'
postconf -e 'myhostname - mail.sharingcenter.eu'
postconf -e 'myhostname = mail.sharingcenter.eu'
postconf -e 'mynetworks = 178.63.65.136'
postconf -e 'mydestination = $myhostname, localhost.$mydomain,
localhost, sharingcenter.eu, mail.sharingcenter.eu'

I thank you guys for your patience and help. I just spent a good few
hours googling today and working my way around blogs, documentation,
howto articles, forum posts, mailing list archives, and the like. I
wouldn't have even known what to google for without the patient and
helpful assistance I've received here. When it is said that CentOS is
a Community ENTerprise Operating System be there no mistake!

Cold beer for anyone visiting Israel soon!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-20 Thread Rob Kampen

Rudi Ahlers wrote:

On Wed, Oct 20, 2010 at 4:34 AM, Nataraj incoming-cen...@rjl.com wrote:
  

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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos






How do you add  --bitmap=internal to an existing, running RAID set? I
have tried with the command above but got the following error:

  

try mdadm /dev/md2 -Gb internal
also it pays to have everything clean first and check you have a 
persistent superblock

i.e. mdadm -D /dev/md2
HTH

[r...@intranet ~]# mdadm /dev/md2 --bitmap=internal
mdadm: -b cannot have any extra immediately after it, sorry.
[r...@intranet ~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hda1[0]
  104320 blocks [2/1] [U_]

md2 : active raid1 sda1[0] sdb1[1]
  244195904 blocks [2/2] [UU]

md1 : active raid1 hda2[0]
  244091520 blocks [2/1] [U_]




  


attachment: rkampen.vcf___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Natxo Asenjo
On Tue, Oct 19, 2010 at 12:13 AM, Les Mikesell lesmikes...@gmail.com 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.

No idea about the csv from excel, but I have had good experiences with
Text::CSV_XS.

-- 
natxo
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Kahlil Hodgson
On 10/19/2010 09:13 AM, Les Mikesell wrote:
...
 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?  
...
 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.

Looking at the changelog, version .57 of perl-Spreadsheet-ParseExcel
fixes some of the above issues.  Not clear from the above whether you
have tried it or not.  The developers would probably be very interested
in any examples that break the parser.

Kal


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Les Mikesell
On 10/20/2010 3:49 PM, Kahlil Hodgson wrote:
 On 10/19/2010 09:13 AM, Les Mikesell wrote:
 ...
 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?
 ...
 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.

 Looking at the changelog, version .57 of perl-Spreadsheet-ParseExcel
 fixes some of the above issues.  Not clear from the above whether you
 have tried it or not.  The developers would probably be very interested
 in any examples that break the parser.

I just went as far as seeing it wouldn't take .xlsx (2007+ default 
format).   It does look like the rpmforge .57 version will accept the 
.xls format file, although I think it seems slower than loading excel 
and doing a 'save as' to get the csv.  For numbers, cell-unformatted() 
would give a real number instead of having to yank the commas out of the 
csv or $cell-value() versions, but dates don't look like what sql wants 
either way.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
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

2010-10-20 Thread Lamar Owen
On Monday, October 18, 2010 09:25:41 pm 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.
[snip]
 He also tried CentOS 5.5, and saw a pdflush process popping
 up with the same frequency, and resulting in a similar glitch.
 
 Any other suggestions?

What kind of hard drive is this?  How is/are your drive(s) set up?

You need the iostat program (in the sysstat package, I think) to give you more 
detail; there are some pointers to its use in this list's archives.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread JohnS

On Wed, 2010-10-20 at 16:46 -0500, Les Mikesell wrote:

 I just went as far as seeing it wouldn't take .xlsx (2007+ default 
 format).   It does look like the rpmforge .57 version will accept the 
 .xls format file, although I think it seems slower than loading excel 
 and doing a 'save as' to get the csv.  For numbers, cell-unformatted() 
 would give a real number instead of having to yank the commas out of the 
 csv or $cell-value() versions, but dates don't look like what sql wants 
 either way.
 
---
Looks very promising for at least reading.  Is interesting to me also
because I have many excel files.
http://pypi.python.org/pypi/xlrd

John


___
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

2010-10-20 Thread Aleksey Tsalolikhin
Thanks, Ross, JohnS and Lamar for your kind responses.  It turned out
my friend is using 7200 RPM disk for his write-lots-of-little-files activity
so we're looking at upgrading that to 15000 RPM or getting him a FusionIO
memory card.

Thank you!

Aleksey


On Wed, Oct 20, 2010 at 2:50 PM, Lamar Owen lo...@pari.edu wrote:
 On Monday, October 18, 2010 09:25:41 pm 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.
 [snip]
 He also tried CentOS 5.5, and saw a pdflush process popping
 up with the same frequency, and resulting in a similar glitch.

 Any other suggestions?

 What kind of hard drive is this?  How is/are your drive(s) set up?

 You need the iostat program (in the sysstat package, I think) to give you 
 more detail; there are some pointers to its use in this list's archives.
 ___
 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] chroot from 32-bit to 64-bit filesystem?

2010-10-20 Thread Gordon Messmer
On 10/20/2010 10:23 AM, Scott Johnson wrote:
 What if I updated my PXE environment to 64-bit.  Could I then chroot to
 a 32-bit?
 I use PXE to quickly troubleshoot both 32-bit and 64-bit arch.

I'm pretty sure that you can run 64 bit executables only when you're 
running a 64 bit kernel.  If you install and run a 64 bit kernel in your 
system without changing anything else, you should be able to chroot to a 
64 bit environment.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Gary Greene
On 20/10/10 2:46 PM, Les Mikesell lesmikes...@gmail.com wrote:
 On 10/20/2010 3:49 PM, Kahlil Hodgson wrote:
 On 10/19/2010 09:13 AM, Les Mikesell wrote:
 ...
 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?
 ...
 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.
 
 Looking at the changelog, version .57 of perl-Spreadsheet-ParseExcel
 fixes some of the above issues.  Not clear from the above whether you
 have tried it or not.  The developers would probably be very interested
 in any examples that break the parser.
 
 I just went as far as seeing it wouldn't take .xlsx (2007+ default
 format).   It does look like the rpmforge .57 version will accept the
 .xls format file, although I think it seems slower than loading excel
 and doing a 'save as' to get the csv.  For numbers, cell-unformatted()
 would give a real number instead of having to yank the commas out of the
 csv or $cell-value() versions, but dates don't look like what sql wants
 either way.

Les,

You might want to look at Spreadsheet::XLSX:

http://search.cpan.org/~dmow/Spreadsheet-XLSX-0.13-withoutworldwriteables/li
b/Spreadsheet/XLSX.pm

It can read XLSX files from a quick read of the CPAN page.

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:   (650) 704-6633
Office: (408) 240-1239


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] chroot from 32-bit to 64-bit filesystem?

2010-10-20 Thread Mark Pryor


--- On Wed, 10/20/10, RedShift redsh...@pandora.be wrote:

 From: RedShift redsh...@pandora.be
 Subject: Re: [CentOS] chroot from 32-bit to 64-bit filesystem?
 To: CentOS mailing list centos@centos.org
 Date: Wednesday, October 20, 2010, 10:40 AM
   On 10/20/10 19:23, Scott
 Johnson wrote:
  I have a 32-bit PXE environment and I want to chroot
 to a CentOS x64 root filesystem.  Of course that
 doesn't work.  Any tricks or hacks that would allow me
 to do that?  Currently I get the error:
 
  chroot: /bin/bash: Exec format error
 
  What if I updated my PXE environment to 64-bit. 
 Could I then chroot to a 32-bit?
  I use PXE to quickly troubleshoot both 32-bit and
 64-bit arch.
 
  Thanks.
  -Scott
 
 
 Booting an x86-64 kernel with the proper config options set
 to enable execution of 32 bit binaries should allow you to
 do that. I think.
 
 
 Glenn

Yes - chroot from x86_64 to i386 works fine.

Here's a fairly complete method to setup enough of a chroot to use yum and rpm. 
The host is x86_64 and the chroot will be i386 in LVM.

http://paste.ubuntu.com/517149/

-- 
Mark



  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why WOL? ( WAS: Re: Getting Wake on lan to work )

2010-10-20 Thread Drew
 You need to do * and you don't want it running wasting power while
 you don't need it?

So in summary, none of my uses. ;-)

VMware covers the server side, and the client PC's go to standby mode
till a timer wakes them up to scan for updates.

-- 
Drew

Nothing in life is to be feared. It is only to be understood.
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not receiving mail

2010-10-20 Thread Ben McGinnes
On 21/10/10 6:17 AM, Dotan Cohen wrote:
 
 I thank you guys for your patience and help.

No problem.

 I just spent a good few hours googling today and working my way
 around blogs, documentation, howto articles, forum posts, mailing
 list archives, and the like. I wouldn't have even known what to
 google for without the patient and helpful assistance I've received
 here. When it is said that CentOS is a Community ENTerprise
 Operating System be there no mistake!

Heh.  It probably helps that I'm also subscribed to the postfix-users
mailing list, which frequently addresses issues like this.  I highly
recommend it for anyone running postfix, even just as a lurker.  Also,
Wietse posts regularly to that list.

 Cold beer for anyone visiting Israel soon!

If I could afford to visit, I'd take you up on that!  :)


Regards,
Ben



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] black display during installation of CentOS5.5

2010-10-20 Thread Ritika Garg
I had posted the following question 4-5 days ago. I want to add something to
the question which is important. The question was:
During installation of CentOS5.3 from DVD, the installation was interrupted
due to an error in a rpm package as the DVD had lot of scratches. So I
burned image of CentOS5.5 on DVD. I selected installation in graphical mode.
The first graphical interface screen comes from where we proceed further by
clicking next. This screen is almost black and its impossible to carry out
further installation as visibility is very poor.
I was trying above for Dell Inspiron laptop which has Windows7 installed on
it. I checked the CentOS5.5 DVD on another system which is desktop and found
that the graphical interface is perfectly alright there. So is there any
setting that has to be done in the laptop?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos