[CentOS-announce] CESA-2009:1040 Critical CentOS 4 ia64 ntp - security update
CentOS Errata and Security Advisory 2009:1040 https://rhn.redhat.com/errata/RHSA-2009-1040.html The following updated files have been uploaded and are currently syncing to the mirrors: ia64: updates/ia64/RPMS/ntp-4.2.0.a.20040617-8.c4.2.ia64.rpm -- Pasi Pirhonen - u...@iki.fi - http://pasi.pirhonen.eu/ Top-postings silently ignored signature.asc Description: Digital signature ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CESA-2009:0955 Moderate CentOS 4 ia64 nfs-utils - security update
CentOS Errata and Security Advisory 2009:0955 https://rhn.redhat.com/errata/RHSA-2009-0955.html The following updated files have been uploaded and are currently syncing to the mirrors: ia64: updates/ia64/RPMS/nfs-utils-1.0.6-93.EL4.ia64.rpm -- Pasi Pirhonen - u...@iki.fi - http://pasi.pirhonen.eu/ Top-postings silently ignored signature.asc Description: Digital signature ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CESA-2009:0981 Low CentOS 4 ia64 util-linux - security update
CentOS Errata and Security Advisory 2009:0981 https://rhn.redhat.com/errata/RHSA-2009-0981.html The following updated files have been uploaded and are currently syncing to the mirrors: ia64: updates/ia64/RPMS/util-linux-2.12a-24.c4.ia64.rpm -- Pasi Pirhonen - u...@iki.fi - http://pasi.pirhonen.eu/ Top-postings silently ignored signature.asc Description: Digital signature ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
Re: [CentOS-es] Conexion remota
Bueno, en mi forma de ver es dificill accesar un servidor que esta remoto sin una IP Publica, a menos que tengas una conexion de forma local via VPN. Lo que yo siempre uso son DNS Dinamicos como zoneedit (www.zoneedit.com) o dyndns (www.dyndns.com). Walter Cervini movil: 0424-1543350 Pin: 20911CF3 Sent from Las Mercedes, Venezuela 2009/5/21 Mario Villela Larraza mario.villelalarr...@gmail.com Lo que yo te puedo recomendar es que mantengas una cuentade correo de gmail abierta en tu servidor, con el proposito de que cuando la abras en otra computadora hasta bajo de la pagina inicial te parece una leyenda que dice esta cuenta de correo esta abierta desde la ip xxx.xxx.xxx ya si optienes la ip que esta ocupando tu server en ese momento El día 20 de mayo de 2009 20:55, César Martínez cmarti...@servicomecuador.com escribió: Hola amigos esperando que todos se encuentren bien posteo a los tiempos a ver si me pueden ayudar este es mi problema Tengo un servidor centos 5.2 con Squid configurado y funcionando de maravilla, mi proveedor de internet me da el servicio vía dhcp, quisiera ver si hay alguna posibilidad de conectarme remotamente con puty u otro software pero sin tener una ip publica en emi servidor linux, esto con el objetivo de no tener que irme hasta donde esta el server que por cierto esta lejos de mi oficina para solucionar algun problema que pueda tener. Ojalá me pueda ayudar gracias César ___ 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] Error con archivo.sh
La otra cosa que yo veo es que falta un / al final donde esta RPMS, me suele suceder mucho y si no coloco el Slash al final de la ruta destino no sincroniza Walter Cervini movil: 0424-1543350 Pin: 20911CF3 Sent from Las Mercedes, Venezuela 2009/5/21 Eduardo Grosclaude eduardo.groscla...@gmail.com 2009/5/20 Abelardo Ramírez Ferrer abela...@platino.co.cu: Hola camaradas Me ocurre una cosa rara, si en consola escribo: /usr/bin/rsync -avs rsync://mirrors.kernel.org/centos/5.2/updates/i386/RPMS/*/var/www/html/updates/i386/RPMS me sincroniza sin ningún problema descargándome en /var/ los .rpm actualizados. Ahora bien esa linea la pongo en un archivo sincroniza.sh en /usr/local/bin/, exactamente igual y pruebo con: sudo /bib/sh /usr/loca/bin/sincroniza.sh entonces me sale: receiving incremental file list created directory /var/www/html/updates/i386/RPMS/\#015 y me crea en /var/./RPMS una carpeta con nombre en blanco y me empieza a descargar los .rpm. En el script sincroniza.sh parece haber un carácter extra (ese #015 del final que debe interpretarse como el ASCII 13 en octal) al final del nombre del archivo. Aparentemente el script tiene fines de línea al estilo DOS (ASCII 13+ASCII 10). Los fines de línea en Linux deberían ser ASCII 10 únicamente. Puede deberse a que has editado el archivo sincroniza.sh con algún editor desde Windows, o sobre un sistema de archivos VFAT, o a que el nano que utilizas está funcionando en algún modo de compatibilidad con DOS, cosa que me extrañaría. Deberías tratar de editar el sincroniza.sh con algún otro editor, o directamente convertirlo a los fines de línea UNIX con dos2unix. Les aclaro que uso como editor de texto a nano. Esto es lo que me intriga -- 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
Re: [CentOS-es] Conexion remota
2009/5/20 Mario Villela Larraza mario.villelalarr...@gmail.com Lo que yo te puedo recomendar es que mantengas una cuentade correo de gmail abierta en tu servidor, con el proposito de que cuando la abras en otra computadora hasta bajo de la pagina inicial te parece una leyenda que dice esta cuenta de correo esta abierta desde la ip xxx.xxx.xxx ya si optienes la ip que esta ocupando tu server en ese momento El día 20 de mayo de 2009 20:55, César Martínez cmarti...@servicomecuador.com escribió: Hola amigos esperando que todos se encuentren bien posteo a los tiempos a ver si me pueden ayudar este es mi problema Tengo un servidor centos 5.2 con Squid configurado y funcionando de maravilla, mi proveedor de internet me da el servicio vía dhcp, quisiera ver si hay alguna posibilidad de conectarme remotamente con puty u otro software pero sin tener una ip publica en emi servidor linux, esto con el objetivo de no tener que irme hasta donde esta el server que por cierto esta lejos de mi oficina para solucionar algun problema que pueda tener. Ojalá me pueda ayudar gracias César ___ 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 Si es posible, sin embargo tendrias que hacer NATeo en tu ruteador/firewall para que pudieras accesar a el servidor via SSH. yo como tengo mi setup en casa de esta manera: tengo conexion via ADSL, uso Pfsense como firewall/ruteador uso el puerto 2200 de entrada hacia el server 192.168.1.230, configuro en el Pfsense el DynDNS para tener siempre un nombre ligado a cualquier IP que me mande el ISP, basicamente es todo. -- It is human nature to think wisely and act in an absurd fashion. Todo el desorden del mundo proviene de las profesiones mal o mediocremente servidas ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] dudas con shorewall
Hola, Un ejemplo configuración shorewall: ## ## PROXY SQUID ### ## ACCEPT fw lan tcp 80 REDIRECTdmz 3128tcp www - ## Puertos SMTP y POP3.## ACCEPT dmz lan tcp pop3- ACCEPT dmz lan tcp smtp- Respecto squid como transparente, buscando por google encontrar mucha información. Saludos. _ De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En nombre de Eduardo Atenas Enviado el: jueves, 21 de mayo de 2009 4:38 Para: centos-es@centos.org Asunto: [CentOS-es] dudas con shorewall hola lista... ayuda con la configuración de shorewall para permitir Squid y Pop3-Smtp no se como realizar el redireccionamiento a squid como transparente y abrir los puertos 25,110 saludos a todos __ Información de ESET Smart Security, versión de la base de firmas de virus 4092 (20090520) __ ESET Smart Security ha comprobado este mensaje. http://www.eset.com ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Error por pantalla en servidor Xen.
Hola a todos, Estoy trabajando con xen en mi servidor CentOS 5.3 y me muestra por pantalla de la máquina virtualizada y el servidor este mensaje: [r...@xen ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 7088 8 r-406.7 cpanel.vm 6 255 8 -b 4.0 sh-3.1# free total used free sharedbuffers cached Mem:262320 38328 223992 0 3704 14280 -/+ buffers/cache: 20344 241976 Swap: 524280 0 524280 sh-3.1# printk: 357755 messages suppressed. 4gb seg fixup, process syslogd (pid 792), cs:ip 73:0070023a 4gb seg fixup, process syslogd (pid 792), cs:ip 73:007001b0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 printk: 24 messages suppressed. 4gb seg fixup, process syslogd (pid 792), cs:ip 73:0070023a 4gb seg fixup, process syslogd (pid 792), cs:ip 73:007001b0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 printk: 24 messages suppressed. 4gb seg fixup, process sh (pid 864), cs:ip 73:00c7a4f5 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 5063712626436 4180048 14% / none131160 0131160 0% /dev/shm Luego miro en el servidor(Domain-0) esto en /var/log/messages May 21 14:48:40 xen kernel: device vifcpan0 entered promiscuous mode May 21 14:48:40 xen kernel: ADDRCONF(NETDEV_UP): vifcpan0: link is not ready May 21 14:48:40 xen logger: /etc/xen/scripts/vif-bridge: iptables -A FORWARD -m physdev --physdev-in vifcpan0 -s 192.168.100.110 192.168.100.111 -j ACCEPT failed. If you are using iptables, this may affect networking for guest domains. May 21 14:48:44 xen kernel: blkback: ring-ref 8, event-channel 27, protocol 1 (x86_32-abi) May 21 14:48:44 xen kernel: blkback: ring-ref 9, event-channel 28, protocol 1 (x86_32-abi) May 21 14:48:44 xen kernel: ADDRCONF(NETDEV_CHANGE): vifcpan0: link becomes ready May 21 14:48:44 xen kernel: xenbr0: topology change detected, propagating May 21 14:48:44 xen kernel: xenbr0: port 3(vifcpan0) entering forwarding state May 21 14:49:07 xen kernel: printk: 73917 messages suppressed. May 21 14:49:07 xen kernel: 4gb seg fixup, process lxxen (pid 11573), cs:ip 73:00a72a50 May 21 14:49:07 xen kernel: 4gb seg fixup, process lxxen (pid 11573), cs:ip 73:00ae8f19 May 21 14:49:07 xen kernel: 4gb seg fixup, process lxxen (pid 11573), cs:ip 73:00a7637c May 21 14:49:07 xen kernel: 4gb seg fixup, process lxxen (pid 11573), cs:ip 73:00a7638a May 21 14:49:07 xen kernel: 4gb seg fixup, process lxxen (pid 11573), cs:ip 73:00a2db2b Los ficheros de configuración de mi servidor VPS es: /home/xen/cpanel.vm # cat cpanel.vm.cfg kernel = '/boot/hypervm-xen-vmlinuz' ramdisk= '/boot/hypervm-xen-initrd.img' memory = 256 cpu_weight = 1000 name = 'cpanel.vm' vif= ['ip=192.168.100.110 192.168.100.111, vifname=vifcpan0, mac=aa:00:75:80:ef:01 '] vnc= 0 vcpus = 8 vncviewer = 0 serial = 'pty' disk = ['phy:/dev/disk/cpanel_rootimg,sda1,w', 'phy:/dev/disk/cpanel_vmswap,sda2,w'] root = '/dev/sda1 ro' # cat memory.value 256 Alguna idea de lo que puede significar este mensaje. Desde ya, gracias por todo. Saludos. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Error por pantalla en servidor Xen.
por favor no hagan top posting!!! Sergio wrote: 4gb seg fixup, process syslogd (pid 792), cs:ip 73:007001b0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 que raro, tu guest estará usando tls en paravirtual? miar dentro de /lib existe un dir llamado tls en tu guest? por qué no usas el kernel propio de tu invitado? por qué usas un kernel y un initrd que está ene l dom0? normalmente eso no se hace. saludos epe ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Error por pantalla en servidor Xen.
Gracias por tu respuesta. Soy bastante nuevo con virtualización y más con Xen, es mi primer servidor, como interfaz estoy utilizando hyperVM, pero al final creo que voy utilizar la consola de toda la vida. [r...@xen cpanel.vm]# cd /boot/ [r...@xen boot]# ls -lha total 22M drwxr-xr-x 4 root root 1,0K may 19 15:51 . drwxr-xr-x 22 root root 4,0K may 19 17:02 .. -rw-r--r-- 1 root root 67K may 7 17:42 config-2.6.18-128.1.10.el5PAE -rw-r--r-- 1 root root 67K may 7 18:18 config-2.6.18-128.1.10.el5xen -rw-r--r-- 1 root root 67K ene 21 17:46 config-2.6.18-128.el5PAE drwxr-xr-x 2 root root 1,0K may 19 11:55 grub lrwxrwxrwx 1 root root 16 may 19 15:51 hypervm-xen-initrd.img - lxxen-initrd.img lrwxrwxrwx 1 root root 30 may 19 15:51 hypervm-xen-vmlinuz - vmlinuz-2.6.18-128.1.10.el5xen -rw--- 1 root root 3,1M may 19 11:44 initrd-2.6.18-128.1.10.el5PAE.img -rw--- 1 root root 3,1M may 19 11:55 initrd-2.6.18-128.1.10.el5xen.img -rw--- 1 root root 3,1M may 19 11:35 initrd-2.6.18-128.el5PAE.img drwx-- 2 root root 12K may 19 11:33 lost+found -rw--- 1 root root 2,5M may 19 15:51 lxxen-initrd.img -rw-r--r-- 1 root root 79K mar 12 20:06 message -rw-r--r-- 1 root root 99K may 7 17:42 symvers-2.6.18-128.1.10.el5PAE.gz -rw-r--r-- 1 root root 99K may 7 18:18 symvers-2.6.18-128.1.10.el5xen.gz -rw-r--r-- 1 root root 99K ene 21 17:46 symvers-2.6.18-128.el5PAE.gz -rw-r--r-- 1 root root 908K may 7 17:42 System.map-2.6.18-128.1.10.el5PAE -rw-r--r-- 1 root root 906K may 7 18:18 System.map-2.6.18-128.1.10.el5xen -rw-r--r-- 1 root root 908K ene 21 17:46 System.map-2.6.18-128.el5PAE -rw-r--r-- 1 root root 1,8M may 7 17:42 vmlinuz-2.6.18-128.1.10.el5PAE -rw-r--r-- 1 root root 2,1M may 7 18:18 vmlinuz-2.6.18-128.1.10.el5xen -rw-r--r-- 1 root root 1,8M ene 21 17:46 vmlinuz-2.6.18-128.el5PAE -rw-r--r-- 1 root root 324K may 7 16:32 xen.gz-2.6.18-128.1.10.el5 -rwxr-xr-x 1 root root 703K may 7 19:05 xen-syms-2.6.18-128.1.10.el5 Luego en /home/xen/cpanel.vm rwxr-xr-x 3 root root 4,0K may 21 15:48 . drwxr-xr-x 3 root root 4,0K may 19 17:49 .. -rw-r--r-- 1 root root 412 may 21 15:18 cpanel.vm.cfg -rw-r--r-- 1 root root3 may 21 15:16 memory.value -rw-r--r-- 1 root root3 may 21 15:01 memory.value~ drwxr-xr-x 2 root root 4,0K may 19 17:49 mnt Respecto a lo que me indicas, no se que significa. Me lo podrias indicar o un manual donde mirar. Gracias por todo. Saludos. -Mensaje original- De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En nombre de Ing. Ernesto Pérez Estévez Enviado el: jueves, 21 de mayo de 2009 15:39 Para: centos-es@centos.org Asunto: Re: [CentOS-es] Error por pantalla en servidor Xen. por favor no hagan top posting!!! Sergio wrote: 4gb seg fixup, process syslogd (pid 792), cs:ip 73:007001b0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 4gb seg fixup, process klogd (pid 795), cs:ip 73:00b38bb0 4gb seg fixup, process klogd (pid 795), cs:ip 73:00bbf250 que raro, tu guest estará usando tls en paravirtual? miar dentro de /lib existe un dir llamado tls en tu guest? por qué no usas el kernel propio de tu invitado? por qué usas un kernel y un initrd que está ene l dom0? normalmente eso no se hace. saludos epe ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es __ Información de ESET Smart Security, versión de la base de firmas de virus 4093 (20090521) __ ESET Smart Security ha comprobado este mensaje. http://www.eset.com __ Información de ESET Smart Security, versión de la base de firmas de virus 4093 (20090521) __ ESET Smart Security ha comprobado este mensaje. http://www.eset.com ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Error con archivo.sh
Aunque no recuerdo originalmente donde lo cree les diré que resolví con la sugerencia de Eduardo es decir lo convertí con dos2unix -c ASCII -n /usr/local/... /usr/local/.; la opción ASCII es la predeterminada pero igual la especifiqué. Saludos Abelardo ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda
2009/5/20 dipar...@utpl.edu.ec Hola amigos tengo configurado un servidor de internet apache en centos, ya me sale la pagina del test al colocar en el navegador localhost, esto para sabersi esta bien configuado, el problema es que quiero darle acceos a un usuario para que pueda navegar pero no se como probar, es decir no navega. Soy nuevo en esto - This email was sent using SquirrelMail. Webmail for nuts! http://squirrelmail.org/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Necesitas saber la IP del servidor y/o el nombre de red que tiene el servidor, por ejemplo localmente usas http://localhost remotamente seria http://servidorweb.midomnio.com o simplemente la IP http://192.168.100.20, sin embargo solo son ejemplos y ya teniendo esa informacion puedes darsela a quien quiera accesar via http a tu server. Trata de informarte mas leyendo manuales, para ello buscalos en google. Saludos. -- It is human nature to think wisely and act in an absurd fashion. Todo el desorden del mundo proviene de las profesiones mal o mediocremente servidas ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Cambiar página por defecto servidor http
Saludos lista. He instalado el servidor apache en centOS 5.3 desde repositorio, el servidor funciona, cuando navego desde un cliente a la ip del servidor, me muestra la página de test, todo normal, tengo una aplicación web en /var/www/html/mypage, funciona normal: http://192.168.1.25/mypage/index.php Lo que quiero es que al dar solo la ip del servidor la página por defecto sea la de mypage/index.php He buscado en el archivo /etc/httpd/conf/httpd.conf algún parámetro que pueda funcionar como DefultPage, apache2_default pero no lo encuentro. Encontré el archivo, '/etc/httpd/conf.d/welcome.conf', supongo que este es el archivo que debo editar para lo que quiero pero no se editarlo. Espero me puedan ayudar con esto. Muchas gracias -- Juan Pablo Botero Administrador de Sistemas informáticos http://jpill.wordpress.com eSSuX: http://slcolombia.org/eSSuX Linux Registered user #435293 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Cambiar página por defecto servidor http
Cambia el DocumenRoot de apache de /var/www/html a /var/www/html/mypage El 21 de mayo de 2009 12:14, Juan Pablo Botero juanpabloboterolo...@gmail.com escribió: Saludos lista. He instalado el servidor apache en centOS 5.3 desde repositorio, el servidor funciona, cuando navego desde un cliente a la ip del servidor, me muestra la página de test, todo normal, tengo una aplicación web en /var/www/html/mypage, funciona normal: http://192.168.1.25/mypage/index.php Lo que quiero es que al dar solo la ip del servidor la página por defecto sea la de mypage/index.php He buscado en el archivo /etc/httpd/conf/httpd.conf algún parámetro que pueda funcionar como DefultPage, apache2_default pero no lo encuentro. Encontré el archivo, '/etc/httpd/conf.d/welcome.conf', supongo que este es el archivo que debo editar para lo que quiero pero no se editarlo. Espero me puedan ayudar con esto. Muchas gracias -- Juan Pablo Botero Administrador de Sistemas informáticos http://jpill.wordpress.com eSSuX: http://slcolombia.org/eSSuX Linux Registered user #435293 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Anthony Mogrovejo cel 9-91681659 Consultor Junior IT Documents Project Fedora Linux User # 433253 Ubuntu User # 9562 - Quisiera cambiar al mundo pero no me dan los RPM... ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Cambiar página por defecto servidor http
Saludo Anthony Agradezco tu respuesta, lo que propones funciona, por defecto abre en mypage; pero si tengo otra página en /var/www/html/mypage2 esta no se ve http://192.168.17.1.25/mypage2 Not Found The requested URL /prueba/pagina.html was not found on this server. -- Apache/2.2.3 (CentOS) Server at 192.168.17.45 Port 80 Gracias. 2009/5/21 Anthony Mogrovejo tony001...@gmail.com Cambia el DocumenRoot de apache de /var/www/html a /var/www/html/mypage El 21 de mayo de 2009 12:14, Juan Pablo Botero juanpabloboterolo...@gmail.com escribió: Saludos lista. He instalado el servidor apache en centOS 5.3 desde repositorio, el servidor funciona, cuando navego desde un cliente a la ip del servidor, me muestra la página de test, todo normal, tengo una aplicación web en /var/www/html/mypage, funciona normal: http://192.168.1.25/mypage/index.php Lo que quiero es que al dar solo la ip del servidor la página por defecto sea la de mypage/index.php He buscado en el archivo /etc/httpd/conf/httpd.conf algún parámetro que pueda funcionar como DefultPage, apache2_default pero no lo encuentro. Encontré el archivo, '/etc/httpd/conf.d/welcome.conf', supongo que este es el archivo que debo editar para lo que quiero pero no se editarlo. Espero me puedan ayudar con esto. Muchas gracias -- Juan Pablo Botero Administrador de Sistemas informáticos http://jpill.wordpress.com eSSuX: http://slcolombia.org/eSSuX Linux Registered user #435293 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Anthony Mogrovejo cel 9-91681659 Consultor Junior IT Documents Project Fedora Linux User # 433253 Ubuntu User # 9562 - Quisiera cambiar al mundo pero no me dan los RPM... ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Juan Pablo Botero Administrador de Sistemas informáticos http://jpill.wordpress.com eSSuX: http://slcolombia.org/eSSuX Linux Registered user #435293 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Cambiar página por defecto servidor http
Saludos Yoiner 2009/5/21 Yoinier Hernandez Nieves administra...@ltu.jovenclub.cu Algo que puedes hacer es en el directorio /var/www/html un fichero llamado index.php con este contenido. # Index.php ?php // Redirect to main file header('Location: mypage/index.php'); ? html/html ### Eureka, it works!! Gracias mil por la ayuda de todos. La pagina test te sale cuando no aparece in fichero de indice, por ejemplo, index.html, index.php, etc. Segun la configuración que tengas en el fichero /etc/httpd/conf/httpd.conf para el directorio rais de la web, te puede dar acceso denegado o listar el contenido de la carpeta /var/www/html si eliminas el fichero welcome.conf. Yoinier Hernandez Nieves. Administrador de TinoLT. El jue, 21-05-2009 a las 12:14 -0500, Juan Pablo Botero escribió: Saludos lista. He instalado el servidor apache en centOS 5.3 desde repositorio, el servidor funciona, cuando navego desde un cliente a la ip del servidor, me muestra la página de test, todo normal, tengo una aplicación web en /var/www/html/mypage, funciona normal: http://192.168.1.25/mypage/index.php Lo que quiero es que al dar solo la ip del servidor la página por defecto sea la de mypage/index.php He buscado en el archivo /etc/httpd/conf/httpd.conf algún parámetro que pueda funcionar como DefultPage, apache2_default pero no lo encuentro. Encontré el archivo, '/etc/httpd/conf.d/welcome.conf', supongo que este es el archivo que debo editar para lo que quiero pero no se editarlo. Espero me puedan ayudar con esto. Muchas gracias -- Juan Pablo Botero Administrador de Sistemas informáticos http://jpill.wordpress.com eSSuX: http://slcolombia.org/eSSuX Linux Registered user #435293 ___ 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 -- Juan Pablo Botero Administrador de Sistemas informáticos http://jpill.wordpress.com eSSuX: http://slcolombia.org/eSSuX Linux Registered user #435293 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Conexion remota (César Martínez )
Hola amigos esperando que todos se encuentren bien posteo a los tiempos a ver si me pueden ayudar este es mi problema Tengo un servidor centos 5.2 con Squid configurado y funcionando de maravilla, mi proveedor de internet me da el servicio vía dhcp, quisiera ver si hay alguna posibilidad de conectarme remotamente con puty u otro software pero sin tener una ip publica en emi servidor linux, esto con el objetivo de no tener que irme hasta donde esta el server que por cierto esta lejos de mi oficina para solucionar algun problema que pueda tener. Ojalá me pueda ayudar gracias César Cesar yo hice lo siguiente, configure un equipo con Win Xp, que se encuentre en la red con no-ip, y le permisos pra poder ver ese equipo desde fuera de la red, y asi me conecto desde fuera a ese equipo y ya hago una conexion de escritorio remoto al equipo xp de donde me encuentre y de ahi con putty, cywing o con SFU, me conecto al equipo linux para hacer lo que necesite por ssh o telnet o uso un software que se llama DSM que me permite conectarme por XDMCP de windows a linux o EXceed que hace lo mismo ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Conexion remota
+1 Walter Cervini movil: 0424-1543350 Pin: 20911CF3 2009/5/22 Ing. Ernesto Pérez Estévez cen...@nuestroserver.com César Martínez wrote: quisiera ver si hay alguna posibilidad de conectarme remotamente con puty u otro software pero sin tener una ip publica en emi servidor linux, esto con el objetivo de no tener que irme hasta donde esta el server que por cierto esta lejos de mi oficina para solucionar algun problema que pueda tener. hola cesar bienvenido de vuelta, veo que eres nuevo por esto te ayudo un tantico. puedes usar DNAT para hacer forwarding hacia la IP interna, o puedes establecer una vpn con la red de tu cliente para que le puedas acceder. putty, personalmente no uso, porque eso significaría que tengo la desgracia de windows en mi máquina, con todos sus keyloggers y reinstalaciones... la gente seria no usa eso ;-) saludos y sigue avanzando, esperamos un día ya uses centos en tu escritorio y te unas al grupo! epe Ojalá me pueda ayudar gracias César ___ 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] Auto-installing security updates?
On Tue, May 19, 2009 at 04:11:35PM +0100, Anne Wilson wrote: I've been asked to think about setting up an installation for a recently- widowed man. His needs are small - mail, Internet, on-line banking, basically - but his wife dealt with all of it on her laptop and he feels very insecure. It seems to me that CentOS would be perfect for him except for the need to keep it securely patched. I'm wondering if it's possible to auto-install security updates - for that matter, with so small a set of applications perhaps auto-installing every update would be good enough. Maybe this could be done with a script run under cron.daily, so that anacron picks it up? I'd be glad of any advice. Use debian stable (currently 'lenny'). The philosophy behind stable releases of debian is release updates for packages only if you have security bugs. That way when you run 'apt-get update apt-get upgrade' you download and install only those already _installed_ packages which got security bugs. Regards Przemyslaw Bak (przemol) -- http://przemol.blogspot.com/ -- Audi kilka tysiecy zlotych taniej? Przebieraj wsrod tysiecy ogloszen! Sprawdz: http://link.interia.pl/f216f ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Auto-installing security updates?
pfff only for office, if you wound a multimedia sistem with the reason mentioned in the mail before this reply centos is not for desktop, i preferred fedora 10, fedora have only 1 lack, have the software too much updated for my taste, but this is minor problem 2009/5/20 Ralph Angenendt ra+cen...@br-online.de ra%2bcen...@br-online.de Equinox86 wrote: yes centos is not for desktop it's guaranteee, if you don't have much time and want a distro updated at last release, if you have much time to spend to recompile dependences i advice use slackware, is fast and desktop friendly, similar to swiss knife. I still call this bullshit. CentOS is perfect for a Desktop which is used for Mail, Web and writing Office documents. Much better than all the distributions which you have to completely update every year or so. Ralph ___ 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
[CentOS] Squid proxy as a Gateway Server
Hi all, Good Day for all, I need Help to Setup Squid proxy as a Gateway Server. The Idea is to use the (Server and Gateway) configured with Squid to run using AUTH_Pam or AUTH_ncsa , but additionally we need to filter some access via group, following the standard filter group used Filter Group 1 - blocked users (no access) Filter Group 2 - standard users (standard access rights) Filter Group 3 - guest users (limited access rights) Filter Group 4 - power users (more generous access file download rights) Filter Group 5 - admin users (unlimited access) So in this cases all users are authenticated by the Server Only when their try to access internet, they received access denied if user is has no access based on group membership. Thanks and Regards, Ashish Gangani, ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Send syslog to a remote server
Hi, my logging server needs a touch filename if I define a new logfile. Helmut -Ursprüngliche Nachricht- Von: centos-boun...@centos.org [mailto:centos-boun...@centos.org] Im Auftrag von hce Gesendet: Donnerstag, 21. Mai 2009 05:25 An: CentOS mailing list Betreff: [CentOS] Send syslog to a remote server Hi, I am running CentOS 5 and I tried to config flowing statement in syslog.conf to send syslog messages to a remote server running on FC 9, but it did not work. There was nothing send to the FC9. *.info;mail.none;authpriv.none;cron.none@@192.168.1.5 Could anyone advice whether the syslog in CentOS 5 does not support remote server, or I could be missing something? System: DISTRO_NAME=centos DISTRO_VERSION=5 DISTRO_CODENAME=final DISTRO_PATCHLEVEL=5 DISTRO_ARCH=x86_64 DISTRO_KERNEL=2.6.18_53.el5 Thank you. Kind Regards, jupiter ___ 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] help with rebuilding md0 (Raid5)
dd is a good idea. I'll dd these disks and try with the images. If you DD the entire drive, here is a howto I found for mounting the partition you want from the image. http://www.nerdparadise.com/tech/linux/diskbackup/ Thanks Scott, That was going to be my next question! ;-) D ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] web filtering for remote computers
Hi, I am using Squid for local users since two years is working fine. I am trying to implement web filtering for remote computers e.g few laptops branch / franchise computers on dynamic ips. I do not want to use Squid proxy for it, if all remote computers will use Squid from my public ip, bandwidth utilization will increase. Need valuable suggestion to achieve this. Regards Dhaval http://www.linuxreaders.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Auto-installing security updates?
przemol...@poczta.fm wrote: Use debian stable (currently 'lenny'). The philosophy behind stable releases of debian is release updates for packages only if you have security bugs. That way when you run 'apt-get update apt-get upgrade' you download and install only those already _installed_ packages which got security bugs. Sounds like CentOS, only without a guaranteed timeframe of stableness. Ralph pgpF1KtKTlRd8.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Random server reboot after update to CentOS 5.3
Dear ML We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then the server rebooted 3 times without external cause (it is located in a server farm with redundant power supply etc.). Looking at the servers monitoring infrastructure with Dell's own OpenManage tools, I get strange errors: [r...@servernew ~]# omreport system esmlog () Severity : Critical Date and Time : Mon May 11 17:46:59 2009 Description : System Software event: run-time critical stop was asserted Severity : Critical Date and Time : Fri May 15 21:07:57 2009 Description : System Software event: run-time critical stop was asserted Severity : Critical Date and Time : Wed May 20 21:00:53 2009 Description : System Software event: run-time critical stop was asserted (...) This class of errors never happened before in over a year that the server is running. There is no mention of any anomaly, except the boot messages itself, in /var/log/messages. The server runs the 64 bit flavor of CentOS hosting some XEN virtual machines and some PostgreSQL and MySQL databases. It run without any issues with CentOS 5.1 and 5.2. I interpreted these issues as some kernel/software related problem, but do not know how to make a more accurate diagnosis of the problem. Can anybody give me some hint? Has anybody had some similar issue? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Send syslog to a remote server
On Wed, 20 May 2009, nate wrote: hce wrote: I am running CentOS 5 and I tried to config flowing statement in syslog.conf to send syslog messages to a remote server running on FC 9, but it did not work. There was nothing send to the FC9. *.info;mail.none;authpriv.none;cron.none@@192.168.1.5 Could anyone advice whether the syslog in CentOS 5 does not support remote server, or I could be missing something? Try just one @ instead of two? The double @ is for using tcp/514 instead of udp/514, which is more reliable. But you need to configure it correctly on the server to make sure it accepts the traffic. The rsyslog.conf manpage has some info, the documentation in /usr/share/doc/rsyslog contains the details. Kind regards, -- -- dag wieers, d...@centos.org, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Random server reboot after update to CentOS 5.3
On Thu, 2009-05-21 at 15:13 +0200, Peter Hopfgartner wrote: Dear ML We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then the server rebooted 3 times without external cause (it is located in a server farm with redundant power supply etc.). Looking at the servers monitoring infrastructure with Dell's own OpenManage tools, I get strange errors: [r...@servernew ~]# omreport system esmlog () Severity : Critical Date and Time : Mon May 11 17:46:59 2009 Description : System Software event: run-time critical stop was asserted Severity : Critical Date and Time : Fri May 15 21:07:57 2009 Description : System Software event: run-time critical stop was asserted Severity : Critical Date and Time : Wed May 20 21:00:53 2009 Description : System Software event: run-time critical stop was asserted (...) This class of errors never happened before in over a year that the server is running. There is no mention of any anomaly, except the boot messages itself, in /var/log/messages. The server runs the 64 bit flavor of CentOS hosting some XEN virtual machines and some PostgreSQL and MySQL databases. It run without any issues with CentOS 5.1 and 5.2. I interpreted these issues as some kernel/software related problem, but do not know how to make a more accurate diagnosis of the problem. Can anybody give me some hint? Has anybody had some similar issue? Hmm... you *definitely* want to take this one to the Dell Linux list. Having said that, I did some googling for: omreport run-time critical stop was asserted and found only one hit for someone that faced it in April 2007. And Dell told them that it may have been software. I'd start there. Some additional questions: What version of CentOS? What kernel version? What version of the Dell tools? -I ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] magic.mime dependency problem between file and httpd
Hi everyone! :-) While doing a regular manual yum update on my ContOS 5.3 server, yum complained as follows: [r...@sith ~]# yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * epel: ftp.icm.edu.pl * rpmforge: ftp-stud.fht-esslingen.de * base: centosb2.centos.org * updates: centose.centos.org * extras: centosb2.centos.org * addons: mirror.nsc.liu.se 2152 packages excluded due to repository priority protections Setting up Update Process Resolving Dependencies -- Running transaction check --- Package file.i386 0:4.17-15.el5_3.1 set to be updated -- Processing Dependency: /usr/share/magic.mime for package: httpd -- Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems -- Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) So what is wrong and why? Best, :-) Marko ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] magic.mime dependency problem between file and httpd
Marko Vojinovic wrote: --- Package file.i386 0:4.17-15.el5_3.1 set to be updated -- Processing Dependency: /usr/share/magic.mime for package: httpd -- Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems -- Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) So what is wrong and why? We still don't know why, but yum clean metadata or yum clean all should fix that problem. Ralph pgpVYwme0KtaF.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Auto-installing security updates?
On Wed, 2009-05-20 at 09:30 -0400, Ross Walker wrote: On May 20, 2009, at 6:46 AM, Ralph Angenendt ra+cen...@br-online.de wrote: Lanny Marcus wrote: The NSA manual suggests disabling yum-updatesd and doing it with a cron job. update yum and then update. a) That manual was written at the time of 5.0 - yum-updatesd was broken then. b) It is broken again :/ c) yum update yum and then yum update the rest broke things for some people when going from 5.2 to 5.3. Ralph, I wonder if yum-updatesd might cache repo data separate from yum cache, in which case some older incompatible cached data from the previous version may still be around causing yum-updatesd to bork. If so I think that cache will need to be manually deleted. I'll check my desktop system when I get to work to see if my theory is correct. -Ross --- The recent problem with having to yum clean all I have gone to the extent of testing on a client machine. What i have done is run a cron job for yum clean metadata whith a if then yum update. Evidently this is not happing to everyone. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Random server reboot after update to CentOS 5.3
Ian Forde wrote: On Thu, 2009-05-21 at 15:13 +0200, Peter Hopfgartner wrote: Dear ML We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then the server rebooted 3 times without external cause (it is located in a server farm with redundant power supply etc.). Looking at the servers monitoring infrastructure with Dell's own OpenManage tools, I get strange errors: (...) The server runs the 64 bit flavor of CentOS hosting some XEN virtual machines and some PostgreSQL and MySQL databases. It run without any issues with CentOS 5.1 and 5.2. I interpreted these issues as some kernel/software related problem, but do not know how to make a more accurate diagnosis of the problem. Can anybody give me some hint? Has anybody had some similar issue? Hmm... you *definitely* want to take this one to the Dell Linux list. Ok, done that: http://lists.us.dell.com/pipermail/linux-poweredge/2009-May/039257.html Having said that, I did some googling for: omreport run-time critical stop was asserted and found only one hit for someone that faced it in April 2007. Ok, now there are two in google search results! And Dell told them that it may have been software. I'd start there. Some additional questions: What version of CentOS? What kernel version? What version of the Dell tools? Indeed, since the only major thing that changed was an yum update passing from 52. to 5.3, this is what I would guess, too. But my craft stops here. -I ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos CentOS: 5.3 + PostgreSQL from CentOS Testing and some home build GIS package uname -a: Linux servernew 2.6.18-128.1.10.el5xen #1 SMP Thu May 7 11:07:18 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [r...@servernew ~]# omreport about Product name : Server Administrator Install Core (subscription) Version : 5.5.0 Copyright: Copyright (C) Dell Inc. 1995-2008. All rights reserved. Company : Dell Inc. Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] web filtering for remote computers
Dhaval Thakar wrote: Hi, I am using Squid for local users since two years is working fine. I am trying to implement web filtering for remote computers e.g few laptops branch / franchise computers on dynamic ips. I do not want to use Squid proxy for it, if all remote computers will use Squid from my public ip, bandwidth utilization will increase. Need valuable suggestion to achieve this. how are these remote computers connected to the network, and what OS are they running? filtering, by necessity, has to be between the user and the thing you want to filter. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Couldn't recognize the image file format for file /usr/share/gdm/themes/Default/background.png error
Hello All, I am getting the following error on re-booting my CentOS 4.5 server: There was an error loading the theme *Default* Couldn't recognize the image file format for file '/*usr*/*share*/*gdm*/*themes*/*Default*/*background*.*png*' It appears that when I click on the OK dialog the server continues to boot, with no update to the screen. I have in the past verified that this file exists and does not appear to have any problems. I can now get remote access to the server and wish to do whatever it takes to prevent this from happening in the future. This summer I hope to upgrade the box to the latest CentOS. I do know the box will need to be restarted once before that time due to some planned changes at the co-loc. Any ideas on what to change/fix to prevent this from happening again? Thank you very much! Dale ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] xen kernel can't boot
I had installed the kernel-xen-2.6.18-128.1.10.el5 .However ,when i chosed that,the system could't boot.It just always reboot!When i chosed the kernel-2.6.18-128.1.10.el5,there was nothing wrong! What's the problem? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] magic.mime dependency problem between file and httpd
On Thu, May 21, 2009 at 5:00 PM, Ralph Angenendt ra+cen...@br-online.de wrote: Marko Vojinovic wrote: --- Package file.i386 0:4.17-15.el5_3.1 set to be updated -- Processing Dependency: /usr/share/magic.mime for package: httpd -- Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems -- Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) So what is wrong and why? We still don't know why, but yum clean metadata or yum clean all should fix that problem. Indeed, yum clean all yum update did fix it. Thanks! :-) Best, :-) Marko ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] xen kernel can't boot
on 5-21-2009 9:52 AM cjzjm100 spake the following: I had installed the kernel-xen-2.6.18-128.1.10.el5 .However ,when i chosed that,the system could't boot.It just always reboot!When i chosed the kernel-2.6.18-128.1.10.el5,there was nothing wrong! What's the problem? Corrupt kernel? Virtualization turned off on server? Planets in wrong alignment? There are a world of things that could be wrong. Is there anything in the logs? Did you try removing and reinstalling the zen kernel? Try an older zen kernel? signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] cd to folder with spaces - in a script
How can I cd into a dir, when it contains spaces, and I need to use it in a script? the directory: /home/user/this is a folder/something normally I would use: cd /home/user/this\ is\ a\ folder/something/ but in a script I cant just add the \ like: find . -type d | while read FOLDER; do cd $FOLDER; done $ No such file or directory the problem is, that there would be more special chars then spaces, sed them all? :D Thank you ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Random server reboot after update to CentOS 5.3
On Thu, May 21, 2009 at 11:13 AM, Peter Hopfgartner peter.hopfgart...@r3-gis.com wrote: We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then the server rebooted 3 times without external cause (it is located in a server farm with redundant power supply etc.). Looking at the servers monitoring infrastructure with Dell's own OpenManage tools, I get strange errors: The server runs the 64 bit flavor of CentOS hosting some XEN virtual machines and some PostgreSQL and MySQL databases. It run without any issues with CentOS 5.1 and 5.2. I interpreted these issues as some kernel/software related problem, but do not know how to make a more accurate diagnosis of the problem. snip Indeed, since the only major thing that changed was an yum update passing from 52. to 5.3, this is what I would guess, too. But my craft stops here. It would have been helpful, if the error message told you which system software. :-) The Upgrade from 5.2 to 5.2 seems to have been problematic for some people on this list. When you did the Upgrade, did you follow this sequence, per the CentOS 5.3 Release Notes? yum clean all yum update glibc\* yum update If not, that may or may not have anything to do with the reboots and error messages you have received. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] cd to folder with spaces - in a script
How can I cd into a dir, when it contains spaces, and I need to use it in a script? Quote it: cd /home/user/this is a folder/whatever -Rob ** This communication contains information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), disclosure, copying, distribution, or other use of, or action taken or omitted to be taken in reliance upon, this communication or the information in it is prohibited and maybe unlawful. If you have received this communication in error please notify the sender by return email, delete it from your system and destroy any copies. ** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Random server reboot after update to CentOS 5.3
Lanny Marcus wrote: It would have been helpful, if the error message told you which system software. :-) The Upgrade from 5.2 to 5.2 seems to have been problematic for some people on this list. When you did the Upgrade, did you follow this sequence, per the CentOS 5.3 Release Notes? yum clean all yum update glibc\* yum update If not, that may or may not have anything to do with the reboots and error messages you have received. No, it would not have to do anything with the spontaneous reboots. The problem with glibc only concerns rpm, as the release notes clearly state. Ralph pgpMsbctSEPfr.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Double packages
Hello Johan, thanks but i know that. I just want keep im my system packages x86_64. Why yum return packages i386 when $basearch is x86_64? Regards, --- Eduardo Silvestre nfsi telecom, lda. eduardo.silves...@nfsi.pt Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301 http://www.nfsi.pt/ - Original Message - From: Johan Swensson k...@kupo.se To: CentOS mailing list centos@centos.org Sent: Wednesday, May 20, 2009 4:42:07 PM GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [CentOS] Double packages yum install ncurses-devel.x86_64 - Original Message - From: Eduardo Silvestre eduardo.silves...@nfsi.pt To: CentOS mailing list centos@centos.org Sent: Wednesday, May 20, 2009 5:33:08 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: [CentOS] Double packages Hello, i'm trying install some packages with x64_86 architecture and got same packages doubling (32 and 64 bits). How can i force yum just install packages x64_86 based? [r...@www pfqueue-0.5.6]# yum install ncurses-devel Loading fastestmirror plugin Loading mirror speeds from cached hostfile * base: mirrors.nfsi.pt * updates: mirrors.nfsi.pt * addons: mirrors.nfsi.pt * extras: mirrors.nfsi.pt Setting up Install Process Parsing package install arguments Resolving Dependencies -- Running transaction check --- Package ncurses-devel.x86_64 0:5.5-24.20060715 set to be updated --- Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated -- Finished Dependency Resolution Dependencies Resolved = Package Arch Version Repository Size = Installing: ncurses-devel x86_64 5.5-24.20060715 base 1.7 M ncurses-devel i386 5.5-24.20060715 base 1.6 M Transaction Summary = Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 3.3 M Regards, --- Eduardo Silvestre nfsi telecom, lda. eduardo.silves...@nfsi.pt Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301 http://www.nfsi.pt/ ___ 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] Double packages
Eduardo Silvestre wrote: Hello Johan, thanks but i know that. I just want keep im my system packages x86_64. Why yum return packages i386 when $basearch is x86_64? Welcome to multiarch hell. Ralph pgpMLX5Lkut0D.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Samba Question
Hopefully very easy question to answer. I am trying to migrate data of of a samba server that is using winbind joined to a windows domain to another box. What samba or winbind files do I need so that this will resolve to names rather than UID and GID. For example drwxr-x--- 1049 10926 10005 36864 May 15 11:46 Student Thanks -- Bo Lynch ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Random server reboot after update to CentOS 5.3
On Thu, 2009-05-21 at 20:07 +0200, Ralph Angenendt wrote: Lanny Marcus wrote: It would have been helpful, if the error message told you which system software. :-) The Upgrade from 5.2 to 5.2 seems to have been problematic for some people on this list. When you did the Upgrade, did you follow this sequence, per the CentOS 5.3 Release Notes? yum clean all yum update glibc\* yum update If not, that may or may not have anything to do with the reboots and error messages you have received. No, it would not have to do anything with the spontaneous reboots. The problem with glibc only concerns rpm, as the release notes clearly state. Since nobody else mentioned it to th OP, ... Let us not forget that often the hardware chooses to act up around the same time that some kind of (software) upgrade is performed. I've wasted a lot of time in the past *assuming* that because the hardware was rock-solid in the past, it must have been some change (I made) to the software. I suggest running diagnostics, or manually re-seating everything (especially if you had occasion to move the unit or open it recently). Memory used to age, does it still? Memtest*86 might be in order. Ralph snip sig stuff HTH -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] cd to folder with spaces - in a script
yeah, SOLVED: :)) clear; find . -type d | while read FOLDERNAME; do $(cd $FOLDERNAME); done Thank you!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Question
On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: Hopefully very easy question to answer. I am trying to migrate data of of a samba server that is using winbind joined to a windows domain to another box. What samba or winbind files do I need so that this will resolve to names rather than UID and GID. For example drwxr-x--- 1049 10926 10005 36864 May 15 11:46 Student Thanks -- Migrate what data exactly? Is winbindd/samba your domain controller or is it on a Active Directory Server? Caveat is you don't need winbindd. If you using winbind with AD then save your *.tdb files. Depends on your situation totally. Kerberos cache come to mind also. You smb.conf also. Just to migrate user data none of the above is needed. This answer you ? ?. As far as I know UID and GID is the only way to inter operate with AD... JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Question
On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: What samba or winbind files do I need so that this will resolve to names rather than UID and GID. For example drwxr-x--- 1049 10926 10005 36864 May 15 11:46 Student --- Ok lets take away AD. To use regular name authentication. Add your users to the system and put them in a group. Then use smbpassd username. That way users are authenticated by USER_NAME. You will have to change the authentication mode to security = user in smb.conf. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Question
On Thu, May 21, 2009 2:43 pm, JohnS wrote: On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: Hopefully very easy question to answer. I am trying to migrate data of of a samba server that is using winbind joined to a windows domain to another box. What samba or winbind files do I need so that this will resolve to names rather than UID and GID. For example drwxr-x--- 1049 10926 10005 36864 May 15 11:46 Student Thanks -- Migrate what data exactly? Is winbindd/samba your domain controller or is it on a Active Directory Server? Caveat is you don't need winbindd. If you using winbind with AD then save your *.tdb files. Depends on your situation totally. Kerberos cache come to mind also. You smb.conf also. Just to migrate user data none of the above is needed. This answer you ? ?. As far as I know UID and GID is the only way to inter operate with AD... JohnStanley The situation I'm in is that this box is joining to a win2000 PDC using samba+winbind for setting permissions on files and dir with domain users/groups. When I do a ls -l I just see the uid or gid instead of the domainame+_user domainname+group which is causing samba not to know who owns the file. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] MySql Query Cache
Hi, One of the servers I run is a VPS running Lighttpd fcgi which I am running a simple wordpress blog off of. Since RAM is the biggest limitation I have disabled the query cache on MySql. Now I have the following questions. 1. What does the FCGI server cache now? 2. How can I speed up this setup? 3. Will turning on the query cache speed things up? I am trying to make sure the system doesn't swap much so things stay snappy. Thanks James -- http://www.jewelerslounge.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Random server reboot after update to CentOS 5.3
At Thu, 21 May 2009 14:30:42 -0400 CentOS mailing list centos@centos.org wrote: On Thu, 2009-05-21 at 20:07 +0200, Ralph Angenendt wrote: Lanny Marcus wrote: It would have been helpful, if the error message told you which system software. :-) The Upgrade from 5.2 to 5.2 seems to have been problematic for some people on this list. When you did the Upgrade, did you follow this sequence, per the CentOS 5.3 Release Notes? yum clean all yum update glibc\* yum update If not, that may or may not have anything to do with the reboots and error messages you have received. No, it would not have to do anything with the spontaneous reboots. The problem with glibc only concerns rpm, as the release notes clearly state. Since nobody else mentioned it to th OP, ... Let us not forget that often the hardware chooses to act up around the same time that some kind of (software) upgrade is performed. I've wasted a lot of time in the past *assuming* that because the hardware was rock-solid in the past, it must have been some change (I made) to the software. I suggest running diagnostics, or manually re-seating everything (especially if you had occasion to move the unit or open it recently). Memory used to age, does it still? Memtest*86 might be in order. Not so much as age, but contacts corrode and lots of components change values as they are heated and cooled (expand or shrink). And yes, heating and cooling causes small dimensional changes in connectors -- this can (over time) work connectors loose. It is possible that software is *partly* to blame, if only because the software changes might cause little used bits (litterally bits!) of hardware (eg memory) to be used more than they were. You'd never know about bad memory if it is not actually used. I used to have a K6500 that was 'fussy' about a specific stick of 128meg of RAM. The machine was perfectly fine, until I did backups, which involved writing a very large tar file to a removable disk. The disk I/O would fail. There was nothing wrong with the disk(s) or the software. It was the extra 128meg DIMM. And there was nothing really wrong with the DIMM either. It was just a wee bit too slow for the K6500. (eg it was PC99.9 instead of PC100 or something like that). Only certian sorts of memory accesses would fail. Ralph snip sig stuff HTH -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Question
On Thu, May 21, 2009 3:33 pm, Toby Bluhm wrote: Bo Lynch wrote: On Thu, May 21, 2009 2:43 pm, JohnS wrote: On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: Hopefully very easy question to answer. I am trying to migrate data of of a samba server that is using winbind joined to a windows domain to another box. What samba or winbind files do I need so that this will resolve to names rather than UID and GID. For example drwxr-x--- 1049 10926 10005 36864 May 15 11:46 Student Thanks -- Migrate what data exactly? Is winbindd/samba your domain controller or is it on a Active Directory Server? Caveat is you don't need winbindd. If you using winbind with AD then save your *.tdb files. Depends on your situation totally. Kerberos cache come to mind also. You smb.conf also. Just to migrate user data none of the above is needed. This answer you ? ?. As far as I know UID and GID is the only way to inter operate with AD... JohnStanley The situation I'm in is that this box is joining to a win2000 PDC using samba+winbind for setting permissions on files and dir with domain users/groups. When I do a ls -l I just see the uid or gid instead of the domainame+_user domainname+group which is causing samba not to know who owns the file. Is winbind added to the appropriate fields in nsswitch.conf? -- Yes ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Question
The situation I'm in is that this box is joining to a win2000 PDC using samba+winbind for setting permissions on files and dir with domain users/groups. When I do a ls -l I just see the uid or gid instead of the domainame+_user domainname+group which is causing samba not to know who owns the file. Is winbind added to the appropriate fields in nsswitch.conf? -- Yes Is wbind running? Does any of the wbinfo commands give what you expect? -- tkb ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Question
On Thu, 2009-05-21 at 14:48 -0400, Bo Lynch wrote: On Thu, May 21, 2009 2:43 pm, JohnS wrote: On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: Hopefully very easy question to answer. I am trying to migrate data of of a samba server that is using winbind joined to a windows domain to another box. What samba or winbind files do I need so that this will resolve to names rather than UID and GID. For example drwxr-x--- 1049 10926 10005 36864 May 15 11:46 Student Thanks -- Migrate what data exactly? Is winbindd/samba your domain controller or is it on a Active Directory Server? Caveat is you don't need winbindd. If you using winbind with AD then save your *.tdb files. Depends on your situation totally. Kerberos cache come to mind also. You smb.conf also. Just to migrate user data none of the above is needed. This answer you ? ?. As far as I know UID and GID is the only way to inter operate with AD... JohnStanley The situation I'm in is that this box is joining to a win2000 PDC using samba+winbind for setting permissions on files and dir with domain users/groups. When I do a ls -l I just see the uid or gid instead of the domainame+_user domainname+group which is causing samba not to know who owns the file. --- To be truthfull it sounds like the Machine SID has been changed or a domain added and deleted on the AD server. Can you from the AD server in AD Users and Groups confirm the same thing from a mapped share by looking at the user listed in it? Of cousre this required the Samba host to have the drive mounted with the acl option. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [OT] Oracle-MySQL ODBC via SSL using: stock MySQL, mysql-connect or-odbc-3.51.27-0, Oracle XE [SOLVED]
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Jason Pyeron Sent: Thursday, May 21, 2009 15:23 To: CentOS mailing list Subject: [CentOS] [OT] Oracle-MySQL ODBC via SSL using: stock MySQL,mysql-connect or-odbc-3.51.27-0, Oracle XE I know this is very off topic, but getting MySQL and unix ODBC to play nice via SSL on Centos has been a battle. I finally have it working via isql but when I connect via Oracle I get an error. If I use the mysql odbc connector directly: ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity Using ODBC][MySQL][ODBC 3.51 Driver]SSL connection error (SQL State: S1000; SQL Code: 2026) ORA-02063: preceding 2 lines from USGNWEB It would help if the oracle user had permissions to read the certificate and key files. If I connect via unixODBC: ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity Using ODBC][unixODBC][MySQL][ODBC 3.51 Driver]SSL connection error (SQL State: S1000; SQL Code: 2026) ORA-02063: preceding 2 lines from USGNWEB My assumption is that I am missing some environment variable in Oracle's environment, but what should I look for? What information could I provide that would be helpful? -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Question
On Thu, 2009-05-21 at 15:39 -0400, Toby Bluhm wrote: The situation I'm in is that this box is joining to a win2000 PDC using samba+winbind for setting permissions on files and dir with domain users/groups. When I do a ls -l I just see the uid or gid instead of the domainame+_user domainname+group which is causing samba not to know who owns the file. Is winbind added to the appropriate fields in nsswitch.conf? -- Yes Is wbind running? Does any of the wbinfo commands give what you expect? Hey what is winbindd need for? I don't need it! [global] workgroup = yourstruly.local password server = yourstruly.local realm = YOURSTRULY.LOCAL security = ads idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = false winbind offline logon = false ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 32bit vs 64bit memory usage
Hi! I ran the following test on 3 different setups: #!/usr/bin/php ? $n=1024*256; $usage1=memory_get_usage(); $rusage1=memory_get_usage(true); $a=array(); for($i=0;$i$n;$i++) $a[]=0; $usage2=memory_get_usage(); $rusage2=memory_get_usage(true); echo ($usage2-$usage1).'/'.($rusage2-$rusage1); ? ...and I got the following results: 32bit kernel 32bit php - 18875368/19136512 64bit kernel 64bit php - 35654376/35913728 64bit kernel 32bit php - 18875368/19136512 Some client has a 64bit xen-based VPS with 512MB RAM user for webhosting and I'm wondering if I can free some memory installing httpdphp i386 modules. I understand that 64bit programs use more memory because the pointers, integers, etc. are now 64bit instead of 32bit, but running a 32bit program on a 64bit architecture is the same as running that program on a 32bit architecture (just concerning the memory used)? At least, that's my conclusion after running the above test. Am I wrong? Thank you! PS: No, the client's service provider does not offer a 32bit vps platform and the client won't change the provider or pay for additional memory. -- George Negoita System Administrator iMedia Plus Group ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Firefox 3, Sun jre1.6.0_12_x86_64 and enabling a plugin
SOMEbody on this list must have this combination working by now. How does one enable the firefox jre plugin for Sun's x86_64 distribution? Every site that I can find refers to making a link to a now non-existent plugins directory under the jre installation directory. The official firefox plugin pages refers to the existence of a Sun x86_64 jre but provides no details on how to enable it. The Sun site speaks only about installing i386 versions. Most other web sites that I have found are for distributions other than CentOS. Help? -- *** 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] 32bit vs 64bit memory usage
At Thu, 21 May 2009 23:30:44 +0300 CentOS mailing list centos@centos.org wrote: Hi! I ran the following test on 3 different setups: #!/usr/bin/php ? $n=1024*256; $usage1=memory_get_usage(); $rusage1=memory_get_usage(true); $a=array(); for($i=0;$i$n;$i++) $a[]=0; $usage2=memory_get_usage(); $rusage2=memory_get_usage(true); echo ($usage2-$usage1).'/'.($rusage2-$rusage1); ? ...and I got the following results: 32bit kernel 32bit php - 18875368/19136512 64bit kernel 64bit php - 35654376/35913728 64bit kernel 32bit php - 18875368/19136512 Some client has a 64bit xen-based VPS with 512MB RAM user for webhosting and I'm wondering if I can free some memory installing httpdphp i386 modules. I understand that 64bit programs use more memory because the pointers, integers, etc. are now 64bit instead of 32bit, but running a 32bit program on a 64bit architecture is the same as running that program on a 32bit architecture (just concerning the memory used)? At least, that's my conclusion after running the above test. Am I wrong? No, you are not wrong. All x86 flavered 64-bit processors will run as 32-bit (i686) processors and when running in 32-bit mode are effectively just a i686 as far as any 32-bit program can tell. There is no reason NOT to just install a straight 32-bit OS on such a machine if there is less than 4gig of virtual memory and non-of the programms being run has any reason to use the 64-bit address space. Web hosting is a good example of this. Thank you! PS: No, the client's service provider does not offer a 32bit vps platform and the client won't change the provider or pay for additional memory. -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firefox 3, Sun jre1.6.0_12_x86_64 and enabling a plugin
On Thu, 2009-05-21 at 16:40 -0400, James B. Byrne wrote: SOMEbody on this list must have this combination working by now. How does one enable the firefox jre plugin for Sun's x86_64 distribution? Every site that I can find refers to making a link to a now non-existent plugins directory under the jre installation directory. The official firefox plugin pages refers to the existence of a Sun x86_64 jre but provides no details on how to enable it. The Sun site speaks only about installing i386 versions. Most other web sites that I have found are for distributions other than CentOS. Help? --- http://wiki.centos.org/TipsAndTricks/PluginsFor64BitFirefox?highlight=(java) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 32bit vs 64bit memory usage
On Thu, 21 May 2009 at 4:59pm, Robert Heller wrote No, you are not wrong. All x86 flavered 64-bit processors will run as 32-bit (i686) processors and when running in 32-bit mode are effectively just a i686 as far as any 32-bit program can tell. There is no reason NOT to just install a straight 32-bit OS on such a machine if there is less than 4gig of virtual memory and non-of the programms being run has any reason to use the 64-bit address space. Web hosting That's not strictly true. On some x86_64 chips, there are extra registers which are only available when running in 64-bit mode. Running without those registers can hamper performance, even if the program isn't using the larger address space. This can make a big difference, e.g., in the HPC space. Web hosting, yeah, probably not so much. But just saying 64bit iff 4GB RAM doesn't tell the whole story. -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] magic.mime dependency problem between file and httpd
On May 21, 2009, at 12:08 PM, Marko Vojinovic wrote: On Thu, May 21, 2009 at 5:00 PM, Ralph Angenendt ra+cen...@br-online.de wrote: Marko Vojinovic wrote: --- Package file.i386 0:4.17-15.el5_3.1 set to be updated -- Processing Dependency: /usr/share/magic.mime for package: httpd -- Finished Dependency Resolution httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems -- Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed) So what is wrong and why? We still don't know why, but yum clean metadata or yum clean all should fix that problem. Indeed, yum clean all yum update did fix it. Thanks! :-) So it wasn't just me. But I fixed it by rpm --nodeps -e file, then I could finish updating, then I did a yum install file ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Video on (video-capable digital) still camera not accessible
On Wed, May 20, 2009 at 11:28 AM, Frank Cox thea...@sasktel.net wrote: On Wed, 20 May 2009 11:16:44 -0700 MHR wrote: Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up mounted for it. Now, this is not entirely unusual. What comes up in /var/log/messages when you plug the camera into the computer? I discussed this Frank briefly in private emails, but no resolution. /var/log/messages contains this: May 20 20:40:18 mhrichter kernel: usb 1-5: new high speed USB device using ehci_hcd and address 76 May 20 20:40:18 mhrichter kernel: usb 1-5: configuration #1 chosen from 1 choice However, I tried this again today, using my card reader, and here's what shows up in /var/log/messages: May 21 15:09:48 mhrichter kernel: usb 1-10: new high speed USB device using ehci_hcd and address 84 May 21 15:09:48 mhrichter kernel: usb 1-10: configuration #1 chosen from 1 choice May 21 15:09:48 mhrichter kernel: scsi52 : SCSI emulation for USB Mass Storage devices May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-SMC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00 May 21 15:09:53 mhrichter kernel: sd 52:0:0:0: Attached scsi removable disk sdd May 21 15:09:53 mhrichter kernel: sd 52:0:0:0: Attached scsi generic sg3 type 0 May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-CFC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00 May 21 15:09:53 mhrichter kernel: sd 52:0:0:1: Attached scsi removable disk sde May 21 15:09:53 mhrichter kernel: sd 52:0:0:1: Attached scsi generic sg4 type 0 May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-MMC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00 This time I tried to mount /dev/sde ('cuz it's a SD or MMC card, not a CF or SM card), and it still hung. Still no luck mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS5 Desktops authenticating to 389 Directory Server
Hi Everyone. I am doing some LDAP testing. I have setup a 389 Directory Server on CentOS 5 and using the default schema I have populated it with a couple of users. I then did the configuration on the client that I thought was needed to make it authenticate. To test this I expected to be able to use id uidNumber of a user I had defined. But I get id: 1001: No such user id: 5001: No such user I then thought perhaps it was an LDAP permissions problem so I tried binding to the LDAP server using a user I know has full rights using these entries in /etc/openldap/ldap.conf there was no change. BINDDN cn=admin,dc=scms,dc=waikato,dc=ac,dc=nz BINDPW LDAPt3st I can query these users from a desktop that I want to use the LDAP server as an authentication source. Using * ldapsearch -x -H ldap://distilled.scms.waikato.ac.nz -b dc=scms,dc=waikato,dc=ac,dc=nz uid=LDilks* # extended LDIF # # LDAPv3 # base dc=scms,dc=waikato,dc=ac,dc=nz with scope subtree # filter: uid=LDilks # requesting: ALL # # LDilks, People, scms.waikato.ac.nz dn: uid=LDilks,ou=People, dc=scms, dc=waikato, dc=ac, dc=nz givenName: LDAP-Clint sn: Dilks telephoneNumber: 4546 loginShell: /bin/bash gidNumber: 1001 uidNumber: 1001 mail: cli...@scms.waikato.ac.nz objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson objectClass: posixAccount uid: LDilks gecos: A Test LDAP account cn: LDAP-Clint Dilks homeDirectory: /home/LDAP-clint # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 *[r...@distilled2 ~]# ldapsearch -x -H ldap://distilled.scms.waikato.ac.nz -b dc=scms,dc=waikato,dc=ac,dc=nz uid=BBuilder* # extended LDIF # # LDAPv3 # base dc=scms,dc=waikato,dc=ac,dc=nz with scope subtree # filter: uid=BBuilder # requesting: ALL # # BBuilder, scms.waikato.ac.nz dn: uid=BBuilder,dc=scms, dc=waikato, dc=ac, dc=nz givenName: Bob sn: Builder loginShell: /bin/bash uidNumber: 5001 gidNumber: 5001 objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson objectClass: posixAccount uid: BBuilder gecos: Got to love Cartoons cn: Bob Builder homeDirectory: /home/bob # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 The three files config files I am aware of are cat /etc/openldap/ldap.conf # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. #BASE dc=example, dc=com #URIldap://ldap.example.com ldap://ldap-master.example.com:666 #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never URI ldap://distilled.scms.waikato.ac.nz BASE dc=scms.dc=waikato,dc=ac,dc=nz #BINDDN cn=admin,dc=scms,dc=waikato,dc=ac,dc=nz #BINDPW LDAPt3st TLS_CACERTDIR /etc/openldap/cacerts cat /etc/nsswitch.conf | grep -v '^#' | grep -v '^$' passwd: files ldap shadow: files ldap group: files ldap hosts: files dns bootparams: nisplus [NOTFOUND=return] files ethers: files netmasks: files networks: files protocols: files rpc:files services: files netgroup: files ldap publickey: nisplus automount: files ldap aliases:files nisplus cat /etc/pam.d/system-auth #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. authrequired pam_env.so authsufficientpam_unix.so nullok try_first_pass authrequisite pam_succeed_if.so uid = 500 quiet authsufficientpam_ldap.so use_first_pass authrequired pam_deny.so account required pam_unix.so broken_shadow account sufficientpam_succeed_if.so uid 500 quiet account [default=bad success=ok user_unknown=ignore] pam_ldap.so account required pam_permit.so passwordrequisite pam_cracklib.so try_first_pass retry=3 passwordsufficientpam_unix.so md5 shadow nullok try_first_pass use_authtok passwordsufficientpam_ldap.so use_authtok passwordrequired pam_deny.so session optional pam_keyinit.so revoke session required pam_limits.so session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid session required pam_unix.so session optional pam_ldap.so Can anyone give me any pointers as to where I am going wrong ?? And can anyone confirm or deny that by default I should be able to bind anonymously and get the required authentication information ? Thank you for any help you can offer. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Problems with latest 5.3 yum update and grub
I recently updated two 64-bit CentOS 5.3 systems via yum update. - One system had two physical SATA hard drives - drive 0 was Windows XP w/SP3 w/NTFS, drive 1 was CentOS; - The other system had two physical SATA hard drives, configured via a hardware mirror of RAID 1 (mirroring) After the latest yum update, grub on both systems failed me, dropping to the grub prompt. For the dual-boot system, I ended up reformatting and reinstalling Windows on drive 0. The CentOS was not touched. That system is fine now. For the RAID CentOS-only system, I experimented with removing one drive from the mirror and CentOS booted as though it was reboot after a fresh install, though there were some traces that something else (like an upgrade) was mixed in, but didn't work right. I ended up deleting the hardware RAID and removed a drive. That system works fine now. Has anyone else experienced grub problems with more than one drive installed from a recent yum update? I will not perform an update on any other multi-drive systems, including servers, until I know things are fixed. Thanks for any insights. Scott ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Auto-installing security updates?
On Thu, May 21, 2009 at 12:13 PM, JohnS jse...@gmail.com wrote: On Wed, 2009-05-20 at 09:30 -0400, Ross Walker wrote: I wonder if yum-updatesd might cache repo data separate from yum cache, in which case some older incompatible cached data from the previous version may still be around causing yum-updatesd to bork. If so I think that cache will need to be manually deleted. I'll check my desktop system when I get to work to see if my theory is correct. The recent problem with having to yum clean all I have gone to the extent of testing on a client machine. What i have done is run a cron job for yum clean metadata whith a if then yum update. Evidently this is not happing to everyone. You don't need a cron job for this issue, it's a one-time event as the repo metadata for the new yum isn't compatible with the old yum and if there was cached old metadata left over after the upgrade, that wasn't marked stale, then it would cause yum grief. Clearing out the metadata was the simple fix and only needed to happen once. I forgot to check to see if yum-updatesd kept a separate metadata cache too that might need manual clearing out. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Send syslog to a remote server
On Fri, May 22, 2009 at 12:59 AM, Dag Wieers d...@centos.org wrote: On Wed, 20 May 2009, nate wrote: hce wrote: I am running CentOS 5 and I tried to config flowing statement in syslog.conf to send syslog messages to a remote server running on FC 9, but it did not work. There was nothing send to the FC9. *.info;mail.none;authpriv.none;cron.none @@192.168.1.5 Could anyone advice whether the syslog in CentOS 5 does not support remote server, or I could be missing something? Try just one @ instead of two? The double @ is for using tcp/514 instead of udp/514, which is more reliable. But you need to configure it correctly on the server to make sure it accepts the traffic. The rsyslog.conf manpage has some info, the documentation in /usr/share/doc/rsyslog contains the details. The rsyslog.conf in FC 9 is much easy to be configured, just enable the InputTCPServerRun and ModLoad. It is not the problem in FC 9 rsyslog server, it is the problem in CentOS syslog, no messages sending to FC9 when I checked with tcpdump on port 514 on FC9. Has anyone made CentOS 5 syslog work to send messages to remote syslog server? Or, I am wondering if it has never worked on CentOS 5? Thanks Dag and all responses. Kind regards, jupiter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Auto-installing security updates?
On Thu, 2009-05-21 at 21:06 -0400, Ross Walker wrote: On Thu, May 21, 2009 at 12:13 PM, JohnS jse...@gmail.com wrote: On Wed, 2009-05-20 at 09:30 -0400, Ross Walker wrote: I wonder if yum-updatesd might cache repo data separate from yum cache, in which case some older incompatible cached data from the previous version may still be around causing yum-updatesd to bork. If so I think that cache will need to be manually deleted. I'll check my desktop system when I get to work to see if my theory is correct. The recent problem with having to yum clean all I have gone to the extent of testing on a client machine. What i have done is run a cron job for yum clean metadata whith a if then yum update. Evidently this is not happing to everyone. You don't need a cron job for this issue, it's a one-time event as the repo metadata for the new yum isn't compatible with the old yum and if there was cached old metadata left over after the upgrade, that wasn't marked stale, then it would cause yum grief. Clearing out the metadata was the simple fix and only needed to happen once. I forgot to check to see if yum-updatesd kept a separate metadata cache too that might need manual clearing out. -Ross --- from: /usr/sbin/yum-updatesd def invalidate_cache(*args): global updateInfoDone, updateInfo, helperProcess if helperProcess is not None: return updateInfo = [] updateInfoDone = False def setup_watcher(): Sets up gamin-based file watches on things we care about and makes it so they get checked every 15 seconds. # add some watches on directories. mon = gamin.WatchMonitor() mon.watch_directory(/var/lib/rpm, invalidate_cache) mon.watch_directory(/var/cache/yum, invalidate_cache) map(lambda x: os.path.isdir(/var/cache/yum/%s %(x,)) and mon.watch_directory(/var/cache/yum/%s %(x,), invalidate_cache), os.listdir(/var/cache/yum)) mon.handle_events() fd = mon.get_fd() gobject.io_add_watch(fd, gobject.IO_IN|gobject.IO_PRI, lambda x, y: mon.handle_events()) -- Turns out that gamin is the one doing this metadata upkeep. Maybe Gamin is not working right on some installs? Ross, the reason I done the cron job way was because I have had these problems before. From the code above it uses the same cache. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos