[CentOS-announce] CESA-2009:1531 Critical CentOS 3 i386 seamonkey - security update

2009-10-28 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2009:1531

seamonkey security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2009-1531.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/seamonkey-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-chat-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-devel-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-dom-inspector-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-js-debugger-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-mail-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nspr-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nspr-devel-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nss-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nss-devel-1.0.9-0.47.el3.centos3.i386.rpm

source:
updates/SRPMS/seamonkey-1.0.9-0.47.el3.centos3.src.rpm

You may update your CentOS-3 i386 installations by running the command:

yum update seamonkey\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgprEv3aETJFk.pgp
Description: PGP signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2009:1531 Critical CentOS 3 x86_64 seamonkey - security update

2009-10-28 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2009:1531

seamonkey security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2009-1531.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/seamonkey-1.0.9-0.47.el3.centos3.i386.rpm
updates/x86_64/RPMS/seamonkey-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-chat-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-devel-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-dom-inspector-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-js-debugger-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-mail-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-nspr-1.0.9-0.47.el3.centos3.i386.rpm
updates/x86_64/RPMS/seamonkey-nspr-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-nspr-devel-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-nss-1.0.9-0.47.el3.centos3.i386.rpm
updates/x86_64/RPMS/seamonkey-nss-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-nss-devel-1.0.9-0.47.el3.centos3.x86_64.rpm

source:
updates/SRPMS/seamonkey-1.0.9-0.47.el3.centos3.src.rpm

You may update your CentOS-3 x86_64 installations by running the command:

yum update seamonkey\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgpJVqvd0u8rk.pgp
Description: PGP signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2009:1531 Critical CentOS 4 i386 seamonkey - security update

2009-10-28 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2009:1531

seamonkey security update for CentOS 4 i386:
https://rhn.redhat.com/errata/RHSA-2009-1531.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/seamonkey-1.0.9-50.el4.centos.i386.rpm
updates/i386/RPMS/seamonkey-chat-1.0.9-50.el4.centos.i386.rpm
updates/i386/RPMS/seamonkey-devel-1.0.9-50.el4.centos.i386.rpm
updates/i386/RPMS/seamonkey-dom-inspector-1.0.9-50.el4.centos.i386.rpm
updates/i386/RPMS/seamonkey-js-debugger-1.0.9-50.el4.centos.i386.rpm
updates/i386/RPMS/seamonkey-mail-1.0.9-50.el4.centos.i386.rpm

source:
updates/SRPMS/seamonkey-1.0.9-50.el4.centos.src.rpm

You may update your CentOS-4 i386 installations by running the command:

yum update seamonkey\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgpx7cHvPmTMj.pgp
Description: PGP signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2009:1531 Critical CentOS 4 x86_64 seamonkey - security update

2009-10-28 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2009:1531

seamonkey security update for CentOS 4 x86_64:
https://rhn.redhat.com/errata/RHSA-2009-1531.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/seamonkey-1.0.9-50.el4.centos.x86_64.rpm
updates/x86_64/RPMS/seamonkey-chat-1.0.9-50.el4.centos.x86_64.rpm
updates/x86_64/RPMS/seamonkey-devel-1.0.9-50.el4.centos.x86_64.rpm
updates/x86_64/RPMS/seamonkey-dom-inspector-1.0.9-50.el4.centos.x86_64.rpm
updates/x86_64/RPMS/seamonkey-js-debugger-1.0.9-50.el4.centos.x86_64.rpm
updates/x86_64/RPMS/seamonkey-mail-1.0.9-50.el4.centos.x86_64.rpm

source:
updates/SRPMS/seamonkey-1.0.9-50.el4.centos.src.rpm

You may update your CentOS-4 x86_64 installations by running the command:

yum update seamonkey\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgpdQMJxTFFAx.pgp
Description: PGP signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2009:1530 Critical CentOS 4 i386 firefox - security update

2009-10-28 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2009:1530

firefox security update for CentOS 4 i386:
https://rhn.redhat.com/errata/RHSA-2009-1530.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/firefox-3.0.15-3.el4.centos.i386.rpm
updates/i386/RPMS/nspr-4.7.6-1.el4_8.i386.rpm
updates/i386/RPMS/nspr-devel-4.7.6-1.el4_8.i386.rpm

source:
updates/SRPMS/firefox-3.0.15-3.el4.centos.src.rpm
updates/SRPMS/nspr-4.7.6-1.el4_8.src.rpm

You may update your CentOS-4 i386 installations by running the command:

yum update firefox nspr\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgpC6vAfiJs1O.pgp
Description: PGP signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2009:1530 Critical CentOS 4 x86_64 firefox - security update

2009-10-28 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2009:1530

firefox security update for CentOS 4 x86_64:
https://rhn.redhat.com/errata/RHSA-2009-1530.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/firefox-3.0.15-3.el4.centos.x86_64.rpm
updates/x86_64/RPMS/nspr-4.7.6-1.el4_8.i386.rpm
updates/x86_64/RPMS/nspr-4.7.6-1.el4_8.x86_64.rpm
updates/x86_64/RPMS/nspr-devel-4.7.6-1.el4_8.x86_64.rpm

source:
updates/SRPMS/firefox-3.0.15-3.el4.centos.src.rpm
updates/SRPMS/nspr-4.7.6-1.el4_8.src.rpm

You may update your CentOS-4 x86_64 installations by running the command:

yum update firefox nspr\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgpWmDFuKdYfd.pgp
Description: PGP signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


Re: [CentOS-es] Migrar

2009-10-28 Thread David Glez Romero
Se me olvodaba algo importante. CentOS 5.2 es lo mismo que CentOS 5.4 
solo que este ultimo tiene varios Updates de Seguridad y release nuevos 
de los paquetes. O sea que si tu objetivo es poner una nueva versión y 
no precisamente mejorar de Hardware, con poner la instalacion de CentOS 
5.4 en una directorio, por ejemplo /repo y apuntar tu configuración YUM 
de updates a este directorio:
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=file:///repo

Y haces un yum update, podrás tener un completo sistema CentOS 5.4 sin 
necesidad de hacer una migración.

Si el objetivo si es mejorar hardware, amigo instale el 5.4 y copie 
completamente el direcctorio, que es el MISMO DIRECTORIO que ud necesita.

Saludos,
David


-- 
_
Lic. David González Romero
Network/System Administrator
DIC- OHC Dirección de Informática y Comunicaciones
Oficina del Historiador de la Ciudad
Ave Puerto. Edif. Lonja del Comercio 5H
Telf:(537)8608808, 8608853 ext 109
Linux counter: 242534
__


==
VIII ENCUENTRO INTERNACIONAL SOBRE MANEJO Y GESTION DE CENTROS HISTORICOS. 
Habana Vieja, del 30 de Noviembre al 3 de Diciembre de 2009. Contactos: 
evento.manejoygest...@ohc.cu
--

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


Re: [CentOS-es] Migrar

2009-10-28 Thread César CRUZ ARRUNATEGUI
es necesario hacer todo eso?? no basta con un solo yum -y update??

César 

- Mensaje original -
De: David Glez Romero d...@dic.ohc.cu
Para: centos-es@centos.org
Enviados: Miércoles, 28 de Octubre 2009 10:49:15 GMT -05:00 Colombia
Asunto: Re: [CentOS-es] Migrar

Se me olvodaba algo importante. CentOS 5.2 es lo mismo que CentOS 5.4 
solo que este ultimo tiene varios Updates de Seguridad y release nuevos 
de los paquetes. O sea que si tu objetivo es poner una nueva versión y 
no precisamente mejorar de Hardware, con poner la instalacion de CentOS 
5.4 en una directorio, por ejemplo /repo y apuntar tu configuración YUM 
de updates a este directorio:
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=file:///repo

Y haces un yum update, podrás tener un completo sistema CentOS 5.4 sin 
necesidad de hacer una migración.

Si el objetivo si es mejorar hardware, amigo instale el 5.4 y copie 
completamente el direcctorio, que es el MISMO DIRECTORIO que ud necesita.

Saludos,
David


-- 
_
Lic. David González Romero
Network/System Administrator
DIC- OHC Dirección de Informática y Comunicaciones
Oficina del Historiador de la Ciudad
Ave Puerto. Edif. Lonja del Comercio 5H
Telf:(537)8608808, 8608853 ext 109
Linux counter: 242534
__


==
VIII ENCUENTRO INTERNACIONAL SOBRE MANEJO Y GESTION DE CENTROS HISTORICOS. 
Habana Vieja, del 30 de Noviembre al 3 de Diciembre de 2009. Contactos: 
evento.manejoygest...@ohc.cu
--

___
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] Migrar Centos 5.1 en idima ingles a Centos 5.3 en idiona Español

2009-10-28 Thread Javier Castellanos
Julio Martinez escribió:
  estoy corriendo en entorno de lineas de comando o sea en modo texto . yo 
  tengo poca experiencia en linux , por lo que instalando Centos  en su 
  version en español , me ayudaria y me seria mas facil 
  conocerlo.
 Como Ernesto Celis dijo, modifica el archivo .bash_profile, para tu caso 
 seria del root seria
 (funciona en cualquier usuario en que le modifiques el .bash_profile)
   
 vim ~/.profile
 [r...@me ~]# vim ~/.bash_profile
 #...agrega estas dos lineas
 es_ES.UTF-8
 export LANG


 nota 1: en /etc/gdm/locale.alias encuentras una lista de los codigos 
 de todos los lenguages con los que quieras arrancar a tu usuario, 
 despues de hacer el cambio en ~/.bash_profile

 nota 2: el simbolo ~ significa el directorio home del usuario en el 
 que estas trabajando.

 nota 3: si no eres familiar con el editor vim presiona i para 
 editar y Esc :wq para salir grabando.

 nota 4: perdon si te trate como un completo principiante :)

 Julio
Ok no tienes de que disculparte , lo importante es que  , entendi mejor  
la explicacion que me acabas de dar , muchas gracias a ti y a Ernesto 
Celis , por la ayuda y atencion brindada,  ahora me pondre manos  a la 
obra 



__ Información de ESET NOD32 Antivirus, versión de la base de firmas de 
virus 4550 (20091028) __

ESET NOD32 Antivirus ha comprobado este mensaje.

part000.txt - esta correcto

http://www.eset.com


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


Re: [CentOS-es] Migrar Centos 5.1 en idima ingles a Centos 5.3 en idiona Español

2009-10-28 Thread Javier Castellanos
Julio Martinez escribió:
 Correccion se me paso un LANG ...cuando edites .bash_profile esto es 
 lo correcto


 vim ~/.profile
 [r...@me ~]# vim ~/.bash_profile
 #...agrega estas dos lineas
 LANG=es_ES.UTF-8
 export LANG

 Para que haga efecto has un log off y reingresa a tu cuenta.

 Julio


una pequeña duda colega , esto que me acabas de explicar debo hacerlo 
antes o despues de actualizar con yum ?


__ Información de ESET NOD32 Antivirus, versión de la base de firmas de 
virus 4550 (20091028) __

ESET NOD32 Antivirus ha comprobado este mensaje.

part000.txt - esta correcto

http://www.eset.com


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


[CentOS-es] AYUDA PROXY TRANSPARENTE

2009-10-28 Thread Jorge Herrera
Hola, he estado configurando mi servidor proxy con Squid para que trabaje de
manera transparente, pero por más q he probado algunas configuraciones no
funciona, cabe mensionar que modificando las opciones de los navegadores si
funciona, pero mi propósito es que trabaje de manera transparente, aqui les
dejo mis archivos de configuración, para ver si me pueden ayudar.


# /etc/squid/squid.conf

http_port 192.168.5.1:8080 transparent
icp_port 0
cache_mem 8 MB
cache_dir ufs /var/spool/squid 100 16 256
coredump_dir /var/spool/squid
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
pid_filename /var/run/squid.pid
visible_hostname fw2.suemcom.com

#ACL para toda la red interna

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl miredlocal src 192.168.5.0/255.255.255.0

#ACL PARA DENEGAR SITIOS

acl sitiosdenegados url_regex -i /etc/squid/sitiosdenegados.txt


#ejecutando acl's

http_access allow localhost
http_access allow miredlocal
http_access deny sitiosdenegados
http_access deny all

cache_effective_user squid
cache_effective_group squid

error_directory /usr/share/squid/errors/Spanish

snmp_port 0

**

Y estas son mis iptables:

echo Aplicando reglas del Firewall...

#Flush de las reglas

echo Borrando iptables...
iptables -F
iptables -X
iptables -Z
iptables -t nat -F

#Establecemos politicas por defecto: DROP

echo Politicas por defecto DROP...
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

#Permitir trafico sobre la interfaz de loopback

iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

#Permitir trafico por eth0

iptables -A INPUT -i eth0 -j ACCEPT
iptables -A OUPUT -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -j ACCEPT

#Permitir ping

iptables -A INPUT -p icmp -j ACCEPT
iptables -A OUTPUT -p icmp -j ACCEPT

#Permitir consultas dns

iptables -A OUTPUT -o eth1 -p udp --dport 53 -m state --state NEW -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp --dport 53 -m state --state NEW -j ACCEPT


#Salida al Internet a traves del SQUID de la red interna

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

iptables -A OUTPUT -o eth1 -p tcp --dport 21 -m state --state NEW -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp --dport 80 -m state --state NEW -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp --dport 443 -m state --state NEW -j ACCEPT


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


Re: [CentOS-es] AYUDA PROXY TRANSPARENTE

2009-10-28 Thread Juan Pablo Botero
Saludos.

Veo que falta hacer un reenvio del puerto 80 al 8080, lo estas haciendo al
3128

On Wed, Oct 28, 2009 at 11:46 PM, Jorge Herrera jorge20...@yahoo.es wrote:

 Hola, he estado configurando mi servidor proxy con Squid para que trabaje
 de manera transparente, pero por más q he probado algunas configuraciones no
 funciona, cabe mensionar que modificando las opciones de los navegadores si
 funciona, pero mi propósito es que trabaje de manera transparente, aqui les
 dejo mis archivos de configuración, para ver si me pueden ayudar.


 
 # /etc/squid/squid.conf

 http_port 192.168.5.1:8080 transparent
 icp_port 0
 cache_mem 8 MB
 cache_dir ufs /var/spool/squid 100 16 256
 coredump_dir /var/spool/squid
 cache_access_log /var/log/squid/access.log
 cache_log /var/log/squid/cache.log
 pid_filename /var/run/squid.pid
 visible_hostname fw2.suemcom.com

 #ACL para toda la red interna

 acl all src 0.0.0.0/0.0.0.0
 acl manager proto cache_object
 acl localhost src 127.0.0.1/255.255.255.255
 acl miredlocal src 192.168.5.0/255.255.255.0

 #ACL PARA DENEGAR SITIOS

 acl sitiosdenegados url_regex -i /etc/squid/sitiosdenegados.txt


 #ejecutando acl's

 http_access allow localhost
 http_access allow miredlocal
 http_access deny sitiosdenegados
 http_access deny all

 cache_effective_user squid
 cache_effective_group squid

 error_directory /usr/share/squid/errors/Spanish

 snmp_port 0


 **

 Y estas son mis iptables:

 echo Aplicando reglas del Firewall...

 #Flush de las reglas

 echo Borrando iptables...
 iptables -F
 iptables -X
 iptables -Z
 iptables -t nat -F

 #Establecemos politicas por defecto: DROP

 echo Politicas por defecto DROP...
 iptables -P INPUT DROP
 iptables -P OUTPUT DROP
 iptables -P FORWARD DROP

 iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
 iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
 iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

 #Permitir trafico sobre la interfaz de loopback

 iptables -A INPUT -i lo -j ACCEPT
 iptables -A OUTPUT -o lo -j ACCEPT

 #Permitir trafico por eth0

 iptables -A INPUT -i eth0 -j ACCEPT
 iptables -A OUPUT -o eth0 -j ACCEPT
 iptables -A FORWARD -i eth0 -j ACCEPT

 #Permitir ping

 iptables -A INPUT -p icmp -j ACCEPT
 iptables -A OUTPUT -p icmp -j ACCEPT

 #Permitir consultas dns

 iptables -A OUTPUT -o eth1 -p udp --dport 53 -m state --state NEW -j ACCEPT
 iptables -A OUTPUT -o eth1 -p tcp --dport 53 -m state --state NEW -j ACCEPT


 #Salida al Internet a traves del SQUID de la red interna

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

 iptables -A OUTPUT -o eth1 -p tcp --dport 21 -m state --state NEW -j ACCEPT
 iptables -A OUTPUT -o eth1 -p tcp --dport 80 -m state --state NEW -j ACCEPT
 iptables -A OUTPUT -o eth1 -p tcp --dport 443 -m state --state NEW -j
 ACCEPT



 **

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




-- 
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.com
Linux Registered user #435293
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Locales and filenames

2009-10-28 Thread Mogens Kjaer
On 10/27/2009 07:16 PM, Alfred von Campe wrote:
 The
 filename contains the character 0xE7 (c with cedilla) and the file
 itself contains the character 0xED (i acute). Neither character is
 displayed correctly using ls (filename) or cat (content), but I can look
 at the file with vim. Here is some output cutpasted from my xterm
 window to illustrate the issue:
...

If your locale is UTF8, íéèæøå would be multibyte characters.

If your characters are one byte only, they are not UTF-8.

vim knows how to handle this correctly:

If you open the file with vi (you would see the text
[converted] on the bottom line), and do:

:set fileencoding=utf-8

and write out the file again it should be converted so
that cat displays it correctly.

You can use the convmv script to convert filenames into
utf-8 (yum install convmv).

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: m...@crc.dk Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] sudoers file

2009-10-28 Thread vijay shanker
Hi all,

I am planning to edit sudoers files in /etc.

when i open this wiht vim command and change some thing it said this file
is read only

Is this okay to change the status of sudoers files. or any implication?
please point

Regards,
Vijay Shanker Dubey
Ph: +91-9818311884
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sudoers file

2009-10-28 Thread vijay shanker
Hi all;

One thing more does there any tool in GNOME which can be used to edit
sudoers file.

:)

Thanks..

Regards,
Vijay Shanker Dubey
Ph: +91-9818311884


On Wed, Oct 28, 2009 at 1:29 PM, vijay shanker vijay.s...@gmail.com wrote:

 Hi all,

 I am planning to edit sudoers files in /etc.

 when i open this wiht vim command and change some thing it said this file
 is read only

 Is this okay to change the status of sudoers files. or any implication?
 please point

 Regards,
 Vijay Shanker Dubey
 Ph: +91-9818311884

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


Re: [CentOS] sudoers file

2009-10-28 Thread Ivan Varbanov
Try with visudo

On Wed, Oct 28, 2009 at 9:59 AM, vijay shanker vijay.s...@gmail.com wrote:

 Hi all,

 I am planning to edit sudoers files in /etc.

 when i open this wiht vim command and change some thing it said this file
 is read only

 Is this okay to change the status of sudoers files. or any implication?
 please point

 Regards,
 Vijay Shanker Dubey
 Ph: +91-9818311884

 ___
 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] sudoers file

2009-10-28 Thread vijay shanker
yes got it

This file MUST be edited with the 'visudo' command as root.


above line is in comments of sudoers file.

:)

Thanks larry

Regards,
Vijay Shanker Dubey
Ph: +91-9818311884


On Wed, Oct 28, 2009 at 1:38 PM, Larry Ivan Brower larry-li...@maxqe.comwrote:

 You should be using visudo for editing the file

 vijay shanker vijay.s...@gmail.com wrote:

 Hi all;
 
 One thing more does there any tool in GNOME which can be used to edit
 sudoers file.
 
 :)
 
 Thanks..
 
 Regards,
 Vijay Shanker Dubey
 Ph: +91-9818311884
 
 
 On Wed, Oct 28, 2009 at 1:29 PM, vijay shanker vijay.s...@gmail.com
 wrote:
 
  Hi all,
 
  I am planning to edit sudoers files in /etc.
 
  when i open this wiht vim command and change some thing it said this
 file
  is read only
 
  Is this okay to change the status of sudoers files. or any implication?
  please point
 
  Regards,
  Vijay Shanker Dubey
  Ph: +91-9818311884
 
 ___
 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sudoers file

2009-10-28 Thread vijay shanker
Thanks Ivan;

I am done with my desired changes

:)


Regards,
Vijay Shanker Dubey
Ph: +91-9818311884


On Wed, Oct 28, 2009 at 1:40 PM, Ivan Varbanov 
burnbrain.mailing.li...@gmail.com wrote:

 Try with visudo

 On Wed, Oct 28, 2009 at 9:59 AM, vijay shanker vijay.s...@gmail.comwrote:

 Hi all,

 I am planning to edit sudoers files in /etc.

 when i open this wiht vim command and change some thing it said this file
 is read only

 Is this okay to change the status of sudoers files. or any implication?
 please point

 Regards,
 Vijay Shanker Dubey
 Ph: +91-9818311884

 ___
 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS DS ACIs.

2009-10-28 Thread Camron W. Fox
Alle,

Does anyone know a good HOWTO on translating OpenLDAP ACLs to CentOS 
Directory Server ACIs?

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com

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


Re: [CentOS] Inquiry:How to make crontab job permanent even after server reboot?

2009-10-28 Thread ken

On 10/28/2009 01:33 AM John R Pierce wrote:
 hadi motamedi wrote:
 Thank you very much for your reply . Can you please do me favor and 
 let me know where I have to check for the scripts that may wipe out 
 these files on reboot ? How can I check if /var/spool on transient 
 storage ?
 Please be informed that I have two CentOS servers , one is running 
 CentOS 5.0 and the other is CentOS5.2 . For the CentOS5.2 , the cron 
 job does not disappear after server reboot but for the 5.0 one it does 
 . Can you please let me know what is wrong here ?
 
 this would be something specific you've done intentionally...  its 
 certianly not something that happens by default in any normal installation

I'd agree with John that this isn't normal UNIX/Linux behavior, that
something somewhere has been added to the system code to cancel the
change you make to crontab.

As a kludge, you could add your crontab /tmp/temp to the end of
/etc/rc.local so that it is invoked again after the reboot.

Do a crontab -l periodically throughout the day to see if there's a
particular time when your reboot command disappears from it.


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


[CentOS] vnc for non-root

2009-10-28 Thread ken
At work I've been asked to set up vnc for a remote user (a vendor
sysadmin to install 3d party software we've purchased).  Of course I'm a
bit skittish about allowing root access to this.  Is there a way to
configure vnc so that root cannot log in through it...?  Or do I have to
use some other utility to deny root access (e.g., securetty).

Thanks, folks.


-- 
War is a failure of the imagination.
--William Blake

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


Re: [CentOS] Debugging system load - How to start?

2009-10-28 Thread Hakan Koseoglu
Hi,

On Tue, Oct 27, 2009 at 9:35 PM, Gšötz Reinicke - IT Koordinator
goetz.reini...@filmakademie.de wrote:
 we run an old mailserver system which was set up a couple of years
 ago. The systme dose everything what we need(ed). Over the last days I
 noticed an unnormal increase of the system load up to 10 and lots of
 users told me that there mailclient connections (sending and receiving)
 are dropped from time to time.
Try running Nmon over a couple of days collecting stats every 10-20
seconds (a bit excessive) or a minute. Then run the nmon stats through
the Nmon Analyser spreadsheet. That should show how the I/O, RAM and
CPU usage and top CPU consumers during those periods pretty nicely.

Download Nmon for RHEL (perfectly usable on CentOS) from IBM or
sourceforge : http://www.ibm.com/developerworks/wikis/display/WikiPtype/nmon
, http://nmon.sourceforge.net/pmwiki.php

and the analyser is here:
http://www.ibm.com/developerworks/wikis/display/WikiPtype/nmonanalyser

Here's a sample on how to run:
#Intensive, every 10 second. Will use a lot of CPU
nmon -fT -s 10 -c 8640

#Regular, a sample every minute
nmon -fT -s 60 -c 1440
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Repodata for 5.4 updates?

2009-10-28 Thread Karanbir Singh
Hi,

On 10/28/2009 03:26 AM, Kevin White wrote:
 I haven't paid close enough attention in the past to see if this was
 normal...for the updates to appear before the repodata.  It does make
 sense that that would be the case, to allow things to propagate.

This is now normal, but it hasent been like this in the past. Over the 
last 8 months the updates for CentOS-5 have come from a mostly automated 
system and one of the fallouts is that this system will nominate and 
track update state on a few external mirrors before doing the metadata 
and announce[1]. This has worked flaw lessley in the past  ( only 
sometimes when specific mirrors would orphan themselves would users 
reall 'see' this ). And ofcourse when we do things like OpenOffice ( 
which pushes ~ 3 GB of updates ).

In the case of 5.4, its been slight more visible as we've still got some 
shakyness in the mirror network, and there is ~ 8 to 10 G of data to 
push through the queue ( src / debug / updates ). And its all taking a 
bit longer, hope to have announcement and metadata there today.

Also, adding to the complexity is :
- Process isnt quite 100% automated, we've not quite got there yet and 
the QC checks on each package need to be OKayed manually [2]
- Upstream has been regularly doing updates over the last 3 days which 
also means that when the scripts come around to doing 'All updates are 
good' it fails with Missing tag's . eg, the push from 10 min back 
resulted in :

M: SA-2009:1530 xulrunner-1.9.0.15-3.el5_4.src.rpm
M: SA-2009:1530 nspr-4.7.6-1.el5_4.src.rpm
M: SA-2009:1530 firefox-3.0.15-3.el5_4.src.rpm

( The M: indicating stuff Missing ) :)

I am going to now get these building and $dayjob permitting get them out 
during the morning. That should give us Status-Complete and then I get 
to do the announcements ( expect lots! ).

Usually, I wait about 45 min after the metadata is in place before doing 
the announcements.

ok, so this has a bit more detail about things than you had asked for 
but hopefully there is no some more info on the process here should 
anyone else come asking the same question as you did in the future!

- KB

[1]: The announcement is really the Flag to look for - once you see it, 
the update should be usable. Till such time as you dont see the 
announcement its not really released. I'd even go to the extent of 
saying that till you see the announcement posted, its still possible for 
us to replace the individual packages quietly. Cant think of the last 
time we did that ( off the top of my head ) - but keep in mind that its 
possible.

[2]: Its not only a 'trusting the system' issue, its also a practical 
case of looking at some of the issues and reports during the QC of the 
package and taking action based on that. Specially when there might be a 
new change in a package that has new Upstream marks which were not 
present in the past! We dont want to get sue'd or cause Red Hat any 
issues on the legal front ( we do really like them ).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vnc for non-root

2009-10-28 Thread John Doe
From: ken geb...@mousecar.com
 At work I've been asked to set up vnc for a remote user (a vendor
 sysadmin to install 3d party software we've purchased).  Of course I'm a
 bit skittish about allowing root access to this.  Is there a way to
 configure vnc so that root cannot log in through it...?  Or do I have to
 use some other utility to deny root access (e.g., securetty).

Maybe check the wiki: http://wiki.centos.org/HowTos/VNC-Server
I would guess you just don't give root's vnc password?

JD


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


[CentOS] Seamonkey 2.0 rpms

2009-10-28 Thread lostson
  Hello
  I threw together some Seamonkey 2.0 rpms for i386 and you can grab 
them from here

  http://lostsonsvault.org/dls/centos/

  I dont have a 64 bit one yet but if someone would like to rebuild the 
src.rpm for 64 I will
gladly host it, thanks.

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


[CentOS] Missing package

2009-10-28 Thread Anne Wilson
The big update caused one of the rare re-starts on my mail server, so I saw 
the startup messages that I had forgotten about.

Oct 28 10:50:04 borg2 python: [3424]: warning: python-dbus not installed.
Oct 28 10:50:04 borg2 python: hp-systray[3424]: warning: Qt/PyQt 4 
initialization failed.
Oct 28 10:50:04 borg2 python: hp-systray[3424]: error: hp-systray requires Qt4 
GUI and DBus support. Exiting.

I cna't find any package python-dbus.  dbus-python is installed, but hp-
systray doesn't recognise that as the same thing.  Is it possible to create 
some sort of link so that when it attempts to call python-dbus it gets dbus-
python instead?

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


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


Re: [CentOS] Seamonkey 2.0 rpms

2009-10-28 Thread Karanbir Singh
On 10/28/2009 12:32 PM, lostson wrote:
Hello
I threw together some Seamonkey 2.0 rpms for i386 and you can grab
 them from here

http://lostsonsvault.org/dls/centos/

I dont have a 64 bit one yet but if someone would like to rebuild the
 src.rpm for 64 I will
 gladly host it, thanks.

ping me on irc later, and we can resolve your issue of x86_64 access :)

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


Re: [CentOS] /etc/aliases file wildcard

2009-10-28 Thread lhecking
Jerry Geis writes:
 I have been trying to find out if the /etc/aliases file
 can accept wildcards in the user name
 
 I was hoping that a line like or similiar:
 
 machine*: myaccount
 
 would take any name matching machine* and forward onto the myaccount 
 mailbox.
 
 man aliases didnt really help me nor did I find anything else.
 Is there a way to pattern match in /etc/aliases with an * or something?

 Not supported. Maybe doable in postfix with header_checks and REDIRECT.

 If you control the recipient address on the sending end, you could change
 it to myaccount+mach...@domain and not need the alias.

 Or if you know all possible values of machine*, use a script or Makefile
 to generate a file with all these aliases and :include it in your main
 aliases file. The disadvantage is this is not maintenance-free.


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


Re: [CentOS] /etc/aliases file wildcard

2009-10-28 Thread Radu Radutiu
On Wed, Oct 28, 2009 at 3:14 AM, Jerry Geis ge...@pagestation.com wrote:
 I have been trying to find out if the /etc/aliases file
 can accept wildcards in the user name

 I was hoping that a line like or similiar:

 machine*: myaccount

 would take any name matching machine* and forward onto the myaccount
 mailbox.

 man aliases didnt really help me nor did I find anything else.
 Is there a way to pattern match in /etc/aliases with an * or something?

 Thanks,

 Jerry

I think that it is possible to do this by using postfix and the
/etc/postfix/virtual config file.

Regards,

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


Re: [CentOS] vnc for non-root

2009-10-28 Thread Neil Aggarwal
Ken:

You can set the machine up to use VNC for the
console.

Then, give the person a normal login which they will
use to login to the machine from the console interface.
Basically, it will be just like they are sitting at
the machine a logging in with a user account.

I would also require the VNC to be tunneled through
SSH for encryption since VNC does not do that internally.

Neil

--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of ken
 Sent: Wednesday, October 28, 2009 3:57 AM
 To: CentOS Mailing List
 Subject: [CentOS] vnc for non-root
 
 At work I've been asked to set up vnc for a remote user (a vendor
 sysadmin to install 3d party software we've purchased).  Of 
 course I'm a
 bit skittish about allowing root access to this.  Is there a way to
 configure vnc so that root cannot log in through it...?  Or 
 do I have to
 use some other utility to deny root access (e.g., securetty).
 
 Thanks, folks.
 
 
 -- 
 War is a failure of the imagination.
 --William Blake
 
 ___
 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] /etc/aliases file wildcard

2009-10-28 Thread Neil Aggarwal
 machine*: myaccount
 
 would take any name matching machine* and forward onto the 
 myaccount 
 mailbox.

Would putting a wildcard in /etc/mail/virtusertable
solve the problem?

Neil

--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime 


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


Re: [CentOS] /etc/aliases file wildcard

2009-10-28 Thread Les Mikesell
Jerry Geis wrote:
 I have been trying to find out if the /etc/aliases file
 can accept wildcards in the user name
 
 I was hoping that a line like or similiar:
 
 machine*: myaccount
 
 would take any name matching machine* and forward onto the myaccount 
 mailbox.
 
 man aliases didnt really help me nor did I find anything else.
 Is there a way to pattern match in /etc/aliases with an * or something?

I don't think this is possible.  You can enable getting a copy of bounces to 
the 
postmaster account, but the bounce is still delivered to invalid addresses.  Or 
you could use a milter like MimeDefang to alter the destination.

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


Re: [CentOS] Locales and filenames

2009-10-28 Thread Alfred von Campe
On Oct 27, 2009, at 19:28, ken wrote:

 E.g., create a file with vi with just one German/Greek/French word,  
 say,
 Έντελέχεια (Entylecheia, an ancient Greek word).  If the  
 name of the
 file is nonenglish, then, after you do your save in vim, run the  
 shell
 commands

 touch temp; mv temp $(cat nonenglish)

I guess my issue is how these characters get generated in the first  
place.  By cutting and pasting the word Έντελέχεια from  
your email into a file on Linux (via the Synergy mouse  keyboard  
sharing utility no less), I was able to create a file containing that  
word and also named that word and display it correctly with cat and  
ls.  So UTF-8 encoding appears to work just fine.  It's 8-byte  
characters in ISO 8859-1 encoding that are causing my problem.   
Fortunately, I think I don't have to deal with ISO 8859-1 encodings,  
and my problem was self-created by cutting and pasting characters  
from the iso_8859-1 man page.

Now I have a follow up question: so far I've only been able to enter  
non-ASCII characters on my Linux system by cutting  pasting; how do  
I actually generate any of these characters on a system with a US  
keyboard?

Thanks for all that have helped me solve this problem.

Alfred

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


Re: [CentOS] Locales and filenames

2009-10-28 Thread Alfred von Campe
On Oct 28, 2009, at 2:59, Mogens Kjaer wrote:

 If your locale is UTF8, íéèæøå would be multibyte characters.

 If your characters are one byte only, they are not UTF-8.

That was the key: the file was not UTF-8.

 vim knows how to handle this correctly:

Yes, it apparently does.  It almost appears to be magic how it  
figures this out...

 If you open the file with vi (you would see the text
 [converted] on the bottom line), and do:

 :set fileencoding=utf-8

 and write out the file again it should be converted so
 that cat displays it correctly.

Yes, it certainly does.  Thanks for the tip.  I guess I have a lot to  
learn about encodings...

 You can use the convmv script to convert filenames into
 utf-8 (yum install convmv).

I will check this out!

Thanks,
Alfred


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


Re: [CentOS] Seamonkey 2.0 rpms

2009-10-28 Thread Lucian @ lastdot.org
On Wed, Oct 28, 2009 at 12:32 PM, lostson lost...@lostsonsvault.org wrote:
  Hello
  I threw together some Seamonkey 2.0 rpms for i386 and you can grab
 them from here

  http://lostsonsvault.org/dls/centos/

  I dont have a 64 bit one yet but if someone would like to rebuild the
 src.rpm for 64 I will
 gladly host it, thanks.

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


There you go:
http://www.lastdot.org/tmp/seamonkey-2.0-1.x86_64.rpm
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sudoers file

2009-10-28 Thread Robert Spangler
On Wednesday 28 October 2009 04:11, vijay shanker wrote:

  This file MUST be edited with the 'visudo' command as root.

NO, it MUST not be edited with 'visudo'.
YES, you should use 'visudo'.

You can edit sudoer with vi or vim and save the changes too.  Just read what 
it tells you you need to do in order to save it.


-- 

Regards
Robert

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sudoers file

2009-10-28 Thread Majian
Yeah! I agree you !!

 You also can edit it and quit with :wq! in the Vi command ~~

On Wed, Oct 28, 2009 at 10:06 PM, Robert Spangler
mli...@zoominternet.netwrote:

 On Wednesday 28 October 2009 04:11, vijay shanker wrote:

   This file MUST be edited with the 'visudo' command as root.

 NO, it MUST not be edited with 'visudo'.
 YES, you should use 'visudo'.

 You can edit sudoer with vi or vim and save the changes too.  Just read
 what
 it tells you you need to do in order to save it.


 --

 Regards
 Robert

 Linux User #296285
 http://counter.li.org
 ___
 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] Seamonkey 2.0 rpms

2009-10-28 Thread lostson
 On Wed, Oct 28, 2009 at 12:32 PM, lostson lost...@lostsonsvault.org
 wrote:
  Hello
  I threw together some Seamonkey 2.0 rpms for i386 and you can grab
 them from here

  http://lostsonsvault.org/dls/centos/

  I dont have a 64 bit one yet but if someone would like to rebuild the
 src.rpm for 64 I will
 gladly host it, thanks.

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


 There you go:
 http://www.lastdot.org/tmp/seamonkey-2.0-1.x86_64.rpm

 thanks i will upload that when i get home tonight, at work for 11 hours
today, thanks again.

 LostSon


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


[CentOS] CentOS-announce Digest, Vol 56, Issue 8

2009-10-28 Thread centos-announce-request
.i386.rpm
updates/i386/RPMS/samba-client-3.0.33-0.18.el4_8.i386.rpm
updates/i386/RPMS/samba-common-3.0.33-0.18.el4_8.i386.rpm
updates/i386/RPMS/samba-swat-3.0.33-0.18.el4_8.i386.rpm

