Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread dnk
Instructions at the bottom of every email.

Go to:
http://lists.centos.org/mailman/listinfo/centos-docs


d

__
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs
On 27-Apr-09, at 2:59 PM, Vladimir Freidin wrote:

 how do i remove from your emails!
 i subscribed ti an email forums without knowing that.
 i am sick of zillion emails here about crap!


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


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread donavan nelson
dnk wrote:
 Instructions at the bottom of every email.
 
 Go to:
 http://lists.centos.org/mailman/listinfo/centos-docs
 
 
 d
 
 __
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
 On 27-Apr-09, at 2:59 PM, Vladimir Freidin wrote:
 
 how do i remove from your emails!
 i subscribed ti an email forums without knowing that.
 i am sick of zillion emails here about crap!

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

That is EXPECTING much more than some people are capable of.  Even with 
screen shots, flashing arrows, crayons, and sippy cups.

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


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread PJ Welsh
On Mon, Apr 27, 2009 at 5:45 PM, JohnS jse...@gmail.com wrote:


 On Mon, 2009-04-27 at 14:53 -0400, Phil Schaffner wrote:
  http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
 ---\
 After installing a new kernel, repeat Section Three.

 That has got to be BS. There has to be a better way and easier way. I
 just read the article. I need to think on that one. I have never heard
 of that.

 What happen to using mdadm instead of dd?

 ...


mdadm can resync, but so can the /proc with:
echo check  /sys/block/md#/md/sync_action for CentOS 5.x where # is the
number. In fact, if you don't do this on a regular basis, you *ARE* asking
for trouble!
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread Dnk




On 27-Apr-09, at 4:50 PM, donavan nelson dona...@centos.org wrote:

 dnk wrote:
 Instructions at the bottom of every email.

 Go to:
 http://lists.centos.org/mailman/listinfo/centos-docs


 d

 __
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
 On 27-Apr-09, at 2:59 PM, Vladimir Freidin wrote:

 how do i remove from your emails!
 i subscribed ti an email forums without knowing that.
 i am sick of zillion emails here about crap!


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

 That is EXPECTING much more than some people are capable of.  Even  
 with
 screen shots, flashing arrows, crayons, and sippy cups.

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

Now I want a sippy cup for my desk
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread vo...@yahoo.com

They do not work!

Vlad.mobile

On Apr 27, 2009, at 16:50, donavan nelson dona...@centos.org wrote:

dnk wrote:
Instructions at the bottom of every email.

Go to:
http://lists.centos.org/mailman/listinfo/centos-docs


d

__
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs
On 27-Apr-09, at 2:59 PM, Vladimir Freidin wrote:

how do i remove from your emails!
i subscribed ti an email forums without knowing that.
i am sick of zillion emails here about crap!


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

That is EXPECTING much more than some people are capable of.  Even with 
screen shots, flashing arrows, crayons, and sippy cups.

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



  

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


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread Phil Schaffner
On Mon, 2009-04-27 at 21:48 +0200, Marcus Moeller wrote:
 Dear Phil,
 
...
 
 Sorry Phil. I personally cannot accept this HowTo at current state.

That's why I'm asking for feedback! :-)

 There is also some cute documentation available in the Deployment
 Guide.

Yes - pointed to that in the CentOS 5 FAQ entry added about the same
time as this was created.

 You wrote:
 'Some controllers claim to be RAID but require Windows drivers to
 function, similar to winmodems.'
 
 This is not true. Some controllers make use of OS functionality. This
 is not dependent to Windows.

OK - agree that some such controllers may have Linux drivers.  Will note
that.

 You wrote:
 'Booting will only work from non-RAID or RAID1 partitions. RAID0 or
 RAID5 will not work.'
 
 This is only true if you wish to have the boot partition (/boot/)
 reside on a RAID parition. In this case it must be on a RAID1
 partition.

That's what I thought I was saying but obviously needs some
clarification if you read it differently.

 Also, in your scenario it does not make much sense to split /boot and
 may cause confusion, as it's not necessary on a RAID1.

Agree - addressed this point in the reply to Ned.

 You wrote:
 'Disable any hardware-based RAID in the motherboard or RAID controller BIOS '
 
 Why that? I have some systems where I combine hardware- and softraids.
 This may be the case on fakeraid controllers.

OK - I know you understood what you thought I said, but what you heard
was not what I meant. :-)  Will change hardware-based RAID to fake
RAID controllers without CentOS drivers.

 ...skipping...someone else could take care...
 
 You wrote:
 After installing a new kernel, repeat Section Three. It should be
 possible to apply a similar approach to a /boot on RAID1, or to a / on
 RAID1 without a /boot.
 
 Why should someone want to use dd to mirror a / partition on an active RAID1 ?

One would not.  Again apparently needs clarification.  That's why more eyes are 
better.

Thanks,
Phil


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


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread Phil Schaffner
On Mon, 2009-04-27 at 17:54 -0400, JohnS wrote:
 You should not use dd on any active disk raid or not.

That's not what the procedure recommends, at least for the target disk,
and /boot ought to be relatively safe for the source, but it will become
a moot point anyway as that part will disappear after the rewrite to use
RAID1 for /boot to address previous comments.

Phil


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


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread Phil Schaffner
On Mon, 2009-04-27 at 18:45 -0400, JohnS wrote:
 On Mon, 2009-04-27 at 14:53 -0400, Phil Schaffner wrote:
  http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
 ---\
 After installing a new kernel, repeat Section Three.
 
 That has got to be BS. There has to be a better way and easier way. I
 just read the article. I need to think on that one. I have never heard
 of that.
 
 What happen to using mdadm instead of dd?

Agree - see previous replies and wait for the next iteration.

Thanks,
Phil


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


Re: [CentOS-docs] New page on installing to software RAID

2009-04-27 Thread JohnS

On Mon, 2009-04-27 at 21:27 -0400, Phil Schaffner wrote:
 On Mon, 2009-04-27 at 18:45 -0400, JohnS wrote:
  On Mon, 2009-04-27 at 14:53 -0400, Phil Schaffner wrote:
   http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
  ---\
  After installing a new kernel, repeat Section Three.
  
  That has got to be BS. There has to be a better way and easier way. I
  just read the article. I need to think on that one. I have never heard
  of that.
  
  What happen to using mdadm instead of dd?
 
 Agree - see previous replies and wait for the next iteration.
 
 Thanks,
 Phil
---

Ok. seen replies and waitting.

JohnStanley

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


Re: [CentOS-virt] xen

2009-04-27 Thread Ljubomir Ljubojevic
just download it from repository on the net.
mattias wrote:
 Yes but i havent access to the orig kernel
 
 -Ursprungligt meddelande-
 Från: centos-virt-boun...@centos.org
 [mailto:centos-virt-boun...@centos.org] För Christopher G. Stach II
 Skickat: den 27 april 2009 22:00
 Till: Discussion about the virtualization on CentOS
 Ämne: Re: [CentOS-virt] xen
 
 
 - mattias m...@mjw.se wrote:
 
 Have anyone get a ubuntu guest worked in centos?
 I try now but only recive errors
 insmod: error inserting '/lib/scsi_mod.ko': -1 Operation not permitted
 [..]
 I use
 kernel = /boot/vmlinuz-2.6.18-128.el5xen  
 ramdisk = /boot/initrd-2.6.18-128.1.6.el5xen
 Any tip?
 
 Use pygrub or pull the Ubuntu Xen kernel and initrd out to your dom0 and
 use those for the Ubuntu guests.
 

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


Re: [CentOS-es] Apache y ServerName

2009-04-27 Thread AraDaen
Gracias a todos por vuestras respuestas.

Finalmente he optado por la opción de crear dispositivos de red virtuales, y
crear varios virtualhost, uno genérico para capturar todas aquellas
peticiones que no están destinadas al resto de virtualhosts.

Muchas gracias por todo :)

Un saludo, y hasta otra :)

