Re: [CentOS-docs] Updating information on Skype in HowTo
Am 31.07.11 07:33, schrieb Yves Bellefeuille: Hello: My user name is YvesBellefeuille. I'd like to edit the information on using Skype under CentOS 6 at http://wiki.centos.org/HowTos/Skype . Could you and John Fettig have a talk please? As he requested the same thing on July 20th (see the archives of this list). You might want to cooperate on that :) Regards, Ralph ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-es] Redimencionar HDD Centos Virtual
Todo bien, salvo que el Reinicio NO era necesario :) Si hubiese sido maquina en produccion te castigaba :) Saludos! 2011/8/2 Federico Don federico.do...@gmail.com Solucionado, dejo tutorial, gracias a todos! Primero verificamos el estado del disco antes de hacer los cambios [root@localhost ~]# df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 97G 3.0G 89G 4% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm [root@localhost ~]# fdisk -l Disk /dev/sda: 107.3 GB, 107374182400 bytes 255 heads, 63 sectors/track, 13054 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 13054 104751832+ 8e Linux LVM Ahora paramos la VM para hacer un grow del disco con: [root@localhost ~]# shutdown -h now Ampliamos el disco de 100GB a 200GB desde vCenter (recuerda de borrar los snapshots para poder ampliar el disco) y levantamos la VM [root@localhost ~]# df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 97G 3.0G 89G 4% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm [root@localhost ~]# fdisk -l Disk /dev/sda: 214.7 GB, 214748364800 bytes 255 heads, 63 sectors/track, 26108 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 13054 104751832+ 8e Linux LVM Observa que el tamaño del disco /dev/sda ha cambiado a 214.7 GB Ahora cramos una partición con el nuevo espacio: [root@localhost ~]# fdisk /dev/sda The number of cylinders for this disk is set to 26108. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n --- Nueva partición Command action e extended p primary partition (1-4) p Partition number (1-4): 3 --- crearemos /dev/sda3 First cylinder (13055-26108, default 13055): Using default value 13055 Last cylinder or +size or +sizeM or +sizeK (13055-26108, default 26108): 26108 Using default value 26108 Command (m for help): t --- Cambiamos el tipo de partición a 8e para Linux Volume Manager Partition number (1-4): 3 Hex code (type L to list codes): 8e Changed system type of partition 3 to 8e (Linux LVM) Command (m for help): w --- Grabamos los cambios realizados The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# fdisk -l Disk /dev/sda: 214.7 GB, 214748364800 bytes 255 heads, 63 sectors/track, 26108 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 13054 104751832+ 8e Linux LVM /dev/sda3 13055 26108 104856255 8e Linux LVM Ahora reiniciamos: [root@localhost ~]# reboot Tras reiniciar, preparamos la nueva partición, para ampliar /dev/VolGroup00/LogVol00 : Primero creamos el Volumen Lógico [root@localhost ~]# pvcreate /dev/sda3 Physical volume /dev/sda3 successfully created Ahora añadimos extendemos en Volume Group VolGroup00 (que vimos en el df -h) con el Volumen Físico creado [root@localhost ~]# vgextend VolGroup00 /dev/sda3 /dev/hdc: open failed: No medium found Volume group VolGroup00 successfully extended Verificamos que tenemos espacio libre no asignado, y que coincide, como esperabamos con el Volumen Físico añadido: [root@localhost ~]# vgdisplay /dev/hdc: open failed: No medium found --- Volume group --- VG Name VolGroup00 System ID Formatlvm2 Metadata Areas2 Metadata Sequence No 4 VG Access read/write VG Status resizable MAX LV0 Cur LV2 Open LV 2 Max PV0 Cur PV2 Act PV2 VG Size 199.84 GB PE Size 32.00 MB Total PE 6395 Alloc PE / Size 3196 / 99.88 GB Free PE / Size 3199 / 99.97 GB VG UUID sgvNZD-kr1q-CVV6-23Vf-xa83-1bh5-Xvg3e6 Ampliamos Volumen Lógico /dev/VolGroup00/LogVol00 con el espacio que nos aporta
Re: [CentOS-es] Apache
Muchas Gracias Mario pero le di todos los permisos y nada no salia, y ya lo tengo solucionado.Lo que yo había realizado era primero copiar los archivos del servidor antiguo con WINSCP a windows y de ahi con el mismo WINSCP copialos al nuevo y por alguna razón me salia ese error. Lo solucione haciendo un rsync de server a server y no tuve ningún problema Saludos Diego To: centos-es@centos.org From: mario.villelalarr...@gmail.com Date: Tue, 2 Aug 2011 02:59:35 + Subject: Re: [CentOS-es] Apache Hay q darle permisos al archivo Chroot 750 index.php Enviado desde mi Blackberry® 3G de Iusacell. -Original Message- From: Diego Paredes B. el_die...@hotmail.com Sender: centos-es-boun...@centos.org Date: Tue, 2 Aug 2011 00:35:41 To: centos-es@centos.org Reply-To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Buenas Tardes una consulta Tengo un servidor con Centos 5.6 le instale el apache + php y mysql la pagina principal del apache corre perfectamente. EL problema que tengo es el siguiente. Yo tenia un servidor Ubuntu con el apache y tenia mi pagina web ubicada en /var/wwwlo que he hecho es copiar todo el contenido de /var/www y pasarlo al apache de Centos a la carpeta /var/www/html En teoria cuando ponga localhost en el navegador me deberia salir mi web que tengo como archivo index.php pero me sigue saliendo la pagina principal del apache.Y cuando pongo localhost/index.php me sale este error Forbidden You don't have permission to access /index.php on this server. Saludos Diego Date: Mon, 1 Aug 2011 17:01:15 -0400 From: carlos.tir...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Redimencionar HDD Centos Virtual No entendio, el Disco es Virtual??? Si aun tienes espacio en el sda te recomiendo que crees una nueva particion y lo etiquetes como LVM. Despues esa nueva particion lvm la inicializas y agregas al grupo VolGroup00 que tienes en tu maquina. Despues de eso, extiendes tu volumen logico LogVol00 en +X cantidad de GB finalmente, extiendes en el sistema de archivos con resize2fs :) Saludos! 2011/8/1 Federico Don federico.do...@gmail.com Buenas, es mi primer desafio y soy muy novato para esto, agradeceria ayuda, tengo una virtual con centos, la cual necesito mas espacio en disco. Agrande el disco virtual de 100GB a 150GB. En el Centos= # fdisk -l *Disk /dev/sda: 161.0 GB, 161061273600 bytes* 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /*dev/sda1 * 1 13 104391 83 Linux* */dev/sda2 14 13054 104751832+ 8e Linux LVM* # df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 *97G 3.1G 89G 4% /* /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm Como puedo agregar el espacio en disco al Filesystem en el / ?? Gracias a todos! ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Carlos Francisco Tirado Elgueta Google AdWords Professional (GAP) http://www.ChileMedios.com http://www.chilemedios.com/ Red Hat Certified Engineer (RHCE) 805010694850055. http://www.LinuxSupport.cl http://www.linuxsupport.cl/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Apache
Diego, cuando pasaste tus directorios por el WINDOWS perdiste todos los permisos, es xq no lo entiende el sistema de archivos del WINDOWS. Saludos. El 2 de agosto de 2011 21:55, Diego Paredes B. el_die...@hotmail.comescribió: Muchas Gracias Mario pero le di todos los permisos y nada no salia, y ya lo tengo solucionado.Lo que yo había realizado era primero copiar los archivos del servidor antiguo con WINSCP a windows y de ahi con el mismo WINSCP copialos al nuevo y por alguna razón me salia ese error. Lo solucione haciendo un rsync de server a server y no tuve ningún problema Saludos Diego To: centos-es@centos.org From: mario.villelalarr...@gmail.com Date: Tue, 2 Aug 2011 02:59:35 + Subject: Re: [CentOS-es] Apache Hay q darle permisos al archivo Chroot 750 index.php Enviado desde mi Blackberry® 3G de Iusacell. -Original Message- From: Diego Paredes B. el_die...@hotmail.com Sender: centos-es-boun...@centos.org Date: Tue, 2 Aug 2011 00:35:41 To: centos-es@centos.org Reply-To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Buenas Tardes una consulta Tengo un servidor con Centos 5.6 le instale el apache + php y mysql la pagina principal del apache corre perfectamente. EL problema que tengo es el siguiente. Yo tenia un servidor Ubuntu con el apache y tenia mi pagina web ubicada en /var/wwwlo que he hecho es copiar todo el contenido de /var/www y pasarlo al apache de Centos a la carpeta /var/www/html En teoria cuando ponga localhost en el navegador me deberia salir mi web que tengo como archivo index.php pero me sigue saliendo la pagina principal del apache.Y cuando pongo localhost/index.php me sale este error Forbidden You don't have permission to access /index.php on this server. Saludos Diego Date: Mon, 1 Aug 2011 17:01:15 -0400 From: carlos.tir...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Redimencionar HDD Centos Virtual No entendio, el Disco es Virtual??? Si aun tienes espacio en el sda te recomiendo que crees una nueva particion y lo etiquetes como LVM. Despues esa nueva particion lvm la inicializas y agregas al grupo VolGroup00 que tienes en tu maquina. Despues de eso, extiendes tu volumen logico LogVol00 en +X cantidad de GB finalmente, extiendes en el sistema de archivos con resize2fs :) Saludos! 2011/8/1 Federico Don federico.do...@gmail.com Buenas, es mi primer desafio y soy muy novato para esto, agradeceria ayuda, tengo una virtual con centos, la cual necesito mas espacio en disco. Agrande el disco virtual de 100GB a 150GB. En el Centos= # fdisk -l *Disk /dev/sda: 161.0 GB, 161061273600 bytes* 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /*dev/sda1 * 1 13 104391 83 Linux* */dev/sda2 14 13054 104751832+ 8e Linux LVM* # df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 *97G 3.1G 89G 4% /* /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm Como puedo agregar el espacio en disco al Filesystem en el / ?? Gracias a todos! ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Carlos Francisco Tirado Elgueta Google AdWords Professional (GAP) http://www.ChileMedios.com http://www.chilemedios.com/ http://www.chilemedios.com/ Red Hat Certified Engineer (RHCE) 805010694850055. http://www.LinuxSupport.cl http://www.linuxsupport.cl/ http://www.linuxsupport.cl/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Redimencionar HDD Centos Virtual
Jajajaja es verdad, no aclare que fue realizado sobre una vm de prueba!! Saludos y gracias a todos por su tiempo. 2011/8/2 Carlos Tirado Elgueta carlos.tir...@gmail.com Todo bien, salvo que el Reinicio NO era necesario :) Si hubiese sido maquina en produccion te castigaba :) Saludos! 2011/8/2 Federico Don federico.do...@gmail.com Solucionado, dejo tutorial, gracias a todos! Primero verificamos el estado del disco antes de hacer los cambios [root@localhost ~]# df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 97G 3.0G 89G 4% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm [root@localhost ~]# fdisk -l Disk /dev/sda: 107.3 GB, 107374182400 bytes 255 heads, 63 sectors/track, 13054 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 13054 104751832+ 8e Linux LVM Ahora paramos la VM para hacer un grow del disco con: [root@localhost ~]# shutdown -h now Ampliamos el disco de 100GB a 200GB desde vCenter (recuerda de borrar los snapshots para poder ampliar el disco) y levantamos la VM [root@localhost ~]# df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 97G 3.0G 89G 4% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm [root@localhost ~]# fdisk -l Disk /dev/sda: 214.7 GB, 214748364800 bytes 255 heads, 63 sectors/track, 26108 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 13054 104751832+ 8e Linux LVM Observa que el tamaño del disco /dev/sda ha cambiado a 214.7 GB Ahora cramos una partición con el nuevo espacio: [root@localhost ~]# fdisk /dev/sda The number of cylinders for this disk is set to 26108. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n --- Nueva partición Command action e extended p primary partition (1-4) p Partition number (1-4): 3 --- crearemos /dev/sda3 First cylinder (13055-26108, default 13055): Using default value 13055 Last cylinder or +size or +sizeM or +sizeK (13055-26108, default 26108): 26108 Using default value 26108 Command (m for help): t --- Cambiamos el tipo de partición a 8e para Linux Volume Manager Partition number (1-4): 3 Hex code (type L to list codes): 8e Changed system type of partition 3 to 8e (Linux LVM) Command (m for help): w --- Grabamos los cambios realizados The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@localhost ~]# fdisk -l Disk /dev/sda: 214.7 GB, 214748364800 bytes 255 heads, 63 sectors/track, 26108 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 13054 104751832+ 8e Linux LVM /dev/sda3 13055 26108 104856255 8e Linux LVM Ahora reiniciamos: [root@localhost ~]# reboot Tras reiniciar, preparamos la nueva partición, para ampliar /dev/VolGroup00/LogVol00 : Primero creamos el Volumen Lógico [root@localhost ~]# pvcreate /dev/sda3 Physical volume /dev/sda3 successfully created Ahora añadimos extendemos en Volume Group VolGroup00 (que vimos en el df -h) con el Volumen Físico creado [root@localhost ~]# vgextend VolGroup00 /dev/sda3 /dev/hdc: open failed: No medium found Volume group VolGroup00 successfully extended Verificamos que tenemos espacio libre no asignado, y que coincide, como esperabamos con el Volumen Físico añadido: [root@localhost ~]# vgdisplay /dev/hdc: open failed: No medium found --- Volume group --- VG Name VolGroup00 System ID Formatlvm2 Metadata Areas2 Metadata Sequence No 4 VG Access read/write VG Status resizable MAX LV0 Cur LV2 Open LV 2 Max PV0 Cur PV2 Act PV2
Re: [CentOS-es] Postgres
Muchas Gracias Federico, Ahora tengo otra consulta pero sobre el servicio de Postgres8.4 en Centos 5.6 lo instale con yum install postgresql84 postgresql84-server postgresql84-contrib Pero nunca me pidió la contraseña del usuario postgres, ahora cuando quiero entrar no se la clave hay una clave default? ya intente con postgres y nada.. si no hay forma de recuperar la clave me pueden decir como desintalo el servicio de forma segura.Para volverlo ha instalar y si alguien tiene los pasos se lo agradecería. SaludosDiego Date: Tue, 2 Aug 2011 21:59:48 -0300 From: federico.do...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Diego, cuando pasaste tus directorios por el WINDOWS perdiste todos los permisos, es xq no lo entiende el sistema de archivos del WINDOWS. Saludos. El 2 de agosto de 2011 21:55, Diego Paredes B. el_die...@hotmail.comescribió: Muchas Gracias Mario pero le di todos los permisos y nada no salia, y ya lo tengo solucionado.Lo que yo había realizado era primero copiar los archivos del servidor antiguo con WINSCP a windows y de ahi con el mismo WINSCP copialos al nuevo y por alguna razón me salia ese error. Lo solucione haciendo un rsync de server a server y no tuve ningún problema Saludos Diego To: centos-es@centos.org From: mario.villelalarr...@gmail.com Date: Tue, 2 Aug 2011 02:59:35 + Subject: Re: [CentOS-es] Apache Hay q darle permisos al archivo Chroot 750 index.php Enviado desde mi Blackberry® 3G de Iusacell. -Original Message- From: Diego Paredes B. el_die...@hotmail.com Sender: centos-es-boun...@centos.org Date: Tue, 2 Aug 2011 00:35:41 To: centos-es@centos.org Reply-To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Buenas Tardes una consulta Tengo un servidor con Centos 5.6 le instale el apache + php y mysql la pagina principal del apache corre perfectamente. EL problema que tengo es el siguiente. Yo tenia un servidor Ubuntu con el apache y tenia mi pagina web ubicada en /var/wwwlo que he hecho es copiar todo el contenido de /var/www y pasarlo al apache de Centos a la carpeta /var/www/html En teoria cuando ponga localhost en el navegador me deberia salir mi web que tengo como archivo index.php pero me sigue saliendo la pagina principal del apache.Y cuando pongo localhost/index.php me sale este error Forbidden You don't have permission to access /index.php on this server. Saludos Diego Date: Mon, 1 Aug 2011 17:01:15 -0400 From: carlos.tir...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Redimencionar HDD Centos Virtual No entendio, el Disco es Virtual??? Si aun tienes espacio en el sda te recomiendo que crees una nueva particion y lo etiquetes como LVM. Despues esa nueva particion lvm la inicializas y agregas al grupo VolGroup00 que tienes en tu maquina. Despues de eso, extiendes tu volumen logico LogVol00 en +X cantidad de GB finalmente, extiendes en el sistema de archivos con resize2fs :) Saludos! 2011/8/1 Federico Don federico.do...@gmail.com Buenas, es mi primer desafio y soy muy novato para esto, agradeceria ayuda, tengo una virtual con centos, la cual necesito mas espacio en disco. Agrande el disco virtual de 100GB a 150GB. En el Centos= # fdisk -l *Disk /dev/sda: 161.0 GB, 161061273600 bytes* 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /*dev/sda1 * 1 13 104391 83 Linux* */dev/sda2 14 13054 104751832+ 8e Linux LVM* # df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 *97G 3.1G 89G 4% /* /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm Como puedo agregar el espacio en disco al Filesystem en el / ?? Gracias a todos! ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Carlos Francisco Tirado Elgueta Google AdWords Professional (GAP) http://www.ChileMedios.com http://www.chilemedios.com/ http://www.chilemedios.com/ Red Hat Certified Engineer (RHCE) 805010694850055. http://www.LinuxSupport.cl http://www.linuxsupport.cl/ http://www.linuxsupport.cl/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org
Re: [CentOS-es] Clonar Centos 5.6
Buenas, creo que no te queda mas que copiar las configuraciones a mano. El paso de hacer todo en una virtual para después clonar no lo veo necesario, salvo que en el nuevo servidor haya cosas funcionando. Lo de las bases es un dump y restore, no ? El apache es copiar archivos, no ? Lo del tomcat seria tener la misma jvm y copiar el directorio entero, no? Una forma de clonar sin usar vmware seria con tgtd y dd, yo lo use unas pocas veces y ahorra mucho tiempo. Saludos PD: Espero que ya lo hayas podido solucionar... El 21/07/11 21:21, Diego Paredes B. escribió: Buenas Muchas Gracias a todos por sus respuesta voy a aclarar mi pregunta Tengo Ubuntu Server 10.10 con servicios instalados(Apache,Mysql,Postgresql,TOmcat6,FTP,SENDMAIL) Necesito migrar a CentOs 5.6 con los mismos servicios y configuraciones. Preguntas1.- hay una forma directa de pasar de Ubuntu a CentOS 5.6 (que lo veo imposible)??2.- Lo que yo he pensado es primero para mis pruebas instalar en una maquina en VMWare el CentOS 5.6 los servicios desde 0 hasta dejarlo igual que el Ubuntu (Me esta tomando un poco de tiempo).Una vez que tengo la maquina virutal CentOS 5.6 lista. lo normal que tendria que hacer es hacer los mismos pasos que hice en la maquina virtual en mi servidor (pero toma tiempo)Pregunto : Existe una forma de clonar o copiar el centos de mi maquina virtual con todos los servicios y configuraciones a mi servidor nuevo. Saludos Diego Paredes From: araqu...@gmail.com Date: Thu, 21 Jul 2011 20:53:52 -0300 To: centos-es@centos.org Subject: Re: [CentOS-es] Clonar Centos 5.6 Si quieres ir directamente con el server en Ubuntu a VMWare es bastante fácil, tenes que instalar una herramienta llamada Converter de VMWare en la máquina fisica (Ubuntu) este soft básicamente lo que haces un P2V convirtiendo a una VM para que la montes en el ESXI que tengas instalado. Espero que te sirva si interprete bien tu requerimiento. Saludos ... *Christian G. Araquistain* 2011/7/21 Diego Paredes B.el_die...@hotmail.com Buenas Tardes quisiera saber algo, en estos momentos vamos a hacer una migración de Ubuntu server 10.10 a Centos 5.6, lo que tenia pensado es hacer una maquina virtual con VWmare instalar el Centos 5.6 y luego todos los servicios que tengo en el Ubuntu, Quisiera saber si existe una forma de clonar esa maquina virtual con todos los servicios instalados y ponerla en mi servidor para ahorrarme el trabajo de instalar de nuevo el Centos en el servidor con cada servicio. Muchas Gracias Diego Paredes From: cen...@nuestroserver.com To: centos-es@centos.org Date: Wed, 20 Jul 2011 13:00:23 -0500 Subject: Re: [CentOS-es] Configurar BIND varios dominios On Wed, 2011-07-20 at 12:45 -0500, Viviana wrote: Amigos de la lista solicito su ayuda por favor. Alguien a probado configurar bind para varios dominios. Necesito configurar www.uno.com y www.dos.com en el servidor DNS, pero no hay mucha información al respecto. http://www.ecualug.org/2007/06/24/comos/configurar_un_servidor_dns_con_bind_en_centos5 saludos epe La mayoría publica información acerca de la configuración en APACHE y no dicen mucho de la configuración del DNS. Les estaré muy agradecida. Viviana ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ 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] Postgres
Configura el archivo pg_hva.conf en la linea de conexiones IPv4 hostall all 127.0.0.1/32 trust y luego te conectas a la base de datos y cambias la contreseña de postgres y listo Henry Interiano San Pedro Sula, Honduras From: el_die...@hotmail.com To: centos-es@centos.org Date: Wed, 3 Aug 2011 01:25:55 + Subject: Re: [CentOS-es] Postgres Muchas Gracias Federico, Ahora tengo otra consulta pero sobre el servicio de Postgres8.4 en Centos 5.6 lo instale con yum install postgresql84 postgresql84-server postgresql84-contrib Pero nunca me pidió la contraseña del usuario postgres, ahora cuando quiero entrar no se la clave hay una clave default? ya intente con postgres y nada.. si no hay forma de recuperar la clave me pueden decir como desintalo el servicio de forma segura.Para volverlo ha instalar y si alguien tiene los pasos se lo agradecería. SaludosDiego Date: Tue, 2 Aug 2011 21:59:48 -0300 From: federico.do...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Diego, cuando pasaste tus directorios por el WINDOWS perdiste todos los permisos, es xq no lo entiende el sistema de archivos del WINDOWS. Saludos. El 2 de agosto de 2011 21:55, Diego Paredes B. el_die...@hotmail.comescribió: Muchas Gracias Mario pero le di todos los permisos y nada no salia, y ya lo tengo solucionado.Lo que yo había realizado era primero copiar los archivos del servidor antiguo con WINSCP a windows y de ahi con el mismo WINSCP copialos al nuevo y por alguna razón me salia ese error. Lo solucione haciendo un rsync de server a server y no tuve ningún problema Saludos Diego To: centos-es@centos.org From: mario.villelalarr...@gmail.com Date: Tue, 2 Aug 2011 02:59:35 + Subject: Re: [CentOS-es] Apache Hay q darle permisos al archivo Chroot 750 index.php Enviado desde mi Blackberry® 3G de Iusacell. -Original Message- From: Diego Paredes B. el_die...@hotmail.com Sender: centos-es-boun...@centos.org Date: Tue, 2 Aug 2011 00:35:41 To: centos-es@centos.org Reply-To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Buenas Tardes una consulta Tengo un servidor con Centos 5.6 le instale el apache + php y mysql la pagina principal del apache corre perfectamente. EL problema que tengo es el siguiente. Yo tenia un servidor Ubuntu con el apache y tenia mi pagina web ubicada en /var/wwwlo que he hecho es copiar todo el contenido de /var/www y pasarlo al apache de Centos a la carpeta /var/www/html En teoria cuando ponga localhost en el navegador me deberia salir mi web que tengo como archivo index.php pero me sigue saliendo la pagina principal del apache.Y cuando pongo localhost/index.php me sale este error Forbidden You don't have permission to access /index.php on this server. Saludos Diego Date: Mon, 1 Aug 2011 17:01:15 -0400 From: carlos.tir...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Redimencionar HDD Centos Virtual No entendio, el Disco es Virtual??? Si aun tienes espacio en el sda te recomiendo que crees una nueva particion y lo etiquetes como LVM. Despues esa nueva particion lvm la inicializas y agregas al grupo VolGroup00 que tienes en tu maquina. Despues de eso, extiendes tu volumen logico LogVol00 en +X cantidad de GB finalmente, extiendes en el sistema de archivos con resize2fs :) Saludos! 2011/8/1 Federico Don federico.do...@gmail.com Buenas, es mi primer desafio y soy muy novato para esto, agradeceria ayuda, tengo una virtual con centos, la cual necesito mas espacio en disco. Agrande el disco virtual de 100GB a 150GB. En el Centos= # fdisk -l *Disk /dev/sda: 161.0 GB, 161061273600 bytes* 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /*dev/sda1 * 1 13 104391 83 Linux* */dev/sda2 14 13054 104751832+ 8e Linux LVM* # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 *97G 3.1G 89G 4% /* /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm Como puedo agregar el espacio en disco al Filesystem en el / ?? Gracias a todos! ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Carlos Francisco Tirado Elgueta Google AdWords Professional (GAP) http://www.ChileMedios.com http://www.chilemedios.com/ http://www.chilemedios.com/ Red
Re: [CentOS-es] Postgres
Muchas Gracias por el aporte. Solucionado. From: henryinteri...@hotmail.com To: centos-es@centos.org Date: Tue, 2 Aug 2011 22:54:54 -0600 Subject: Re: [CentOS-es] Postgres Configura el archivo pg_hva.conf en la linea de conexiones IPv4 hostall all 127.0.0.1/32 trust y luego te conectas a la base de datos y cambias la contreseña de postgres y listo Henry Interiano San Pedro Sula, Honduras From: el_die...@hotmail.com To: centos-es@centos.org Date: Wed, 3 Aug 2011 01:25:55 + Subject: Re: [CentOS-es] Postgres Muchas Gracias Federico, Ahora tengo otra consulta pero sobre el servicio de Postgres8.4 en Centos 5.6 lo instale con yum install postgresql84 postgresql84-server postgresql84-contrib Pero nunca me pidió la contraseña del usuario postgres, ahora cuando quiero entrar no se la clave hay una clave default? ya intente con postgres y nada.. si no hay forma de recuperar la clave me pueden decir como desintalo el servicio de forma segura.Para volverlo ha instalar y si alguien tiene los pasos se lo agradecería. SaludosDiego Date: Tue, 2 Aug 2011 21:59:48 -0300 From: federico.do...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Diego, cuando pasaste tus directorios por el WINDOWS perdiste todos los permisos, es xq no lo entiende el sistema de archivos del WINDOWS. Saludos. El 2 de agosto de 2011 21:55, Diego Paredes B. el_die...@hotmail.comescribió: Muchas Gracias Mario pero le di todos los permisos y nada no salia, y ya lo tengo solucionado.Lo que yo había realizado era primero copiar los archivos del servidor antiguo con WINSCP a windows y de ahi con el mismo WINSCP copialos al nuevo y por alguna razón me salia ese error. Lo solucione haciendo un rsync de server a server y no tuve ningún problema Saludos Diego To: centos-es@centos.org From: mario.villelalarr...@gmail.com Date: Tue, 2 Aug 2011 02:59:35 + Subject: Re: [CentOS-es] Apache Hay q darle permisos al archivo Chroot 750 index.php Enviado desde mi Blackberry® 3G de Iusacell. -Original Message- From: Diego Paredes B. el_die...@hotmail.com Sender: centos-es-boun...@centos.org Date: Tue, 2 Aug 2011 00:35:41 To: centos-es@centos.org Reply-To: centos-es@centos.org Subject: Re: [CentOS-es] Apache Buenas Tardes una consulta Tengo un servidor con Centos 5.6 le instale el apache + php y mysql la pagina principal del apache corre perfectamente. EL problema que tengo es el siguiente. Yo tenia un servidor Ubuntu con el apache y tenia mi pagina web ubicada en /var/wwwlo que he hecho es copiar todo el contenido de /var/www y pasarlo al apache de Centos a la carpeta /var/www/html En teoria cuando ponga localhost en el navegador me deberia salir mi web que tengo como archivo index.php pero me sigue saliendo la pagina principal del apache.Y cuando pongo localhost/index.php me sale este error Forbidden You don't have permission to access /index.php on this server. Saludos Diego Date: Mon, 1 Aug 2011 17:01:15 -0400 From: carlos.tir...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] Redimencionar HDD Centos Virtual No entendio, el Disco es Virtual??? Si aun tienes espacio en el sda te recomiendo que crees una nueva particion y lo etiquetes como LVM. Despues esa nueva particion lvm la inicializas y agregas al grupo VolGroup00 que tienes en tu maquina. Despues de eso, extiendes tu volumen logico LogVol00 en +X cantidad de GB finalmente, extiendes en el sistema de archivos con resize2fs :) Saludos! 2011/8/1 Federico Don federico.do...@gmail.com Buenas, es mi primer desafio y soy muy novato para esto, agradeceria ayuda, tengo una virtual con centos, la cual necesito mas espacio en disco. Agrande el disco virtual de 100GB a 150GB. En el Centos= # fdisk -l *Disk /dev/sda: 161.0 GB, 161061273600 bytes* 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /*dev/sda1 * 1 13 104391 83 Linux* */dev/sda2 14 13054 104751832+ 8e Linux LVM* # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 *97G 3.1G 89G 4% /* /dev/sda1 99M 13M 82M 14% /boot tmpfs 187M 0 187M 0% /dev/shm Como puedo agregar el espacio en disco al Filesystem en el / ?? Gracias a
Re: [CentOS] RedHat to CentOS packages
How do you use nagios to cve monitoring? Is there plugin available for that? We're ussing OSSIM, as it integrates Nagios and Nessus. My guess is that you could probably write a Nagios plugin to query Nessus but we haven't needed to look into that yet ;) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centos speech to text?
Dear All On my centos 5.6 , the KMouth is functioning for 'text to speech' facility. Can you please let me know if we have 'speech to text' facility for centos? Thank you ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EL6: Hard Disk upgrade howto?
On 08/02/2011 06:16 AM, Benjamin Smith wrote: On Saturday, July 30, 2011 06:00:26 PM Yves Bellefeuille wrote: On Friday 29 July 2011 22:45, Benjamin Smith wrote: I have a tested copy of EL6 that I would like to duplicate to a number of similar servers, but can't seem to find a sane howto on the subject. TLDP's Hard disk upgrade howto is embarrassingly antiquated: when's the last time you saw LILO? When I wrote that How-To, I wanted to copy Linux from a 120 Mb hard disk to a 250 Mb hard disk. I've thought about updating the How-To, but I assumed that modern hard disks are so large that people no longer needed to copy Linux just because they ran out of disk space. Even back then, the How-To wasn't intended for someone who wanted to make several copies. As others have suggested, Clonezilla seems appropriate for your situation: http://clonezilla.org/ I still use LILO to boot from thumb drives, by the way. I feel like I'm speaking to an old friend. =) I did several upgrades with that guide until RH switched to grub. It's been painful ever since. :/ Mostly, I throw in new drives and mount them all over the place. I have systems with a 20 GB / partition with up to 10 TB of drives and partitions crufted all over the place. (yuk!) My issue is that the instructions for LILO don't do much for me with respect to grub. There's numerous howtos mention hdparms and partition numbers and chroot and stuff, but nothing that spells it out for a dolt like me. ... and nobody here's suggested a recommended way to do this. I would *love* it if somebody who knew could ammend your excellent howto with information on grub. (which has been the RHEL/CentOS default for several years) I tried using Clonezilla to clone a 300 GB SAS drive to a 1 TB SATA drive. I don't care *at* *all* if there's some wasted space - I just want it to *work*. But it thew a screen full of random textual garbage on the screen and not much helpful information when I hit the go button. Have you tried dd if=old-drive of=new-drive bs=4096? That may be slow but it usually is the best bet to get an exact copy of the old disk (the new disk must at least have the same size as the old one of course). Regards, Dennis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6.0 and freenx
Hi, http://wiki.centos.org/HowTos/FreeNX says: NX and FreeNX are only available for Centos 4 and 5 Alternative? Thanks in advance for ideas. Helmut ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On 02/08/11 12:26, Helmut Drodofsky wrote: Hi, http://wiki.centos.org/HowTos/FreeNX says: NX and FreeNX are only available for Centos 4 and 5 http://pkgs.org/centos-6-rhel-6/atrpms-x86_64/freenx-server-0.7.3-18.el6.x86_64.rpm.html John. -- John Beranek To generalise is to be an idiot. http://redux.org.uk/ -- William Blake smime.p7s Description: S/MIME Cryptographic Signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On Tue, Aug 2, 2011 at 4:26 AM, Helmut Drodofsky drodof...@internet-xs.de wrote: Hi, http://wiki.centos.org/HowTos/FreeNX says: NX and FreeNX are only available for Centos 4 and 5 Alternative? nx/freenx for CentOS-6 is under development. You can follow the status here: http://bugs.centos.org/view.php?id=4507 The current testing version can be found here: http://centos.toracat.org/misc/nx-freenx/6/ freenx-0.7.3-7.el6.ay nx-3.4.0-7.el6.ay I have been running them on EL6 systems (including upstream-6.0 and 6.1, SL6.0 and SL6.1) without a problem. Several people also have reported success. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On Tue, 2 Aug 2011, Helmut Drodofsky wrote: Hi, http://wiki.centos.org/HowTos/FreeNX says: NX and FreeNX are only available for Centos 4 and 5 Alternative? I stopped using freenx when I found xrdp. yum install xrdp will do it. I find it much easier to setup and maintain. here is what the rpm says: Name : xrdp Arch : x86_64 Version: 0.5.0 Release: 0.13.el6 Size : 240 k Repo : epel Summary: Open source remote desktop protocol (RDP) server URL: http://xrdp.sourceforge.net/ License: GPLv2+ with exceptions Description: The goal of this project is to provide a fully functional Linux terminal : server, capable of accepting connections from rdesktop and Microsoft's own : terminal server / remote desktop clients. Regards, -- Tom Diehl tdi...@rogueind.com Spamtrap address mtd...@rogueind.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On Tue, Aug 02, 2011 at 04:53:37AM -0700, Akemi Yagi wrote: The current testing version can be found here: http://centos.toracat.org/misc/nx-freenx/6/ freenx-0.7.3-7.el6.ay nx-3.4.0-7.el6.ay I have been running them on EL6 systems (including upstream-6.0 and 6.1, SL6.0 and SL6.1) without a problem. Several people also have reported success. I'm one of those people. It's worked pretty much out of the box for me--though if you use SELinux, also go to toracat's blog on fixing that. It can be found with a quick google of toracat freenx selinux. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Anya: I know what broke up him and Cordelia, you know. It was you! And your lips! Willow: No, it was not! Well, yes it was so, but... that was a long time ago, do you think I'd do that again? Anya: Why not? Willow: Hello? Gay now! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos speech to text?
On 08/02/2011 04:32 AM hadi motamedi wrote: Dear All On my centos 5.6 , the KMouth is functioning for 'text to speech' facility. Can you please let me know if we have 'speech to text' facility for centos? Thank you ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos wikipedia lists several projects and also says that the Windows app can be used on linux. -- When a society comes together and makes decisions in harmony, when it respects its most noble traditions, cares for its most vulnerable members, treats its forests and lands with respect, then it will prosper and not decline. --Buddha, Mahaparinirvana Sutra ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Good for a chuckle
On Sat, July 30, 2011 12:51, Jim Wildman wrote: Hey, at least the bug poster took the time to write it up nicely. Still impossible... git -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
Personally, I am blown away by the performance of Tiger VNC - so much so that I no longer use either NX nor FreeNX. I don't get sounds - but youtube runs very smoothly... Of course, I've not been able to resize a running desktop like I have with the **NX's - but since the performance has been so good - I don't care :) On Tue, 2 Aug 2011, Tom Diehl wrote: On Tue, 2 Aug 2011, Helmut Drodofsky wrote: Hi, http://wiki.centos.org/HowTos/FreeNX says: NX and FreeNX are only available for Centos 4 and 5 Alternative? I stopped using freenx when I found xrdp. yum install xrdp will do it. I find it much easier to setup and maintain. here is what the rpm says: Name : xrdp Arch : x86_64 Version: 0.5.0 Release: 0.13.el6 Size : 240 k Repo : epel Summary: Open source remote desktop protocol (RDP) server URL: http://xrdp.sourceforge.net/ License: GPLv2+ with exceptions Description: The goal of this project is to provide a fully functional Linux terminal : server, capable of accepting connections from rdesktop and Microsoft's own : terminal server / remote desktop clients. Regards, -- Tom Diehl tdi...@rogueind.com Spamtrap address mtd...@rogueind.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Scot P. Floess RHCT (Certificate Number 605010084735240) Chief Architect FlossWare http://sourceforge.net/projects/flossware http://flossware.sourceforge.net https://github.com/organizations/FlossWare ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On 8/2/2011 7:02 AM, Tom Diehl wrote: I stopped using freenx when I found xrdp. yum install xrdp will do it. I find it much easier to setup and maintain. That does look usable, but I've never had to do anything more than 'yum install/update' to maintain freenx - and paste the client key into each NX client once. There are a few more steps with 6.0 and SELinux enabled. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On Tue, Aug 2, 2011 at 6:34 AM, Daniel J Walsh dwa...@redhat.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/02/2011 08:18 AM, Scott Robbins wrote: On Tue, Aug 02, 2011 at 04:53:37AM -0700, Akemi Yagi wrote: The current testing version can be found here: http://centos.toracat.org/misc/nx-freenx/6/ freenx-0.7.3-7.el6.ay nx-3.4.0-7.el6.ay I have been running them on EL6 systems (including upstream-6.0 and 6.1, SL6.0 and SL6.1) without a problem. Several people also have reported success. I'm one of those people. It's worked pretty much out of the box for me--though if you use SELinux, also go to toracat's blog on fixing that. It can be found with a quick google of toracat freenx selinux. I have updated that web site. What is the path of the .ssh directory that is giving you a problem? Does running restorecon on the directory solve it? Thanks for the post at: http://blog.toracat.org/2010/12/selinux-and-freenx/ User nx's home directory is /var/lib/nxserver/home . # ls -al /var/lib/nxserver/home/ total 12 drwx--. 3 nx root 4096 Nov 10 2010 . drwx--. 4 nx root 4096 Nov 10 2010 .. drwx--. 2 nx root 4096 Nov 10 2010 .ssh I will test your suggestion and report back with what I find. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
The rpms from ATrpms.net have not installed correct. E.g. I'm missing the entries for /etc/init.d/freenx-server or something like that. The rpms described below are installing well as far as I can see. Selinux is disabled now for easy testing and then the server rebooted. NX Client reports NX 203 NXSSH running with pid: 23316 NX 285 Enabling check on switch command NX 285 Enabling skip of SSH config files NX 285 Setting the preferred NX options NX 200 Connected to address: 192.168.140.13 on port: 22 NX 202 Authenticating user: nx NX 208 Using auth method: publickey NX 204 Authentication failed. And is reporting: ...NX service not available or NX access disabled on host ... IP is correct. ssh login with this IP: no problem. Client key is copied from /etc/nxserver/client.id_dsa.key My NX server on CentOS 5.x are running well Do you use key authentication or have you configured nx user and passwords? Helmut -Ursprüngliche Nachricht- Von: centos-boun...@centos.org [mailto:centos-boun...@centos.org] Im Auftrag von Scott Robbins Gesendet: Dienstag, 2. August 2011 14:18 An: CentOS mailing list Betreff: Re: [CentOS] CentOS 6.0 and freenx On Tue, Aug 02, 2011 at 04:53:37AM -0700, Akemi Yagi wrote: The current testing version can be found here: http://centos.toracat.org/misc/nx-freenx/6/ freenx-0.7.3-7.el6.ay nx-3.4.0-7.el6.ay I have been running them on EL6 systems (including upstream-6.0 and 6.1, SL6.0 and SL6.1) without a problem. Several people also have reported success. I'm one of those people. It's worked pretty much out of the box for me--though if you use SELinux, also go to toracat's blog on fixing that. It can be found with a quick google of toracat freenx selinux. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Anya: I know what broke up him and Cordelia, you know. It was you! And your lips! Willow: No, it was not! Well, yes it was so, but... that was a long time ago, do you think I'd do that again? Anya: Why not? Willow: Hello? Gay now! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] No debuginfo for Centos 6?
On 07/30/2011 01:03 PM, Dennis Jacobfeuerborn wrote: On 07/30/2011 06:37 AM, Pasi Kärkkäinen wrote: On Fri, Jul 29, 2011 at 08:07:38PM +0200, Dennis Jacobfeuerborn wrote: Hi, I'm trying to use oprofile to debug a problem with idle virtual machines eating 10% cpu but apparently the debuginfo packages for Centos 6 do not exist and so I cannot get any useful information from the kernel. Is there some way to at least get the kernel-debuginfo from somewhere? If those VMs are el5 then try adding divider=10 for their kernels. It's a Centos6 minimal guest on a Centos 6 Desktop host so technically this shouldn't be needed but I tried it anyway without effect. I also removed the NIC and tried playing with the APIC/ACPI settings but this doesn't seem to matter either. I filed a bug here: http://bugs.centos.org/view.php?id=5028 According to toracat he sees this also on RHEL6 and SL6 which has me worried because if this is really a Problem upstream that hasn't been addressed yet then I'm not sure how I can justify using Centos 6 as a virtualization platform. 10% of wasted resources per VM is simply not acceptable when you run more than one guest on a system. Just a heads up: The problem is the tablet device. Once you remove that from the guest the CPU usage returns to normal. Regards, Dennis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On Tue, Aug 2, 2011 at 8:47 AM, Helmut Drodofsky drodof...@internet-xs.de wrote: The rpms from ATrpms.net have not installed correct. E.g. I'm missing the entries for /etc/init.d/freenx-server or something like that. The stuff at atrpms is not being maintained, and if I remember, the nx package is old and yet labeled bleeding. The rpms described below are installing well as far as I can see. Selinux is disabled now for easy testing and then the server rebooted. NX Client reports NX 203 NXSSH running with pid: 23316 NX 285 Enabling check on switch command NX 285 Enabling skip of SSH config files NX 285 Setting the preferred NX options NX 200 Connected to address: 192.168.140.13 on port: 22 NX 202 Authenticating user: nx NX 208 Using auth method: publickey NX 204 Authentication failed. And is reporting: ...NX service not available or NX access disabled on host ... IP is correct. ssh login with this IP: no problem. Client key is copied from /etc/nxserver/client.id_dsa.key My NX server on CentOS 5.x are running well Do you use key authentication or have you configured nx user and passwords? I wonder if the trouble has to do with the fact you have installed the packages from atrpms. Can you show us the output from: rpm -qa | grep nx And perhaps, rpm -qf /etc/nxserver/node.conf ?? Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Cannot remove freshly created logical volumes
Hi, I've got a strange situation where I cannot remove logical volumes even right after they have been created: [root@centos6 ~]# lvcreate -n c6minimal -L+5G vg_nexus Logical volume c6minimal created [root@centos6 ~]# lvremove /dev/vg_nexus/c6minimal Can't remove open logical volume c6minimal [root@centos6 ~]# vgck vg_nexus [root@centos6 ~]# dmsetup info -c vg_nexus-c6minimal Name Maj Min Stat Open Targ Event UUID vg_nexus-c6minimal 253 23 L--w01 0 LVM-rIIS0StztO1tPspxCxiKWJgcmjiufxvXC343e8jObzXGRHbdtvHaHWfh17ZSukm3 I've even gone to runlevel 1 but still LVM claims that the device is open despite dmsetup saying that is not the case. vgck doesn't show anything suspicious either. Any ideas how I could debug this further? Regards, Dennis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] MySQL package to install on CentOS/RedHad 6.x
I can see Oracle has packages for RedHad 5 but not for 6... Should I install the rpm for redhad even though they are built against 5? Or should I install the generic rpm package from Oracle? anyone knows the differences? Thanks in advance Regards, Marc Deop ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MySQL package to install on CentOS/RedHad 6.x
On 08/02/11 10:52 AM, Marc Deop wrote: I can see Oracle has packages for RedHad 5 but not for 6... Should I install the rpm for redhad even though they are built against 5? Or should I install the generic rpm package from Oracle? anyone knows the differences? whats wrong with the packages built into CentOS 6 ? -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Two ftp clients? Why?
I had a problem wherein running a script with an embedded ftp call would work in the login shell during integration testing and then fail with an unrecognized option error in cron during acceptance testing. In solving this I discovered that RedHat, and therefore CentOS, ships with at least two ftp clients, /usr/bin/ftp ( which I thought I was using ) and /usr/kerberos/bin/ftp, which I actually was using. even though I had no inkling of its existence. My question is why? Why are there two ftp clients provided in a single distribution and why is the kerberos version effectively made the default whereas one might reasonably assume that anything in /usr/bin/ is the standard ( and by inference default ) ftp client for the distribution? If kerberos ftp is intended to be the default ftp client then why is it not in, or at least linked to from, /usr/bin? I just do not understand why these obscure distribution 'gotchas' are created in the first place, much less permitted to persist. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.0 and freenx
On Tue, Aug 2, 2011 at 8:34 AM, Akemi Yagi amy...@gmail.com wrote: On Tue, Aug 2, 2011 at 6:34 AM, Daniel J Walsh dwa...@redhat.com wrote: I have updated that web site. What is the path of the .ssh directory that is giving you a problem? Does running restorecon on the directory solve it? Thanks for the post at: http://blog.toracat.org/2010/12/selinux-and-freenx/ User nx's home directory is /var/lib/nxserver/home . I will test your suggestion and report back with what I find. Yes, that indeed solved the selinux issue. First, using a test VM, I made sure connection failed if selinux was enabled. Then I ran: restorecon -R -v /var/lib/nxserver and now I am able to connect without a problem. Thanks for your help. I will update the blog accordingly. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 08/02/11 12:41 PM, James B. Byrne wrote: I just do not understand why these obscure distribution 'gotchas' are created in the first place, much less permitted to persist. you'd need to ask Red Hat that. Its their policy. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On Tue, Aug 2, 2011 at 2:41 PM, James B. Byrne byrn...@harte-lyne.cawrote: My question is why? Why are there two ftp clients provided in a single distribution and why is the kerberos version effectively made the default whereas one might reasonably assume that anything in /usr/bin/ is the standard ( and by inference default ) ftp client for the distribution? If kerberos ftp is intended to be the default ftp client then why is it not in, or at least linked to from, /usr/bin? If you look in /etc/profile.d/ you'll see the krb5-workstation.sh script. It tests the path to see if kerberos is in it, and if not, it prepends the path. This is why it is the first ftp used/found. As to why, dunno. Ask rh. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MySQL package to install on CentOS/RedHad 6.x
On Tue, Aug 2, 2011 at 12:52 PM, Marc Deop damnsh...@gmail.com wrote: Or should I install the generic rpm package from Oracle? anyone knows the differences? CentOS ships with mysql already. Use what's provided in the distribution for best results. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MySQL package to install on CentOS/RedHad 6.x
2011/8/2 Jim Perrin jper...@gmail.com: On Tue, Aug 2, 2011 at 12:52 PM, Marc Deop damnsh...@gmail.com wrote: Or should I install the generic rpm package from Oracle? anyone knows the differences? CentOS ships with mysql already. Use what's provided in the distribution for best results. http://pkgs.org/centos-6-rhel-6/remi-x86_64/mysql-5.5.14-1.el6.remi.x86_64.rpm.html -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Sudo #includedir function ignored CentOS 6
On Wed, Jul 27, 2011 at 7:39 AM, Craig White craigwh...@azapple.com wrote: On Tue, 2011-07-26 at 15:59 -0500, Trey Dockendorf wrote: Well I verified that putting the following line in /etc/sudoers works zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet However if I put it in /etc/sudoers.d/zabbix-puppet it does not. Exact same spacing and everything. The file was created with Puppet , and based on these errors I'm at a loss... I check the syntax, it fails # visudo -c -f /etc/sudoers.d/zabbix-puppet /etc/sudoers.d/zabbix-puppet: syntax error near line 0 parse error in /etc/sudoers.d/zabbix-puppet near line 0 I then open the file with visudo, make absoltely no changes, just :q out, still get error. # visudo -f /etc/sudoers.d/zabbix-puppet /etc/sudoers.d/zabbix-puppet: syntax error near line 0 Then if I run the syntax check again it passes. However I still can't run the command without password prompt. # visudo -c -f /etc/sudoers.d/zabbix-puppet /etc/sudoers.d/zabbix-puppet: parsed OK The files permissions are correct as specified by sudoers documentation on #includedir probably should ask on the puppet list since using an includedir function would be far more likely with puppet where most people would just tack on their edits to /etc/sudoers directly. I am sort of interested in your solution by the way (I am on the puppet list too) because I use puppet but so far, only on Ubuntu and it appears that our CentOS systems will eventually be phased out. by the way, I have seen the same sort of spookiness about syntax errors created by visudo on Ubuntu 10.04 on perfectly valid edits. Had me scratching my head too. I used to always just use emacs to edit the file but at work, I try to play by the conventions. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Craig, I got things working...I posted my module on github if your interested , https://github.com/treydock/puppet-sudo . Was two problems. First was can't have quotations around the #includedir path, second was that puppet wasn't puppeting a new line character in the file when using the content approach (see modules note). - Trey ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
At Tue, 2 Aug 2011 15:41:52 -0400 (EDT) CentOS mailing list centos@centos.org wrote: I had a problem wherein running a script with an embedded ftp call would work in the login shell during integration testing and then fail with an unrecognized option error in cron during acceptance testing. In solving this I discovered that RedHat, and therefore CentOS, ships with at least two ftp clients, /usr/bin/ftp ( which I thought I was using ) and /usr/kerberos/bin/ftp, which I actually was using. even though I had no inkling of its existence. My question is why? Why are there two ftp clients provided in a single distribution and why is the kerberos version effectively made the default whereas one might reasonably assume that anything in /usr/bin/ is the standard ( and by inference default ) ftp client for the distribution? If kerberos ftp is intended to be the default ftp client then why is it not in, or at least linked to from, /usr/bin? I just do not understand why these obscure distribution 'gotchas' are created in the first place, much less permitted to persist. Does this give you a clue: gollum.deepsoft.com% rpm -qf /usr/kerberos/bin/ftp /usr/bin/ftp krb5-workstation-1.6.1-55.el5_6.2 ftp-0.17-35.el5 -- Robert Heller -- 978-544-6933 / hel...@deepsoft.com Deepwoods Software-- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 02/08/2011 3:41 PM, James B. Byrne wrote: I had a problem wherein running a script with an embedded ftp call would work in the login shell during integration testing and then fail with an unrecognized option error in cron during acceptance testing. In solving this I discovered that RedHat, and therefore CentOS, ships with at least two ftp clients, /usr/bin/ftp ( which I thought I was using ) and /usr/kerberos/bin/ftp, which I actually was using. even though I had no inkling of its existence. My question is why? Why are there two ftp clients provided in a single distribution and why is the kerberos version effectively made the default whereas one might reasonably assume that anything in /usr/bin/ is the standard ( and by inference default ) ftp client for the distribution? If kerberos ftp is intended to be the default ftp client then why is it not in, or at least linked to from, /usr/bin? I just do not understand why these obscure distribution 'gotchas' are created in the first place, much less permitted to persist. What I'm left wondering is: 1) Why you are relying on PATH expansion for this from something as critical as a cron job. It is good sysadmin practice to specify explicit paths for situations like this rather than to worry about whether or not there is a good or valid reason for there being 2 ftp clients installed on the system. 2) Why you are using an ftp client rather than something like wget or curl instead, both of which are far more powerful and script friendly. Presumably the kerberos client only gets installed if kerberos infrastructure is installed, and the standard ftp client is probably part of the default install as people expect it to be there perhaps. Putting in unnecessary logic to only install one ftp client and not the other doesn't make much sense either. Focusing on finding the best way develop solid solutions to administrative scripting problems like this is IMHO much more important than trying to know or guess what the rationale is behind there being 2 ftp binaries on the system. Anyhow, if you have expectations of specific software being installed or not installed on your systems the only reliable and reproducible way to do that is to use kickstart with a minimal install and build up the package list to include only the things you want to have installed. HTH ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
What I'm left wondering is: 1) Why you are relying on PATH expansion for this from something as critical as a cron job. It is good sysadmin practice to specify explicit paths for situations like this rather than to worry about whether or not there is a good or valid reason for there being 2 ftp clients installed on the system. That was precisely my thought. I often noticed that people find it easier to blame others rather then questioning and rethinking their own actions... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
Would that be the same as: why are there multiple desktops: kde gnome why are there multiple browsers: firefox konquerer why are there multiple text editors: vim joe nano why are there multiple mail distribution tools: sendmail, exim, postfix why why why Chris --- On Tue, 8/2/11, Miguel Medalha miguelmeda...@sapo.pt wrote: From: Miguel Medalha miguelmeda...@sapo.pt Subject: Re: [CentOS] Two ftp clients? Why? To: CentOS mailing list centos@centos.org Date: Tuesday, August 2, 2011, 4:01 PM What I'm left wondering is: 1) Why you are relying on PATH expansion for this from something as critical as a cron job. It is good sysadmin practice to specify explicit paths for situations like this rather than to worry about whether or not there is a good or valid reason for there being 2 ftp clients installed on the system. That was precisely my thought. I often noticed that people find it easier to blame others rather then questioning and rethinking their own actions... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EL6: Hard Disk upgrade howto?
On Tuesday 02 August 2011 00:16, Benjamin Smith li...@benjamindsmith.com wrote: ... and nobody here's suggested a recommended way to do this. I would *love* it if somebody who knew could ammend your excellent howto with information on grub. (which has been the RHEL/CentOS default for several years) I did try at one point to write a Grub Mini How-To to complement the Hard Disk Upgrade Mini How-To. I gave up because I was having too much trouble trying to work out all possible situations, but I'll send you what I wrote at that time by E-mail. Yves -- Yves Bellefeuille y...@storm.ca La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se ili konscias pri sia eraro. -- Heroldo Komunikas, n-ro 473. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
Chris Weisiger wrote: Would that be the same as: why are there multiple desktops: kde gnome fvwm, icewm, busybox, etc why are there multiple browsers: firefox konquerer why are there multiple text editors: vim joe nano ROTFLMAO! You forgot emacs (take it to alt.religion.editors) why are there multiple mail distribution tools: sendmail, exim, postfix fetchmail, too. It's the Unix Way: not how can I do this?, but of all the ways I can do it, which would I prefer? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
Mike A. Harris mharris at mharris.ca Tue Aug 2 16:45:56 EDT 2011 What I'm left wondering is: 1) Why you are relying on PATH expansion for this from something as critical as a cron job. It is good sysadmin practice to specify explicit paths for situations like this rather than to worry about whether or not there is a good or valid reason for there being 2 ftp clients installed on the system. Point taken and that is e=indeed what i subsequently did. However, in my defence I explicitly set the PATH variable in the crontab entry prior to invoking the calling script that uses ftp. It never crossed my mind that I should have first done a 'which ftp' to discover which one was being used in my login shell because it never crossed my mind that there would be two different ftp clients on my systems to begin with. And frankly, I do not think that anyone would a priori conceive of there being two separate telnet clients, two different sftp clients, or two of anything else of a similar nature as being a reasonable possibility. 2) Why you are using an ftp client rather than something like wget or curl instead, both of which are far more powerful and script friendly. I tried to use cURL for this particular bit, I in fact use cURL everywhere else in the same script. However, I am unable to determine how to get cURL to give me a meaningful response to the SYST command whereas the ftp client gives me a quite fulsome answer. Presumably the kerberos client only gets installed if kerberos infrastructure is installed, and the standard ftp client is probably part of the default install as people expect it to be there perhaps. Putting in unnecessary logic to only install one ftp client and not the other doesn't make much sense either. Leaving it for an unsuspecting user to discover that there are two dissimilar versions of the same utility is not user friendly. Focusing on finding the best way develop solid solutions to administrative scripting problems like this is IMHO much more important than trying to know or guess what the rationale is behind there being 2 ftp binaries on the system. A rationale is more than I expect. The excuse is likely that it is just too difficult to bother with, as you pointed out above. Anyhow, if you have expectations of specific software being installed or not installed on your systems the only reliable and reproducible way to do that is to use kickstart with a minimal install and build up the package list to include only the things you want to have installed. I expected an ftp client to be installed and I found one in the place I expected it to be. What I did not expect was that there was a second one installed somewhere else on a basic CentOS system with few local customizations and that it was the other client that I was using in my login shell. I am sure that paranoia is a valued admin quality but truly I do not expect to have to run which on every stock utility present on a reputable distribution just to discover if there is a second version of something installed somewhere obscure and stuck into my path by the packager. Nor do I expect that this issue or any like it will ever be considered important enough to comment on by upstream, much less looked at and reconciled. Which essentially is why I dropped RH support and went to CentOS in the first place. But I am pissed that this sort of BS still gets me from time to time. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 8/2/2011 4:25 PM, m.r...@5-cent.us wrote: Chris Weisiger wrote: Would that be the same as: why are there multiple desktops: kde gnome fvwm, icewm, busybox, etc why are there multiple browsers: firefox konquerer why are there multiple text editors: vim joe nano ROTFLMAO! You forgot emacs (take it to alt.religion.editors) why are there multiple mail distribution tools: sendmail, exim, postfix fetchmail, too. It's the Unix Way: not how can I do this?, but of all the ways I can do it, which would I prefer? No, its 'how can I repeat old mistakes' instead of learning from them or building on them. But back to the original problem, why would anyone use ftp in this century when rsync or http(s) are so much easier to manage? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 03/08/2011, at 7:32 AM, James B. Byrne wrote: Mike A. Harris mharris at mharris.ca Tue Aug 2 16:45:56 EDT 2011 What I'm left wondering is: 1) Why you are relying on PATH expansion for this from something as critical as a cron job. It is good sysadmin practice to specify explicit paths for situations like this rather than to worry about whether or not there is a good or valid reason for there being 2 ftp clients installed on the system. Point taken and that is e=indeed what i subsequently did. However, in my defence I explicitly set the PATH variable in the crontab entry prior to invoking the calling script that uses ftp. It never crossed my mind that I should have first done a 'which ftp' to discover which one was being used in my login shell because it never crossed my mind that there would be two different ftp clients on my systems to begin with. And frankly, I do not think that anyone would a priori conceive of there being two separate telnet clients, two different sftp clients, or two of anything else of a similar nature as being a reasonable possibility. Ignoring why you would or wouldn't use ftp. i believe your question was answered a while ago... gollum.deepsoft.com% rpm -qf /usr/kerberos/bin/ftp /usr/bin/ftp krb5-workstation-1.6.1-55.el5_6.2 ftp-0.17-35.el5 If the kerberos workstation package is installed you get the kerberos ftp client. simples... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On Tue, Aug 2, 2011 at 5:41 PM, Les Mikesell lesmikes...@gmail.com wrote: No, its 'how can I repeat old mistakes' instead of learning from them or building on them. But back to the original problem, why would anyone use ftp in this century when rsync or http(s) are so much easier to manage? Les Mikesell While I understand the sentiment of why use old stuff, this is still a pretty ridiculous statement. It takes not even 10 seconds to think of situations where one would need to, such as interfacing with *paying* clients, etc... Instead of suggesting alternate technologies, it should be suggested to not use an ftp client at all and instead use a scripting language, such as perl or python, that has libraries meant for talking to these protocols. Their man pages pretty much show you how even if you don't know the language. The questionable thing is not using entrenched protocols, but using old methods like redirecting ftp commands via STDIN into a client to control it. -☙ Brian Mathis ❧- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 8/2/2011 6:06 PM, Brian Mathis wrote: On Tue, Aug 2, 2011 at 5:41 PM, Les Mikeselllesmikes...@gmail.com wrote: No, its 'how can I repeat old mistakes' instead of learning from them or building on them. But back to the original problem, why would anyone use ftp in this century when rsync or http(s) are so much easier to manage? Les Mikesell While I understand the sentiment of why use old stuff, this is still a pretty ridiculous statement. It takes not even 10 seconds to think of situations where one would need to, such as interfacing with *paying* clients, etc... Yes, if you don't control both ends or you are talking to an embedded device that can't do anything better... Instead of suggesting alternate technologies, it should be suggested to not use an ftp client at all and instead use a scripting language, such as perl or python, that has libraries meant for talking to these protocols. Their man pages pretty much show you how even if you don't know the language. The questionable thing is not using entrenched protocols, but using old methods like redirecting ftp commands via STDIN into a client to control it. There are reasonable clients for automating ftp (curl, wget, ncftp, lftp, etc.). But they can't match rsync for most things if the goal is to move files around, update them in place, etc. And if you have to traverse firewalls, ftp is about the worst possible protocol to use. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EL6: Hard Disk upgrade howto?
On Tuesday, August 02, 2011 02:22:49 PM Yves Bellefeuille wrote: On Tuesday 02 August 2011 00:16, Benjamin Smith li...@benjamindsmith.com wrote: ... and nobody here's suggested a recommended way to do this. I would *love* it if somebody who knew could ammend your excellent howto with information on grub. (which has been the RHEL/CentOS default for several years) I did try at one point to write a Grub Mini How-To to complement the Hard Disk Upgrade Mini How-To. I gave up because I was having too much trouble trying to work out all possible situations, but I'll send you what I wrote at that time by E-mail. Yves That would be just awesome. Thanks! -Ben -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On Tuesday, August 02, 2011 04:06:53 PM Brian Mathis wrote: Instead of suggesting alternate technologies, Ok, so this implies that suggesting alternatives is bad... it should be suggested to not use an ftp client at all and instead use a scripting language, such as perl or python, that has libraries meant for talking to these protocols. Their man pages pretty much show you how even if you don't know the language. Wait - isn't that an alternative technology?!? The questionable thing is not using entrenched protocols, but using old methods like redirecting ftp commands via STDIN into a client to control it. /bin/sh is an old method. TCP is pretty ancient, as well. For that matter, UNIX is REALLY ancient. Yet somehow, they are not only still useful, but highly relevant. Wheels are also old technology! There are often situations that have special needs that alternatives don't accomodate. For example, a general purpose tool (such as tcp wrappers in a scripting environment) often don't give you the fine level of control that you may need for special needs. Such as, for instance, the web-based product that adds an optional http header to indicate an error condition. Tools like wget or curl don't always allow access to the options needed to access this and so sending stdout thru a pipe to an FTP client might be preferable. I've been around the block long enough to know that those who are most certain they have the right answer right away are usually those least likely to have it. Science backs this conclusion up, it's called the Dunning-Kruger effect. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On Tue, 2011-08-02 at 22:01 +0100, Miguel Medalha wrote: What I'm left wondering is: 1) Why you are relying on PATH expansion for this from something as critical as a cron job. It is good sysadmin practice to specify explicit paths for situations like this rather than to worry about whether or not there is a good or valid reason for there being 2 ftp clients installed on the system. That was precisely my thought. I often noticed that people find it easier to blame others rather then questioning and rethinking their own actions... Perhaps because lacking sufficient understanding they believe they have got it correct ? Rethinking is only possible when one has gained sufficient knowledge to be begin to question of the logic of the situation ! No knowledge or very limited knowledge means rethinking is not possible. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- With best regards, Paul. England, EU. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EL6: Hard Disk upgrade howto?
On Tue, 2011-08-02 at 17:22 -0400, Yves Bellefeuille wrote: On Tuesday 02 August 2011 00:16, Benjamin Smith li...@benjamindsmith.com wrote: ... and nobody here's suggested a recommended way to do this. I would *love* it if somebody who knew could ammend your excellent howto with information on grub. (which has been the RHEL/CentOS default for several years) I did try at one point to write a Grub Mini How-To to complement the Hard Disk Upgrade Mini How-To. I gave up because I was having too much trouble trying to work out all possible situations, but I'll send you what I wrote at that time by E-mail. How about including that on the Centos Wiki ? I just wasted many hours with a Grub problem. -- With best regards, Paul. England, EU. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On Tue, 2011-08-02 at 16:41 -0500, Les Mikesell wrote: But back to the original problem, why would anyone use ftp in this century when rsync or http(s) are so much easier to manage? having grown-up on computers before M$ existed, I still find FTP very easy, quick and efficient. Must have a play with rsync though. -- With best regards, Paul. England, EU. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 08/02/11 8:32 PM, Always Learning wrote: having grown-up on computers before M$ existed, I still find FTP very easy, quick and efficient. the FTP protocol has 2 fundamental problems. first, its a plaintext protocol that uses plaintext user/password authentication, and secondly, it creates dynamic sockets on the fly for file transfer, which makes tunneling it through firewalls problematic. Further, there's two different methods of socket creation, each of which requires special case handling in firewalls at either the client or server side, and this method is chosen by the client, the server has no choice but to support what the client requests, these two modes are known as passive and active.. if you have to use ftp to transfer files, for instance with legacy embedded systems, and you're scripting this, check out lftp, its far more script friendly than the old legacy FTP client. me, I use scp/sftp for authenticated remote file transfers over the internet, and mostly use NFS for internal lan transfers. rsync is useful for incremental updates of a large set of files. for anonymous file serving, I prefer to use http rather than FTP, its just as fast at the raw transfer, and its stateless, so there's less overhead on the server. as an example of lftp, this is my cron job for updating my internal centos mirror /usr/bin/lftp -c 'open ftp://mirrors.kernel.org/pub/ lcd /export/mirror \ mirror -c -x ia64 -x s390 -x s390x -x alpha -x SRPMS centos' (note, I'm not mirroring itanium, system/390, or alpha, nor the SRPMs. My local mirror is in /export/mirror/centos on that system, which is available via both NFS and http on my local network...). -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 8/2/11 10:32 PM, Always Learning wrote: On Tue, 2011-08-02 at 16:41 -0500, Les Mikesell wrote: But back to the original problem, why would anyone use ftp in this century when rsync or http(s) are so much easier to manage? having grown-up on computers before M$ existed, I still find FTP very easy, quick and efficient. Neither rsync nor http have anything to do with M$, they are just well designed protocols. Rysnc is specialized for copying files and directory trees, is normally used over ssh, and doesn't need any extra server-side setup other than ssh keys if you want it to work without passwords. Http is very general and the setup can be as simple or complicated as you want - and it is well understood by firewalls and proxies. Must have a play with rsync though. If ssh works between systems, it will 'just work'. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On 08/03/2011 06:41 AM, Les Mikesell wrote: But back to the original problem, why would anyone use ftp in this century when rsync or http(s) are so much easier to manage? Do we have Kerberized rsync yet? Or Globus rsync? If so... please post a link and... (^.^) Anyway, that sort of gets to the heart of just why we have several (not just two) ftp options. ftp, vsftp, Kerberized ftp, gridftp, etc... Its a pretty common tool and in some specific cases scripting the niche ones is necessary due to a lack of alternatives to match a given environment -- though if security isn't an issue (bringing in signed, public packages from a repo, say)... then yeah, rsync; though some people view it as just one more thing to have to learn and never discovering the benefits. -Iwao ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two ftp clients? Why?
On Tue, 2 Aug 2011, Les Mikesell wrote: *snip* While I understand the sentiment of why use old stuff, this is still a pretty ridiculous statement. It takes not even 10 seconds to think of situations where one would need to, such as interfacing with *paying* clients, etc... Yes, if you don't control both ends or you are talking to an embedded device that can't do anything better... *snip* There are reasonable clients for automating ftp (curl, wget, ncftp, lftp, etc.). But they can't match rsync for most things if the goal is to move files around, update them in place, etc. And if you have to traverse firewalls, ftp is about the worst possible protocol to use. I have Proftpd running on my main centos machine. I use gFTP on centos to connect to this machine over my LAN. This allows me to move files between the laptop and the main machine. All my external ports are blocked, and I use ftp as I find the GUI easy and intuitive to use. I would not consider using a commandline ftp client. On my other laptop running Vista I use WinSCP, which is a free GUI ftp client, that allows me to move files from the centos machine to the Vista laptop. Having said that, I can also use my USB flash drive to transfer some files between those laptops and the machine running centos. But it's quicker for me to use ftp over the LAN. One example of using ftp would be me doing some experimental test programs on my (centos) laptop, then ftp'ing to the centos machine and backing up those laptop files to my main centos box's HDD. That way, if the HDD on the lappy goes down, I still have some decent backups on another machine :-) Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos