Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm

2010-07-28 Thread Momonth
Hi,

Here are the packages I have at the moment, which are proven to work for me:

kernel-2.6.18-194.8.1.el5
kvm-83-164.el5
kmod-kvm-83-164.el5
etherboot-roms-kvm-5.4.4-13.el5.centos
etherboot-zroms-kvm-5.4.4-13.el5.centos

Cheers,
Vladimir

2010/7/27 cris rock quenerovi...@hotmail.com:
 Hi guys, I hope you can help me on this issue with kvm/libvirt:

 using this command to install a kvm virtual machine:

 virt-install --connect qemu:///system \
 --name p3k0401 \
 --ram 2048 \
 --file //dev/VolGroup01/p3k0401logvol \
 --accelerate \
 -s 10 \
 --nographics \
 --hvm \
 --location='http://10.1.4.80'

 I get:

 Starting install...
 Retrieving file vmlinuz... | 1.8 MB 00:00
 Retrieving file initrd.img... | 7.1 MB 00:00
 ERROR internal error Domain p3k0401 didn't show up

 Domain installation may not have been
 successful. If it was, you can restart your domain
 by running 'virsh start p3k0401'; otherwise, please
 restart your installation.
 ERROR internal error Domain p3k0401 didn't show up
 Traceback (most recent call last):
 File /usr/sbin/virt-install, line 889, in ?
 main()
 File /usr/sbin/virt-install, line 751, in main
 start_time, guest.start_install)
 File /usr/sbin/virt-install, line 813, in do_install
 dom = install_func(conscb, progresscb, wait=(not wait))
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 541, in
 start_install
 return self._do_install(consolecb, meter, removeOld, wait)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 633, in
 _do_install
 self.domain = self.conn.createLinux(install_xml, 0)
 File /usr/lib64/python2.4/site-packages/libvirt.py, line 974, in
 createLinux
 if ret is None:raise libvirtError('virDomainCreateLinux() failed',
 conn=self)
 libvirtError: internal error Domain p3k0401 didn't show up


 On the /var/log/libvirt/qemu/p3k0401.log:

 LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/
 /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -m 1024 -smp 1 -name p3k0401
 -uuid 7658c102-0738-724c-40eb-e1c58b2c2369 -domid 3 -nographic -monitor
 pty -pidfile /var/run/libvirt/qemu//p3k0401.pid -no-reboot -boot c
 -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.O_SOVo -initrd
 /var/lib/libvirt/boot/virtinst-initrd.img.0ba0Fp -append
 method=http://10.1.4.80  -drive
 file=//dev/VolGroup01/p3k0401logvol,if=ide,index=0,cache=none -net
 nic,macaddr=54:52:00:15:c4:50,vlan=0 -net
 tap,fd=16,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb
 Supported machines are:
 pc Standard PC (alias of pc-0.12)
 pc-0.12 Standard PC (default)
 pc-0.11 Standard PC, qemu 0.11
 pc-0.10 Standard PC, qemu 0.10
 isapc ISA-only PC
 xenpv Xen Para-virtualized PC


 And my packages installed:

 # rpm -qa | grep qemu
 qemu-0.12.4-1.el5.rf

 # rpm -qa | grep kvm
 etherboot-zroms-kvm-5.4.4-13.el5.centos
 kmod-kvm-83-164.el5_5.12
 kvm-83-164.el5_5.12

 # rpm -qa | grep libvirt
 libvirt-0.6.3-33.el5_5.1
 libvirt-0.6.3-33.el5_5.1
 libvirt-python-0.6.3-33.el5_5.1

 # uname -a
 Linux gs1p304 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64
 x86_64 x86_64 GNU/Linux

 Please any pointer is appreciated...

 thanks!

 cris

 
 Hotmail: Free, trusted and rich email service. Get it now.
 ___
 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] which virtualization platform to choose

2010-07-28 Thread Grant McWilliams
On Tue, Jul 27, 2010 at 10:52 PM, Luke S Crawford l...@prgmr.com wrote:

 Grant McWilliams grantmasterfl...@gmail.com writes:

  I'm not sure any of the rest of us have ever had to recompile the kernel
 to
  get xen to work either. I have 160 or so DomUs on CentOS Dom0s and still
  haven't recompiled a kernel.


 how many guests per dom0?  for my smallest plans I approach 160 DomUs per
 dom0, and I /have/ had to recomplile to make that work.  (though, it's been
 rather a long time since I tried it with a CentOS/xen kernel rather than
 a xen.org kernel.)


What kind of situation would you be trying to run 160 DomUs per Dom0? I'd be
curious about your particular
needs for having that many DomUs per Dom0. Did you run into a hard coded
limit on the number of DomUs you could have?

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


Re: [CentOS-es] Migración del Directorio Activo

2010-07-28 Thread Monica BM
Se qeu con esto me voy a llevar palos por todas partes XD
Pero tengo qeu decir, es que el AD de microsoft es muy bueno y sencillo.

De las pocas cosas que tiene Microsoft.

Lo malo es qeu con un AD, meter un linux, es muy complicado.

Sin embargo, al revés, es ams sencillo auqneu la configuración inicial lleve un 
poco de mas trabajo.

Yo nunca tuve que hacerlo, pero si administré un dominio con Fedora - DS, en el 
cuál el entorno era mixto, Linux y windows y funcionaba muy bien.

Un saludo.



- Mensaje original 
De: mic...@casa.co.cu mic...@casa.co.cu
Para: centos-es@centos.org
Enviado: mié,28 julio, 2010 03:38
Asunto: Re: [CentOS-es] Migración del Directorio Activo

Jorge García gar...@gmail.com escribió:

 El 27 de julio de 2010 12:23, Victor Padro vpa...@gmail.com escribió:

 2010/7/27 Alejandro Marin Maturano ama...@impi.gob.mx:
  Oigan bueno veo que para este si hay mucha gente que sabe y por lo mismo
  me gustaria preguntar sobre este mismo tema como hago para migrar un
  servidor con centos 5.5 con ldap + Samba que autentica usuarios, de un
  servidor que se me esta quedando obsoleto en cuanto a Harware se refiere.
 
  saludos
 
 
 
  El 27/07/10 12:09, Victor Padro escribió:
  Realmente hay que ver que tantas politicas/servicios utilizas en ese
  dominio porque si nada mas lo usas para el DNS, DHCP, y
  authentificacion de usuarios, no creo que sea necesario crear un
  dominio, si no con un servidor en CentOS con los servicios de LDAP,
  DNS, DHCP y Samba tienes para reemplazar a Windows Server 2K3, sin
  embargo como se que tienen limitado su acceso a internet te hago
  llegar un pdf que te ayudara muchisimo.
 
 
  Saludos.
 

 Con smbldap-tools podrias hacer la migracion, sin embargo recomendaria
 hacer un laboratorio antes y hacer las pruebas correspondientes antes
 de tirar el Servidor y levantar el nuevo.


 Saludos.



 El problema es la gestión de políticas (GPO), hasta la fecha no he
 encontrado nada que sustituya esa parte.¿Alguien sabe de alguna opción?


Quiero agradecer a todos aquellos que respondieron rapidamente mi  
correo a la lista.

Mis intenciones no son de migrar de la noche a la mañana , montare un  
lab para ir haciendo pruebas, no hay presion en la migración, pero de  
que hay que migrarlo eso ya esta planificado desde hace mucho y ahora  
es tiempo de hacerlo , asi que manos a la obra!

He podido ver que existe un proyecto que ya me mencionaron en un  
correo, Directory Server el mismo esta disponible en el repositorio de  
CentOS , en la seccion de Extras. me pregunto si alguien quizas lo  
tenga implementado y funcionando desde algun tiempo, que pueda darme  
sus referencias y opiniones.

http://wiki.centos.org/HowTos/DirectoryServerSetup

Creo que el mayor problema es la migracion o manejo de las politicas.

Que pueden decirme al respecto?

Slds
Michel



--
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.

___
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] Migración del Directorio Activo

2010-07-28 Thread Arturo Limón
No he llegado a probarlo, pero tenía por ahí guardado desde hace mucho este
enlace, tal vez sirva para algo; como dice el propio artículo, no es AD, son
las antiguas System Policies, pero entiendo que con un emulador de NT4 es lo
más a qué se va a poder llegar (al menos hasta que Samba-4 nos ofrezca otras
posibilidades):

http://wiki.samba.org/index.php/Implementing_System_Policies_with_Samba

Este otro enlace también cuenta cosas que podrían ser de interés (me ha
parecido):

http://www.linuxactionshow.com/forum/comments.php?DiscussionID=238

Esta otra gente tiene una solución, de pago, por lo que parece:

http://www.nitrobit.com/

Esta discusión también me ha parecido interesante:

https://bbs.archlinux.org/viewtopic.php?id=53597

El caso es que como dice Mónica, en efecto AD es una de las pocas cosas
buenas de M$ a efectos funcionales (al margen de cómo este hecho por dentro)
y no es tan fácil emularlo por completo, no digamos ya con la misma
facilidad de configuración (a Dios lo que es de Dios, a M$ lo que es de M$).

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


Re: [CentOS-es] Migración del Directorio Activo

2010-07-28 Thread Héctor Suárez Planas
Saludos, hermanos.

 -Mensaje original-
 De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En
 nombre de mic...@casa.co.cu
 Enviado el: martes, 27 de julio de 2010 09:39 p.m.
 Para: centos-es@centos.org
 Asunto: Re: [CentOS-es] Migración del Directorio Activo
 
 Jorge García gar...@gmail.com escribió:
 
  El 27 de julio de 2010 12:23, Victor Padro vpa...@gmail.com escribió:
 
  2010/7/27 Alejandro Marin Maturano ama...@impi.gob.mx:
   Oigan bueno veo que para este si hay mucha gente que sabe y por lo
 mismo
   me gustaria preguntar sobre este mismo tema como hago para migrar un
   servidor con centos 5.5 con ldap + Samba que autentica usuarios, de
 un
   servidor que se me esta quedando obsoleto en cuanto a Harware se
 refiere.
  
   saludos
  
  
  
   El 27/07/10 12:09, Victor Padro escribió:
   Realmente hay que ver que tantas politicas/servicios utilizas en ese
   dominio porque si nada mas lo usas para el DNS, DHCP, y
   authentificacion de usuarios, no creo que sea necesario crear un
   dominio, si no con un servidor en CentOS con los servicios de LDAP,
   DNS, DHCP y Samba tienes para reemplazar a Windows Server 2K3, sin
   embargo como se que tienen limitado su acceso a internet te hago
   llegar un pdf que te ayudara muchisimo.
  
  
   Saludos.
  
 
  Con smbldap-tools podrias hacer la migracion, sin embargo recomendaria
  hacer un laboratorio antes y hacer las pruebas correspondientes antes
  de tirar el Servidor y levantar el nuevo.
 
 
  Saludos.
 
 
 
  El problema es la gestión de políticas (GPO), hasta la fecha no he
  encontrado nada que sustituya esa parte.¿Alguien sabe de alguna opción?
 
 
 Quiero agradecer a todos aquellos que respondieron rapidamente mi
 correo a la lista.
 
 Mis intenciones no son de migrar de la noche a la mañana , montare un
 lab para ir haciendo pruebas, no hay presion en la migración, pero de
 que hay que migrarlo eso ya esta planificado desde hace mucho y ahora
 es tiempo de hacerlo , asi que manos a la obra!
 
 He podido ver que existe un proyecto que ya me mencionaron en un
 correo, Directory Server el mismo esta disponible en el repositorio de
 CentOS , en la seccion de Extras. me pregunto si alguien quizas lo
 tenga implementado y funcionando desde algun tiempo, que pueda darme
 sus referencias y opiniones.
 
 http://wiki.centos.org/HowTos/DirectoryServerSetup
 
 Creo que el mayor problema es la migracion o manejo de las politicas.
 
 Que pueden decirme al respecto?
 
 Slds
 Michel

Michel y demás hermanos, migrar un AD no es sencillo si se desea migrar a
los usuarios sin tener que pasar a re-establecer su contraseña (yo he pasado
por eso y es bastante pesado). Yo tengo poca experiencia en estos temas, lo
que puedo aportar es lo siguiente:

Monta un Fedora (ahora 389) Directory Server (los paquetes están en el Repo
de EPEL y Alcance Libre), el proceso de instalación es sencillo. Luego de
que tengas todo OK, entonces procede a crear el certificado para asegurar
tus conexiones LDAP (por el puerto 686) y especifícale en el servidor que
solamente acepte conexiones seguras, en el lado del cliente ejecutas openssl
con algunas opciones y apuntando al puerto 686 del servidor LDAP para
extraerle el certificado al mismo para que el cliente se conecte sin
problemas, claro está que tendrías que configurar el cliente LDAP después.

Luego asegúrate que tu W2K3 tenga su Entidad Emisora de Certificados y su AD
tenga su certificado. Si todo está OK, entonces tiene que obtener ambos
certificados (en el Wincows es un .pki y en el Linux es un .p12 si la
memoria no me falla) para añadirlos a ambos servidores. Con esto hecho
tienes que establecer un Acuerdo de Sincronización en el 389DS para así
poder sincronizar el 389 con los usuarios del AD.

Si todo lo anterior es exitoso, tienes que montar en en Windows el PassSync
y configurarlo para que en cuanto haya algún cambio de contraseña por parte
de un usuario, pues, que el PassSync la capture y se la mande al 389DS (esto
es debido a que la función de Hash de los passwords en Wincows no es igual a
la de Linux y, dicho sea de paso, el password no se guarda en la entrada del
usuario en el AD), hay varios modos de forzar a los usuarios a que cambien
sus pass, uno de ellos (el que más me gusta) es por las políticas de cambio
de pass.

Una vez obtenidos todos los datos de los usuarios, entonces es que montar en
tu Linux el smbldap-tools. Claro, entre un amigo y yo lo modificamos (sin
saber ni K de phyton ni perl) para que convirtiera las entradas ntUser
obtenidas del AD en entradas posixAccount y sambaSAMAccount para que nos
pudieran servir para los usuarios (se imaginas casi 1000 usuarios pasando
por el sistema para poner contraseñas, un verdadero dolor de cabeza).

Esto fue lo que hicimos por allá por el año 2007 para resolver el problema
de la migración, claro, de eso ya casi no me acuerdo nada porque me
desentendí de eso. XD Ya saben, cuando uno se pone viejo la memoria falla.
XD Sí sé que tengo esos 

Re: [CentOS-es] Migración del Directorio Activo

2010-07-28 Thread Héctor Suárez Planas
...

 Jorge García gar...@gmail.com escribió:
 
  El 27 de julio de 2010 12:23, Victor Padro vpa...@gmail.com escribió:
 
  2010/7/27 Alejandro Marin Maturano ama...@impi.gob.mx:
   Oigan bueno veo que para este si hay mucha gente que sabe y por lo
 mismo
   me gustaria preguntar sobre este mismo tema como hago para migrar un
   servidor con centos 5.5 con ldap + Samba que autentica usuarios, de
 un
   servidor que se me esta quedando obsoleto en cuanto a Harware se
 refiere.
  
   saludos
  
  
  
   El 27/07/10 12:09, Victor Padro escribió:
   Realmente hay que ver que tantas politicas/servicios utilizas en ese
   dominio porque si nada mas lo usas para el DNS, DHCP, y
   authentificacion de usuarios, no creo que sea necesario crear un
   dominio, si no con un servidor en CentOS con los servicios de LDAP,
   DNS, DHCP y Samba tienes para reemplazar a Windows Server 2K3, sin
   embargo como se que tienen limitado su acceso a internet te hago
   llegar un pdf que te ayudara muchisimo.
  
  
   Saludos.
  
 
  Con smbldap-tools podrias hacer la migracion, sin embargo recomendaria
  hacer un laboratorio antes y hacer las pruebas correspondientes antes
  de tirar el Servidor y levantar el nuevo.
 
 
  Saludos.
 
 
 
  El problema es la gestión de políticas (GPO), hasta la fecha no he
  encontrado nada que sustituya esa parte.¿Alguien sabe de alguna opción?

Sí, Nitrobit Group Policy, lo malo es que tienes que entrenar el bolsillo.
XDD

Está muy bueno para establecer las GPO en Wincows. Ah, te sirve también en
un AD. El tipo no cree.

XD



--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

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


[CentOS-es] Problema con puertos en IPTABLES

2010-07-28 Thread daniel
Hola lista tengo un problema con iptables y los puertos, lo que pasa es que
necesito abrir solo el puerto 22 de la maquina con la IP 192.168.1.33 y que
solo su pueda conectar con la maquina 192.168.1.16 y viceversa, mi script es
el siguiente:


##!/bin/sh
##SCRIPT de IPTABLES - ejemplo del manual de iptables
## Ejemplo de script para firewall entre redes.
## Pello Xabier Altadill Izura
## www.pello.info - pe...@pello.info
echo Aplicando Reglas de Firewall...
## FLUSH de reglas
iptables -F
iptables -X
iptables -Z
iptables -t nat -F
## Establecemos politica por defecto
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
##Permitir conexiones locales
iptables -A INPUT -i 192.168.1.33 -j ACCEPT
##Abrimos el puerto 22

iptables -A INPUT -s 192.168.1.16 -d 192.168.1.33 -p tcp --dport 22 -j
ACCEPT
iptables -A OUTPUT -s 192.168.1.33 -d 192.168.1.16 -p tcp --sport 22 -j
ACCEPT

No se por que cuando hago un iptables -L -n
 me aparece esto:

Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT all  --  0.0.0.0/00.0.0.0/0
ACCEPT tcp  --  192.168.1.16 192.168.1.33tcp dpt:22

Chain FORWARD (policy DROP)
target prot opt source   destination

Chain OUTPUT (policy DROP)
target prot opt source   destination
ACCEPT tcp  --  192.168.1.33 192.168.1.16tcp spt:22

Y al momento de hacer un ssh de la maquina 192.168.1.16 a la 192.168.1.33 si
me puedo conectar pero cuando me conecto de 192.168.1.33 a la 192.168.1.16
no puedo estuve jugando con las reglas y me di cuenta que es al momento de
asignarle el puerto por que por ejemplo si la unicas reglas fueran:

iptables -A INPUT -s 192.168.1.16 -d 192.168.1.33 -p tcp -j ACCEPT
iptables -A OUTPUT -s 192.168.1.33 -d 192.168.1.16 -p tcp -j ACCEPT

si me puedo conectar pero abviamente al no asignarle ningun puerto las dos
maquinas tiene comunicación por todos los puertos algo que no quiero alquien
tiene alguna idea?? la versión de IPTABLES que manejo es la  iptables v1.3.5
Gracias de antemano.

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


Re: [CentOS-es] Problema con puertos en IPTABLES

2010-07-28 Thread Eduardo Grosclaude
2010/7/28 daniel danielog2...@gmail.com

 Hola lista tengo un problema con iptables y los puertos, lo que pasa es que
 necesito abrir solo el puerto 22 de la maquina con la IP 192.168.1.33 y que
 solo su pueda conectar con la maquina 192.168.1.16 y viceversa, mi script es
 el siguiente:


 ##!/bin/sh
 ##SCRIPT de IPTABLES - ejemplo del manual de iptables
 ## Ejemplo de script para firewall entre redes.
 ## Pello Xabier Altadill Izura
 ## www.pello.info - pe...@pello.info
 echo Aplicando Reglas de Firewall...
 ## FLUSH de reglas
 iptables -F
 iptables -X
 iptables -Z
 iptables -t nat -F
 ## Establecemos politica por defecto
 iptables -P INPUT DROP
 iptables -P OUTPUT DROP
 iptables -P FORWARD DROP
 ##Permitir conexiones locales
 iptables -A INPUT -i 192.168.1.33 -j ACCEPT
 ##Abrimos el puerto 22

 iptables -A INPUT -s 192.168.1.16 -d 192.168.1.33 -p tcp --dport 22 -j
 ACCEPT
 iptables -A OUTPUT -s 192.168.1.33 -d 192.168.1.16 -p tcp --sport 22 -j
 ACCEPT

 No se por que cuando hago un iptables -L -n
  me aparece esto:

 Chain INPUT (policy DROP)
 target prot opt source   destination
 ACCEPT all  --  0.0.0.0/00.0.0.0/0
 ACCEPT tcp  --  192.168.1.16 192.168.1.33tcp dpt:22


 Chain FORWARD (policy DROP)
 target prot opt source   destination

 Chain OUTPUT (policy DROP)
 target prot opt source   destination
 ACCEPT tcp  --  192.168.1.33 192.168.1.16tcp spt:22

 Y al momento de hacer un ssh de la maquina 192.168.1.16 a la 192.168.1.33
 si me puedo conectar pero cuando me conecto de 192.168.1.33 a la
 192.168.1.16 no puedo estuve jugando con las reglas y me di cuenta que es al
 momento de asignarle el puerto por que por ejemplo si la unicas reglas
 fueran:

 iptables -A INPUT -s 192.168.1.16 -d 192.168.1.33 -p tcp -j ACCEPT
 iptables -A OUTPUT -s 192.168.1.33 -d 192.168.1.16 -p tcp -j ACCEPT

 si me puedo conectar pero abviamente al no asignarle ningun puerto las dos
 maquinas tiene comunicación por todos los puertos algo que no quiero alquien
 tiene alguna idea?? la versión de IPTABLES que manejo es la  iptables v1.3.5
 Gracias de antemano.


El puerto 22 debería estar abierto en la máquina que recibe la conexión SSH.
Si no puedes conectarte a la 192.168.1.16 puede ser que no has corrido tu
script de firewall en ese equipo.

Por otro lado, recuerda que no basta con abrir el puerto para que exista el
servicio de ssh, sino que debes activarlo con service sshd start.

Otra cosa para recordar es que posiblemente tengas activado el servicio
iptables, que tiene su propio conjunto de reglas, y con este script puede
tener colisiones. Si vas a usar tus propias reglas, es recomendable que
bajes el servicio iptables para evitar confusiones (de iptables y tuyas). Si
en cambio sigues usando el servicio iptables, busca el archivo
/etc/sysconfig/iptables y edita éste. Luego manejas el firewall con service
iptables stop/start. También en ese caso si usas escritorio gráfico, además
tienes una consola de administración gráfica accesible desde el escritorio.

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Migración del Directorio Activo