source:
updates/SRPMS/*.src.rpm

You may update your CentOS-4 i386 installations by running the command:

yum update samba\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20091027/18987fda/attachment-0001.bin
 

--

Message: 4
Date: Tue, 27 Oct 2009 20:24:05 +0100
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2009:1529 Moderate CentOS 4 x86_64
samba - security update
To: centos-annou...@centos.org
Message-ID: 20091027192405.gb5...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2009:1529

samba security update for CentOS 4 x86_64:
https://rhn.redhat.com/errata/RHSA-2009-1529.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/samba-3.0.33-0.18.el4_8.x86_64.rpm
updates/x86_64/RPMS/samba-client-3.0.33-0.18.el4_8.x86_64.rpm
updates/x86_64/RPMS/samba-common-3.0.33-0.18.el4_8.i386.rpm
updates/x86_64/RPMS/samba-common-3.0.33-0.18.el4_8.x86_64.rpm
updates/x86_64/RPMS/samba-swat-3.0.33-0.18.el4_8.x86_64.rpm

source:
updates/SRPMS/*.src.rpm

You may update your CentOS-4 x86_64 installations by running the command:

yum update samba\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20091027/d425e8de/attachment-0001.bin
 

--

Message: 5
Date: Wed, 28 Oct 2009 14:15:48 +0100
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2009:1531 Critical CentOS 3 i386
seamonkey - security update
To: centos-annou...@centos.org
Message-ID: 20091028131548.ga18...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2009:1531

seamonkey security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2009-1531.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/seamonkey-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-chat-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-devel-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-dom-inspector-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-js-debugger-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-mail-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nspr-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nspr-devel-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nss-1.0.9-0.47.el3.centos3.i386.rpm
updates/i386/RPMS/seamonkey-nss-devel-1.0.9-0.47.el3.centos3.i386.rpm

source:
updates/SRPMS/seamonkey-1.0.9-0.47.el3.centos3.src.rpm

You may update your CentOS-3 i386 installations by running the command:

yum update seamonkey\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20091028/11873b17/attachment-0001.bin
 

--

Message: 6
Date: Wed, 28 Oct 2009 14:16:48 +0100
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2009:1531 Critical CentOS 3 x86_64
seamonkey   - security update
To: centos-annou...@centos.org
Message-ID: 20091028131648.gb18...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2009:1531

seamonkey security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2009-1531.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/seamonkey-1.0.9-0.47.el3.centos3.i386.rpm
updates/x86_64/RPMS/seamonkey-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-chat-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-devel-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-dom-inspector-1.0.9-0.47.el3.centos3.x86_64.rpm
updates/x86_64/RPMS/seamonkey-js-debugger-1.0.9-0.47.el3.centos3

Re: [CentOS] Repodata for 5.4 updates?

2009-10-28 Thread Andrew Hull
Karanbir Singh wrote:
 This is now normal, but it hasent been like this in the past. Over the 
 last 8 months the updates for CentOS-5 have come from a mostly automated 
 system and one of the fallouts is that this system will nominate and 
 track update state on a few external mirrors before doing the metadata 
 and announce[1]. This has worked flaw lessley in the past  ( only 
 sometimes when specific mirrors would orphan themselves would users 
 reall 'see' this ). And ofcourse when we do things like OpenOffice ( 
 which pushes ~ 3 GB of updates ).
SNIP

Karanbir,
Thank you so much for taking the time to write that reply. Reading about 
the process of pushing out updates gave me a new appreciation for what 
you and the rest of the team does for me the consumer.

Thank you, thank you, thank you,
Andy Hull
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cisco MDS 9124 with Centos 5.4

2009-10-28 Thread Vernard C. Martin
The Release notes indicate that fencing support for the Cisco MDS 9124 
and 9134 Fabric Switches have been added as a Technology Preview. I'd 
love to use this but it doesn't seem to be visible as a choice when 
using the web interface for configuring the cluster. I'm not averse to 
doing it by hand but I'm not sure of the XML syntax for that device in 
the cluster file.

Anyone got any clues?


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


[CentOS] Scripting help please....

2009-10-28 Thread Truejack
Need a scripting help to sort out a list and list all the duplicate lines.

My data looks somethings like this

host6:dev406mum.dd.mum.test.com:22:11:11:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host17:dev258mum.dd.mum.test.com:31:17:19:no
host12:dev258mum.dd.mum.test.com:41:17:19:no
host2:dev258mum.dd.mum.test.com:36:17:19:no
host4:dev258mum.dd.mum.test.com:41:17:19:no
host4:dev258mum.dd.mum.test.com:45:17:19:no
host4:dev258mum.dd.mum.test.com:36:17:19:no

I need to sort this list and print all the lines where column 3 has a
duplicate entry.

I need to print the whole line, if a duplicate entry exists in column 3.

I tried using a combination of sort and uniq but was not successful.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Rsync and full path of filenames

2009-10-28 Thread Niki Kovacs
Hi,

I have a bit of a tricky question about rsync.

Let's say I want to backup a bunch of configuration files with rsync, in 
a script.

What I don't want to do : a full snapshot of /etc.
What I want to do : backup only those files I need, in an otherwise 
empty directory tree.

In my script, I'd begin with a list of the files I effectively want to 
backup. Something like :

/etc/httpd/conf/httpd.conf
/etc/httpd/vhosts.d/*.conf
/etc/exports

Then I'd have some other files in /usr/local/bin and /usr/local/sbin, 
which I would like to backup too.

Instead of a puzzling explanation, let me just show you how I would like 
my resulting backup to look like, so you get the idea :

etc/
`-- httpd
 |-- conf
 |   `-- httpd.conf
 `-- vhosts.d
 |-- site1.conf
 |-- site2.conf
 `-- site3.conf

usr/
`-- local
 |-- bin
 |   |-- script1.sh
 |   `-- script2.sh
 |-- sbin
 |-- sbinscript3.sh
 `-- sbinscript4.sh

Now if I do something like this :

rsync -av /etc/httpd/conf/httpd.conf destinationfolder/

I get something like :

destinationfolder/httpd.conf

QUESTION (at last) : is there a way rsync can somehow add the full file 
path, so the end result is more like :

destinationfolder/etc/httpd/conf/httpd.conf ?

Any suggestions ?

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


Re: [CentOS] Seamonkey 2.0 rpms

2009-10-28 Thread Lucian @ lastdot.org
On Wed, Oct 28, 2009 at 3:38 PM,  lost...@lostsonsvault.org wrote:
 On Wed, Oct 28, 2009 at 12:32 PM, lostson lost...@lostsonsvault.org
 wrote:
  Hello
  I threw together some Seamonkey 2.0 rpms for i386 and you can grab
 them from here

  http://lostsonsvault.org/dls/centos/

  I dont have a 64 bit one yet but if someone would like to rebuild the
 src.rpm for 64 I will
 gladly host it, thanks.

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


 There you go:
 http://www.lastdot.org/tmp/seamonkey-2.0-1.x86_64.rpm

  thanks i will upload that when i get home tonight, at work for 11 hours
 today, thanks again.

  LostSon


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


No problem, take your time. I got bandwidth to spare.
My shifts are also 12h... :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Scripting help please....

2009-10-28 Thread Neil Aggarwal
I wonder if you can do this in two steps:
 
1. Parse out the unique values from the thrid column into
a file.
2. Run the processor on the script to print where the
third column matches one of the values identified.
 
I dont know how to do this in a script.
I would write a simple Java program to do it.
 
Neil
 


--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
http://www.jammconsulting.com/ 
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime 

 


  _  

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Truejack
Sent: Wednesday, October 28, 2009 12:10 PM
To: centos@centos.org
Subject: [CentOS] Scripting help please


Need a scripting help to sort out a list and list all the duplicate lines.

My data looks somethings like this

host6:dev406mum.dd.mum.test.com:22:11:11:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host17:dev258mum.dd.mum.test.com:31:17:19:no
host12:dev258mum.dd.mum.test.com:41:17:19:no
host2:dev258mum.dd.mum.test.com:36:17:19:no
host4:dev258mum.dd.mum.test.com:41:17:19:no
host4:dev258mum.dd.mum.test.com:45:17:19:no
host4:dev258mum.dd.mum.test.com:36:17:19:no

I need to sort this list and print all the lines where column 3 has a
duplicate entry.

I need to print the whole line, if a duplicate entry exists in column 3.

I tried using a combination of sort and uniq but was not successful.



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


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Lucian @ lastdot.org
On Wed, Oct 28, 2009 at 5:18 PM, Niki Kovacs cont...@kikinovak.net wrote:
 Hi,

 I have a bit of a tricky question about rsync.

 Let's say I want to backup a bunch of configuration files with rsync, in
 a script.

 What I don't want to do : a full snapshot of /etc.
 What I want to do : backup only those files I need, in an otherwise
 empty directory tree.

 In my script, I'd begin with a list of the files I effectively want to
 backup. Something like :

 /etc/httpd/conf/httpd.conf
 /etc/httpd/vhosts.d/*.conf
 /etc/exports

 Then I'd have some other files in /usr/local/bin and /usr/local/sbin,
 which I would like to backup too.

 Instead of a puzzling explanation, let me just show you how I would like
 my resulting backup to look like, so you get the idea :

 etc/
 `-- httpd
     |-- conf
     |   `-- httpd.conf
     `-- vhosts.d
         |-- site1.conf
         |-- site2.conf
         `-- site3.conf

 usr/
 `-- local
     |-- bin
     |   |-- script1.sh
     |   `-- script2.sh
     |-- sbin
     |-- sbinscript3.sh
     `-- sbinscript4.sh

 Now if I do something like this :

 rsync -av /etc/httpd/conf/httpd.conf destinationfolder/

 I get something like :

 destinationfolder/httpd.conf

 QUESTION (at last) : is there a way rsync can somehow add the full file
 path, so the end result is more like :

 destinationfolder/etc/httpd/conf/httpd.conf ?

 Any suggestions ?

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


Hi Nikki,

I don't think you can do that with rsync out of the box. You need to
script your way around it.
One thing I can advise is to use rdiff-backup, this one is based on
rsync and can create full-paths, as well as incremental backups (e.g.
you could restore a file and see how it looked 2 weeks ago).
Rdiff-backup should be available from RPMForge.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread James Pearson
Niki Kovacs wrote:
 
 QUESTION (at last) : is there a way rsync can somehow add the full file 
 path, so the end result is more like :
 
 destinationfolder/etc/httpd/conf/httpd.conf ?
 
 Any suggestions ?

Does the -R option help?

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


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread nate
Niki Kovacs wrote:
 Hi,

 rsync -av /etc/httpd/conf/httpd.conf destinationfolder/

 I get something like :

 destinationfolder/httpd.conf

This is normal because your copying a file not a tree


 QUESTION (at last) : is there a way rsync can somehow add the full file
 path, so the end result is more like :

Copy the tree and use something like includes or excludes or
even the files-from option to specifically include the files you
want to copy.

e.g.

[na...@us-cfe002:/etc]$ cat /tmp/files.txt
/etc/httpd/conf/httpd.conf
[na...@us-cfe002:/etc]$

[na...@us-cfe002:/etc]$ rsync -av --files-from=/tmp/files.txt / /tmp/
building file list ... done
etc/
etc/httpd/
etc/httpd/conf/
etc/httpd/conf/httpd.conf

sent 34853 bytes  received 40 bytes  69786.00 bytes/sec
total size is 34704  speedup is 0.99
[na...@us-cfe002:/etc]$ ls -ltr /tmp/etc/httpd/conf/httpd.conf
-rw-r--r--  1 natea natea 34704 Nov 18  2007 /tmp/etc/httpd/conf/httpd.conf


use the -n option with rsync for testing, to have it only show you
what it would do rather than doing it.


nate


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


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Jeff
On Wed, Oct 28, 2009 at 12:18 PM, Niki Kovacs cont...@kikinovak.net wrote:
 Hi,

 I have a bit of a tricky question about rsync.

 Let's say I want to backup a bunch of configuration files with rsync, in
 a script.

 What I don't want to do : a full snapshot of /etc.
 What I want to do : backup only those files I need, in an otherwise
 empty directory tree.

 In my script, I'd begin with a list of the files I effectively want to
 backup. Something like :

 /etc/httpd/conf/httpd.conf
 /etc/httpd/vhosts.d/*.conf
 /etc/exports

 Then I'd have some other files in /usr/local/bin and /usr/local/sbin,
 which I would like to backup too.

 Instead of a puzzling explanation, let me just show you how I would like
 my resulting backup to look like, so you get the idea :

 etc/
 `-- httpd
     |-- conf
     |   `-- httpd.conf
     `-- vhosts.d
         |-- site1.conf
         |-- site2.conf
         `-- site3.conf

 usr/
 `-- local
     |-- bin
     |   |-- script1.sh
     |   `-- script2.sh
     |-- sbin
     |-- sbinscript3.sh
     `-- sbinscript4.sh

 Now if I do something like this :

 rsync -av /etc/httpd/conf/httpd.conf destinationfolder/

 I get something like :

 destinationfolder/httpd.conf

 QUESTION (at last) : is there a way rsync can somehow add the full file
 path, so the end result is more like :

 destinationfolder/etc/httpd/conf/httpd.conf ?

Here's how we do it.

cd /
rsync -avR etc/httpd/conf/httpd.conf /destinationfolder

Note that the lack of leading slash on the source.

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


Re: [CentOS] Scripting help please....

2009-10-28 Thread Benjamin Donnachie
2009/10/28 Neil Aggarwal n...@jammconsulting.com:
 I dont know how to do this in a script.

Could be a job for awk.

Bit too busy at work to look into it further at the moment though.

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


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread John Doe
From: Niki Kovacs cont...@kikinovak.net
 Let's say I want to backup a bunch of configuration files with rsync, in 
 a script.

See --files-from=FILE in rsync manpage

JD


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


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Niki Kovacs
James Pearson a écrit :

 
 Does the -R option help?
 
Bingo! That's the one I've been looking for.

Thanks very much!

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


Re: [CentOS] Scripting help please....

2009-10-28 Thread John Doe




From: Truejack truej...@gmail.com
To: centos@centos.org
Sent: Wed, October 28, 2009 6:09:41 PM
Subject: [CentOS] Scripting help please

Need a scripting help to sort out a list and list all the duplicate lines.

My data looks somethings like this

host6:dev406mum.dd.mum.test.com:22:11:11:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host17:dev258mum.dd.mum.test.com:31:17:19:no
host12:dev258mum.dd.mum.test.com:41:17:19:no
host2:dev258mum.dd.mum.test.com:36:17:19:no
host4:dev258mum.dd.mum.test.com:41:17:19:no
host4:dev258mum.dd.mum.test.com:45:17:19:no
host4:dev258mum.dd.mum.test.com:36:17:19:no

I need to sort this list and print all the lines where column 3 has a 
duplicate entry.

I need to print the whole line, if a duplicate entry exists in column 3.

I tried using a combination of sort and uniq but was not successful.



A quick and dirty example (only prints the extra duplicate lines; not the 
original duplicate):
awk -F: ' { v[$3]=v[$3]+1; if (v[$3]1) print $0; } ' datafile

JD


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


Re: [CentOS] Scripting help please....

2009-10-28 Thread Paul Bijnens
On 2009-10-28 18:09, Truejack wrote:
 Need a scripting help to sort out a list and list all the duplicate lines.
 
 My data looks somethings like this
 
 host6:dev406mum.dd.mum.test.com:22:11:11:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host17:dev258mum.dd.mum.test.com:31:17:19:no
 host12:dev258mum.dd.mum.test.com:41:17:19:no
 host2:dev258mum.dd.mum.test.com:36:17:19:no
 host4:dev258mum.dd.mum.test.com:41:17:19:no
 host4:dev258mum.dd.mum.test.com:45:17:19:no
 host4:dev258mum.dd.mum.test.com:36:17:19:no
 
 I need to sort this list and print all the lines where column 3 has a 
 duplicate entry.
 
 I need to print the whole line, if a duplicate entry exists in column 3.
 
 I tried using a combination of sort and uniq but was not successful.


Long time ago (when I was still young and beautiful) and encountering also
the limitations of uniq, I wrote a small program in C to do these kinds of 
things.
It is designed to handle record oriented stuff in groups similar to uniq.
The primary purpose was as prepocessor to awk/perl, but simple things like this
are builtin.  You find it here:

   ftp://ftp.xplanation.com/utils/by-src.zip

Unpack;  make;  and copy the program by somehwere in your PATH.

Then, to solve your problem do:

sort -t: -k 3 InputFile | by -F: -f3 -D

This sorts the input on field 3, fields separated by colon, and outputs
all lines that are duplicate according to field 3 (-D).

The program can do more as well, and a little tutorial is included in the zip.


-- 
Paul Bijnens, Xplanation Technology ServicesTel  +32 16 397.525
Interleuvenlaan 86, B-3001 Leuven, BELGIUM  Fax  +32 16 397.552
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, ~., *
* stop, end, ^]c, +++ ATH, disconnect,  halt,  abort,  hangup,  KJOB, *
* ^X^X,  :D::D,  kill -9 1,  kill -1 $$,  shutdown,  init 0,  Alt-F4, *
* Alt-f-e, Ctrl-Alt-Del, Alt-SysRq-reisub, Stop-A, AltGr-NumLock, ... *
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Les Mikesell
Niki Kovacs wrote:

 rsync -av /etc/httpd/conf/httpd.conf destinationfolder/
 
 I get something like :
 
 destinationfolder/httpd.conf
 
 QUESTION (at last) : is there a way rsync can somehow add the full file 
 path, so the end result is more like :
 
 destinationfolder/etc/httpd/conf/httpd.conf ?
 
 Any suggestions ?

Personally, I'd run backuppc (http://backuppc.sourceforge.net/ or the 
epel package) and take the whole tree because (a)it will compress the 
files and link all duplicates so it doesn't waste that much space, (b) 
when you need a copy you'll have it instead of finding out it was one 
you didn't bother to include, and (c) it won't take you a week to set up 
and test.

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

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


Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Niki Kovacs
John Doe a écrit :
 From: Niki Kovacs cont...@kikinovak.net
 Let's say I want to backup a bunch of configuration files with rsync, in 
 a script.
 
 See --files-from=FILE in rsync manpage
 

One general remark: I have one more reason to love this distro. I'm 
posting a message about a rather quirky rsync option at 18:18 PM. And 
sixteen minutes later, at 18:34, I have five competent answers with the 
odd hint at other interesting options to explore.

Thanks to everybody !

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


Re: [CentOS] Scripting help please....

2009-10-28 Thread Arturas Mr.
I think it can be optimized, and if programing language doesn't matter:
#!/usr/bin/python

file=test.txt
fl = open(file,'r')
toParse = fl.readlines()
fl.close()
dublicates = []
firstOne = []
for ln in toParse:
ln=ln.strip()
lnMap = ln.split(':')
target = lnMap[2]
if target in firstOne:
if not target in dublicates:
dublicates.append(target)
else:
firstOne.append(target)
for ln in toParse:
ln = ln.strip()
lnMap = ln.split(':')
target = lnMap[2]
if target in dublicates:
print ln


On Wed, Oct 28, 2009 at 7:09 PM, Truejack truej...@gmail.com wrote:

 Need a scripting help to sort out a list and list all the duplicate lines.

 My data looks somethings like this

 host6:dev406mum.dd.mum.test.com:22:11:11:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host17:dev258mum.dd.mum.test.com:31:17:19:no
 host12:dev258mum.dd.mum.test.com:41:17:19:no
 host2:dev258mum.dd.mum.test.com:36:17:19:no
 host4:dev258mum.dd.mum.test.com:41:17:19:no
 host4:dev258mum.dd.mum.test.com:45:17:19:no
 host4:dev258mum.dd.mum.test.com:36:17:19:no

 I need to sort this list and print all the lines where column 3 has a
 duplicate entry.

 I need to print the whole line, if a duplicate entry exists in column 3.

 I tried using a combination of sort and uniq but was not successful.


 ___
 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] Rsync and full path of filenames

2009-10-28 Thread Niki Kovacs
Les Mikesell a écrit :

 
 Personally, I'd run backuppc (http://backuppc.sourceforge.net/ or the 
 epel package) and take the whole tree because (a)it will compress the 
 files and link all duplicates so it doesn't waste that much space, (b) 
 when you need a copy you'll have it instead of finding out it was one 
 you didn't bother to include, and (c) it won't take you a week to set up 
 and test.
 

OK. I just added it to my TODO-list.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Repodata for 5.4 updates?

2009-10-28 Thread Kevin White
Andrew Hull wrote:
 Karanbir Singh wrote:
 
 Karanbir,
 Thank you so much for taking the time to write that reply. Reading about 
 the process of pushing out updates gave me a new appreciation for what 
 you and the rest of the team does for me the consumer.
 
 Thank you, thank you, thank you,

Yes, agreed.  I kind of hoped something like that would result from my 
asking the question.  :)

Appreciate it, and the whole project.

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


[CentOS] combining iptables parameters

2009-10-28 Thread Marcus Moeller
Hi all,

is there a way to combine iptables parameters like: iptables -A OUTPUT
-p UDP  -p TCP -d $IP1  -d $IP2 ?

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


[CentOS] vmware 2.x

2009-10-28 Thread Les Mikesell
Does anyone know if the just-released vmware server 2.0.2 was supposed 
to fix the glibc incompatibility with RHEL/Centos 5.4?  (It didn't on 
the first box where I tried it...).

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


Re: [CentOS] vmware 2.x

2009-10-28 Thread John Thomas
On 10/28/2009 12:36 PM, Les Mikesell wrote:
 Does anyone know if the just-released vmware server 2.0.2 was supposed
 to fix the glibc incompatibility with RHEL/Centos 5.4?  (It didn't on
 the first box where I tried it...).


I upgraded server first, then (glibc glibc-common glibc-devel 
glibc-headers nscd), then restarted.  It has been running smoothly for 
about 24 hours.

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


[CentOS] grub problems

2009-10-28 Thread m . roth
This is irritating: I've got a server I just upgraded to 5.4, then
rebooted, only to discover that it just *sits* there at the grub boot
menu. I looked at grub.conf, and uncommented hiddenmenu (which should have
been done long ago).

It *still* sits there when I reboot. Any clues, folks?

 mark

grub.conf:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-164.2.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.2.1.el5 ro root=LABEL=/ rhgb
initrd /initrd-2.6.18-164.2.1.el5.img
title CentOS (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb
initrd /initrd-2.6.18-164.el5.img
snip

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


Re: [CentOS] grub problems

2009-10-28 Thread Gilbert Sebenste
On Wed, 28 Oct 2009, m.r...@5-cent.us wrote:

 This is irritating: I've got a server I just upgraded to 5.4, then
 rebooted, only to discover that it just *sits* there at the grub boot
 menu. I looked at grub.conf, and uncommented hiddenmenu (which should have
 been done long ago).

 It *still* sits there when I reboot. Any clues, folks?

 mark

 grub.conf:
 #boot=/dev/sda
 default=0
 timeout=5
 splashimage=(hd0,0)/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-164.2.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.2.1.el5 ro root=LABEL=/ rhgb
initrd /initrd-2.6.18-164.2.1.el5.img
 title CentOS (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb
initrd /initrd-2.6.18-164.el5.img
 snip

Try labelling root as the actual drive, not using the LABEL as above.
In other words, something like this:

root=/dev/VolGroup00/LogVol00 rhgb quiet

Otherwise, your grub.conf is exactly like mine, and it works without issue 
here.

***
Gilbert Sebenste 
(My opinions only!)  **
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Scripting help please....

2009-10-28 Thread m . roth
 Need a scripting help to sort out a list and list all the duplicate lines.

 My data looks somethings like this

 host6:dev406mum.dd.mum.test.com:22:11:11:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host17:dev258mum.dd.mum.test.com:31:17:19:no
 host12:dev258mum.dd.mum.test.com:41:17:19:no
 host2:dev258mum.dd.mum.test.com:36:17:19:no
 host4:dev258mum.dd.mum.test.com:41:17:19:no
 host4:dev258mum.dd.mum.test.com:45:17:19:no
 host4:dev258mum.dd.mum.test.com:36:17:19:no

 I need to sort this list and print all the lines where column 3 has a
 duplicate entry.

 I need to print the whole line, if a duplicate entry exists in column 3.

 I tried using a combination of sort and uniq but was not successful.

list.awk
BEGIN {
   FS=:;
}
{  if ( $3 == last ) {

  print $0;
   }
   last = $3;
}

sort file | awk -f list.awk

 mark *how* long an awk script would you like?


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


Re: [CentOS] Scripting help please....

2009-10-28 Thread Les Mikesell
m.r...@5-cent.us wrote:
 Need a scripting help to sort out a list and list all the duplicate lines.

 My data looks somethings like this

 host6:dev406mum.dd.mum.test.com:22:11:11:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host17:dev258mum.dd.mum.test.com:31:17:19:no
 host12:dev258mum.dd.mum.test.com:41:17:19:no
 host2:dev258mum.dd.mum.test.com:36:17:19:no
 host4:dev258mum.dd.mum.test.com:41:17:19:no
 host4:dev258mum.dd.mum.test.com:45:17:19:no
 host4:dev258mum.dd.mum.test.com:36:17:19:no

 I need to sort this list and print all the lines where column 3 has a
 duplicate entry.

 I need to print the whole line, if a duplicate entry exists in column 3.

 I tried using a combination of sort and uniq but was not successful.
 
 list.awk
 BEGIN {
FS=:;
 }
 {  if ( $3 == last ) {
 
   print $0;
}
last = $3;
 }
 
 sort file | awk -f list.awk
 
  mark *how* long an awk script would you like?

This doesn't print the first of the duplicates.  Also, the question 
wasn't clear as to whether every line with matching 3rd fields should be 
printed or just ones where the others or previous fields matched (but 
the sort options could control that).

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


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


Re: [CentOS] Scripting help please....

2009-10-28 Thread m . roth
 m.r...@5-cent.us wrote:
 Need a scripting help to sort out a list and list all the duplicate
 lines.

 My data looks somethings like this

 host6:dev406mum.dd.mum.test.com:22:11:11:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host7:dev258mum.dd.mum.test.com:36:17:19:no
 host17:dev258mum.dd.mum.test.com:31:17:19:no
 host12:dev258mum.dd.mum.test.com:41:17:19:no
 host2:dev258mum.dd.mum.test.com:36:17:19:no
 host4:dev258mum.dd.mum.test.com:41:17:19:no
 host4:dev258mum.dd.mum.test.com:45:17:19:no
 host4:dev258mum.dd.mum.test.com:36:17:19:no

 I need to sort this list and print all the lines where column 3 has a
 duplicate entry.

 I need to print the whole line, if a duplicate entry exists in column
 3.

 I tried using a combination of sort and uniq but was not
 successful.

 list.awk
 BEGIN {
FS=:;
 }
 {  if ( $3 == last ) {

   print $0;
}
last = $3;
 }

 sort file | awk -f list.awk

  mark *how* long an awk script would you like?

 This doesn't print the first of the duplicates.  Also, the question
 wasn't clear as to whether every line with matching 3rd fields should be
 printed or just ones where the others or previous fields matched (but
 the sort options could control that).

Oh, sorry:
BEGIN {
   FS=:;
}
{  if ( $3 == last ) {
  if ( first == 0 ) {
 print saved;
 first++;
  }
  print $0;
   }
   else {
  first = 0;
  last = $3;
  saved = $0;
   }
}

mark did I mention that I've written 100 -200 line awk scripts?

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


Re: [CentOS] combining iptables parameters

2009-10-28 Thread Ryan Lynch
On Wed, Oct 28, 2009 at 15:32, Marcus Moeller m...@marcus-moeller.de wrote:
 is there a way to combine iptables parameters like: iptables -A OUTPUT
 -p UDP  -p TCP -d $IP1  -d $IP2 ?

Each of those parameters is called a match, in IPTables-speak. You
can specify multiple matches in one rule, but all matches are combined
with an implicit logical AND. There is no way to get a logical OR
amongst multiple matches in a single rule. If you want OR logic, you
use multiple rules.

So, your example could not work as single rule, because no single IP
packet can be both TCP and UDP, and no single IP packet can have
multiple destination IP addresses. IPTables tries to prevent you from
creating nonsensical rules like that in most situations.

You would have to specify the required match space across multiple
rules, maybe something like this:

  iptables -A OUTPUT -p UDP -d $IP1-j DROP
  iptables -A OUTPUT -p TCP -d $IP1 -j DROP
  iptables -A OUTPUT -p UDP -d $IP2 -j DROP
  iptables -A OUTPUT -p TCP -d $IP2 -j DROP

-Ryan

-- 
Ryan B. Lynch
ryan.b.ly...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] grub problems

2009-10-28 Thread m . roth
 On Wed, 28 Oct 2009, m.r...@5-cent.us wrote:

 This is irritating: I've got a server I just upgraded to 5.4, then
 rebooted, only to discover that it just *sits* there at the grub boot
 menu. I looked at grub.conf, and uncommented hiddenmenu (which should
 have been done long ago).

 It *still* sits there when I reboot. Any clues, folks?

 snip

 Try labelling root as the actual drive, not using the LABEL as above.
 In other words, something like this:

 root=/dev/VolGroup00/LogVol00 rhgb quiet

 Otherwise, your grub.conf is exactly like mine, and it works without issue
 here.

Just tried, no joy: *still* sits at the chosen menu item. And yeah, it's
identical to our other systems. It's as though grub isn't seeing
hiddenmenu.

   mark

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


Re: [CentOS] combining iptables parameters

2009-10-28 Thread Marcus Moeller
Dear Ryan.

 is there a way to combine iptables parameters like: iptables -A OUTPUT
 -p UDP  -p TCP -d $IP1  -d $IP2 ?

 Each of those parameters is called a match, in IPTables-speak. You
 can specify multiple matches in one rule, but all matches are combined
 with an implicit logical AND. There is no way to get a logical OR
 amongst multiple matches in a single rule. If you want OR logic, you
 use multiple rules.

 So, your example could not work as single rule, because no single IP
 packet can be both TCP and UDP, and no single IP packet can have
 multiple destination IP addresses. IPTables tries to prevent you from
 creating nonsensical rules like that in most situations.

 You would have to specify the required match space across multiple
 rules, maybe something like this:

  iptables -A OUTPUT -p UDP -d $IP1-j DROP
  iptables -A OUTPUT -p TCP -d $IP1 -j DROP
  iptables -A OUTPUT -p UDP -d $IP2 -j DROP
  iptables -A OUTPUT -p TCP -d $IP2 -j DROP

That's what I am doing atm. Thanks for the update.

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


[CentOS] iptables -d fqdn instead of IP

2009-10-28 Thread Marcus Moeller
Hi all,

does it work to define iptables rules with a fqdn as destination
instead of an IP address? Or is it useful to resolve the name first
using e.g. nslookup, writing the result to a variable which is then
used within the -d statement?

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


Re: [CentOS] combining iptables parameters

2009-10-28 Thread Ryan Lynch
On Wed, Oct 28, 2009 at 16:36, Marcus Moeller m...@marcus-moeller.de wrote:
 You would have to specify the required match space across multiple
 rules, maybe something like this:

  iptables -A OUTPUT -p UDP -d $IP1-j DROP
  iptables -A OUTPUT -p TCP -d $IP1 -j DROP
  iptables -A OUTPUT -p UDP -d $IP2 -j DROP
  iptables -A OUTPUT -p TCP -d $IP2 -j DROP

 That's what I am doing atm. Thanks for the update.

BTW, if you have some complex chain of action logic (more than just a
simple -j DROP), you could simplify your rules by creating a custom
chain and having the rules on the builtin chain (OUTPUT, or whatever)
jump to your custom chain instead of DROP.

For example, If I wanted to use the same four rules from above, but I
wanted to both log AND drop the incoming packets, a naive
implementation might be something like this:

 iptables -A OUTPUT -p UDP -d $IP1 -j LOG --log-prefix 'MYDROP: '
--log-level notice
 iptables -A OUTPUT -p UDP -d $IP1 -j DROP
 iptables -A OUTPUT -p TCP -d $IP1 -j LOG --log-prefix 'MYDROP: '
--log-level notice
 iptables -A OUTPUT -p TCP -d $IP1 -j DROP
 iptables -A OUTPUT -p UDP -d $IP2 -j LOG --log-prefix 'MYDROP: '
--log-level notice
 iptables -A OUTPUT -p UDP -d $IP2 -j DROP
 iptables -A OUTPUT -p TCP -d $IP2 -j LOG --log-prefix 'MYDROP: '
--log-level notice
 iptables -A OUTPUT -p TCP -d $IP2 -j DROP

You could do the same thing in a much more compact fashion by creating
a custom chain called MYDROP:

 iptables -N MYDROP
 iptables -A MYDROP -j LOG --log-prefix 'MYDROP: ' --log-level notice
 iptables -A MYDROP -j DROP
 iptables -A OUTPUT -p UDP -d $IP1 -j MYDROP
 iptables -A OUTPUT -p TCP -d $IP1 -j MYDROP
 iptables -A OUTPUT -p UDP -d $IP2 -j MYDROP
 iptables -A OUTPUT -p TCP -d $IP2 -j MYDROP

In programming, it would be analogous to factoring duplicative code
into a common function. In this example, you really don't compress the
expression very much (7 lines versus 8 lines). If you imagine a
situation where MYDROP would contain 10 or 15 different actions,
you'll understand how powerful it can be.

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


Re: [CentOS] combining iptables parameters

2009-10-28 Thread Marcus Moeller
Dear Ryan.

  iptables -A OUTPUT -p UDP -d $IP1-j DROP
  iptables -A OUTPUT -p TCP -d $IP1 -j DROP
  iptables -A OUTPUT -p UDP -d $IP2 -j DROP
  iptables -A OUTPUT -p TCP -d $IP2 -j DROP

 That's what I am doing atm. Thanks for the update.

 BTW, if you have some complex chain of action logic (more than just a
 simple -j DROP), you could simplify your rules by creating a custom
 chain and having the rules on the builtin chain (OUTPUT, or whatever)
 jump to your custom chain instead of DROP.

 For example, If I wanted to use the same four rules from above, but I
 wanted to both log AND drop the incoming packets, a naive
 implementation might be something like this:

  iptables -A OUTPUT -p UDP -d $IP1 -j LOG --log-prefix 'MYDROP: '
 --log-level notice
  iptables -A OUTPUT -p UDP -d $IP1 -j DROP
  iptables -A OUTPUT -p TCP -d $IP1 -j LOG --log-prefix 'MYDROP: '
 --log-level notice
  iptables -A OUTPUT -p TCP -d $IP1 -j DROP
  iptables -A OUTPUT -p UDP -d $IP2 -j LOG --log-prefix 'MYDROP: '
 --log-level notice
  iptables -A OUTPUT -p UDP -d $IP2 -j DROP
  iptables -A OUTPUT -p TCP -d $IP2 -j LOG --log-prefix 'MYDROP: '
 --log-level notice
  iptables -A OUTPUT -p TCP -d $IP2 -j DROP

 You could do the same thing in a much more compact fashion by creating
 a custom chain called MYDROP:

  iptables -N MYDROP
  iptables -A MYDROP -j LOG --log-prefix 'MYDROP: ' --log-level notice
  iptables -A MYDROP -j DROP
  iptables -A OUTPUT -p UDP -d $IP1 -j MYDROP
  iptables -A OUTPUT -p TCP -d $IP1 -j MYDROP
  iptables -A OUTPUT -p UDP -d $IP2 -j MYDROP
  iptables -A OUTPUT -p TCP -d $IP2 -j MYDROP

That's what I am doing, too. Just wondered if there is a way to
combile parameters with a logical OR.

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


Re: [CentOS] grub problems

2009-10-28 Thread nate
m.r...@5-cent.us wrote:
 This is irritating: I've got a server I just upgraded to 5.4, then
 rebooted, only to discover that it just *sits* there at the grub boot
 menu. I looked at grub.conf, and uncommented hiddenmenu (which should have
 been done long ago).

 It *still* sits there when I reboot. Any clues, folks?

Anyone sitting at the keyboard holding a key down?

I ran into a really annoying bug in the latest Dell DRAC cards
for example which caused the management card to spew crap onto
the console causing the grub boot loader to hang at the menu
screen(as if someone hit a key to cancel the timeout). Lots of
other side effects to that bug as well(on a couple of occasions
would have almost everything get zombied out until I rebooted
the management card which cleared it up).

nate

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


Re: [CentOS] Scripting help please....

2009-10-28 Thread Nifty Cluster Mitch
On Wed, Oct 28, 2009 at 10:39:41PM +0530, Truejack wrote:
 
Need a scripting help to sort out a list and list all the duplicate lines.
 
My data looks somethings like this
 
host6:dev406mum.dd.mum.test.com:22:11:11:no
host7:dev258mum.dd.mum.test.com:36:17:19:no

A key to your answer is the --all-repeated option
for uniq on a sorted file.

I call this find-duplicates -- this post makes it GPL

#!  /bin/bash
#SIZER=' -size +10240k'
SIZER=' -size +0'
#SIZER=
DIRLIST=. 
find $DIRLIST  -type f $SIZER -print0 | xargs -0 md5sum |\
sort  /tmp/looking4duplicates
tput bel; sleep 2
cat /tmp/looking4duplicates |  uniq --check-chars=32 --all-repeated=prepend | 
less
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] grub problems

2009-10-28 Thread m . roth
 m.r...@5-cent.us wrote:
 This is irritating: I've got a server I just upgraded to 5.4, then
 rebooted, only to discover that it just *sits* there at the grub boot
 menu. I looked at grub.conf, and uncommented hiddenmenu (which should
 have been done long ago).

 It *still* sits there when I reboot. Any clues, folks?

 Anyone sitting at the keyboard holding a key down?

Nope. It's part of a cluster, the head node, and it's in a machine room,
nobody there.

   mark time to worry 'bout it tomorrow

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


Re: [CentOS] Missing package

2009-10-28 Thread ken
On 10/28/2009 08:39 AM Anne Wilson wrote:
 The big update caused one of the rare re-starts on my mail server, so I saw 
 the startup messages that I had forgotten about.
 
 Oct 28 10:50:04 borg2 python: [3424]: warning: python-dbus not installed.
 Oct 28 10:50:04 borg2 python: hp-systray[3424]: warning: Qt/PyQt 4 
 initialization failed.
 Oct 28 10:50:04 borg2 python: hp-systray[3424]: error: hp-systray requires 
 Qt4 
 GUI and DBus support. Exiting.
 
 I cna't find any package python-dbus.  dbus-python is installed, but hp-
 systray doesn't recognise that as the same thing.  Is it possible to create 
 some sort of link so that when it attempts to call python-dbus it gets dbus-
 python instead?
 
 Anne

Hmmm.  I've got it.

$ rpm -q dbus-python
dbus-python-0.70-7.el5

-- 
War is a failure of the imagination.
--William Blake
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Not able to FTP since 5.4

2009-10-28 Thread Bob Hoffman
I do not use ftp much lately, but my bro did and noticed we cannot ftp to
the server since the upgrade.

Using VSFTP.
Tried rebooting but nothing.

Looks like it goes through the whole process and then 'bam'.
Could not find an error log that listed the error anywhere.

Worked great before 5.4 update, now it does not work at all.



Here is the info from cuteftp.

STATUS:Getting listing /...
STATUS:Connecting to FTP server 72.35.68.61:21 (ip =
72.35.68.61)...
STATUS:Socket connected. Waiting for welcome message...
220 Welcome to the server
STATUS:Connected. Authenticating...
COMMAND:   USER 
331 Please specify the password.
COMMAND:   PASS *
230 Login successful.
STATUS:Login successful.
COMMAND:   PWD
ERROR: Can't read from control socket. Socket error = #10054.

Any ideas? Thanks.

Bob

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


Re: [CentOS] Not able to FTP since 5.4

2009-10-28 Thread Barry Brimer
 I do not use ftp much lately, but my bro did and noticed we cannot ftp to
 the server since the upgrade.

 Using VSFTP.
 Tried rebooting but nothing.

 Looks like it goes through the whole process and then 'bam'.
 Could not find an error log that listed the error anywhere.

 Worked great before 5.4 update, now it does not work at all.

If you are using iptables, make sure you have ip_conntrack_ftp loaded. 
This can be accomplished by making sure that ip_conntrack_ftp appears in 
the IPTABLES_MODULES line in /etc/sysconfig/iptables-config and restart 
iptables.  Either that or try turning off iptables temporarily to test.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] question about mounting external USB HD

2009-10-28 Thread Ivan Arteaga
Hello,

I have a server running CentOS 4.7 and I want to add a new USB-HD for 
backup some data. I made the file system as ext3 with the command:
/
mkfs -t ext3 /dev/sdb1/

After that I did add a new Volume Group and Logical Volume 
(/VolGrup01-LogVol01) /on that file system and mounted it as /backup. It 
worked fine but when I did reboot the server It wont mount /backup and I 
got the following error even after the system boots and I try to mount 
it manually:

/mount: special device /dev/VolGrup01/LogVol01 does not exist/

I will appreciate any comment or suggestion about the best way to get 
through this.

Regards,

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


Re: [CentOS] question about mounting external USB HD

2009-10-28 Thread John R Pierce
Ivan Arteaga wrote:
 Hello,

 I have a server running CentOS 4.7 and I want to add a new USB-HD for 
 backup some data. I made the file system as ext3 with the command:
 /
 mkfs -t ext3 /dev/sdb1/

 After that I did add a new Volume Group and Logical Volume 
 (/VolGrup01-LogVol01) /on that file system and mounted it as /backup. It 
 worked fine but when I did reboot the server It wont mount /backup and I 
 got the following error even after the system boots and I try to mount 
 it manually:

 /mount: special device /dev/VolGrup01/LogVol01 does not exist/

 I will appreciate any comment or suggestion about the best way to get 
 through this.
   

I would *NOT* use LVM on a removable external drive.

if you did a mkfs /dev/sdb1, you should

# mount /dev/sdb1 /backup

and skip LVM entirely.


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


Re: [CentOS] sudoers file

2009-10-28 Thread vijay shanker
Thanks guys,

I have done my changes in the sudoers file.

what i did is ; added a group with same access as root.

how i am able to use sudo. but there is a problem.

my machine is responding very slow for the sudo. It takes almost 3 minutes
to open a small file with command

sudo vim filename.conf

i don't think this might be because of the changes. But you can explain this
situation to me.

To edit sudoers file I used visudo.

and thanks Majian for that command in vi editor. it was great.


Regards,
Vijay Shanker Dubey
Ph: +91-9818311884


On Wed, Oct 28, 2009 at 7:57 PM, Majian jian...@gmail.com wrote:

 Yeah! I agree you !!

  You also can edit it and quit with :wq! in the Vi command ~~


 On Wed, Oct 28, 2009 at 10:06 PM, Robert Spangler mli...@zoominternet.net
  wrote:

 On Wednesday 28 October 2009 04:11, vijay shanker wrote:

   This file MUST be edited with the 'visudo' command as root.

 NO, it MUST not be edited with 'visudo'.
 YES, you should use 'visudo'.

 You can edit sudoer with vi or vim and save the changes too.  Just read
 what
 it tells you you need to do in order to save it.


 --

 Regards
 Robert

 Linux User #296285
 http://counter.li.org
 ___
 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] question about mounting external USB HD

2009-10-28 Thread Ivan Arteaga
John R Pierce wrote:
 Ivan Arteaga wrote:
   
 Hello,

 I have a server running CentOS 4.7 and I want to add a new USB-HD for 
 backup some data. I made the file system as ext3 with the command:
 /
 mkfs -t ext3 /dev/sdb1/

 After that I did add a new Volume Group and Logical Volume 
 (/VolGrup01-LogVol01) /on that file system and mounted it as /backup. It 
 worked fine but when I did reboot the server It wont mount /backup and I 
 got the following error even after the system boots and I try to mount 
 it manually:

 /mount: special device /dev/VolGrup01/LogVol01 does not exist/

 I will appreciate any comment or suggestion about the best way to get 
 through this.
   
 

 I would *NOT* use LVM on a removable external drive.

 if you did a mkfs /dev/sdb1, you should

 # mount /dev/sdb1 /backup

 and skip LVM entirely.


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

I did remove the LVM and mounted the file system i had in /dev/sdb1 as 
/backup, It works now...

[r...@server]# mount /dev/sdb1 /backup
[r...@mail ~]# df -kh
FilesystemSize  Used Avail Use% Mounted on
/dev/sdb1 459G  105M  436G   1% /backup
[r...@server]#

I cant restart the server now but I will have a maintenance window 
tomorrow so I will check after the reboot how it goes... I added it to 
/etc/fstab anyway:

//dev/sdb1  /backup  ext3  suid,dev,exec  0  0/

Thanks in advance for your suggestion.

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