El 26 de abril de 2009 18:28, |Lord_Zoo| z...@secura.com.ar escribió:

  Hola

 A mi parecer la opcion mas correcta es utilizar mas IP dentro de un
 virtualhost, ya que por mas que uses un virtualhost dentro de la misma ip,
 no importa el dominio que estes utilizando, con un simple escaneo de
 puertos, cualquiera puede encontrar que hay un server web funcionando en esa
 ip.

 De ultima, si eso no te preocupa, cosa que me parece que no es asi, por lo
 que lei, tendrias que utilizar el _default_ para redireccionar a un sitio
 cualquiera, y un virtualhost para www.ardn.net.

 Sinceramente, me parece que la primera es la opcion mas simple, sino
 tendrias que caer en algun tipo de firewall con inspeccion de paquetes y me
 parece que eso es astante mas complicado de configurar.

 Saludos.

 Lic. Domingo Varela Yahuitl escribió:

 puedes hacerlo de diferentes maneras:
 1) virtualhost
 2) con un refresh (algo no momentaneo)
 3) redirect con php (similar al refresh)


 On Sun, 26 Apr 2009 22:42:44 +0200, Manolo maa...@ono.com maa...@ono.com 
 wrote:


  AraDaen escribió:


  Manolo escribió:



  AraDaen escribió:




  Hola a todos de nuevo, tengo una duda con apache.

 Tengo un servidor centos 5.3 que actua como servidor DNS con bind9 y
 servidor web con apache 2.2.
 el servidor DNS funciona perfectamente tanto de forma directa como
 inversa resolviendo los nombres e ips de la red local e internet,


   tanto


   desde el servidor como desde clientes.

 La ip del servidor es 192.168.1.201, y responde a varios registros
 (vcos.ardn.net el NS, y dos CNAME dns1.ardn.net y www.ardn.net). Al
 final os pongo el contenido de la zona, para que veáis como lo


   defino,


   por si no queda claro.

 El servidor web está instalado, y puedo acceder a él desde cualquier


   máquina de la red. el problema que tengo es que sólo quiero que
 puedan
 acceder escribiendo en la barra de dirección www.ardn.net
 y ahora mismo pueden acceder escribiendo también dns1.ardn.net o 
 vcos.ardn.net.

 Como los tres registros tiene la misma IP (dos son alias de vcos.ardn.net), 
 no puedo utilizar la directiva Listen del httpd.conf
 pues seguiría respondiendo el servidor web a las peticiones de los
 tres
 nombres.
 Lo he intentado con ServerName www.ardn.net, pensando que así sólo
 respondería a ese dominio, pero no ha sido así y puedo seguir
 accediendo
 escribiendo cualquiera de los otros dos nombres.

 ¿Alguna idea?



 $ORIGIN ardn.net.
 $TTL86400
 @   IN  SOA vcos.ardn.net.  root.ardn.net.  (
 2009042303  ; Serial
 28800   ;Refresh
 14400   ;Retry
 360 ;Expire
 86400 ) ;Minimum
 IN  NS  vcos.ardn.net.
 ;SERVIDORES
 ;   IN  MX 10   mail.ardn.net. ;servidor correo

 vcosIN  A   192.168.1.201 ; Centos
 vos IN  A   192.168.1.202 ; OpenSolaris
 vdebIN  A   192.168.1.203 ; Debian
 vslack  IN  A   192.168.1.204 ; Slackware
 vbsdIN  A   192.168.1.205 ; FreeBSD
 vws2008 IN  A   192.168.1.206 ; Windows Server 2008
 dns1IN  CNAME   vcos
 www IN  CNAME   vcos

 ___
 CentOS-es mailing 
 listcentos...@centos.orghttp://lists.centos.org/mailman/listinfo/centos-es




Hola, asi de primeras se me ocurre que podrias crearte un 
 virtualhost
 para www.ardn.net (con los parametros de tu site) y otro para default


   en este ultimo solo una web html indicando que no esta accediendo
 correctamente.

 No se si te sirve esto.
 Saludos.
 ___
 CentOS-es mailing 
 listcentos...@centos.orghttp://lists.centos.org/mailman/listinfo/centos-es



  Hola Manolo,

 Gracias por contestar :)
 Sip, eso es una opción, aunque el servidor web seguiría respondiendo a


 las peticiones vcos.ardn.net y dns.ardn.net, y la idea es que no se sepa


 fácilmente que detrás de esos casos hay un servidor web también.
 No se si la opción pasa por añadir mas ips al sistema, y asignar a


  cada


  registro una ip. Pensaba que igual alguien tenía otra opción más
 sencilla.

 Gracias de nuevo Manolo
 ___
 CentOS-es mailing 
 listcentos...@centos.orghttp://lists.centos.org/mailman/listinfo/centos-es


Hola, aunque no lo he probado creo que para lo que necesitas esto se
 ajusta perfectamente:

 *NameVirtualHost* xx.xx.xx.xx

 VirtualHost xx.xx.xx.xx
 ServerName www.dominio1.es
 DocumentRoot /www/dominio2
 ...
 

Re: [CentOS-es] Cómo crear Alias de un equipo extern o

2009-04-27 Thread Héctor Suárez Planas
Saludos, hermanos.

 Buenos dias Hector, fijate un punto muy importante.
 Estas hablando de dos dominios distintos example.com y example2.com.
 Yoinier te recomendo crear un alias a nivel de DNS y esta en lo cierto con
la salvedad de que debes manejar la zona
 example2.com tambien y en esa zona definir quien es www1.example2.com.

Sí, ahí está el primer problema, que esa zona no la manejo yo. :(

 tambien puedes usar colocando zonas en el archivo hosts, el cual deberia
estar en tunm dns
 ejemplo

 200.31.2.1    www1.example2.com ftp1.example2.com

Sí, esto lo pensé también, pero...

 siempre y cuando la ip publica no varie.

Aquí está la respuesta, la IP cambia de vez en vez. 

Creo que una alternativa más o menos buena sería utilizar los servicios de
DNS de DynDNS o No-IP. Lo malo que tiene es que dependes de un servidor
externo para resolver el problema. :?

 Walter Cervini
 movil: 0424-1543350
 Pin: 20911CF3
 Sent from Caracas, Venezuela 



---
Red Telematica de Salud - Cuba
  CNICM - Infomed
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Cómo crear Alias de un equipo externo

2009-04-27 Thread Walter Cervini
Eso no es problema, ya que puedes actualizar la tabla hosts cada tiempo que desee, un script en bash que verifique y actualiza la ip. Dejame ver si modifico un script que tengo para los dns y te lo mando.Walter Cervinimovil: 0424-1543350Pin: 20911CF3Sent from Caracas, Venezuela
2009/4/28 Héctor Suárez Planas bolo...@medired.scu.sld.cuSaludos, hermanos.

 Buenos dias Hector, fijate un punto muy importante.
 Estas hablando de dos dominios distintos example.com y example2.com.
 Yoinier te recomendo crear un alias a nivel de DNS y esta en lo cierto con
la salvedad de que debes manejar la zona
 example2.com tambien y en esa zona definir quien es www1.example2.com.

Sí, ahí está el primer problema, que esa zona no la manejo yo. :(

 tambien puedes usar colocando zonas en el archivo hosts, el cual deberia
estar en tunm dns
 ejemplo

 200.31.2.1 www1.example2.com ftp1.example2.com

Sí, esto lo pensé también, pero...

 siempre y cuando la ip publica no varie.

Aquí está la respuesta, la IP cambia de vez en vez.

Creo que una alternativa más o menos buena sería utilizar los servicios de
DNS de DynDNS o No-IP. Lo malo que tiene es que dependes de un servidor
externo para resolver el problema. :?

 Walter Cervini
 movil: 0424-1543350
 Pin: 20911CF3
 Sent from Caracas, Venezuela



---
  Red Telematica de Salud - Cuba
 CNICM - Infomed
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es



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


Re: [CentOS-es] Cómo crear Alias de un equipo extern o

2009-04-27 Thread Héctor Suárez Planas
...

 Eso no es problema, ya que puedes actualizar la tabla hosts cada tiempo
que desee, un script en bash que verifique y
 actualiza la ip. Dejame ver si modifico un script que tengo para los dns y
te lo mando.
 Walter Cervini
 movil: 0424-1543350
 Pin: 20911CF3
 Sent from Caracas, Venezuela 

Gracias, hermano.



---
Red Telematica de Salud - Cuba
  CNICM - Infomed
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] que piensan de este disco

2009-04-27 Thread Guille
evidentemente el disco no esta sano, te recomiendo que le hagas un smarctl
para que veas el porcentaje de sectores no reallocables.

Saludos!.

El 27 de abril de 2009 16:48, troxlinux xserverli...@gmail.com escribió:

 señores hace poco tuve un bajón de energía en mi ciudad por lo que uno
 de mi servidores sufrió un problema en el disco , tuve que reemplazar
 por otro de 500Gb Maxtor , todo bien un par de días , pero hoy
 queriendo editar algunos archivos con vim y con el usuario root me
 salen unos errores como este:

 Input/output error


 y con el dmesg estos mensajes y es un disco de 2 días nuevos! , estoy
 asustado ...

 end_request: I/O error, dev sda, sector 269971064
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 269971064
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 49741
 EXT3-fs error (device sda1): ext3_get_inode_loc: unable to read inode
 block - inode=6046, block=24839
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 65
 Buffer I/O error on device sda1, logical block 1
 lost page write due to I/O error on sda1
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458
 sd 0:0:0:0: SCSI error: return code = 0x0004
 end_request: I/O error, dev sda, sector 299034458

 Apr 27 05:46:21 voz kernel: ata1.00: cmd
 ca/00:08:cd:6f:2e/00:00:00:00:00/e8 tag 0 dma 4096 out
 Apr 27 05:46:21 voz kernel:  res
 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
 Apr 27 05:46:21 voz kernel: ata1.00: status: { DRDY }
 Apr 27 05:46:21 voz kernel: ata1: soft resetting link
 Apr 27 05:46:21 voz kernel: ata1.00: configured for UDMA/33
 Apr 27 05:46:21 voz kernel: ata1: EH complete
 Apr 27 05:46:21 voz kernel: SCSI device sda: 976773168 512-byte hdwr
 sectors (500108 MB)
 Apr 27 05:46:21 voz kernel: sda: Write Protect is off
 Apr 27 05:46:21 voz kernel: SCSI device sda: drive cache: write back
 Apr 27 05:47:37 voz kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr
 0x0 action


 --
 rickygm

 http://gnuforever.homelinux.com
 ___
 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] que piensan de este disco