2010-07-28 Thread michel
Héctor Suárez Planas bolo...@medired.scu.sld.cu escribió:

 Saludos, hermanos.

 -Mensaje original-
 De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En
 nombre de mic...@casa.co.cu
 Enviado el: martes, 27 de julio de 2010 09:39 p.m.
 Para: centos-es@centos.org
 Asunto: Re: [CentOS-es] Migración del Directorio Activo

 Jorge García gar...@gmail.com escribió:

  El 27 de julio de 2010 12:23, Victor Padro vpa...@gmail.com escribió:
 
  2010/7/27 Alejandro Marin Maturano ama...@impi.gob.mx:
   Oigan bueno veo que para este si hay mucha gente que sabe y por lo
 mismo
   me gustaria preguntar sobre este mismo tema como hago para migrar un
   servidor con centos 5.5 con ldap + Samba que autentica usuarios, de
 un
   servidor que se me esta quedando obsoleto en cuanto a Harware se
 refiere.
  
   saludos
  
  
  
   El 27/07/10 12:09, Victor Padro escribió:
   Realmente hay que ver que tantas politicas/servicios utilizas en ese
   dominio porque si nada mas lo usas para el DNS, DHCP, y
   authentificacion de usuarios, no creo que sea necesario crear un
   dominio, si no con un servidor en CentOS con los servicios de LDAP,
   DNS, DHCP y Samba tienes para reemplazar a Windows Server 2K3, sin
   embargo como se que tienen limitado su acceso a internet te hago
   llegar un pdf que te ayudara muchisimo.
  
  
   Saludos.
  
 
  Con smbldap-tools podrias hacer la migracion, sin embargo recomendaria
  hacer un laboratorio antes y hacer las pruebas correspondientes antes
  de tirar el Servidor y levantar el nuevo.
 
 
  Saludos.
 
 
 
  El problema es la gestión de políticas (GPO), hasta la fecha no he
  encontrado nada que sustituya esa parte.¿Alguien sabe de alguna opción?
 

 Quiero agradecer a todos aquellos que respondieron rapidamente mi
 correo a la lista.

 Mis intenciones no son de migrar de la noche a la mañana , montare un
 lab para ir haciendo pruebas, no hay presion en la migración, pero de
 que hay que migrarlo eso ya esta planificado desde hace mucho y ahora
 es tiempo de hacerlo , asi que manos a la obra!

 He podido ver que existe un proyecto que ya me mencionaron en un
 correo, Directory Server el mismo esta disponible en el repositorio de
 CentOS , en la seccion de Extras. me pregunto si alguien quizas lo
 tenga implementado y funcionando desde algun tiempo, que pueda darme
 sus referencias y opiniones.

 http://wiki.centos.org/HowTos/DirectoryServerSetup

 Creo que el mayor problema es la migracion o manejo de las politicas.

 Que pueden decirme al respecto?

 Slds
 Michel

 Michel y demás hermanos, migrar un AD no es sencillo si se desea migrar a
 los usuarios sin tener que pasar a re-establecer su contraseña (yo he pasado
 por eso y es bastante pesado). Yo tengo poca experiencia en estos temas, lo
 que puedo aportar es lo siguiente:

 Monta un Fedora (ahora 389) Directory Server (los paquetes están en el Repo
 de EPEL y Alcance Libre), el proceso de instalación es sencillo. Luego de
 que tengas todo OK, entonces procede a crear el certificado para asegurar
 tus conexiones LDAP (por el puerto 686) y especifícale en el servidor que
 solamente acepte conexiones seguras, en el lado del cliente ejecutas openssl
 con algunas opciones y apuntando al puerto 686 del servidor LDAP para
 extraerle el certificado al mismo para que el cliente se conecte sin
 problemas, claro está que tendrías que configurar el cliente LDAP después.

 Luego asegúrate que tu W2K3 tenga su Entidad Emisora de Certificados y su AD
 tenga su certificado. Si todo está OK, entonces tiene que obtener ambos
 certificados (en el Wincows es un .pki y en el Linux es un .p12 si la
 memoria no me falla) para añadirlos a ambos servidores. Con esto hecho
 tienes que establecer un Acuerdo de Sincronización en el 389DS para así
 poder sincronizar el 389 con los usuarios del AD.

 Si todo lo anterior es exitoso, tienes que montar en en Windows el PassSync
 y configurarlo para que en cuanto haya algún cambio de contraseña por parte
 de un usuario, pues, que el PassSync la capture y se la mande al 389DS (esto
 es debido a que la función de Hash de los passwords en Wincows no es igual a
 la de Linux y, dicho sea de paso, el password no se guarda en la entrada del
 usuario en el AD), hay varios modos de forzar a los usuarios a que cambien
 sus pass, uno de ellos (el que más me gusta) es por las políticas de cambio
 de pass.

 Una vez obtenidos todos los datos de los usuarios, entonces es que montar en
 tu Linux el smbldap-tools. Claro, entre un amigo y yo lo modificamos (sin
 saber ni K de phyton ni perl) para que convirtiera las entradas ntUser
 obtenidas del AD en entradas posixAccount y sambaSAMAccount para que nos
 pudieran servir para los usuarios (se imaginas casi 1000 usuarios pasando
 por el sistema para poner contraseñas, un verdadero dolor de cabeza).

 Esto fue lo que hicimos por allá por el año 2007 para resolver el problema
 de la migración, claro, de eso ya casi no me acuerdo nada porque me
 desentendí de 

Re: [CentOS-es] Problema con puertos en IPTABLES

2010-07-28 Thread Lic. Domingo Varela Yahuitl

 porque no intentas con estas reglas



iptables  -A INPUT -s 192.168.x.x -p tcp -m tcp --dport 22 -j ACCEPT
iptables  -A OUTPUT -d 192.168.x.x -p tcp -m tcp --dport 22 -j ACCEPT

y vas colocando uno por uno las reglas desde la linea de comando  y ves 
que pasa


Saludos



On 7/28/2010 2:57 PM, Eduardo Grosclaude wrote:



2010/7/28 daniel danielog2...@gmail.com mailto:danielog2...@gmail.com

Hola lista tengo un problema con iptables y los puertos, lo que
pasa es que necesito abrir solo el puerto 22 de la maquina con la
IP 192.168.1.33 y que solo su pueda conectar con la maquina
192.168.1.16 y viceversa, mi script es el siguiente:


##!/bin/sh
##SCRIPT de IPTABLES - ejemplo del manual de iptables
## Ejemplo de script para firewall entre redes.
## Pello Xabier Altadill Izura
## www.pello.info http://www.pello.info - pe...@pello.info
mailto:pe...@pello.info
echo Aplicando Reglas de Firewall...
## FLUSH de reglas
iptables -F
iptables -X
iptables -Z
iptables -t nat -F
## Establecemos politica por defecto
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
##Permitir conexiones locales
iptables -A INPUT -i 192.168.1.33 -j ACCEPT
##Abrimos el puerto 22

iptables -A INPUT -s 192.168.1.16 -d 192.168.1.33 -p tcp --dport
22 -j ACCEPT
iptables -A OUTPUT -s 192.168.1.33 -d 192.168.1.16 -p tcp --sport
22 -j ACCEPT

No se por que cuando hago un iptables -L -n
 me aparece esto:

Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT all  -- 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0
http://0.0.0.0/0
ACCEPT tcp  --  192.168.1.16 192.168.1.33tcp
dpt:22

Chain FORWARD (policy DROP)
target prot opt source   destination

Chain OUTPUT (policy DROP)
target prot opt source   destination
ACCEPT tcp  --  192.168.1.33 192.168.1.16tcp
spt:22

Y al momento de hacer un ssh de la maquina 192.168.1.16 a la
192.168.1.33 si me puedo conectar pero cuando me conecto de
192.168.1.33 a la 192.168.1.16 no puedo estuve jugando con las
reglas y me di cuenta que es al momento de asignarle el puerto por
que por ejemplo si la unicas reglas fueran:

iptables -A INPUT -s 192.168.1.16 -d 192.168.1.33 -p tcp -j ACCEPT
iptables -A OUTPUT -s 192.168.1.33 -d 192.168.1.16 -p tcp -j ACCEPT

si me puedo conectar pero abviamente al no asignarle ningun puerto
las dos maquinas tiene comunicación por todos los puertos algo que
no quiero alquien tiene alguna idea?? la versión de IPTABLES que
manejo es la  iptables v1.3.5 Gracias de antemano.


El puerto 22 debería estar abierto en la máquina que recibe la 
conexión SSH. Si no puedes conectarte a la 192.168.1.16 puede ser que 
no has corrido tu script de firewall en ese equipo.


Por otro lado, recuerda que no basta con abrir el puerto para que 
exista el servicio de ssh, sino que debes activarlo con service sshd 
start.


Otra cosa para recordar es que posiblemente tengas activado el 
servicio iptables, que tiene su propio conjunto de reglas, y con este 
script puede tener colisiones. Si vas a usar tus propias reglas, es 
recomendable que bajes el servicio iptables para evitar confusiones 
(de iptables y tuyas). Si en cambio sigues usando el servicio 
iptables, busca el archivo /etc/sysconfig/iptables y edita éste. Luego 
manejas el firewall con service iptables stop/start. También en ese 
caso si usas escritorio gráfico, además tienes una consola de 
administración gráfica accesible desde el escritorio.


--
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina


___
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] Problemas con IPTABLES

2010-07-28 Thread Jeiler Rego Romero
Saludos,
Tengo un servidor con dos tarjetas de red, eth0  lan (192.168.0.1) y eht1  wan 
(192.168.13.22). Tengo  configurado un firewall con Iptables y la política por 
defecto es DROP, también tengo un Squid (192.168.0.1)que es  hijo de otro 
(192.168.44.27 (parent)). Con el Iptables detenido todo funciona, pero una vez 
que lo arranco no puedo navegar desde ninguna de las máquinas de la lan, al 
revisar las estadísticas me percato que el problema es desde mi servidor hacia  
el que recibo la cachue de squid. esta es la configuración de mi firewall.

# Generated by iptables-save v1.3.5 on Thu Jul  8 11:25:56 2010
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Thu Jul  8 11:25:56 2010
# Generated by iptables-save v1.3.5 on Thu Jul  8 11:25:56 2010
*nat
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -p tcp -m tcp -s 192.168.0.0/24 -i eth0 --dport 80 -j REDIRECT 
--to 3128
-A POSTROUTING -p tcp -m tcp -s 192.168.0.0/24 -d 192.168.44.26 -o eth1 -j 
MASQUERADE
-A POSTROUTING -p tcp -m tcp -s 192.168.0.0/24 -d 192.168.44.28 -o eth1 -j 
MASQUERADE
COMMIT
# Completed on Thu Jul  8 11:25:56 2010
# Generated by iptables-save v1.3.5 on Thu Jul  8 11:25:56 2010
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A INPUT -i eth0 -j ACCEPT
-A OUTPUT -o eth0 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -j ACCEPT
-A INPUT -p tcp -m tcp -s 192.168.0.0/24 --dport 21 -j ACCEPT
-A OUTPUT -p tcp -m tcp -d 192.168.0.0/24 --sport 21 -j ACCEPT
-A INPUT -p udp -m udp -s 192.168.0.0/24 --dport 21 -j ACCEPT
-A OUTPUT -p udp -m udp -d 192.168.0.0/24 --sport 21 -j ACCEPT
-A INPUT -p tcp -m tcp -s 192.168.0.11 --dport 22 -j ACCEPT
-A OUTPUT -p tcp -m tcp -d 192.168.0.11 --sport 22 -j ACCEPT
-A FORWARD -i eth0 -j ACCEPT
-A FORWARD -o eth0 -j ACCEPT
-A FORWARD -p tcp -m tcp -s 192.168.0.0/24 -i eth0 --dport 80 -j ACCEPT
-A INPUT -p udp -m udp -s 192.168.0.11 --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp -s 192.168.0.11 --dport 53 -j ACCEPT
-A OUTPUT -p udp -m udp -d 192.168.0.11 --sport 22 -j ACCEPT
-A INPUT -p udp -m udp -s 192.168.0.11 --dport 53 -j ACCEPT
-A OUTPUT -p tcp -m tcp -d 192.168.0.11 --sport 53 -j ACCEPT
-A INPUT -p tcp -m tcp -m state --sport 80 --state ESTABLISHED,RELATED -j ACCEPT
-A OUTPUT -p udp -m udp -d 192.168.0.11 --sport 53 -j ACCEPT
COMMIT
# Completed on Thu Jul  8 11:25:56 2010___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] Open source tool like CPanel

2010-07-28 Thread James Corteciano
Hi All,

Any could suggest open source tool like CPanel that could do the following?

-User access control
   *user will be able to modify specific virtual host config file. Example
is /etc/httpd/conf.d/domain.com.conf
   *user will be able to upload files to the specific webroot (example only
/var/www/vhosts/domain.com)
   *user will be able to access MySQL server with can do create
database,upload database, etc...

I tried the webmin but it can't allow to set user to do modify specific
virtual host config files and upload files to the specific webroot assigned
by the admin/root.

Hope anyone could help me out.

Thanks

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


Re: [CentOS] Php 5.2.x support ends

2010-07-28 Thread Eero Volotinen
2010/7/26 John Hinton webmas...@ew3d.com:
 On 7/26/2010 9:38 AM, John R Pierce wrote:
    On 07/26/10 12:04 AM, Bob Hoffman wrote:

 Thinking of just sitting on this for awhile? Thoughts?



    Last release for PHP 5.2   updates for 5.3

 PHP Logo The users of PHP 5.2 should upgrade to 5.3 at their earliest
 convenience, as the active support of the 5.2 series came to an end with the
 release of version 5.2.14 earlier today. PHP 5.2.0 was released almost four
 years ago and according to the release announcement,
 http://www.php.net/archive/2010.php#id2010-07-22-1

 ...


 sounds like a great reason to get away from using PHP entirely, since
 they seem to be incapable of releasing upgrades that don't massively
 break applications.   4 years is just too short of a life cycle for a
 major release used in a production system.


 Always a dilemma. The very beauty of upstream therefore CentOS is that
 security issues will be backported to our current installations. In a
 hosting environment, you don't have to worry about breaking people's php
 websites/apps. The downside is the long lived old php versions do not
 run many of the new apps those same hosted clients wish to run. But in
 most cases, it's those same clients that build something and expect it
 to run forever and get very upset when they are told they must
 upgrade/rewrite their scripts.

 Of note. I did a 5.2 upgrade on one of our local use systems. I don't
 know how much more is broken, but for certain the standard CentOS
 install of SquirrelMail is borked. We don't use it on that system, so no
 big deal. I thought I'd post this just so those with mission critical
 machines would know that upgrading PHP does have an effect on at least
 this one upstream package. I can only assume if one looked deep enough,
 some other things may be broken as well. It really is hard to test
 'everything' that a client may be using.

 To me, the fact that PHP seems to have a 4 year life cycle, further
 strengthens the use of CentOS with its 7 year life cycle. Yes, it is an
 inconvenience from time to time. We don't get to count how many times it
 is a convenience however. You only hear when it doesn't or can't work,
 not how many times something continues to work due to this mindset.

Well, mainly problem is that rhel/centos is shipping so old php
version and mysql.

and lack of reliable source for newer versions for production.. I
hope rhel 6/centos 6  fixes this problem also..

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


Re: [CentOS] Open source tool like CPanel

2010-07-28 Thread Dogsbody

 Any could suggest open source tool like CPanel that could do the following?

Try BlueOnyx - http://www.blueonyx.it/

It started off as Cobalt (which was bought and destroyed by Sun 
Microsystems), it then went open source, turned into BlueQuartz and then 
turned into BlueOnyx.  As such it's actually a very strong product that 
is well maintained.

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


Re: [CentOS] Open source tool like CPanel

2010-07-28 Thread Rudi Ahlers
On Wed, Jul 28, 2010 at 10:30 AM, James Corteciano
ja...@linux-source.org wrote:
 Hi All,
 Any could suggest open source tool like CPanel that could do the following?
 -User access control
    *user will be able to modify specific virtual host config file. Example
 is /etc/httpd/conf.d/domain.com.conf
    *user will be able to upload files to the specific webroot (example only
 /var/www/vhosts/domain.com)
    *user will be able to access MySQL server with can do create
 database,upload database, etc...
 I tried the webmin but it can't allow to set user to do modify specific
 virtual host config files and upload files to the specific webroot assigned
 by the admin/root.
 Hope anyone could help me out.
 Thanks
 James

 ___



There are many, do a google search for free linux hosting control panel
 Look @ Webmin + Virtualmin, or SysCP



-- 
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


Re: [CentOS] Wifi not working

2010-07-28 Thread John Doe
From: Phil Savoie psavoie1...@rogers.com

 I have the AR9285 wireless adaptor on an HP DV6-2128ca  notebook.  I can 
 see it. it comes up in NetworkManager but never gets  an IP.  the router 
 is a linksys using WPA/PSK security.   Would/could someone please help me 
 out trying to get this to work?   Output of several commands follows:

Could it be IPv6?

JD


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


Re: [CentOS] Php 5.2.x support ends

2010-07-28 Thread John Doe
From: Eero Volotinen eero.voloti...@iki.fi

 Well,  mainly problem is that rhel/centos is shipping so old php
 version and  mysql.
 and lack of reliable source for newer versions for production..  I
 hope rhel 6/centos 6  fixes this problem  also..

It will temporarily fix the problem...  But in n years, we will have once more 
the same discussion and will hope centos 7 will solve this problem...  Rinse 
and 
repeat  ^_^
On the opposite side, I recently tried to explain to some mplayer dev why 
having 
dev (alpha,beta,rc) and prod(stable) versions was a good idea... but they stood 
by their alaways compile the latest svn version and it helps debug the 
application faster (true, but a pain for users) stances.

JD


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


Re: [CentOS] Enabling X on headless server via network

2010-07-28 Thread John Doe
From: Nataraj incoming-cen...@rjl.com

 Are there any advantages to running FreeNX  over vncserver?  Does it 
 perform  better?

Unless I am mistaken:
VNC traffic is bitmap (whole screen or part of the screen, optionaly 
compressed) 
transfered at each refresh.
FreeNX is compressed/cached XWindow traffic.
I think, although there are bitmaps in XWindow too, you could almost think of 
it 
as bitmap (heavy) vs vectorial (light).
http://en.wikipedia.org/wiki/NX_technology

JD


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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread John Doe
 From: Boris Epstein borepst...@gmail.com

  On  07/27/2010 11:18 AM, Boris Epstein wrote:
  I've got a few older 32-bit PC's that only  have a CD drive (no DVD).
  So I downloaded all the ISO's and I  thought I'd install CentOS 5.5 on
  this 1.25 GB P-3 (I think, don't  remember what CPU it's got right off
  hand, not that it should  matter). So I tried it there, got a fatal
  exception. OK, no problem  - thinking that maybe  something was wrong
  with that machine I  decided to try it on a different one, a P-3 with
  384 MB or RAM. Same  thing happened.
  So here's my question: has anybody  successfully installed CentOS 5.5
  on a 32-bit machine (i386) using  individual CD's as their installation
   media?
 By  the way - since it sounds like you have the experience - how easy
 is it to  mirror CentOS repositories locally? How much space do I  need,
 roughly?

I mirror it manualy (os from the DVDs and update with a simple rsync), although 
there is a createrepo package for mirroring repos.
My following repo (i386+x86_64) takes 12GB:
5/os/i386/CentOS
5/os/i386/repodata
5/os/i386/images
5/os/i386/images/pxeboot
5/os/i386/images/xen
5/updates/i386
5/updates/i386/RPMS
5/updates/i386/repodata
5/os/x86_64/CentOS
5/os/x86_64/repodata
5/os/x86_64/images
5/os/x86_64/images/pxeboot
5/os/x86_64/images/xen
5/updates/x86_64
5/updates/x86_64/RPMS
5/updates/x86_64/repodata

About your main issue; did you try older releases or different distros to test?
Maybe try these kernel options (noapic, acpi=off, etc...)

JD


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


Re: [CentOS] Wifi not working

2010-07-28 Thread Phil Savoie
John Doe wrote:
 Could it be IPv6?
 
 JD
 

I don't think so as I disabled IPV6 on install.  But I do appreciate 
your suggestion.

Thanks,

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Stephen Harris
On Wed, Jul 28, 2010 at 03:39:46AM -0700, John Doe wrote:
  From: Boris Epstein borepst...@gmail.com
  By  the way - since it sounds like you have the experience - how easy
  is it to  mirror CentOS repositories locally? How much space do I  need,
  roughly?

 I mirror it manualy (os from the DVDs and update with a simple rsync), 
 although 
 there is a createrepo package for mirroring repos.

You don't need a createrepo or anything else like; just a simple rsync.

I also copy the DVD and updates.

For i386:
  % du -hs /RedHat/DVD/CentOS-5.5
  3.9G/RedHat/DVD/CentOS-5.5

  % du -hs /RedHat/updates/centos5.5/i386
  1.7G/RedHat/updates/centos5.5/i386

For x86_64:
  % du -hs /RedHat/DVD/CentOS-5.5_x86_64
  4.4G/RedHat/DVD/CentOS-5.5_x86_64

  % du -hs /RedHat/updates/centos5.5/x86_64
  1.9G/RedHat/updates/centos5.5/x86_64

The rsync script is pretty simple; I run it from cron regularly.

  #!/bin/sh
  cd /RedHat/updates/centos5.5 || exit

  rsync --delete -rlptDzHq rsync://mirrors.kernel.org/centos/5.5/updates/i386 .
  rsync --delete -rlptDzHq rsync://mirrors.kernel.org/centos/5.5/updates/x86_64 
.

Then I can set up my yum.repos.d similar to this:

  [c5-local]
  name=CentOS-$releasever - Media
  baseurl=file:///RedHat/DVD/CentOS-5/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1

  [update-local]
  name=CentOS-$releasever - Updates local
  baseurl=file:///RedHat/updates/centos$releasever/$basearch/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1

And, of course, disable the default repositories.

-- 

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


[CentOS] System Admin

2010-07-28 Thread Haluk AKIN
Hello,

I have this website hosted on a CENTOS box.

I would like to find someone who can:
-monitor the server (and even monitor MySQL if possible)
-optimize it
-fix problems
-manage backups
-migrate it to another hosting company if that is necessary.

I understand openlogic might offer some of the services above. I already
contacted them and waiting for a reply.

But I thought maybe someone here can offer me some advice on this matter. I
cannot afford a full-time system admin. But I should be able to afford 1-2
days a week.

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Boris Epstein
On Wed, Jul 28, 2010 at 7:23 AM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Jul 28, 2010 at 03:39:46AM -0700, John Doe wrote:
  From: Boris Epstein borepst...@gmail.com
  By  the way - since it sounds like you have the experience - how easy
  is it to  mirror CentOS repositories locally? How much space do I  need,
  roughly?

 I mirror it manualy (os from the DVDs and update with a simple rsync), 
 although
 there is a createrepo package for mirroring repos.

 You don't need a createrepo or anything else like; just a simple rsync.

 I also copy the DVD and updates.

 For i386:
  % du -hs /RedHat/DVD/CentOS-5.5
  3.9G    /RedHat/DVD/CentOS-5.5

  % du -hs /RedHat/updates/centos5.5/i386
  1.7G    /RedHat/updates/centos5.5/i386

 For x86_64:
  % du -hs /RedHat/DVD/CentOS-5.5_x86_64
  4.4G    /RedHat/DVD/CentOS-5.5_x86_64

  % du -hs /RedHat/updates/centos5.5/x86_64
  1.9G    /RedHat/updates/centos5.5/x86_64

 The rsync script is pretty simple; I run it from cron regularly.

  #!/bin/sh
  cd /RedHat/updates/centos5.5 || exit

  rsync --delete -rlptDzHq rsync://mirrors.kernel.org/centos/5.5/updates/i386 .
  rsync --delete -rlptDzHq 
 rsync://mirrors.kernel.org/centos/5.5/updates/x86_64 .

 Then I can set up my yum.repos.d similar to this:

  [c5-local]
  name=CentOS-$releasever - Media
  baseurl=file:///RedHat/DVD/CentOS-5/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1

  [update-local]
  name=CentOS-$releasever - Updates local
  baseurl=file:///RedHat/updates/centos$releasever/$basearch/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1

 And, of course, disable the default repositories.

 --

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