2009-04-27 Thread troxlinux
ni siquiera me deja ejecutar el comando me tira error

# smartctl -d /dev/sda
-bash: /usr/sbin/smartctl: Input/output error



El día 27 de abril de 2009 13:55, Guille gri...@gmail.com escribió:
 evidentemente el disco no esta sano, te recomiendo que le hagas un smarctl
 para que veas el porcentaje de sectores no reallocables.


saludoss
-- 
rickygm

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


[CentOS] Wake On LAN

2009-04-27 Thread James Bensley
Hey Listees

I can not work out how to get my Dell NF500 III server to use wake on
LAN using the on board Broadcom NetExtreme II BCM5708 NIC card? I'm
running Cent OS 5.3 final (i386).

Basically, If I had windows server 2k3 installed I know that the cards
 mobo etc support WOL I would just have to tick a little box under
the NIC card properties saying allow wake on LAN (or words to that
affect). How can I enable WOL for my NIC card?

I have two identical servers so I have tried putting one to sleep (via
either setting the hibernate time down to 5 mins and waiting for it to
time out and hibernate or by running the following as root: echo
shutdown  /sys/power/disk; echo disk  /sys/power/state) and waking
it up with ether-wake and WOL (an rpm package) but neither worked,
also with a windows WOL client from a windows server which I know
works as it is regularly in use but the system didn't come up. The
light is glowing green on the mobo just next to the two on board NIC's
(both are the same BCM5708's); the light is on but nobodies home?

What setting might I be missing within CentOS its self to keep the
cards alive when the power is out? Any help is greatly appreciated.

Regards,

James ;)

-BEGIN GEEK CODE BLOCK-
  Version: 3.1
GIT/MU/U dpu s: a-- C++$ U+ L++ B- P+ E? W+++$ N K W++ O M++$ V-
PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+ DI D+++ G+ e(+) h--(++) r++ z++
--END GEEK CODE BLOCK--
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Wake On LAN

2009-04-27 Thread Tony Mountifield
In article 3c857e1c0904270112v48abf0feh18611f66fec11...@mail.gmail.com,
James Bensley jwbens...@gmail.com wrote:
 
 I can not work out how to get my Dell NF500 III server to use wake on
 LAN using the on board Broadcom NetExtreme II BCM5708 NIC card? I'm
 running Cent OS 5.3 final (i386).
 
 Basically, If I had windows server 2k3 installed I know that the cards
  mobo etc support WOL I would just have to tick a little box under
 the NIC card properties saying allow wake on LAN (or words to that
 affect). How can I enable WOL for my NIC card?
 
 I have two identical servers so I have tried putting one to sleep (via
 either setting the hibernate time down to 5 mins and waiting for it to
 time out and hibernate or by running the following as root: echo
 shutdown  /sys/power/disk; echo disk  /sys/power/state) and waking
 it up with ether-wake and WOL (an rpm package) but neither worked,
 also with a windows WOL client from a windows server which I know
 works as it is regularly in use but the system didn't come up. The
 light is glowing green on the mobo just next to the two on board NIC's
 (both are the same BCM5708's); the light is on but nobodies home?
 
 What setting might I be missing within CentOS its self to keep the
 cards alive when the power is out? Any help is greatly appreciated.

I don't know about your Dell, but on my HP ML110 servers, I had to add
a line to ifcfg-eth0 to make ethtool tell the LAN port to enable the
wake-on-lan function:

ETHTOOL_OPTS=wol g

You will need to take the interface down and up after adding the line.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ata_piix

2009-04-27 Thread Jerry Geis
Hi all

I am using cents 5.3 on a gigabyte motherboard MA78GM-US2H.
When installing centos using kickstart I get prompted to load a driver. 
I select the ata_piix driver
and everything continues as normal.

Is there a way in kickstart or the boot command prompt line to specify 
loading the ata_piix module automatically?
Why isnt the kernel loading it automatically? I dont recall having to 
ever do that before in 5.2

Thanks,

Jerry

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


Re: [CentOS] repository for mod_security

2009-04-27 Thread Bowie Bailey
Anthony Kamau wrote:
  -Original Message-
  From: centos-boun...@centos.org [mailto:centos-boun...@centos.org]
  On Behalf Of Bowie Bailey Sent: Saturday, 25 April 2009 6:27 AM
  To: CentOS mailing list (E-mail)
  Subject: [CentOS] repository for mod_security
  
  I want to add mod_security to my Apache server running CentOS 5.3
  and am trying to find a repository to get it from.  I found it in
  EPEL, but they have version 2.1.7, which is over a year old
  according to what I found on the modsecurity.org website.  Is there
  a repository which is keeping this up to date?  Or should I just
  build it from source? 
 
 Interesting that you are finding version 2.1.7 - just did a quick
 check and I see version 2.5.9 on epel:
 
 Name   : mod_security
 Arch   : i386
 Version: 2.5.9
 Release: 1.el5
 Size   : 933 k
 Repo   : epel

That is very strange.  I checked this morning and I see 2.5.9 in epel,
but I'll swear that I saw 2.1.7 on Friday.  I didn't change anything, I
just did another yum info mod_security.  I guess I'll use epel.

Thanks,

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


[CentOS] Port Forwarding woes

2009-04-27 Thread Bo Lynch
I'm having some port forwarding issues issues with iptables.
We are using iptables as a firewall with 2 nics and on ip alias.
I'm trying to port forward on the alias ip
eth0 = 65.x.x.1
eth0:1 = 65.x.x.2
eth1 = 192.168.x.x

I'm wanting to forward certain ports(80,5071...etc) that makes request on
eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup the
following rules but I must be doing something wrong.
iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j
DNAT --to-destination 192.168.x.x:80
iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j
DNAT --to-destination 192.168.x.x:5071
iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT
iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT

Any help would be greatly appreciated.
Thanks
-- 
Bo Lynch



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


[CentOS] Reset audio controller w/o rebooting?

2009-04-27 Thread Bart Schaefer
As I mentioned on a thread about flash-plugin a few days ago, I'm
having trouble with my sound device getting stuck and thereby
causing problems for anything that accesses it, like video playback.

Rebooting the machine fixes it for a while, but it's unpredictable
for how long -- sometimes months go by without it recurring, sometimes
it happens every couple of days.  Right now I'm in one of the latter
phases.

Any suggestions on how I could reset the controller without having to
reboot?  (Or suggestions for where else I might ask this question?)
Below is output from lshw for the audio controller, and lsmod for
the sound modules that are loaded.  This is CentOS 4.7.

*-multimedia UNCLAIMED
 description: Multimedia audio controller
 product: CK804 AC'97 Audio Controller
 vendor: nVidia Corporation
 physical id: d
 bus info: p...@:00:0d.0
 version: a2
 width: 32 bits
 clock: 66MHz
 capabilities: pm bus_master cap_list
 configuration: latency=0 maxlatency=5 mingnt=2
 resources: ioport:d400(size=256) ioport:d000(size=256)
memory:ff6fd000-ff6fdfff


snd_intel8x0   36237  3
snd_ac97_codec 65425  1 snd_intel8x0
snd_pcm_oss52857  0
snd_mixer_oss  22081  2 snd_pcm_oss
snd_pcm92613  3 snd_intel8x0,snd_pcm_oss
snd_timer  28357  1 snd_pcm
snd_page_alloc 14541  2 snd_intel8x0,snd_pcm
gameport8641  1 snd_intel8x0
snd_mpu401_uart11457  1 snd_intel8x0
snd_rawmidi28133  1 snd_mpu401_uart
snd_seq_device 12105  1 snd_rawmidi
snd58149  12
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore  13345  2 snd
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Reset audio controller w/o rebooting?

2009-04-27 Thread JohnS

On Mon, 2009-04-27 at 08:05 -0700, Bart Schaefer wrote:
 As I mentioned on a thread about flash-plugin a few days ago, I'm
 having trouble with my sound device getting stuck and thereby
 causing problems for anything that accesses it, like video playback.
 
 Rebooting the machine fixes it for a while, but it's unpredictable
 for how long -- sometimes months go by without it recurring, sometimes
 it happens every couple of days.  Right now I'm in one of the latter
 phases.

-
You do not have to reboot the machine every time it happens! Use the
System Monitor Gnome Applet to kill what ever is using it.

Further more this really seems like a Bug in the way Applications handle
killing processes. Why? I have a Client this happens to often. Exactly
the way you describe.

One idea why it affects my clients machine is it is running 4.7 and is
dog dead slow. Wait 5 minutes and the processes finally exits. In theory
it should exit when the app is closed.

johnStanley

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


[CentOS] E-Mail Serving Options

2009-04-27 Thread Jason Todd Slack-Moehrle
Hi All,

What are my e-mail serving options? I need to host POP, IMAP and SMTP.  
I must admit that non-windows e-mail hosting has always been a chore  
for me. I remember QMail and QPopper IIRC.

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


Re: [CentOS] Reset audio controller w/o rebooting?

2009-04-27 Thread Barry Brimer
Quoting Bart Schaefer barton.schae...@gmail.com:

 As I mentioned on a thread about flash-plugin a few days ago, I'm
 having trouble with my sound device getting stuck and thereby
 causing problems for anything that accesses it, like video playback.

 Rebooting the machine fixes it for a while, but it's unpredictable
 for how long -- sometimes months go by without it recurring, sometimes
 it happens every couple of days.  Right now I'm in one of the latter
 phases.

 Any suggestions on how I could reset the controller without having to
 reboot?  (Or suggestions for where else I might ask this question?)
 Below is output from lshw for the audio controller, and lsmod for
 the sound modules that are loaded.  This is CentOS 4.7.

snip

I have similar problems in CentOS 5.  I disable and enable the flash plugin in
firefox, and it seems to be corrected.  My problem may be slightly different,
but this is how I 'fix' the problem.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Reset audio controller w/o rebooting?

2009-04-27 Thread Bart Schaefer
On Mon, Apr 27, 2009 at 8:27 AM, JohnS jse...@gmail.com wrote:

 You do not have to reboot the machine every time it happens! Use the
 System Monitor Gnome Applet to kill what ever is using it.

Unfortunately that doesn't help.  Once the machine is in this state,
then even after using lsof to track down all processes that are
using the sound device, and killing all of them, the *next* thing to
access the sound will play for a few seconds and then lock up.

I once got it to clear up by unloading and reloading all the
sound-related kernel modules, but that doesn't repeatably work either.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] E-Mail Serving Options

2009-04-27 Thread dnk





On 27-Apr-09, at 8:41 AM, Jason Todd Slack-Moehrle wrote:

 Hi All,

 What are my e-mail serving options? I need to host POP, IMAP and SMTP.
 I must admit that non-windows e-mail hosting has always been a chore
 for me. I remember QMail and QPopper IIRC.

 -Jason
postfix is out of the box on centos. As is sendmail. But postfix is  
the easier of the two to grasp IMHO.

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


Re: [CentOS] E-Mail Serving Options

2009-04-27 Thread Ned Slider
dnk wrote:
 
 
 
 
 On 27-Apr-09, at 8:41 AM, Jason Todd Slack-Moehrle wrote:
 
 Hi All,

 What are my e-mail serving options? I need to host POP, IMAP and SMTP.
 I must admit that non-windows e-mail hosting has always been a chore
 for me. I remember QMail and QPopper IIRC.

 -Jason
 postfix is out of the box on centos. As is sendmail. But postfix is  
 the easier of the two to grasp IMHO.
 

And there's documentation aimed at beginners here on the Wiki for 
Postfix/dovecot:

http://wiki.centos.org/HowTos#head-0facb50d5796bee0bd394636c32ffa9a997a6ab5

Not your only choice by any means.

Hope that helps.

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


Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Dan Carl
Bo Lynch wrote:
 I'm having some port forwarding issues issues with iptables.
 We are using iptables as a firewall with 2 nics and on ip alias.
 I'm trying to port forward on the alias ip
 eth0 = 65.x.x.1
 eth0:1 = 65.x.x.2
 eth1 = 192.168.x.x

 I'm wanting to forward certain ports(80,5071...etc) that makes request on
 eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup the
 following rules but I must be doing something wrong.
 iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j
 DNAT --to-destination 192.168.x.x:80
 iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j
 DNAT --to-destination 192.168.x.x:5071
 iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT
 iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT

 Any help would be greatly appreciated.
 Thanks
   
Try

iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j ACCEPT
iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j ACCEPT



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


[CentOS] kickstart problems...

2009-04-27 Thread John Doe

Hi,

I am creating CentOS install usb keys and, apart from a few problems, it mostly 
works...
1. OT: My server HP does not seem to want to boot on it if I set the write 
protection on.
2. Anaconda tries to fetch the ks.cfg too early...  It detects sda, then 
detects the 
   RAID adapter, then re-detects sda with a waiting for device to settle 
before scanning.
   Anaconda tries to access the ks.cfg file in the middle of this waiting.
   If, once the detection is over (just 2-3 seconds later), I retry, it works.
3. Error message cannot mount read/write, will mount read-only (I like to 
write protect)
4. OT: fs corruption ont he USB keys...
   I copy the iso file on the key (no error message), then compare it to the 
original and 
   some random differences appear. I noticed in the logs:
   ext2_new_block: Allocating block in system zone - block = 65536
   ext2_free_blocks: bit already cleared for block 88678
   ext2_free_blocks: Freeing blocks not in datazone - block = 3003818537, 
count = 1
Any idea how to fix 2. and 3. ?

Thx,
JD


  

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


Re: [CentOS] Port Forwarding woes

2009-04-27 Thread D Tucny
2009/4/28 Bo Lynch bly...@ameliaschools.com

 On Mon, April 27, 2009 12:01 pm, Dan Carl wrote:
  Bo Lynch wrote:
  I'm having some port forwarding issues issues with iptables.
  We are using iptables as a firewall with 2 nics and on ip alias.
  I'm trying to port forward on the alias ip
  eth0 = 65.x.x.1
  eth0:1 = 65.x.x.2
  eth1 = 192.168.x.x
 
  I'm wanting to forward certain ports(80,5071...etc) that makes request
  on
  eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup
  the
  following rules but I must be doing something wrong.
  iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j
  DNAT --to-destination 192.168.x.x:80
  iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j
  DNAT --to-destination 192.168.x.x:5071
  iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT
  iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT
 
  Any help would be greatly appreciated.
  Thanks
 
  Try
 
  iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j
  ACCEPT
  iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j
  ACCEPT
 
 
 
 Tried that with no luck. Here is what my NAT looks like.
 [r...@localhost ~]# iptables -t nat -L
 Chain PREROUTING (policy ACCEPT)
 target prot opt source   destination
 DNAT   tcp  --  anywhere 65.161.127.70   tcp dpt:http
 to:192.168.1.3:80


snip


 To me it looks like it should work. When I try and do a telnet on the port
 number I get a connection refused. Is using an alias a problem?


It should, and does, work, even with an alias...

The fact you are getting connection refused suggests that the traffic is
going somewhere and responses are getting back, rather than disappearing
into a hole, which is good...
Are you sure traffic to that address is getting to your eth0 interface and
not going to another device or being blocked by your router?
Capturing traffic using tcpdump while testing would confirm this, i.e.
tcpdump -i any -n port 5071 would show packets coming in on eth0 and going
out on eth1 if everything is working, or only coming in on eth0 if something
within this box is preventing forwarding, or nothing at all which would show
that the traffic wasn't even making it to your machine...

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


Re: [CentOS] Reset audio controller w/o rebooting?

2009-04-27 Thread JohnS

On Mon, 2009-04-27 at 08:45 -0700, Bart Schaefer wrote:
 On Mon, Apr 27, 2009 at 8:27 AM, JohnS jse...@gmail.com wrote:
 
  You do not have to reboot the machine every time it happens! Use the
  System Monitor Gnome Applet to kill what ever is using it.
 
 Unfortunately that doesn't help.  Once the machine is in this state,
 then even after using lsof to track down all processes that are
 using the sound device, and killing all of them, the *next* thing to
 access the sound will play for a few seconds and then lock up.
 
 I once got it to clear up by unloading and reloading all the
 sound-related kernel modules, but that doesn't repeatably work either.
---
Ok then just a question to solve my thinking. What type of machine is
this as in Brand. The one I'm see the problem on is a HP 400Mhz Celeron
254MB of ram. My thinking for my clients problem is it is a real slow
machine and the processes are taking a long time to exit. But you have
to reboot the whole machine. What is the mixer your using? You may can
try looking at the Sound Preferences Devices Tab to change the options
there to see if that will help.

JohnStanley

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


Re: [CentOS] kickstart problems...

2009-04-27 Thread Fabian Arrotin
John Doe wrote:
 Hi,
 
 I am creating CentOS install usb keys and, apart from a few problems, it 
 mostly works...
 1. OT: My server HP does not seem to want to boot on it if I set the write 
 protection on.
 2. Anaconda tries to fetch the ks.cfg too early...  It detects sda, then 
 detects the 
RAID adapter, then re-detects sda with a waiting for device to settle 
 before scanning.
Anaconda tries to access the ks.cfg file in the middle of this waiting.
If, once the detection is over (just 2-3 seconds later), I retry, it works.
 3. Error message cannot mount read/write, will mount read-only (I like to 
 write protect)
 4. OT: fs corruption ont he USB keys...
I copy the iso file on the key (no error message), then compare it to the 
 original and 
some random differences appear. I noticed in the logs:
ext2_new_block: Allocating block in system zone - block = 65536
ext2_free_blocks: bit already cleared for block 88678
ext2_free_blocks: Freeing blocks not in datazone - block = 3003818537, 
 count = 1
 Any idea how to fix 2. and 3. ?
 

Is there a particular reason why you don't/can't use pxe boot and 
fetching the ks files over the network ?

-- 
--
Fabian Arrotin
  idea=`grep -i clue /dev/brain`
  test -z $idea  echo sorry, init 6 in progress || sh ./answer.sh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Dan Carl
Bo Lynch wrote:
 On Mon, April 27, 2009 12:01 pm, Dan Carl wrote:
   
 Bo Lynch wrote:
 
 I'm having some port forwarding issues issues with iptables.
 We are using iptables as a firewall with 2 nics and on ip alias.
 I'm trying to port forward on the alias ip
 eth0 = 65.x.x.1
 eth0:1 = 65.x.x.2
 eth1 = 192.168.x.x

 I'm wanting to forward certain ports(80,5071...etc) that makes request
 on
 eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup
 the
 following rules but I must be doing something wrong.
 iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j
 DNAT --to-destination 192.168.x.x:80
 iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j
 DNAT --to-destination 192.168.x.x:5071
 iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT
 iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT

 Any help would be greatly appreciated.
 Thanks

   
 Try

 iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j
 ACCEPT
 iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j
 ACCEPT



 
 Tried that with no luck. Here is what my NAT looks like.
 [r...@localhost ~]# iptables -t nat -L
 Chain PREROUTING (policy ACCEPT)
 target prot opt source   destination
 DNAT   tcp  --  anywhere 65.161.127.70   tcp dpt:http
 to:192.168.1.3:80
 DNAT   tcp  --  anywhere 65.161.127.70   tcp
 dpt:powerschool to:192.168.1.3:5071
 DNAT   tcp  --  anywhere 65.161.127.70   tcp
 dpt:timbuktu to:192.168.1.3:407
 DNAT   tcp  --  anywhere 65.161.127.70   tcp
 dpt:timbuktu-srv1 to:192.168.1.3:1417
 DNAT   tcp  --  anywhere 65.161.127.70   tcp
 dpt:timbuktu-srv2 to:192.168.1.3:1418
 DNAT   tcp  --  anywhere 65.161.127.70   tcp
 dpt:timbuktu-srv3 to:192.168.1.3:1419
 DNAT   tcp  --  anywhere 65.161.127.70   tcp
 dpt:timbuktu-srv4 to:192.168.1.3:1420
 DNAT   tcp  --  anywhere 65.161.127.70   tcp dpt:7880
 to:192.168.1.3:7880
 DNAT   tcp  --  anywhere 65.161.127.70   tcp dpt:https
 to:192.168.1.3:443
 DNAT   udp  --  anywhere 65.161.127.70   udp
 dpt:timbuktu to:192.168.1.3:407
 DNAT   udp  --  anywhere 65.161.127.70   udp
 dpt:timbuktu-srv1 to:192.168.1.3:1417
 DNAT   udp  --  anywhere 65.161.127.70   udp
 dpt:timbuktu-srv2 to:192.168.1.3:1418
 DNAT   udp  --  anywhere 65.161.127.70   udp
 dpt:timbuktu-srv3 to:192.168.1.3:1419
 DNAT   udp  --  anywhere 65.161.127.70   udp
 dpt:timbuktu-srv4 to:192.168.1.3:1420
 DNAT   udp  --  anywhere 65.161.127.70   udp dpt:7880
 to:192.168.1.3:7880

 To me it looks like it should work. When I try and do a telnet on the port
 number I get a connection refused. Is using an alias a problem?
 Bo Lynch


   
It will work and does for me here.

Try putting this at the beginning of your script.

echo 1  /proc/sys/net/ipv4/ip_forward
IPTABLES=/sbin/iptables
$IPTABLES -F
$IPTABLES -F INPUT
$IPTABLES -F OUTPUT
$IPTABLES -F FORWARD
$IPTABLES -F -t mangle
$IPTABLES -F -t nat
$IPTABLES -X

Verify the alias is setup correctly with ifconfig.

Dan




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


[CentOS] 5.3 on an EeePC??

2009-04-27 Thread Beartooth

I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on 
which I've installed CentOS on the hard-drive-plus-card. But it can't 
even use my eth0.

   Some one on a local LUG, where I had mentioned that other OSs did fine 
with all the same exact hardware, suggested that CentOS, being designed 
for stability rather than the bleeding edge, likely lacks drivers; so I 
need to get some.

   Anybody know what drivers (for wireless as well as ethernet cable) I 
need, and how/where to get ones to fit CentOS??

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

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


Re: [CentOS] Reset audio controller w/o rebooting?

2009-04-27 Thread Bart Schaefer
On Mon, Apr 27, 2009 at 9:55 AM, JohnS jse...@gmail.com wrote:

 Ok then just a question to solve my thinking. What type of machine is
 this as in Brand.

It's a custom-built desktop tower from Monarch Computer Systems, who
seems to have gone out of business almost exactly two years ago.  I'd
forgotten how long I've had this box.

 The one I'm see the problem on is a HP 400Mhz Celeron
 254MB of ram.

P4 @ 3GHz w/ 2GB here.

 What is the mixer your using?

/usr/libexec/mixer_applet2 from gnome-applets-2.8.0-9.el4

 You may can
 try looking at the Sound Preferences Devices Tab to change the options
 there to see if that will help.

I'm on CentOS 4.  There is no Devices tab on Sound Preferences.
System Settings - Soundcard Detection locks up on the test sound,
just like any other app ...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] adding packages from cd

2009-04-27 Thread sumit agarwal
HI ALL,

Ive recently installed Cent OS 5.2 , and now want to update a few more
packages , how can i do that with the installation CDs.
pls help..

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


Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Bo Lynch
On Mon, April 27, 2009 12:50 pm, D Tucny wrote:
 2009/4/28 Bo Lynch bly...@ameliaschools.com

 On Mon, April 27, 2009 12:01 pm, Dan Carl wrote:
  Bo Lynch wrote:
  I'm having some port forwarding issues issues with iptables.
  We are using iptables as a firewall with 2 nics and on ip alias.
  I'm trying to port forward on the alias ip
  eth0 = 65.x.x.1
  eth0:1 = 65.x.x.2
  eth1 = 192.168.x.x
 
  I'm wanting to forward certain ports(80,5071...etc) that makes
 request
  on
  eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have
 setup
  the
  following rules but I must be doing something wrong.
  iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80
 -j
  DNAT --to-destination 192.168.x.x:80
  iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071
 -j
  DNAT --to-destination 192.168.x.x:5071
  iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j
 ACCEPT
  iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j
 ACCEPT
 
  Any help would be greatly appreciated.
  Thanks
 
  Try
 
  iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80
 -j
  ACCEPT
  iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071
 -j
  ACCEPT
 
 
 
 Tried that with no luck. Here is what my NAT looks like.
 [r...@localhost ~]# iptables -t nat -L
 Chain PREROUTING (policy ACCEPT)
 target prot opt source   destination
 DNAT   tcp  --  anywhere 65.161.127.70   tcp
 dpt:http
 to:192.168.1.3:80


 snip


 To me it looks like it should work. When I try and do a telnet on the
 port
 number I get a connection refused. Is using an alias a problem?


 It should, and does, work, even with an alias...

 The fact you are getting connection refused suggests that the traffic is
 going somewhere and responses are getting back, rather than disappearing
 into a hole, which is good...
 Are you sure traffic to that address is getting to your eth0 interface and
 not going to another device or being blocked by your router?
 Capturing traffic using tcpdump while testing would confirm this, i.e.
 tcpdump -i any -n port 5071 would show packets coming in on eth0 and going
 out on eth1 if everything is working, or only coming in on eth0 if
 something
 within this box is preventing forwarding, or nothing at all which would
 show
 that the traffic wasn't even making it to your machine...

 d
 ___
I think I found the culprit but not sure if by taking this out it will be
a risk. When I remove this statement things work
iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP

If I drop the NEW it works. Should I be concerned from I security stand
point?



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


Re: [CentOS] adding packages from cd

2009-04-27 Thread John R Pierce
sumit agarwal wrote:

 HI ALL,

 Ive recently installed Cent OS 5.2 , and now want to update a few more 
 packages , how can i do that with the installation CDs.
 pls help..

yum --enablerepo=c5-media install somepackagename

but, you really should just go ahead and use the yum repository servers 
as they will have any and all updates.

yum install somepackagename


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


Re: [CentOS] 5.3 on an EeePC??

2009-04-27 Thread Beartooth
On Mon, 27 Apr 2009 12:24:57 -0700, nate wrote:

 Beartooth wrote:

  I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on
 which I've installed CentOS on the hard-drive-plus-card. But it can't
 even use my eth0.

Some one on a local LUG, where I had mentioned that other OSs did
fine
 with all the same exact hardware, suggested that CentOS, being designed
 for stability rather than the bleeding edge, likely lacks drivers; so I
 need to get some.

Anybody know what drivers (for wireless as well as ethernet cable) I
 need, and how/where to get ones to fit CentOS??
 
 Why do you want CentOS on an EeePC ? It's not really intended for that
 purpose, if your having to ask where to get the drivers for it your
 probably not suited for running CentOS on the EeePC. Your better off
 with Fedora, or Ubuntu or something that has broader hardware support.

I have a strong if perhaps irrational preference for the .rpm 
family; I have indeed installed and run F8, F9, F10, and Eeedora on this 
machine. Unfortunately, until I can afford to replace it with a somewhat 
larger netbook, what's left of my eyeballs and fingers limits me to using 
it in waiting rooms, and not much of anywhere else.

Given that limitation, speed of boot becomes a major criterion. 
F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes, 
real sixty-second minutes; it's not a typo -- just to boot. And then had 
to find wifi.
 
 I installed Ubuntu 9.04 netbook remix on my EeePC 2G surf yesterday(onto
 a 4G SD card), it was pretty painless although the general UI has too
 much eye candy, so it is choppy. The wiki says future kernel updates
 should address some of the sluggishness.

I've also been trying plain Ubuntu, Eeebuntu, Crunchbang, 
DreamLinux, and a couple more. 

I'll run an OS of that ilk if I have to. 

But for fifty-odd years, the Baby Boomers have trodden my heels, 
doing all I do a few years later. Some of them, even more than I, will be 
wanting a mature RedHat-type OS, well back from the bleeding edge, to 
enable them to check their email, etc., rather than thumb antediluvian 
magazines in waiting rooms.

What's more, CentOS will be able to oblige them, once it gets up 
to something like present Fedora kernels. Why not a little sooner?

And just in case, do please tell me where to get this ultra-
exemplary netbook remix, which I have somehow failed to encounter. (I 
think all my Ubuntoid OSs so far are 8-based.)
-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

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


Re: [CentOS] E-Mail Serving Options

2009-04-27 Thread David M Lemcoe Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jason Todd Slack-Moehrle wrote:
 Hi All,

 What are my e-mail serving options? I need to host POP, IMAP and
 SMTP. I must admit that non-windows e-mail hosting has always been
 a chore for me. I remember QMail and QPopper IIRC.

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

Dovecot and Postfix are my favorite. If you want webmail, I would use
RoundCube Webmail. All combined make a pretty nice and simple mail
solution.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn2EzIACgkQe0Ain3PYkIYWTgCfb0rtdISQHVmK3cGTLlgUhKzn
ijgAn3cRDm5JRIQa+PFqxeuvWUSf+vdX
=KGuj
-END PGP SIGNATURE-

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


Re: [CentOS] 5.3 on an EeePC??

2009-04-27 Thread Ron Blizzard
On Mon, Apr 27, 2009 at 3:15 PM, Beartooth bearto...@comcast.net wrote:

 On Mon, 27 Apr 2009 12:24:57 -0700, nate wrote:

  Beartooth wrote:
 
   I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on
  which I've installed CentOS on the hard-drive-plus-card. But it can't
  even use my eth0.
 
 Some one on a local LUG, where I had mentioned that other OSs did
 fine
  with all the same exact hardware, suggested that CentOS, being designed
  for stability rather than the bleeding edge, likely lacks drivers; so I
  need to get some.
 
 Anybody know what drivers (for wireless as well as ethernet cable) I
  need, and how/where to get ones to fit CentOS??
 
  Why do you want CentOS on an EeePC ? It's not really intended for that
  purpose, if your having to ask where to get the drivers for it your
  probably not suited for running CentOS on the EeePC. Your better off
  with Fedora, or Ubuntu or something that has broader hardware support.

I have a strong if perhaps irrational preference for the .rpm
 family; I have indeed installed and run F8, F9, F10, and Eeedora on this
 machine. Unfortunately, until I can afford to replace it with a somewhat
 larger netbook, what's left of my eyeballs and fingers limits me to using
 it in waiting rooms, and not much of anywhere else.

Given that limitation, speed of boot becomes a major criterion.
 F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes,
 real sixty-second minutes; it's not a typo -- just to boot. And then had
 to find wifi.

  I installed Ubuntu 9.04 netbook remix on my EeePC 2G surf yesterday(onto
  a 4G SD card), it was pretty painless although the general UI has too
  much eye candy, so it is choppy. The wiki says future kernel updates
  should address some of the sluggishness.

I've also been trying plain Ubuntu, Eeebuntu, Crunchbang,
 DreamLinux, and a couple more.

I'll run an OS of that ilk if I have to.

But for fifty-odd years, the Baby Boomers have trodden my heels,
 doing all I do a few years later. Some of them, even more than I, will be
 wanting a mature RedHat-type OS, well back from the bleeding edge, to
 enable them to check their email, etc., rather than thumb antediluvian
 magazines in waiting rooms.

What's more, CentOS will be able to oblige them, once it gets up
 to something like present Fedora kernels. Why not a little sooner?

And just in case, do please tell me where to get this ultra-
 exemplary netbook remix, which I have somehow failed to encounter. (I
 think all my Ubuntoid OSs so far are 8-based.)


I like CentOS better than Debian also but, apparently, the new Ubuntu 9.04
works really well on netbooks.

It's here: http://www.ubuntu.com/getubuntu/download-netbook

-- 
RonB -- Using CentOS 5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Barry Brimer
Quoting Bo Lynch bly...@ameliaschools.com:

 On Mon, April 27, 2009 12:50 pm, D Tucny wrote:
  2009/4/28 Bo Lynch bly...@ameliaschools.com
 
  On Mon, April 27, 2009 12:01 pm, Dan Carl wrote:
   Bo Lynch wrote:
   I'm having some port forwarding issues issues with iptables.
   We are using iptables as a firewall with 2 nics and on ip alias.
   I'm trying to port forward on the alias ip
   eth0 = 65.x.x.1
   eth0:1 = 65.x.x.2
   eth1 = 192.168.x.x
  
   I'm wanting to forward certain ports(80,5071...etc) that makes
  request
   on
   eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have
  setup
   the
   following rules but I must be doing something wrong.
   iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80
  -j
   DNAT --to-destination 192.168.x.x:80
   iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071
  -j
   DNAT --to-destination 192.168.x.x:5071
   iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j
  ACCEPT
   iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j
  ACCEPT
  
   Any help would be greatly appreciated.
   Thanks
  
   Try
  
   iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80
  -j
   ACCEPT
   iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071
  -j
   ACCEPT
  
  
  
  Tried that with no luck. Here is what my NAT looks like.
  [r...@localhost ~]# iptables -t nat -L
  Chain PREROUTING (policy ACCEPT)
  target prot opt source   destination
  DNAT   tcp  --  anywhere 65.161.127.70   tcp
  dpt:http
  to:192.168.1.3:80
 
 
  snip
 
 
  To me it looks like it should work. When I try and do a telnet on the
  port
  number I get a connection refused. Is using an alias a problem?
 
 
  It should, and does, work, even with an alias...
 
  The fact you are getting connection refused suggests that the traffic is
  going somewhere and responses are getting back, rather than disappearing
  into a hole, which is good...
  Are you sure traffic to that address is getting to your eth0 interface and
  not going to another device or being blocked by your router?
  Capturing traffic using tcpdump while testing would confirm this, i.e.
  tcpdump -i any -n port 5071 would show packets coming in on eth0 and going
  out on eth1 if everything is working, or only coming in on eth0 if
  something
  within this box is preventing forwarding, or nothing at all which would
  show
  that the traffic wasn't even making it to your machine...
 
  d
  ___
 I think I found the culprit but not sure if by taking this out it will be
 a risk. When I remove this statement things work
 iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP

 If I drop the NEW it works. Should I be concerned from I security stand
 point?

If you don't drop the NEW, it won't work.  It is fine to drop INVALID traffic.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One for the Cisco experts...

2009-04-27 Thread Les Mikesell
Les Mikesell wrote:
 Rainer Duffner wrote:
 
 I found this pdf with a much nicer overview:
 http://www.google.com/url?sa=Ustart=2q=http://www.ukuug.org/events/spring2009/programme/introduction-to-opennms.pdfei=jNvvSd3xDtTelQfphIDZDAsig2=7vpdGBzMcZoATeczKIZh7gusg=AFQjCNEy6gnHrSgQOneREKleuRvgAssmHw
 
 
 downloaded and will check it out after coffee/breakfast - thanks
 
   
 Hm.
 Now, I'm in for an off-topic question ;-)

 Can OpenNMS delegate the administration of certain groups of hosts to
 different users/groups?
 (While still allowing everybody a view right).
 
 No, you basically have write access or you don't.  Different 
 users/groups can receive different notifications, though. You can have a 
 passwordless user with read access if you want to make it easier to 
 embed graphs in other web pages or export data through the web 
 interface.   You can also create logins that get a 'dashboard only' view 
 that is basically a grid of machines selected by a pair of attributes 
 (like location and server type) where the grid shows the number total 
 number of nodes and the count of nodes with services down, and 
 underneath the grid you can select views with more details for any of 
 the servers in the group.  You can't make any changes from the dashboard 
 only logins, though.

The about to be released 1.7.3 (unstable branch) version is supposed to 
add per-user acls to control what devices you can see.  If you want to 
help test this feature, grab a copy in a few days or build from the 
source trunk.

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


Re: [CentOS] 5.3 on an EeePC??

2009-04-27 Thread Chris Zimmerman
If Puppy linux is taking a long time to boot, I'm not sure how you think
CentOS is going to fare better. What sort of drive does this thing have? You
may need to look into replacing that if you want faster bootup speeds and
not the OS.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.3 on an EeePC??

2009-04-27 Thread Les Mikesell
Beartooth wrote:
 
   Given that limitation, speed of boot becomes a major criterion. 
 F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes, 
 real sixty-second minutes; it's not a typo -- just to boot. And then had 
 to find wifi.

I think you really want something that does suspend/wakeup right on a 
netbook - or even a normal laptop.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] 5.3 on an EeePC??

2009-04-27 Thread Akemi Yagi
On Mon, Apr 27, 2009 at 11:55 AM, Beartooth bearto...@comcast.net wrote:

        I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on
 which I've installed CentOS on the hard-drive-plus-card. But it can't
 even use my eth0.

   Anybody know what drivers (for wireless as well as ethernet cable) I
 need, and how/where to get ones to fit CentOS??

Run /sbin/lspci and find the hardware info for your wired / wireless
device.  Then search the CentOS wiki.  For example, if you see
AR5007EG, there is a wiki page for that:

http://wiki.centos.org/HowTos/Laptops/WirelessAR5007EG

If you also see Atheros, there is a good chance that you can find
the latest driver that is available as the kernel module at the ElRepo
repository ( http://elrepo.org ).  For example, if your device
requires the atl2 driver, you can install it by (after installing the
repo):

yum --enablerepo=elrepo install kmod-atl2

Hope this helps,

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


Re: [CentOS] One for the Cisco experts...

2009-04-27 Thread Rainer Duffner

Am 27.04.2009 um 22:24 schrieb Les Mikesell:


 The about to be released 1.7.3 (unstable branch) version is supposed  
 to
 add per-user acls to control what devices you can see.  If you want to
 help test this feature, grab a copy in a few days or build from the
 source trunk.



I will have to check this, thanks.
Problem is: I don't decide about go or no-go.
Currently, we use IP-Monitor, which is really a PITA to use and I  
get mad everytime I have to use it to add another host.



Best Regards,
Rainer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Filipe Brandenburger
Hi,

On Mon, Apr 27, 2009 at 16:01, Bo Lynch bly...@ameliaschools.com wrote:
 I think I found the culprit but not sure if by taking this out it will be
 a risk. When I remove this statement things work
 iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP

 If I drop the NEW it works. Should I be concerned from I security stand
 point?

The point of that rule is to drop anything you did not handle before.
That rule is supposed to be the last one in the list of rules.

The best solution in your case is probably to move your other rules
above that one.

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


Re: [CentOS] 5.3 on an EeePC??

2009-04-27 Thread Craig White
On Mon, 2009-04-27 at 15:35 -0500, Les Mikesell wrote:
 Beartooth wrote:
  
  Given that limitation, speed of boot becomes a major criterion. 
  F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes, 
  real sixty-second minutes; it's not a typo -- just to boot. And then had 
  to find wifi.
 
 I think you really want something that does suspend/wakeup right on a 
 netbook - or even a normal laptop.

Fedora 10 suspends/wakes properly on my Acer Aspire One

I have done much with that and posted some useful stuff on the
FedoraProject wiki page on Aspire One.

I currently have Fedora 11 (testing) installed on it and it rocks.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] 5.3 on an EeePC??

2009-04-27 Thread Karanbir Singh
Les Mikesell wrote:
 I think you really want something that does suspend/wakeup right on a 
 netbook - or even a normal laptop.

CentOS does indeed do all that and is a usable platform on the eeepc, 
with a few edits.

-- 
Karanbir Singh : http://www.karan.org/ : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Reset audio controller w/o rebooting?

2009-04-27 Thread JohnS

On Mon, 2009-04-27 at 12:43 -0700, Bart Schaefer wrote:
 On Mon, Apr 27, 2009 at 9:55 AM, JohnS jse...@gmail.com wrote:
 
  Ok then just a question to solve my thinking. What type of machine is
  this as in Brand.
 
 It's a custom-built desktop tower from Monarch Computer Systems, who
 seems to have gone out of business almost exactly two years ago.  I'd
 forgotten how long I've had this box.
 
  The one I'm see the problem on is a HP 400Mhz Celeron
  254MB of ram.
 
 P4 @ 3GHz w/ 2GB here.

Well that solves my wonders. Yours is way faster than my clients.

  What is the mixer your using?
 
 /usr/libexec/mixer_applet2 from gnome-applets-2.8.0-9.el4
 
  You may can
  try looking at the Sound Preferences Devices Tab to change the options
  there to see if that will help.
 
 I'm on CentOS 4.  There is no Devices tab on Sound Preferences.
 System Settings - Soundcard Detection locks up on the test sound,
 just like any other app ...
Ahh.. Hmm
If it helps my client has 4.7 and when he/she run mplayer that's when
the same problem starts. It happens with and app that plays audio. Let
me look tonight to see what exact mixer/driver my clients is using so I
don't tell you a tail.

JohnStanley


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


[CentOS] php-mcrypt from c5-testing is the wrong version

2009-04-27 Thread Devraj Mukherjee
Hello all,

I am using the c5-testing repo to fetch PHP 5.2.6 and related
libraries, required for the LAMP apps that I want to use. php-mcrypt
still seems to come from the extras repo and is version 5.1.6 and the
php binary doesn't load this module.

Any ideas on howto get php-mcrypt 5.2.6?

Thanks.

-- 
The secret impresses no-one, the trick you use it for is everything
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dell mirror raid boot problems

2009-04-27 Thread John R Pierce
Gregory P. Ennis wrote:
 Everyone,

 I was recently given a Dell raid 386 server that had drives that had
 gone bad.  I replaced the drives with a couple terrabyte sata Seagate
 drives, and set up the bios for a mirrored raid configuration.

 I was able to install Centos 5.2 without difficulty, but when it was
 time to perform the 1st boot it went to grub instead of booting off of
 one of the mirrored drives.

 I could not figure out how to boot through grub, so I changed the bios
 to look at both drives unmirrored.  At that point I was able to boot to
 one of the drives, and the second drive was not mounted.

 The raid logic is within the bios and mother board of the Dell machine.
 Can any of you point me to some literature about making this system work
 as a mirrored raid system.
   

What model Dell server is this?  Surely, this isn't a 386 (16 to 40mhz 
from circa 1989?!?) What Dell RAID controller model does it have?  
They are pretty much all called PERC something, but there are many 
generations.  Is this a true raid (controller based, with a battery 
backed write cache), or a bogus soft (fake) raid setup?  if its the 
latter, I'd set it up with linux native raid, and not use the BIOS raid 
at all


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


Re: [CentOS] Dell mirror raid boot problems

2009-04-27 Thread David M Lemcoe Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John R Pierce wrote:
 Gregory P. Ennis wrote:
 Everyone,

 I was recently given a Dell raid 386 server that had drives that
 had gone bad.  I replaced the drives with a couple terrabyte sata
 Seagate drives, and set up the bios for a mirrored raid
 configuration.

 I was able to install Centos 5.2 without difficulty, but when it
 was time to perform the 1st boot it went to grub instead of
 booting off of one of the mirrored drives.

 I could not figure out how to boot through grub, so I changed the
 bios to look at both drives unmirrored.  At that point I was able
 to boot to one of the drives, and the second drive was not
 mounted.

 The raid logic is within the bios and mother board of the Dell
 machine. Can any of you point me to some literature about making
 this system work as a mirrored raid system.


 What model Dell server is this?  Surely, this isn't a 386 (16 to
 40mhz from circa 1989?!?) What Dell RAID controller model does
 it have? They are pretty much all called PERC something, but there
 are many generations.  Is this a true raid (controller based,
 with a battery backed write cache), or a bogus soft (fake) raid
 setup?  if its the latter, I'd set it up with linux native raid,
 and not use the BIOS raid at all


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

If you are using PERC, it is simply not compatible with Linux, and
should never be. It is a terrible piece of hardware. I would recommend
using dmraid.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn2Xb4ACgkQe0Ain3PYkIZ1DQCfbgStHfKvFWomot4adeiFLc6p
IuYAoI/5sODJBICm/ak1IzfB5U9uCdGB
=Q51i
-END PGP SIGNATURE-

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


Re: [CentOS] Dell mirror raid boot problems

2009-04-27 Thread John R Pierce
David M Lemcoe Jr. wrote:
 If you are using PERC, it is simply not compatible with Linux, and
 should never be. It is a terrible piece of hardware. I would recommend
 using dmraid

say huh?

Admittedly I'm not up on the newer PERCs, but the older ones I've used 
were mostly LSI Logic/AMI Megaraid hardware, with Dell firmware, and 
seemed pretty damn solid to me.   These were ultra320 scsi systems, with 
hotswap drive bays, and battery backed caches.


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


Re: [CentOS] Dell mirror raid boot problems

2009-04-27 Thread Gary Greene
On 4/27/09 6:44 PM, John R Pierce pie...@hogranch.com wrote:

 David M Lemcoe Jr. wrote:
 If you are using PERC, it is simply not compatible with Linux, and
 should never be. It is a terrible piece of hardware. I would recommend
 using dmraid
 
 say huh?
 
 Admittedly I'm not up on the newer PERCs, but the older ones I've used
 were mostly LSI Logic/AMI Megaraid hardware, with Dell firmware, and
 seemed pretty damn solid to me.   These were ultra320 scsi systems, with
 hotswap drive bays, and battery backed caches.

PERCs work just fine under Linux (new and old). There are more than a few
people on this list using Dell servers (which a vast majority use PERC
controllers.) They are tested and certified against RHEL, so I can't see a
reason that they wouldn't just work.

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


Re: [CentOS] MP4

2009-04-27 Thread Gopinath Achari
you can use mplayer to view this type of files

On Saturday 25 April 2009 21:00, fo...@lemcoe.com wrote:
 You can open the stream in a program called VLC.
 --Original Message--
 From: cen...@911networks.com
 Sender: centos-boun...@centos.org
 To: CentOS Mailing list
 ReplyTo: CentOS Mailing list
 Subject: [CentOS] MP4
 Sent: Apr 25, 2009 11:27

 Hi,

 How do get to view MP4 video streams?

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


Re: [CentOS] php-mcrypt from c5-testing is the wrong version

2009-04-27 Thread Joe Pruett
 I am using the c5-testing repo to fetch PHP 5.2.6 and related
 libraries, required for the LAMP apps that I want to use. php-mcrypt
 still seems to come from the extras repo and is version 5.1.6 and the
 php binary doesn't load this module.

 Any ideas on howto get php-mcrypt 5.2.6?

as i was waiting for the c5-testing repo to catch up with redhat, i went 
ahead and built my own.  i had to take the php-extras rpm and merge the 
php changes between 5.1.6 and 5.2.6 into it.  and to get mock to be happy 
i had to add the normal extras repo into the mock config so that the 
mcrypt libraries were there.

i hesitate to make my repo public, but i know it is possible to make a new 
php-mcrypt based on the upstream code.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dell mirror raid boot problems

2009-04-27 Thread JohnS

On Mon, 2009-04-27 at 21:37 -0400, David M Lemcoe Jr. wrote:

snip
 
 If you are using PERC, it is simply not compatible with Linux, and
 should never be. It is a terrible piece of hardware. I would recommend
 using dmraid.

What? That's a big fib. You need to have a look at linux.dell.com!

JohnStanley

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


Re: [CentOS] Dell mirror raid boot problems

2009-04-27 Thread John R Pierce
JohnS wrote:
 On Mon, 2009-04-27 at 21:37 -0400, David M Lemcoe Jr. wrote:

 snip
   
 If you are using PERC, it is simply not compatible with Linux, and
 should never be. It is a terrible piece of hardware. I would recommend
 using dmraid.
 
 
 What? That's a big fib. You need to have a look at linux.dell.com!

   

ahhh, and at the bottom of that page, the SATA CERC raids are 
fake-raid and should be configured as JBOD and use linux md, ditto the 
precision workstations with various Intel ICH*R sata controllers.


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