Thanks, Stephen, looks like an excellent set of instructions. I may
well try that.

Why should I disable the default repositories, though?

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


Re: [CentOS] how to install centos on the attached external usb hard disk?

2010-07-28 Thread Les Mikesell
hadi motamedi wrote:
 
 
 Did you enable usb booting in the bios...?
 
 JD
 
 
 
 ___
 
 I press 'ESC' after reboot the machine and select the boot device as 
 'USB' but it cannot be booted from.

I think I have seen computers that would boot from an unpartitioned flash key 
but not a device with partitions - but I don't know if this is common or how to 
change it.

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


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


Re: [CentOS] Enabling X on headless server via network

2010-07-28 Thread Les Mikesell
Nataraj wrote:
 Stephen Harris wrote:
 Even another ISP may not help so much.  I have Verizon FIOS and am based on
 the East Coast.  There's a 92ms delay to reach my linode, in Fremont.
 Any message the X client sends to the server and then waits for a reply would
 have approx 200ms round trip time.  I doesn't take long before these message
 delays add up to a real long delay.

 Even my local East Coast Panix v-colo has a 15ms delay; that's a lot smaller
 but it still adds to the time it takes to open an application; especially
 one as complicated as firefox which may make thousands of requests.

 Hence FreeNX which, effectively, runs an X server on your remote machine
 and sends screen data back to your local machine.  In this case the
 round trip times are massively reduced to effectively local machine
 speeds.

   
 Are there any advantages to running FreeNX over vncserver?  Does it 
 perform better?

Yes, in some cases it it much better.  Vnc just sends bitmaps but FreeNX uses X 
protocol with proxy/caching to improve it.  Plus it runs over ssh by default 
and 
automatically sets up sessions per connection.

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


[CentOS] efi-app-x86_64 on 5.5?

2010-07-28 Thread Jason Pyeron
I am trying to bring in a fedora 13 rpm, when compiliny objcopy is given a
target of efi-app-x86_64, when I do a objcopy --info it is not listed.

It does list many elf (including 64 bit) and efi-app-ia32 bit

Any suggestions, what additional information could I provide.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



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


Re: [CentOS] Enabling X on headless server via network

2010-07-28 Thread Bowie Bailey
 On 7/28/2010 12:19 AM, Nataraj wrote:

 Are there any advantages to running FreeNX over vncserver?  Does it 
 perform better?

I have run both.  On a local network, they are about the same.  Over the
Internet, FreeNX is much more responsive.

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


Re: [CentOS] how to install centos on the attached external usb hard disk?

2010-07-28 Thread m . roth
Les Mikesell wrote:
 hadi motamedi wrote:

 Did you enable usb booting in the bios...?

 I press 'ESC' after reboot the machine and select the boot device as
 'USB' but it cannot be booted from.

 I think I have seen computers that would boot from an unpartitioned flash
 key but not a device with partitions - but I don't know if this is
common or
 how to change it.

I dunno - the USB key I built for installing CentOS has two partitions,
and the first is flagged bootable, and all the systems I've used it on
certainly boot from that first partition.

mark once I go through the boot menu

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


Re: [CentOS] CENTOS 5.5 segfault what it mean??

2010-07-28 Thread Ross Walker
On Jul 27, 2010, at 11:11 AM, mcclnx mcc mcc...@yahoo.com.tw wrote:

 We have CENTOS 5.5 on DELL server and several ORACLE databases on version 
 10.2.0.4 and 11.1.0.7.  Recently I found following messages popup on 
 /var/log/messages:
 
 
 Jul 26 16:28:03 ORA6 kernel: oracle[29286]: segfault at fff0 rip 
 07d54183 rsp 7f6c3080 error 4
 Jul 26 16:28:07 ORA6 kernel: oracle[29300]: segfault at fff0 rip 
 07d54183 rsp 7fff47838560 error 4
 Jul 26 16:28:11 ORA6 kernel: oracle[29309]: segfault at fff0 rip 
 07d54183 rsp 7fffda1a3ee0 error 4
 Jul 26 16:28:15 ORA6 kernel: oracle[29322]: segfault at fff0 rip 
 07d54183 rsp 7fff97087220 error 4
 Jul 26 16:28:19 ORA6 kernel: oracle[29337]: segfault at fff0 rip 
 07d54183 rsp 7fffb3647280 error 4
 
 I can not find and trace file or core dump file on O.S. and ORACLE databases. 
  I also check hardware log and NO memory or disks error.
 
 Any ideal?

Use the Oracle installation guides and check your ulimits and shared memory 
configuration.

If that doesn't fix it, call Oracle support.

-Ross

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


Re: [CentOS] efi-app-x86_64 on 5.5?

2010-07-28 Thread Jason Pyeron
 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of Jason Pyeron
 Sent: Wednesday, July 28, 2010 9:05
 To: 'CentOS mailing list'
 Subject: [CentOS] efi-app-x86_64 on 5.5?
 
 I am trying to bring in a fedora 13 rpm, when compiliny 
 objcopy is given a target of efi-app-x86_64, when I do a 
 objcopy --info it is not listed.
 
 It does list many elf (including 64 bit) and efi-app-ia32 bit
 
 Any suggestions, what additional information could I provide.

Trying to compile binutil from fedora 13... It is supposed to address this with
a higher version 



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


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


Re: [CentOS] efi-app-x86_64 on 5.5?

2010-07-28 Thread JohnS

On Wed, 2010-07-28 at 10:14 -0400, Jason Pyeron wrote:
 
  -Original Message-
  From: centos-boun...@centos.org 
  [mailto:centos-boun...@centos.org] On Behalf Of Jason Pyeron
  Sent: Wednesday, July 28, 2010 9:05
  To: 'CentOS mailing list'
  Subject: [CentOS] efi-app-x86_64 on 5.5?
  
  I am trying to bring in a fedora 13 rpm, when compiliny 
  objcopy is given a target of efi-app-x86_64, when I do a 
  objcopy --info it is not listed.
  
  It does list many elf (including 64 bit) and efi-app-ia32 bit
  
  Any suggestions, what additional information could I provide.
 
 Trying to compile binutil from fedora 13... It is supposed to address this 
 with
 a higher version 
---
You will find out that some things are hit or miss.  Then at times you
will break the build machine with the newer binutils.  Fedora rpms do
not always work or build for RH/CentOS.

John

Why not give the exact error from the build out put.

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Stephen Harris
On Wed, Jul 28, 2010 at 08:52:55AM -0400, Boris Epstein wrote:
 On Wed, Jul 28, 2010 at 7:23 AM, Stephen Harris li...@spuddy.org wrote:
  [c5-local]
  name=CentOS-$releasever - Media
  baseurl=file:///RedHat/DVD/CentOS-5/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1
 
  [update-local]
  name=CentOS-$releasever - Updates local
  baseurl=file:///RedHat/updates/centos$releasever/$basearch/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1
 
  And, of course, disable the default repositories.

 Why should I disable the default repositories, though?

If you don't then you'll have the default internet based repositories _and_
your local mirror both providing packages at the same time, and you'll gain
no benefit for having the local mirror.

-- 

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


Re: [CentOS] efi-app-x86_64 on 5.5?

2010-07-28 Thread Jason Pyeron

 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of JohnS
 Sent: Wednesday, July 28, 2010 10:24
 To: CentOS mailing list
 Subject: Re: [CentOS] efi-app-x86_64 on 5.5?
 
 
 On Wed, 2010-07-28 at 10:14 -0400, Jason Pyeron wrote:
  
   -Original Message-
   From: centos-boun...@centos.org
   [mailto:centos-boun...@centos.org] On Behalf Of Jason Pyeron
   Sent: Wednesday, July 28, 2010 9:05
   To: 'CentOS mailing list'
   Subject: [CentOS] efi-app-x86_64 on 5.5?
   
   I am trying to bring in a fedora 13 rpm, when compiliny 
 objcopy is 
   given a target of efi-app-x86_64, when I do a objcopy 
 --info it is 
   not listed.
   
   It does list many elf (including 64 bit) and efi-app-ia32 bit
   
   Any suggestions, what additional information could I provide.
  
  Trying to compile binutil from fedora 13... It is supposed 
 to address 
  this with a higher version
 ---
 You will find out that some things are hit or miss.  Then at 
 times you will break the build machine with the newer 
 binutils.  Fedora rpms do not always work or build for RH/CentOS.

I got binutils and gnu-efi to compile now. They are a necessary evil at the
moment, as the end goal is to compile grub
(https://bugzilla.redhat.com/show_bug.cgi?id=499204)

 Why not give the exact error from the build out put.

(there is an air gap separating the system from the world of email)


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Boris Epstein
On Wed, Jul 28, 2010 at 10:27 AM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Jul 28, 2010 at 08:52:55AM -0400, Boris Epstein wrote:
 On Wed, Jul 28, 2010 at 7:23 AM, Stephen Harris li...@spuddy.org wrote:
  [c5-local]
  name=CentOS-$releasever - Media
  baseurl=file:///RedHat/DVD/CentOS-5/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1
 
  [update-local]
  name=CentOS-$releasever - Updates local
  baseurl=file:///RedHat/updates/centos$releasever/$basearch/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  protect=1
  priority=1
  enabled=1
 
  And, of course, disable the default repositories.

 Why should I disable the default repositories, though?

 If you don't then you'll have the default internet based repositories _and_
 your local mirror both providing packages at the same time, and you'll gain
 no benefit for having the local mirror.

 --

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


Oh, right, sure. Sorry, I wasn't thinking.

I thought you were telling me not to use the content of those
repositories - and I couldn't figure out why.

Thanks again.

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


[CentOS] mod_whatkilledus on Centos 5

2010-07-28 Thread Steve Campbell
I'm getting those generic segmentation faults on a Centos 5 htpd 
2.2.3-11 webserver. So far, I've not been able to track down what might 
be close to causing this. I've read about mod_whatkilledus, but don't 
know if I can install this in any way on my server or if it's still even 
valid.

Has anyone used this? How was it installed, if so? I don't really want 
to start messing with configuring httpd, so I'd like to keep this simple 
and RPM-based if at all possible.

Thanks,

Steve Campbell

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


Re: [CentOS] efi-app-x86_64 on 5.5?

2010-07-28 Thread JohnS

On Wed, 2010-07-28 at 10:30 -0400, Jason Pyeron wrote:
  ---
  You will find out that some things are hit or miss.  Then at 
  times you will break the build machine with the newer 
  binutils.  Fedora rpms do not always work or build for RH/CentOS.
 
 I got binutils and gnu-efi to compile now. They are a necessary evil at the
 moment, as the end goal is to compile grub
 (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

OK
You try the GRAPHICAL=NO option ?  Currious I have few people on those
desktops.

  Why not give the exact error from the build out put.
 
 (there is an air gap separating the system from the world of email)
 
A simple copy and paste from the console or mock logs.

John

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


Re: [CentOS] efi-app-x86_64 on 5.5?

2010-07-28 Thread Jason Pyeron


 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of JohnS
 Sent: Wednesday, July 28, 2010 10:59
 To: CentOS mailing list
 Subject: Re: [CentOS] efi-app-x86_64 on 5.5?
 
 
 On Wed, 2010-07-28 at 10:30 -0400, Jason Pyeron wrote:
   ---
   You will find out that some things are hit or miss.  Then 
 at times 
   you will break the build machine with the newer binutils.  Fedora 
   rpms do not always work or build for RH/CentOS.
  
  I got binutils and gnu-efi to compile now. They are a 
 necessary evil 
  at the moment, as the end goal is to compile grub
  (https://bugzilla.redhat.com/show_bug.cgi?id=499204)
 
 OK
 You try the GRAPHICAL=NO option ?  Currious I have few people 
 on those desktops.

/etc/sysconfig/init: GRAPHICAL=no
/boot/grub/grub.conf: vga=normal
/boot/grub/grub.conf: #splash...

No luck. Going back to compiling grub (configure issue with ncurses/termcap and
-ltinfo [there is no libtinfo.a on the filesystem])

 
   Why not give the exact error from the build out put.
  
  (there is an air gap separating the system from the world of email)
  
 A simple copy and paste from the console or mock logs.

I work in a secure environment, there are no documents (sticky notes, etc) or
signals (including emails) alowed to leave the room. I remember the issue, go to
another workstation, do a search / write an email.



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


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


Re: [CentOS] mod_whatkilledus on Centos 5

2010-07-28 Thread John Doe
From: Steve Campbell campb...@cnpapers.com

 I'm getting those generic segmentation faults on a Centos 5 htpd 
 2.2.3-11  webserver. So far, I've not been able to track down what might 
 be close to  causing this. I've read about mod_whatkilledus, but don't 
 know if I can  install this in any way on my server or if it's still even 
 valid.
 Has  anyone used this? How was it installed, if so? I don't really want 
 to start  messing with configuring httpd, so I'd like to keep this simple 
 and  RPM-based if at all possible.

A bit related:
http://www.cyberciti.biz/tips/configure-apache-web-server-for-core-dump.html
But I guess you would need and apache compiled with debuging symbols...

JD


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


Re: [CentOS] efi-app-x86_64 on 5.5?

2010-07-28 Thread JohnS

On Wed, 2010-07-28 at 11:15 -0400, Jason Pyeron wrote:
   I got binutils and gnu-efi to compile now. They are a 
  necessary evil 
   at the moment, as the end goal is to compile grub
   (https://bugzilla.redhat.com/show_bug.cgi?id=499204)
  
  OK
  You try the GRAPHICAL=NO option ?  Currious I have few people 
  on those desktops.
 
 /etc/sysconfig/init: GRAPHICAL=no
 /boot/grub/grub.conf: vga=normal
 /boot/grub/grub.conf: #splash...
 
 No luck. Going back to compiling grub (configure issue with ncurses/termcap 
 and
 -ltinfo [there is no libtinfo.a on the filesystem])
 
  
Why not give the exact error from the build out put.
   
   (there is an air gap separating the system from the world of email)
   
  A simple copy and paste from the console or mock logs.
 
 I work in a secure environment, there are no documents (sticky notes, etc) or
 signals (including emails) alowed to leave the room. I remember the issue, go 
 to
 another workstation, do a search / write an email.
---
Ahh, yes Axolotl security...They say owls stop whooting when you turn a
chair upside down also.

John

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


Re: [CentOS] System Admin

2010-07-28 Thread Rajagopal Swaminathan
count me in

On 7/28/10, Haluk AKIN haluka...@gmail.com wrote:
 Hello,

 I have this website hosted on a CENTOS box.

 I would like to find someone who can:
 -monitor the server (and even monitor MySQL if possible)
 -optimize it
 -fix problems
 -manage backups
 -migrate it to another hosting company if that is necessary.

 I understand openlogic might offer some of the services above. I already
 contacted them and waiting for a reply.

 But I thought maybe someone here can offer me some advice on this matter. I
 cannot afford a full-time system admin. But I should be able to afford 1-2
 days a week.

 Thanks,
 Haluk

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


Re: [CentOS] mod_whatkilledus on Centos 5

2010-07-28 Thread Benjamin Franz

On 07/28/2010 07:43 AM, Steve Campbell wrote:
 I'm getting those generic segmentation faults on a Centos 5 htpd
 2.2.3-11 webserver. So far, I've not been able to track down what might
 be close to causing this. I've read about mod_whatkilledus, but don't
 know if I can install this in any way on my server or if it's still even
 valid.

 Has anyone used this? How was it installed, if so? I don't really want
 to start messing with configuring httpd, so I'd like to keep this simple
 and RPM-based if at all possible.


If your Apache doesn't have any non-stock modules installed, I would 
look for a hardware fault first. Start with memtest86+. If you *do* have 
non-stock modules installed - look at them. I've run Apache for more 
than a decade and seg faults are very rare unless you have flaky 
hardware or are using unsupported modules.

-- 
Benjamin Franz

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


Re: [CentOS] Wifi not working

2010-07-28 Thread Dave Miller
Larry Vaden va...@... writes:

 
 On Tue, Jul 27, 2010 at 6:33 PM, Phil Savoie psavoie1783 at 
rogers.com wrote:
  Beginning DHCP transaction.
TRIMMED
  Jul 27 19:32:23 smurf3 NetworkManager: info  Device 'wlan0' DHCP
  transaction took too long (45s), stopping it.
  Jul 27 19:32:23 smurf3 NetworkManager: info  wlan0: canceled DHCP
  transaction, dhcp client pid 30770
 
 It would seem that one possibility is that the AP is not running a
 DHCP server.
 
 Another is that if the AP is running a DHCP server, it is restricting
 IP addresses to known clients.
 
 kind regards/ldv
 ___
 CentOS mailing list
 CentOS at centos.org
 http://lists.centos.org/mailman/listinfo/centos
 

A couple of suggestions:

1) I had very similar problems with some of the Broadcom drivers for my 
laptop (transaction took too long).  An easy test is to *BRIEFLY* disable 
security on the AP and see if your system connects.  If the two systems 
connect then there is a problem syncing with WPA security.  A possible 
alternative is to use ndiswrapper and the Windows driver instead of the 
native Linux driver.  I've been really happy with ndiswrapper even if it
means I'm impure for using a Windows driver.

2) The actual key exchange is handled by a daemon called wpa_supplicant.  
It can be finicky.  The config files are /etc/sysconfig/wpa_supplicant 
and /etc/wpa_supplicant/wpa_supplicant.cnf  You may have better luck 
fiddling with some of the settings in the configuration files.  As an 
example, ndiswrapper works better for me with -D wext instead of -D 
ndiswrapper. 

I've also seen restating wpa_supplicant (as root, service wpa_supplicant
restart) fix things.  Also, I've had better luck just getting the 
wpa_supplicant configuration right and not using NetworkManager (service 
NetworkManager stop).  I just do a ifup wlan0 from the command line.

Cheers,
Dave


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


Re: [CentOS] Wifi not working

2010-07-28 Thread Akemi Yagi
On Wed, Jul 28, 2010 at 10:49 AM, Dave Miller d...@davenjudy.org wrote:

 I've also seen restating wpa_supplicant (as root, service wpa_supplicant
 restart) fix things.  Also, I've had better luck just getting the
 wpa_supplicant configuration right and not using NetworkManager (service
 NetworkManager stop).  I just do a ifup wlan0 from the command line.

For, anyone who'd rather go for a non-NetworkManager route, this
article may help:

http://home.roadrunner.com/~computertaijutsu/wireless.html
(maintained by Scott Robbins)

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


Re: [CentOS] CentOS 5.5/i386/32-bit CD installation hickups

2010-07-28 Thread Boris Epstein
On Tue, Jul 27, 2010 at 2:52 PM, Benjamin Franz jfr...@freerun.com wrote:
 On 07/27/2010 11:18 AM, Boris Epstein wrote:
 Hello listmates,

 I've got a few older 32-bit PC's that only have a CD drive (no DVD).
 So I downloaded all the ISO's and I thought I'd install CentOS 5.5 on
 this 1.25 GB P-3 (I think, don't remember what CPU it's got right off
 hand, not that it should matter). So I tried it there, got a fatal
 exception. OK, no problem - thinking that maybe  something was wrong
 with that machine I decided to try it on a different one, a P-3 with
 384 MB or RAM. Same thing happened.

 So here's my question: has anybody successfully installed CentOS 5.5
 on a 32-bit machine (i386) using individual CD's as their installation
 media?


 The closest I have is a P3 with 1 GByte of RAM over HTTP using the 5.4
 netinstall CD that I installed several months ago (I keep a local mirror
 of the CentOS tree). That worked fine for me. My first thought on a
 machine that old would be either flaky memory or or a flaky CD drive. I
 would run memtest86+ on them and then try a network install. You can
 mount the DVD ISO on loopback on a webserver for an install source.

 --
 Benjamin Franz

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


Benjamin,

I just used the netinstall to load CentOS 5.5 from a mounted ISO of
the DVD and on one of the machines in question it worked like a charm.
Thanks once again for an excellent suggestion.

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


[CentOS] Blowfish issues with somewhat big files

2010-07-28 Thread Sergio Belkin
Hi,

I've encrypted some database dumps with

openssl bf -d -in dumpfile.bf -out dumpfile -k mykey

bad decrypt
14142:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
decrypt:evp_enc.c:325:

The weird thing is if I do the same with smaller files it can decrypt
with no problem. I use openssl-0.9.8e-12.el5 on Centos 5.4.

Please could you tell me what I am doing wrong?

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] Blowfish issues with somewhat big files

2010-07-28 Thread Stephen Harris
On Wed, Jul 28, 2010 at 04:04:26PM -0300, Sergio Belkin wrote:
 I've encrypted some database dumps with
 
 openssl bf -d -in dumpfile.bf -out dumpfile -k mykey
 
 bad decrypt
 14142:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
 decrypt:evp_enc.c:325:
 
 The weird thing is if I do the same with smaller files it can decrypt
 with no problem. I use openssl-0.9.8e-12.el5 on Centos 5.4.

Is the file over 2Gb in size?  A number of programs have 2Gb filesize
limits (eg unzip).  You could, perhaps, use it as a pipe:
  cat dumpfile.bf | openssl bf -d -k mykey  dumpfile

-- 

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


Re: [CentOS] Blowfish issues with somewhat big files

2010-07-28 Thread Gary Greene
On 7/28/10 12:10 PM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Jul 28, 2010 at 04:04:26PM -0300, Sergio Belkin wrote:
 I've encrypted some database dumps with
 
 openssl bf -d -in dumpfile.bf -out dumpfile -k mykey
 
 bad decrypt
 14142:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
 decrypt:evp_enc.c:325:
 
 The weird thing is if I do the same with smaller files it can decrypt
 with no problem. I use openssl-0.9.8e-12.el5 on Centos 5.4.
 
 Is the file over 2Gb in size?  A number of programs have 2Gb filesize
 limits (eg unzip).  You could, perhaps, use it as a pipe:
   cat dumpfile.bf | openssl bf -d -k mykey  dumpfile

This only is caused by applications that either a) impose a 2GB limit
directly (zip being one) or b) have not been built with large file support
(-DLARGEFILE_SOURCE -DFILE_OFFSET_BITS=64).

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


Re: [CentOS] Blowfish issues with somewhat big files

2010-07-28 Thread Stephen Harris
On Wed, Jul 28, 2010 at 12:37:19PM -0700, Gary Greene wrote:
 On 7/28/10 12:10 PM, Stephen Harris li...@spuddy.org wrote:

  Is the file over 2Gb in size?  A number of programs have 2Gb filesize
  limits (eg unzip).  You could, perhaps, use it as a pipe:
cat dumpfile.bf | openssl bf -d -k mykey  dumpfile
 
 This only is caused by applications that either a) impose a 2GB limit
 directly (zip being one) or b) have not been built with large file support

Zip files can be over 2Gb in size, however.  Windows handles them just
fine, but infozip doesn't.  I had to use jar to extract a massive zip
file I had :-)

 (-DLARGEFILE_SOURCE -DFILE_OFFSET_BITS=64).

Which is why I only suggested it (perhaps).

-- 

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


Re: [CentOS] Blowfish issues with somewhat big files

2010-07-28 Thread Sergio Belkin
2010/7/28 Gary Greene ggre...@minervanetworks.com:
 On 7/28/10 12:10 PM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Jul 28, 2010 at 04:04:26PM -0300, Sergio Belkin wrote:
 I've encrypted some database dumps with

 openssl bf -d -in dumpfile.bf -out dumpfile -k mykey

 bad decrypt
 14142:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
 decrypt:evp_enc.c:325:

 The weird thing is if I do the same with smaller files it can decrypt
 with no problem. I use openssl-0.9.8e-12.el5 on Centos 5.4.

 Is the file over 2Gb in size?  A number of programs have 2Gb filesize
 limits (eg unzip).  You could, perhaps, use it as a pipe:
   cat dumpfile.bf | openssl bf -d -k mykey  dumpfile

 This only is caused by applications that either a) impose a 2GB limit
 directly (zip being one) or b) have not been built with large file support
 (-DLARGEFILE_SOURCE -DFILE_OFFSET_BITS=64).

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


Hi,

Do you mean that I should to recompile openssl?

I've tried Stephen solution's with no success :(

Debug ouput is:

BIO[00875EF0]:ctrl(106) - FILE pointer
BIO[00875EF0]:ctrl return 1
BIO[00875F70]:ctrl(108) - FILE pointer
BIO[00875F70]:ctrl return 1
BIO[00875F70]:write(0,8) - FILE pointer
BIO[00875F70]:write return 8
BIO[00875F70]:write(0,8) - FILE pointer
BIO[00875F70]:write return 8
BIO[00876230]:ctrl(6) - cipher
BIO[00875F70]:ctrl(6) - FILE pointer
BIO[00875F70]:ctrl return 0
BIO[00876230]:ctrl return 0
BIO[00875EF0]:read(0,8192) - FILE pointer
BIO[00875EF0]:read return 8192
BIO[00876230]:write(0,8192) - cipher
BIO[00875F70]:write(0,4096) - FILE pointer
BIO[00875F70]:write return 4096
BIO[00875F70]:write(0,4096) - FILE pointer
BIO[00875F70]:write return 4096
BIO[00876230]:write return 8192
BIO[00875EF0]:read(0,8192) - FILE pointer
BIO[00875EF0]:read return 8192
BIO[00876230]:write(0,8192) - cipher
BIO[00875F70]:write(0,4096) - FILE pointer
BIO[00875F70]:write return 4096
BIO[00875F70]:write(0,4096) - FILE pointer
BIO[00875F70]:write return 4096
BIO[00876230]:write return 8192
BIO[00875EF0]:read(0,8192) - FILE pointer
BIO[00875EF0]:read return 8192
BIO[00876230]:write(0,8192) - cipher
[...]
BIO[00876230]:ctrl(11) - cipher
BIO[00875F70]:write(0,8) - FILE pointer
BIO[00875F70]:write return 8
BIO[00875F70]:ctrl(11) - FILE pointer
BIO[00875F70]:ctrl return 1
BIO[00876230]:ctrl return 1
BIO[00875EF0]:Free - FILE pointer
BIO[00875F70]:Free - FILE pointer
BIO[00876230]:Free - cipher

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] Blowfish issues with somewhat big files

2010-07-28 Thread Sergio Belkin
2010/7/28 Stephen Harris li...@spuddy.org:
 DFILE_OFFSET_BITS=64

I have installed both 32 and 64 bit versions of openssl, can that be
the cause of this problem?

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


[CentOS] Hardware freezes on Dell Optiplex 320 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread Jason Pyeron
Steps tried:

Install from centos 5.5 x86_64 disc, locks up after reboot at GRUB (FAILS)

Boot centos 5.5 x86_64 install drop to shell and chroot (WORKS)

Boot fedora 13 isolinux disc, choose boot hard disk, launches centos 5.5 grub
(WORKS)

Compiled and installed grub package from fedora 13 on centos 5.5 x86_64 same
problem. (FAILS)

Boot fedora 13 isolinux disc, choose boot hard disk, launches newer grub
installed on centos (WORKS)

Installed fedora 13 x86_64 default settings for disk layout.  (WORKS)

https://bugzilla.redhat.com/show_bug.cgi?id=499204

Looking for advice on getting this hardware to boot unattended.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



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


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread Akemi Yagi
On Wed, Jul 28, 2010 at 12:45 PM, Jason Pyeron jpye...@pdinc.us wrote:

 Boot fedora 13 isolinux disc, choose boot hard disk, launches newer grub
 installed on centos (WORKS)

 Installed fedora 13 x86_64 default settings for disk layout.  (WORKS)

 https://bugzilla.redhat.com/show_bug.cgi?id=499204

 Looking for advice on getting this hardware to boot unattended.

If I understand the situation correctly, you can boot Fedora13 without
any extra steps. Then, can you add a stanza for CentOS in the F13's
grub.conf file and boot from there?  Or use chainloader if CentOS has
grub installed in its partition.

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


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread m . roth
Jason Pyeron wrote:
 Steps tried:

 Install from centos 5.5 x86_64 disc, locks up after reboot at GRUB (FAILS)
 Boot centos 5.5 x86_64 install drop to shell and chroot (WORKS)
 Boot fedora 13 isolinux disc, choose boot hard disk, launches centos 5.5
 grub
 (WORKS)

 Compiled and installed grub package from fedora 13 on centos 5.5 x86_64
 same problem. (FAILS)

 Boot fedora 13 isolinux disc, choose boot hard disk, launches newer grub
 installed on centos (WORKS)

 Installed fedora 13 x86_64 default settings for disk layout.  (WORKS)

 https://bugzilla.redhat.com/show_bug.cgi?id=499204

 Looking for advice on getting this hardware to boot unattended.

Let me get this straight: you've installed CentOS 5.5? Have you checked
/boot/grub/device.map, so that it looks something like
#
# this device map was generated by anaconda
(hd0) /dev/sda
#
Do you have a /boot/grub/grub.conf?

mark


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


[CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread Joseph L. Casale
I am trying to mirror a directory using wget and the resulting files as
expected are taking the name of the string in the url after the last /.

Anyone know a way around this? I am using the mirror option so I don't
have to keep track of what to get making it simple.

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


Re: [CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread Todd Denniston
Joseph L. Casale wrote, On 07/28/2010 04:26 PM:
 I am trying to mirror a directory using wget and the resulting files as
 expected are taking the name of the string in the url after the last /.
 
 Anyone know a way around this? I am using the mirror option so I don't
 have to keep track of what to get making it simple.
 
 Thanks!
 jlc

I am having a bit of trouble parsing what you wrote, but I think you are saying 
you are issuing
something like:
wget --mirror http://example.com/subdir1/subdir2/fileiwant
and getting at your location
./fileiwant
which is a little confusing, because I would have expected you to get (with 
just the --mirror option):
./example.com/subdir1/subdir2/fileiwant

please give an example command and output received and desired.

to get ./fileiwant from my example url above I think you would have to do:
wget --mirror ---cut-dirs=2 -no-host-directories \
http://example.com/subdir1/subdir2/fileiwant

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread Joseph L. Casale
I am having a bit of trouble parsing what you wrote,

Ok, the exact use is the mirroring of vm directories on an esxi
server over to a centos storage server.

The vm's folder url is:
https://10.0.0.61/folder/vm-name?dcPath=ha-datacenterdsName=Datastore_2
for example.

When it begins mirroring it, it see's urls like this:
https://10.0.0.61/folder/vm-name/Disc-1-flat.vmdk?dcPath=ha-datacenterdsName=Datastore_2
so the resulting file downloaded is not Disc-1-flat.vmdk, but:
Disc-1-flat.vmdk?dcPath=ha-datacenterdsName=Datastore_2
Thanks!
jlc

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


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread Tom H
On Wed, Jul 28, 2010 at 3:45 PM, Jason Pyeron jpye...@pdinc.us wrote:
 Steps tried:

 Install from centos 5.5 x86_64 disc, locks up after reboot at GRUB (FAILS)

 Boot centos 5.5 x86_64 install drop to shell and chroot (WORKS)

 Boot fedora 13 isolinux disc, choose boot hard disk, launches centos 5.5 grub
 (WORKS)

 Compiled and installed grub package from fedora 13 on centos 5.5 x86_64 same
 problem. (FAILS)

 Boot fedora 13 isolinux disc, choose boot hard disk, launches newer grub
 installed on centos (WORKS)

 Installed fedora 13 x86_64 default settings for disk layout.  (WORKS)

 https://bugzilla.redhat.com/show_bug.cgi?id=499204

 Looking for advice on getting this hardware to boot unattended.

What does FAILS actually mean? I assume that you are only getting to
the grub menu when booting from an F13 CD and chainloading to the
CentOS grub.

If my assumption about the grub menu is correct, one of your grub
stages must be broken. Have you tried re-installing grub with
grub-install or at the grub cli?

What is the output of fdisk -l, cat /etc/fstab, and cat
/boot/grub/device.map?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting(https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread Jason Pyeron
 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of Akemi Yagi
 Sent: Wednesday, July 28, 2010 15:57
 To: CentOS mailing list
 Subject: Re: [CentOS] Hardware freezes on Dell Optiplex 320 
 while booting(https://bugzilla.redhat.com/show_bug.cgi?id=499204)
 
 On Wed, Jul 28, 2010 at 12:45 PM, Jason Pyeron 
 jpye...@pdinc.us wrote:
 
  Boot fedora 13 isolinux disc, choose boot hard disk, launches newer 
  grub installed on centos (WORKS)
 
  Installed fedora 13 x86_64 default settings for disk 
 layout.  (WORKS)
 
  https://bugzilla.redhat.com/show_bug.cgi?id=499204
 
  Looking for advice on getting this hardware to boot unattended.
 
 If I understand the situation correctly, you can boot 
 Fedora13 without any extra steps. Then, can you add a stanza 
 for CentOS in the F13's grub.conf file and boot from there?  
 Or use chainloader if CentOS has grub installed in its partition.

Sounds like a plan. I will learn how to do that, and follow up within the week.
Thanks.


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


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


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting(https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread Jason Pyeron

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of Tom H
 Sent: Wednesday, July 28, 2010 16:55
 To: centos@centos.org
 Subject: Re: [CentOS] Hardware freezes on Dell Optiplex 320 
 while booting(https://bugzilla.redhat.com/show_bug.cgi?id=499204)
 
 On Wed, Jul 28, 2010 at 3:45 PM, Jason Pyeron 
 jpye...@pdinc.us wrote:
  Steps tried:
 
  Install from centos 5.5 x86_64 disc, locks up after reboot at GRUB 
  (FAILS)
 
  Boot centos 5.5 x86_64 install drop to shell and chroot (WORKS)
 
  Boot fedora 13 isolinux disc, choose boot hard disk, 
 launches centos 
  5.5 grub
  (WORKS)
 
  Compiled and installed grub package from fedora 13 on centos 5.5 
  x86_64 same problem. (FAILS)
 
  Boot fedora 13 isolinux disc, choose boot hard disk, launches newer 
  grub installed on centos (WORKS)
 
  Installed fedora 13 x86_64 default settings for disk 
 layout.  (WORKS)
 
  https://bugzilla.redhat.com/show_bug.cgi?id=499204
 
  Looking for advice on getting this hardware to boot unattended.
 
 What does FAILS actually mean? I assume that you are only 
 getting to the grub menu when booting from an F13 CD and 
 chainloading to the CentOS grub.

Thanks for your debugging steps, this has already been confirmed as a BIOS /
grub bug with this dell see the subject for your answer.

I am currently trying to make a workaround which is not invasive on the system
or procedure.

 
 If my assumption about the grub menu is correct, one of your 
 grub stages must be broken. Have you tried re-installing grub 
 with grub-install or at the grub cli?
 
 What is the output of fdisk -l, cat /etc/fstab, and cat 
 /boot/grub/device.map?
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 




--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


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


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread Jason Pyeron
 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us
 Sent: Wednesday, July 28, 2010 16:11
 To: CentOS mailing list
 Subject: Re: [CentOS] Hardware freezes on Dell Optiplex 320 
 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)
 
 Jason Pyeron wrote:
  Steps tried:
 
  Install from centos 5.5 x86_64 disc, locks up after reboot 
 at GRUB (FAILS)
  Boot centos 5.5 x86_64 install drop to shell and chroot (WORKS)
  Boot fedora 13 isolinux disc, choose boot hard disk, 
 launches centos 5.5
  grub
  (WORKS)
 
  Compiled and installed grub package from fedora 13 on 
 centos 5.5 x86_64
  same problem. (FAILS)
 
  Boot fedora 13 isolinux disc, choose boot hard disk, 
 launches newer grub
  installed on centos (WORKS)
 
  Installed fedora 13 x86_64 default settings for disk 
 layout.  (WORKS)
 
  https://bugzilla.redhat.com/show_bug.cgi?id=499204
 
  Looking for advice on getting this hardware to boot unattended.
 

Grub conf fine, take HD out and put in machine with different bios all is fine.

 Let me get this straight: you've installed CentOS 5.5? Have 
 you checked
 /boot/grub/device.map, so that it looks something like
 #
 # this device map was generated by anaconda
 (hd0) /dev/sda
 #
 Do you have a /boot/grub/grub.conf?
 
 mark
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 




--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


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


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread m . roth
Jason Pyeron wrote:
 [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us
 Jason Pyeron wrote:
  Steps tried:
 
  Install from centos 5.5 x86_64 disc, locks up after reboot
 at GRUB (FAILS)
snip
 Grub conf fine, take HD out and put in machine with different bios all is
 fine.
snip
Hmmm... I can't remember if I mention this a day or two ago, but have you
checked the BIOS for a funky setting - maybe under advanced or
integrated peripherals, to see if it's got a setting for... oh, was it
SATA mode that I had the problem with? See if there's such a thing, and if
so, change it to RAID instead of IDE.

   mark

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


Re: [CentOS] Hardware freezes on Dell Optiplex 320 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)

2010-07-28 Thread Jason Pyeron
 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us
 Sent: Wednesday, July 28, 2010 17:20
 To: CentOS mailing list
 Subject: Re: [CentOS] Hardware freezes on Dell Optiplex 320 
 while booting (https://bugzilla.redhat.com/show_bug.cgi?id=499204)
 
 Jason Pyeron wrote:
  [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us 
  Jason Pyeron wrote:
   Steps tried:
  
   Install from centos 5.5 x86_64 disc, locks up after reboot
  at GRUB (FAILS)
 snip
  Grub conf fine, take HD out and put in machine with 
 different bios all 
  is fine.
 snip
 Hmmm... I can't remember if I mention this a day or two ago, 
 but have you checked the BIOS for a funky setting - maybe 
 under advanced or integrated peripherals, to see if it's 
 got a setting for... oh, was it SATA mode that I had the 
 problem with? See if there's such a thing, and if so, change 
 it to RAID instead of IDE.

The BIOS has almost no settings to change, and those that do exist have been
toggled.


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


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


[CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread R P Herrold
On Wed, 28 Jul 2010, Joseph L. Casale wrote:

 Anyone know a way around this? I am using the mirror option so I don't
 have to keep track of what to get making it simple.

my apology in advance for suggesting another tool, but, there 
you are ...

use lftp for mirroring?  wget can do mirroring but it is 
clunky compared to lftp, and much harder to script.  man pages 
are worse, to my taste

Looking, it seems I have a bit over 1400 files driving lftp 
that basically look like this on a local interior mirror

[r...@xps400 ~]# wc -l  *.conf *.conf_ | tail -1
  1490 total

[r...@xps400 ~]# cat lftp-ORC.conf
#
#   inside at ftp.first, this is NOT automatically run
#
mirror -c -e \
 ftp://ftp.owlriver.com/pub/local/ORC  \
 /var/ftp/pub/mirror/ORC
#

---

One can invoke it as simply as:

lftp -f lftp-ORC.conf

and it will of course run non-root if one desires; it can be 
wrappered up in a scriptlet (I use a flock scheme in the 
wrappering so it does not overrun into a prior day's run; 
mirroring runs continuously) ...

http://bugs.centos.org/view.php?id=4443

suggests a simple way to gather detail:

export YMD=`date +%Y%m%d`
cd $TOP
date  DIRECTORY_SIZES.txt
date  MANIFEST-${YMD}.txt
find . -type d -exec du -sh {} \;  DIRECTORY_SIZES.txt
find . -type f \;  MANIFEST-${YMD}.txt

and diff to taste, optionally automailing when more than the 
top 'date' line changes

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


[CentOS] LiveCD on USB won't boot

2010-07-28 Thread Michael Nausch
HI,

I tried to build my own liveCD on USB-device. I've formatted my
usb-stick:

# mkdosfs -F 32 -n usbdisk /dev/sda1

Then I copied the iso-image to my stick:

# livecd-iso-to-disk CentOS-5.5-i386-LiveCD.iso /dev/sda1

After that I tried to boot with that new device:

# qemu -hda /dev/sda -m 256

But, then I become this error-message:

Initial menu has no LABEL entries!

The same shit happens if I try to boot my host with that usb-device? 

Any idea? Any hint 4 me? 


ttyl,
 Django


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread Keith Roberts

On Wed, 28 Jul 2010, R P Herrold wrote:


To: CentOS mailing list centos@centos.org
From: R P Herrold herr...@owlriver.com
Subject: [CentOS] wget and resulting filenames with mirror option

On Wed, 28 Jul 2010, Joseph L. Casale wrote:


Anyone know a way around this? I am using the mirror option so I don't
have to keep track of what to get making it simple.


my apology in advance for suggesting another tool, but, there
you are ...


What about rsync ?

rsync(1)

NAME
   rsync — a fast, versatile, remote (and local) file-copying tool

SYNOPSIS
   Local:  rsync [OPTION...] SRC... [DEST]

   Access via remote shell:
 Pull: rsync [OPTION...] [u...@]host:SRC... [DEST]
 Push: rsync [OPTION...] SRC... [u...@]host:DEST

   Access via rsync daemon:
 Pull: rsync [OPTION...] [u...@]host::SRC... [DEST]
   rsync [OPTION...] 
rsync://[u...@]host[:PORT]/SRC... [DEST]

 Push: rsync [OPTION...] SRC... [u...@]host::DEST
   rsync [OPTION...] SRC... 
rsync://[u...@]host[:PORT]/DEST


   Usages  with  just  one  SRC  arg and no DEST arg will list the source
   files instead of copying.

DESCRIPTION
   Rsync is a fast and extraordinarily versatile file copying  tool.   It
   can  copy  locally,  to/from  another  host  over any remote shell, or
   to/from a remote rsync daemon.  It offers a large number  of  options
   that  control  every  aspect  of its behavior and permit very flexible
   specification of the set of files to be copied.  It is famous for  its
   delta-transfer  algorithm,  which reduces the amount of data sent over
   the network by sending only the differences between the source files

...

Regards

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


[CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread R P Herrold
On Wed, 28 Jul 2010, Keith Roberts wrote:

 my apology in advance for suggesting another tool, but, there
 you are ...

 What about rsync ?

That requires co-operation from the remote end to set up an 
anonymous rsync server .. doable, but as I understood the 
scope of work, not within it

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


Re: [CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread Whit Blauvelt
On Wed, Jul 28, 2010 at 08:51:29PM +, Joseph L. Casale wrote:

 When it begins mirroring it, it see's urls like this:
 https://10.0.0.61/folder/vm-name/Disc-1-flat.vmdk?dcPath=ha-datacenterdsName=Datastore_2
 so the resulting file downloaded is not Disc-1-flat.vmdk, but:
 Disc-1-flat.vmdk?dcPath=ha-datacenterdsName=Datastore_2

Can't do it off the top of my head, but it would be a pretty simple Perl
script to simply go through the directory and rename the files, dropping the
? and everything after.

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


Re: [CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread Joseph L. Casale
That requires co-operation from the remote end to set up an 
anonymous rsync server .. doable, but as I understood the 
scope of work, not within it

Well, doesn't need to be anon, but none the less I am SOL wrt
to ftp or rsync as none of these daemons run locally on the
host.

Someone pointed me to an existing script that accomplishes what
I need and is actively maintained so I am in luck.

Thanks guys, and I will look into lftp as I also don't like wget
for much more than fast one off's at the cli.
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread R P Herrold
On Wed, 28 Jul 2010, Joseph L. Casale wrote:

 That requires co-operation from the remote end to set up an
 anonymous rsync server .. doable, but as I understood the
 scope of work, not within it

 Well, doesn't need to be anon, but none the less I am SOL wrt
 to ftp or rsync as none of these daemons run locally on the
 host.

lftp does www (and through a SSL https) mirroring just fine 
too ... I just did not mention it, as it did not occur to me 
from the initial question.  As wget is such a 'pill' my eyes 
glazed over and I missed it in the follow on post you made

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


Re: [CentOS] wget and resulting filenames with mirror option

2010-07-28 Thread Les Mikesell
On 7/28/2010 5:10 PM, R P Herrold wrote:
 On Wed, 28 Jul 2010, Keith Roberts wrote:

 my apology in advance for suggesting another tool, but, there
 you are ...

 What about rsync ?

 That requires co-operation from the remote end to set up an
 anonymous rsync server .. doable, but as I understood the
 scope of work, not within it

Or, if you have ssh access already it just works.  But, I thought ESXi 
was mentioned somewhere and while it is possible to enable ssh on it, I 
don't think it has rsync.

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


[CentOS] Strange misbehavior from system-config-printer on CentOS 5.5

2010-07-28 Thread Mark
I had to print a file directly from my VMWare Windows XP guest to my
Brother laser printer and now I can't run system-config-printer.

The file was one of those screwy PDFs that even Adobe Reader 9.3.2
can't print on my CentOS (there's something in the file that inhibits
the printing).  Occasionally I've been able to get around this in the
past by using the GIMP to reformat some pages in such files, but this
one is 56 pages and I needed to print the whole thing.

I tried printing it through the PDFCreator on the Windows guest, but
that PDF also would not print.  I tried printing it to a file on both
the CentOS host in AR and the Windows guest (also with AR), but the
resulting PS file is unreadable - the document viewer shows Keyed
info on every page and nothing else.

So, I used the VMWare Removable Devices feature to attach the printer
to the Windows guest and the file printed fine.

In the past, this has forced me to power off the printer for CentOS to
be able to use it again, and I did that, too, but not right away.

First I tried to print a test page with CUPS.  That failed, so I
canceled the print job.  Then I tried to start system-config-printer -
nothing.  I got the security shield on my panel but no s-c-p window.

I unpublished the printer and stopped it with CUPS, power cycled it,
then re-started and re-published it.  This time CUPS was able to print
the test page, but s-c-p seems to be dead.  The most I get is a small
window marker on the panel that says Starting Printing and then it
goes away.

I didn't see anything relevant in the /var/log logs, but I'm not sure
which log to look in.

Any ideas on what happened?

Thanks.

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


Re: [CentOS] LiveCD on USB won't boot

2010-07-28 Thread cornel panceac
| Any idea? Any hint 4 me?

try unetbootin
http://unetbootin.sourceforge.net/




-- 
Among the maxims on Lord Naoshige's wall, there was this one: Matters of
great concern should be treated lightly. Master Ittei commented, Matters
of small concern should be treated seriously.
(Ghost Dog : The Way of The Samurai)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos