[CentOS-docs] Skype's no-redistribution policy

2012-06-22 Thread Yves Bellefeuille
Hello:

Skype for Linux version 4 has recently been released. An RPM package has 
been made, and it's mentioned in the Wiki: 
http://wiki.centos.org/HowTos/Skype#head-
a08dbc518378653842007a2eec37bc32e13c0bd0

However, Microsoft claims to prohibit redistribution of Skype 
(http://www.skype.com/intl/en-us/legal/terms/tou/ , subsection 4.2).

My feeling is that the Wiki shouldn't mention this RPM, but I thought I 
shouldn't simply delete this part of the Wiki before asking here.

Yves

-- 
Yves Bellefeuille y...@storm.ca
La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se
ili konscias pri sia eraro. -- Heroldo Komunikas, n-ro 473.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Skype's no-redistribution policy

2012-06-22 Thread Akemi Yagi
On Fri, Jun 22, 2012 at 6:36 PM, Yves Bellefeuille y...@storm.ca wrote:
 Hello:

 Skype for Linux version 4 has recently been released. An RPM package has
 been made, and it's mentioned in the Wiki:
 http://wiki.centos.org/HowTos/Skype#head-
 a08dbc518378653842007a2eec37bc32e13c0bd0

 However, Microsoft claims to prohibit redistribution of Skype
 (http://www.skype.com/intl/en-us/legal/terms/tou/ , subsection 4.2).

 My feeling is that the Wiki shouldn't mention this RPM, but I thought I
 shouldn't simply delete this part of the Wiki before asking here.

Thanks for the note. I have reverted the change. In this case, I think
we should apply the guilty until proven innocent rule.

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


Re: [CentOS-docs] Skype's no-redistribution policy

2012-06-22 Thread Nick Sklav
On Fri, 2012-06-22 at 21:36 -0400, Yves Bellefeuille wrote:
 Hello:
 
 Skype for Linux version 4 has recently been released. An RPM package has 
 been made, and it's mentioned in the Wiki: 
 http://wiki.centos.org/HowTos/Skype#head-
 a08dbc518378653842007a2eec37bc32e13c0bd0
 
 However, Microsoft claims to prohibit redistribution of Skype 
 (http://www.skype.com/intl/en-us/legal/terms/tou/ , subsection 4.2).
 
 My feeling is that the Wiki shouldn't mention this RPM, but I thought I 
 shouldn't simply delete this part of the Wiki before asking here.
 
 Yves
 

Well since we can link to it, it should still be mentioned as many
people would like to know they can use it if needed. It is not like we
are distributing it, thus the new change should not affect it being in
the wiki.

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


[CentOS-announce] CEBA-2012:1029 CentOS 5 file FASTTRACK Update

2012-06-22 Thread Johnny Hughes

CentOS Errata and Bugfix Advisory 2012:1029

Upstream details at : http://rhn.redhat.com/errata/RHBA-2012-1029.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
8a98e586acca5ff300dac78f6f2cd2548001ff3f2f946e7c26613864f950102a  
file-4.17-28.i386.rpm

x86_64:
50b33ade3d9a0209e2a7225ed959fd8ce9d6173ab279bca9a6738797d1acd26f  
file-4.17-28.x86_64.rpm

Source:
690888b77be34b978a454a3c03705b4bbd7c2ac5bdf4cef13221f6c1c3837074  
file-4.17-28.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net

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


[CentOS-es] IPTables, DNS y postfix

2012-06-22 Thread Guitart Francesc
Primero perdón por no responder desde el mensaje original. Hace tiempo 
que había desactivado los mensajes de la lista, hoy los he vuelto a 
activar y he visto este mensaje en el archivo de la lista.


AraDaen aradaen en gmail.com
Jue Jun 21 19:17:45 EDT 2012

 Hola,
 He instalado un servidor con Centos 6.2 para alojar varias webs que
 tengo, para lo que, entre otras cosas tengo bind configurado como
 servidor DNS y postfix con dovecot para el servicio de correo (pop3,
 pop3s, imap, imaps, smtp+tls).
 El sistema funciona perfectamente,sin habilitar iptables, pero cuando lo
 habilito,  los correos que envío a dominios que no están alojados en mi
 servidor (gmail por ejemplo). Deduzco que se trata de la reglas para DNS
 cuando pregunta a otro servidor DNS, o de otra cosa que se me escapa.
 
 Este es el log de mail:
  Jun 21 13:48:45 server postfix/smtp[13917]: connect to
 mx3.hotmail.com[65.54.188.94]:25: Connection timed out
  Jun 21 13:48:45 server postfix/smtp[13918]: connect to
 mx1.hotmail.com[65.55.37.72]:25: Connection timed out
  Jun 21 13:49:15 server postfix/smtp[13917]: connect to
 mx2.hotmail.com[65.54.188.72]:25: Connection timed out
  Jun 21 13:49:15 server postfix/smtp[13918]: connect to
 mx2.hotmail.com[65.54.188.110]:25: Connection timed out
  Jun 21 13:49:45 server postfix/smtp[13917]: connect to
 mx3.hotmail.com[65.54.188.110]:25: Connection timed out
  Jun 21 13:49:45 server postfix/smtp[13918]: connect to
 mx2.hotmail.com[65.54.188.126]:25: Connection timed out
  Jun 21 13:50:15 server postfix/smtp[13917]: connect to
 mx2.hotmail.com[65.55.37.104]:25: Connection timed out
  Jun 21 13:50:15 server postfix/smtp[13917]: 8E2F954286D5:
 to=aradaen en hotmail.com, relay=none, delay=62560,
 delays=62410/0.11/150/0, dsn=4.4.1, status=deferred (connect to
 mx2.hotmail.com[65.55.37.104]:25: Connection timed out)
 
 Cualquier ayuda, será bienvenida.
 La política por defecto en iptables es DROP, y este es el script de
 iptables:
 
 
  #!/bin/sh
 
  iptables -F
  iptables -X
  iptables -Z
  iptables -t nat -F
 
  echo Política por defecto DROP
  iptables -P INPUT DROP
  iptables -P FORWARD DROP
  iptables -P OUTPUT DROP
 
  #Conexiones Locales
  echo Habilitando acceso:
  echo - Conexiones locales
  iptables -A INPUT -i lo -j ACCEPT
  iptables -A OUTPUT -o lo -j ACCEPT
 
  #DNS
  echo - DNS (53)
   iptables -A OUTPUT -p ALL  -m state --state ESTABLISHED,RELATED
 -j ACCEPT
  iptables -A OUTPUT -p tcp -d 0.0.0.0/0  --destination-port 53 -m state
 --state NEW  -j ACCEPT
  iptables -A OUTPUT -p udp -d 0.0.0.0/0  --destination-port 53 -j ACCEPT
 
  iptables -A INPUT -p ALL  -m state --state ESTABLISHED,RELATED  -j
 ACCEPT
  iptables -A INPUT -p tcp -s 0.0.0.0/0 --destination-port 53 -m state
 --state NEW -j ACCEPT
  iptables -A INPUT -p udp -s 0.0.0.0/0 --destination-port 53 -j ACCEPT
 
  #YUM
  echo - YUM
  # iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
  # iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
 
  iptables -A OUTPUT -p tcp -m tcp -m state --state NEW --dport 80 -j 
ACCEPT
  iptables -A OUTPUT -p tcp -m tcp -m state --state NEW --dport 443 -j 
ACCEPT
 
  #WEB
  echo - WEB (80)
  iptables -A INPUT -p tcp --dport 80 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 80 -j ACCEPT
  iptables -A INPUT -p tcp --dport 443 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 443 -j ACCEPT
 
  #SSH
  echo - SSH (2233)
  iptables -A INPUT -p tcp --dport 2233 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 2233 -j ACCEPT
 
 
  # CORREO
  echo - MAIL;
  echo- POP3,POP3S (110,995)
  iptables -A INPUT -p tcp --dport 110 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 110 -j ACCEPT
  iptables -A INPUT -p tcp --dport 995 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 995 -j ACCEPT
 
  echo- IMAP,IMAPS (143,993)
  iptables -A INPUT -p tcp --dport 143 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 143 -j ACCEPT
  iptables -A INPUT -p tcp --dport 993 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 993 -j ACCEPT
 
  echo- SMTP,SMPTS (25,465)
  iptables -A INPUT -p tcp --dport 25 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 25 -j ACCEPT
  iptables -A INPUT -p tcp --dport 465 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 465 -j ACCEPT

El problema esta aquí. Las reglas INPUT son correctas pero las OUTPUT 
no. Las conexiones SMTP que tu servidor realiza no salen por el puerto 
25 sino que van dirigidas al puerto 25. La regla correcta seria:

iptables -A OUTPUT -p tcp dport 25 -j ACCEPT
iptables -A OUTPUT -p tcp dport 465 -j ACCEPT

  echo- Submission (587)
  iptables -A INPUT -p tcp --dport 587 -j ACCEPT
  iptables -A OUTPUT -p tcp --sport 587 -j ACCEPT
 

Y acabo de darme cuenta que has cometido el mismo error en otras reglas: 
POP3, IMAP, SMTP...

Ademas, para WEB, POP3, IMAP y SMTP no te hacen falta las reglas OUTPUT 
gracias a primera regla iptables -A OUTPUT -p ALL  -m state --state 
ESTABLISHED,RELATED que permite toda conexión de salida que que 
previamente haya sido 

Re: [CentOS-es] IPTables, DNS y postfix

2012-06-22 Thread AraDaen
Muchas gracias Francesc!

Ya funciona perfectamente con el cambio del puerto en las reglas
(destino/origen).

Pero he comprado que si omito las reglas de salida dando por hecho que
con la primera regla de las conexiones establecidas, se permitirá la
salida, las conexiones se siguen bloqueando y obtengo un bonito
Connection timed out:

Jun 22 15:08:32 server postfix/smtp[20057]: 13751542940F:
to=arad...@hotmail.com, relay=none, delay=151, delays=0.39/0.05/150/0,
dsn=4.4.1, status=deferred (connect to mx3.hotmail.com[65.55.92.184]:25:
Connection timed out)
Jun 22 15:08:32 server postfix/smtp[20056]: connect to
alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
Jun 22 15:08:32 server postfix/smtp[20056]: 13751542940F:
to=arad...@gmail.com, relay=none, delay=151, delays=0.39/0.04/150/0,
dsn=4.4.1, status=deferred (connect to
alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out)

Las he agregado de nuevo y funciona correctamente.

On 06/22/2012 12:48 PM, Guitart Francesc wrote:
 Primero perdón por no responder desde el mensaje original. Hace tiempo 
 que había desactivado los mensajes de la lista, hoy los he vuelto a 
 activar y he visto este mensaje en el archivo de la lista.


 AraDaen aradaen en gmail.com
 Jue Jun 21 19:17:45 EDT 2012

  Hola,
  He instalado un servidor con Centos 6.2 para alojar varias webs que
  tengo, para lo que, entre otras cosas tengo bind configurado como
  servidor DNS y postfix con dovecot para el servicio de correo (pop3,
  pop3s, imap, imaps, smtp+tls).
  El sistema funciona perfectamente,sin habilitar iptables, pero cuando lo
  habilito,  los correos que envío a dominios que no están alojados en mi
  servidor (gmail por ejemplo). Deduzco que se trata de la reglas para DNS
  cuando pregunta a otro servidor DNS, o de otra cosa que se me escapa.
  
  Este es el log de mail:
   Jun 21 13:48:45 server postfix/smtp[13917]: connect to
  mx3.hotmail.com[65.54.188.94]:25: Connection timed out
   Jun 21 13:48:45 server postfix/smtp[13918]: connect to
  mx1.hotmail.com[65.55.37.72]:25: Connection timed out
   Jun 21 13:49:15 server postfix/smtp[13917]: connect to
  mx2.hotmail.com[65.54.188.72]:25: Connection timed out
   Jun 21 13:49:15 server postfix/smtp[13918]: connect to
  mx2.hotmail.com[65.54.188.110]:25: Connection timed out
   Jun 21 13:49:45 server postfix/smtp[13917]: connect to
  mx3.hotmail.com[65.54.188.110]:25: Connection timed out
   Jun 21 13:49:45 server postfix/smtp[13918]: connect to
  mx2.hotmail.com[65.54.188.126]:25: Connection timed out
   Jun 21 13:50:15 server postfix/smtp[13917]: connect to
  mx2.hotmail.com[65.55.37.104]:25: Connection timed out
   Jun 21 13:50:15 server postfix/smtp[13917]: 8E2F954286D5:
  to=aradaen en hotmail.com, relay=none, delay=62560,
  delays=62410/0.11/150/0, dsn=4.4.1, status=deferred (connect to
  mx2.hotmail.com[65.55.37.104]:25: Connection timed out)
  
  Cualquier ayuda, será bienvenida.
  La política por defecto en iptables es DROP, y este es el script de
  iptables:
  
  
   #!/bin/sh
  
   iptables -F
   iptables -X
   iptables -Z
   iptables -t nat -F
  
   echo Política por defecto DROP
   iptables -P INPUT DROP
   iptables -P FORWARD DROP
   iptables -P OUTPUT DROP
  
   #Conexiones Locales
   echo Habilitando acceso:
   echo - Conexiones locales
   iptables -A INPUT -i lo -j ACCEPT
   iptables -A OUTPUT -o lo -j ACCEPT
  
   #DNS
   echo - DNS (53)
iptables -A OUTPUT -p ALL  -m state --state ESTABLISHED,RELATED
  -j ACCEPT
   iptables -A OUTPUT -p tcp -d 0.0.0.0/0  --destination-port 53 -m state
  --state NEW  -j ACCEPT
   iptables -A OUTPUT -p udp -d 0.0.0.0/0  --destination-port 53 -j ACCEPT
  
   iptables -A INPUT -p ALL  -m state --state ESTABLISHED,RELATED  -j
  ACCEPT
   iptables -A INPUT -p tcp -s 0.0.0.0/0 --destination-port 53 -m state
  --state NEW -j ACCEPT
   iptables -A INPUT -p udp -s 0.0.0.0/0 --destination-port 53 -j ACCEPT
  
   #YUM
   echo - YUM
   # iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
   # iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
  
   iptables -A OUTPUT -p tcp -m tcp -m state --state NEW --dport 80 -j 
 ACCEPT
   iptables -A OUTPUT -p tcp -m tcp -m state --state NEW --dport 443 -j 
 ACCEPT
  
   #WEB
   echo - WEB (80)
   iptables -A INPUT -p tcp --dport 80 -j ACCEPT
   iptables -A OUTPUT -p tcp --sport 80 -j ACCEPT
   iptables -A INPUT -p tcp --dport 443 -j ACCEPT
   iptables -A OUTPUT -p tcp --sport 443 -j ACCEPT
  
   #SSH
   echo - SSH (2233)
   iptables -A INPUT -p tcp --dport 2233 -j ACCEPT
   iptables -A OUTPUT -p tcp --sport 2233 -j ACCEPT
  
  
   # CORREO
   echo - MAIL;
   echo- POP3,POP3S (110,995)
   iptables -A INPUT -p tcp --dport 110 -j ACCEPT
   iptables -A OUTPUT -p tcp --sport 110 -j ACCEPT
   iptables -A INPUT -p tcp --dport 995 -j ACCEPT
   iptables -A OUTPUT -p tcp --sport 995 -j ACCEPT
  
   echo- IMAP,IMAPS (143,993)
   iptables -A INPUT -p tcp --dport 143 -j ACCEPT
   

Re: [CentOS-es] IPTables, DNS y postfix

2012-06-22 Thread Guitart Francesc
Le 22/06/2012 13:21, AraDaen a écrit :
 Muchas gracias Francesc!

 Ya funciona perfectamente con el cambio del puerto en las reglas
 (destino/origen).

 Pero he comprado que si omito las reglas de salida dando por hecho que
 con la primera regla de las conexiones establecidas, se permitirá la
 salida, las conexiones se siguen bloqueando y obtengo un bonito
 Connection timed out:

 Jun 22 15:08:32 server postfix/smtp[20057]: 13751542940F:
 to=arad...@hotmail.com, relay=none, delay=151, delays=0.39/0.05/150/0,
 dsn=4.4.1, status=deferred (connect to mx3.hotmail.com[65.55.92.184]:25:
 Connection timed out)
 Jun 22 15:08:32 server postfix/smtp[20056]: connect to
 alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
 Jun 22 15:08:32 server postfix/smtp[20056]: 13751542940F:
 to=arad...@gmail.com, relay=none, delay=151, delays=0.39/0.04/150/0,
 dsn=4.4.1, status=deferred (connect to
 alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out)

 Las he agregado de nuevo y funciona correctamente.

Perdón por la equivocación.

Las reglas OUTPUT que puedes obviar son las de los apartados WEB, POP3 e 
IMAP. Tu servidor debe poder iniciar conexiones al puerto 25 de otros 
servidores de correo o sea que efectivamente no basta con una regla que 
permita las conexiones anteriormente establecidas por un cliente, ya que 
en este caso el cliente es tu servidor.

En cambio, tu servidor nunca iniciará una conexión WEB, POP3 o IMAP 
hacia un cliente. Es siempre el cliente quien hace la primera solicitud 
y a partir de ese momento esta autorizado el camino de regreso (del 
servidor al cliente) gracias a la regla ESTABLISHED y RELATED.

Espero haberme explicado.


-- 
Francesc Guitart
Service CRI
ENISE


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


Re: [CentOS-es] IPTables, DNS y postfix

2012-06-22 Thread AraDaen
On 06/22/2012 02:24 PM, Guitart Francesc wrote:
 Le 22/06/2012 13:21, AraDaen a écrit :
 Muchas gracias Francesc!

 Ya funciona perfectamente con el cambio del puerto en las reglas
 (destino/origen).

 Pero he comprado que si omito las reglas de salida dando por hecho que
 con la primera regla de las conexiones establecidas, se permitirá la
 salida, las conexiones se siguen bloqueando y obtengo un bonito
 Connection timed out:

 Jun 22 15:08:32 server postfix/smtp[20057]: 13751542940F:
 to=arad...@hotmail.com, relay=none, delay=151, delays=0.39/0.05/150/0,
 dsn=4.4.1, status=deferred (connect to mx3.hotmail.com[65.55.92.184]:25:
 Connection timed out)
 Jun 22 15:08:32 server postfix/smtp[20056]: connect to
 alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
 Jun 22 15:08:32 server postfix/smtp[20056]: 13751542940F:
 to=arad...@gmail.com, relay=none, delay=151, delays=0.39/0.04/150/0,
 dsn=4.4.1, status=deferred (connect to
 alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out)

 Las he agregado de nuevo y funciona correctamente.
 Perdón por la equivocación.

 Las reglas OUTPUT que puedes obviar son las de los apartados WEB, POP3 e 
 IMAP. Tu servidor debe poder iniciar conexiones al puerto 25 de otros 
 servidores de correo o sea que efectivamente no basta con una regla que 
 permita las conexiones anteriormente establecidas por un cliente, ya que 
 en este caso el cliente es tu servidor.

 En cambio, tu servidor nunca iniciará una conexión WEB, POP3 o IMAP 
 hacia un cliente. Es siempre el cliente quien hace la primera solicitud 
 y a partir de ese momento esta autorizado el camino de regreso (del 
 servidor al cliente) gracias a la regla ESTABLISHED y RELATED.

 Espero haberme explicado.


Perfectamente.
Muchas gracias!!



-- 
www.aradaen.com - AraDaen sysadmin notes

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


Re: [CentOS-es] Problemas para instalar el programa Gaussian

2012-06-22 Thread Carlos Restrepo
El 21 de junio de 2012 10:15, Luciano Andrés Chiarotto 
lachiaro...@gmail.com escribió:

 Hola Carlos.

 Gracias por tu respuesta.

 La página que vos me recomendas no encuentro el paquete perl-params-utils2.

 También lo busqué en yum search perl-params-utils2  # y no aparece.

 Estoy cometiendo algún error ?

 Nuevamente agradezco por tu respuesta y te mando un gran abrazo.

 Luciano

 El 19 de junio de 2012 17:14, Carlos Restrepo restrcar...@gmail.com
 escribió:

  El 19 de junio de 2012 14:02, Luciano Andrés Chiarotto 
  lachiaro...@gmail.com escribió:
 
   Hola a todos.
  
   Tengo un problema para instalar el programa Gaussian 03
  
   Los pasos que realizo son los siguiente.
  
   Viene un archivo que viene comprimido g03.tar.gz, lo descomprimo en la
   siguiente ruta /opt/ y creo un directorio llamado g03.
  
   Cambio los permisos de Grupo ... chown -R root:users g03
   Luego, doy todos los permisos chmod 777 g03
  
   Ejecuto script para que funcione el programa y calcule
   # ! /bin/sh
   source /opt/g03/bsd/g03.profile
   /opt/g03/g03 /tmp/ygg-IPCM-01.gjf
  
   Y me muestra este mensaje de error...
  
   /opt/g03/g03: error while loading shared libraries: util.so: cannot
 open
   shared object file: No such file or directory
  
   Lo que hice fue agregar en el archivo /etc/profile las siguiente
 líneas.
  
   export PATH=$PATH:/opt/g03
  
   LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/g03
  
   export LD_LIBRARY_PATH
  
   Pero sigue mostrando el mismo mensaje de error.
  
   /opt/g03/g03: error while loading shared libraries: util.so: cannot
 open
   shared object file: No such file or directory
  
   El Centos que tengo instalado es ...CentOS 6.2 --- Linux
   3.4.2-1.el6.elrepo.x86_64
  
   Desde ya muchas gracias y si alguien lo tiene instalado les voy
 agradecer
   por su respuesta.
  
   Saludos Luciano
   ___
   CentOS-es mailing list
   CentOS-es@centos.org
   http://lists.centos.org/mailman/listinfo/centos-es
  
 
  Cordial saludo.
 
 
  Luciano, debes instalar el paquete que contenga la librería que te esta
  haciendo falta para que puedas terminar la instalación del producto.
 
  Buscando en rpm.pbone.net encontre que para centos 6 el paquete
  perl-params-utils2 contiene la librería que necesitas.
 
 
  Saludos.
 
 
 
  Carlos R!.
  ___
  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



Luciano, mis disculpas por no explicarte bien como es la vuelta:

1. La pagina que te di te permite ademas de descargar paquetes (cuando
CentOS no los trae en sus repos por default), el saber que paquete tiene la
libereria que te hace falta. (es por esa razon que te di el link).

2. la liberia que te falta de acuerdo al error que pegaste en el correo es:
util.so, para ubicarla entras al siguiente link:

http://rpm.pbone.net/index.php3/stat/2/simple/2

en la caja de dialogo le escribes: util.so (este dato lo vi en tu correo,
alli dice que le hace falta esta liberia)  y seleccionas CentOS 6 para que
solo busque alli. Te aparecera la lista de los paquetes que contienen esa
libreria que le falta al producto que deseas instalar.

 debes visualizar algo como esto:

Search results for *util.so* :
  Other  ftp.icm.edu.pl/site/CPAN/authors/id/G/GR/GRAHAMC/
SiePerl-5.8.0-bin-1.0-Linux2.2.14.INSTALL.i386.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/230805/dir/other/com/SiePerl-5.8.0-bin-1.0-Linux2.2.14.INSTALL.i386.rpm.html
RedHat EL 5  apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/
perl-Taint-Util-0.08-1.el5.rf.x86_64.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/16441049/dir/redhat_el_5/com/perl-Taint-Util-0.08-1.el5.rf.x86_64.rpm.html
RedHat EL 5  dag.wieers.com/redhat/el5/en/x86_64/dag/RPMS/
perl-Taint-Util-0.08-1.el5.rf.x86_64.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/16382472/dir/redhat_el_5/com/perl-Taint-Util-0.08-1.el5.rf.x86_64.rpm.html
RedHat EL 5  apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/
perl-Taint-Util-0.08-1.el5.rf.i386.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/16437269/dir/redhat_el_5/com/perl-Taint-Util-0.08-1.el5.rf.i386.rpm.html
RedHat EL 5  dag.wieers.com/redhat/el5/en/i386/dag/RPMS/
perl-Taint-Util-0.08-1.el5.rf.i386.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/16367394/dir/redhat_el_5/com/perl-Taint-Util-0.08-1.el5.rf.i386.rpm.html
RedHat EL 5  apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/
perl-Scalar-List-Utils-1.22-1.el5.rf.x86_64.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/16441014/dir/redhat_el_5/com/perl-Scalar-List-Utils-1.22-1.el5.rf.x86_64.rpm.html
RedHat EL 5  dag.wieers.com/redhat/el5/en/x86_64/dag/RPMS/
perl-Scalar-List-Utils-1.22-1.el5.rf.x86_64.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/16382274/dir/redhat_el_5/com/perl-Scalar-List-Utils-1.22-1.el5.rf.x86_64.rpm.html
RedHat 

[CentOS-es] Instalar y Configurar JDK en centos 6.2

2012-06-22 Thread Pablo Juca
Que tal estimados

Les molesto por una cuestión, tengo un server con centos 6.2, se le
configuró para servidor web, pero tenemos una aplicación hecha en java, lo
que me esta demorando por la instalación del JDK, me pueden ayudar
indicando como debo configurarlo en el server, se lo agradezco.



-- 
Saludos Cordiales,


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


Re: [CentOS-es] Instalar y Configurar JDK en centos 6.2

2012-06-22 Thread Juan Pablo Botero
Dale yum search openjdk, allí revisas los paquetes que necesitas.

El 22 de junio de 2012 08:11, Pablo Juca psj...@gmail.com escribió:

 Que tal estimados

 Les molesto por una cuestión, tengo un server con centos 6.2, se le
 configuró para servidor web, pero tenemos una aplicación hecha en java, lo
 que me esta demorando por la instalación del JDK, me pueden ayudar
 indicando como debo configurarlo en el server, se lo agradezco.



 --
 Saludos Cordiales,


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




-- 
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.net
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Instalar y Configurar JDK en centos 6.2

2012-06-22 Thread Richard Riveros Pineda
Juan Pablo, yo no he probado openjdk, pero si en varias oportunidades he 
trabajado con la distribucion de Sun/Oracle para Linux, funcioina perfectamente.

En la doc. de instalacion le dice como configurar las variables de entorno que 
necesite (JAVA_HOME, CLASSPATH) Y las que ud. necesite para su aplicacion en 
particular. Si le da algun problema me comenta que de mañana al domingo voy a 
intalar un CEntos Completo.

Saludos
 
Richard Riveros Pineda



 De: Juan Pablo Botero juanpabloboterolo...@gmail.com
Para: centos-es@centos.org 
Enviado: Viernes, 22 de junio, 2012 11:03 A.M.
Asunto: Re: [CentOS-es] Instalar y Configurar JDK en centos 6.2
 
Dale yum search openjdk, allí revisas los paquetes que necesitas.

El 22 de junio de 2012 08:11, Pablo Juca psj...@gmail.com escribió:

 Que tal estimados

 Les molesto por una cuestión, tengo un server con centos 6.2, se le
 configuró para servidor web, pero tenemos una aplicación hecha en java, lo
 que me esta demorando por la instalación del JDK, me pueden ayudar
 indicando como debo configurarlo en el server, se lo agradezco.



 --
 Saludos Cordiales,


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




-- 
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.net
___
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] Instalar y Configurar JDK en centos 6.2

2012-06-22 Thread AraDaen


On 06/22/2012 03:11 PM, Pablo Juca wrote:
 Que tal estimados

 Les molesto por una cuestión, tengo un server con centos 6.2, se le
 configuró para servidor web, pero tenemos una aplicación hecha en java, lo
 que me esta demorando por la instalación del JDK, me pueden ayudar
 indicando como debo configurarlo en el server, se lo agradezco.




Igual esto puede ayudarte
http://www.aradaen.com/sysadmin/howto-instalacion-de-oracle-java-7-en-centos-y-fedora/

un saludo

-- 
www.aradaen.com - AraDaen sysadmin notes

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


Re: [CentOS-es] Instalar y Configurar JDK en centos 6.2

2012-06-22 Thread Carlos Restrepo
El 22 de junio de 2012 12:34, AraDaen arad...@gmail.com escribió:



 On 06/22/2012 03:11 PM, Pablo Juca wrote:
  Que tal estimados
 
  Les molesto por una cuestión, tengo un server con centos 6.2, se le
  configuró para servidor web, pero tenemos una aplicación hecha en java,
 lo
  que me esta demorando por la instalación del JDK, me pueden ayudar
  indicando como debo configurarlo en el server, se lo agradezco.
 
 
 

 Igual esto puede ayudarte

 http://www.aradaen.com/sysadmin/howto-instalacion-de-oracle-java-7-en-centos-y-fedora/

 un saludo

 --
 www.aradaen.com - AraDaen sysadmin notes

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




ejecuta: yum search jdk, e instala los siguientes paquetes (si tu
arquitectura es de 64 bits, en caso contrario los de 32):

-  java-1.6.0-openjdk.x86_64
-  java-1.6.0-openjdk-devel.x86_64

Funciona perfecto en CentOS 6.2


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


[CentOS] 'yum update' rollback or .. ?

2012-06-22 Thread przemolicc
Hello,

we have several physical servers (CentOS 5.*) with rather critical applications 
where (because of stability)
we don't do regularly 'yum update'. In virtualized environemnts (under Vmware)
we do a snapshot, then 'yum update', reboot and if something is wrong we 
rollback the snapshot.
On physical servers we cannot do that. I have read about rollback option of rpm 
but not sure if
this is reliable solution. What is your best practise regarding rollbacking 
'yum update' on
physical servers ?


Regards
Przemyslaw Bak (przemol)


















































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


Re: [CentOS] 'yum update' rollback or .. ?

2012-06-22 Thread Theo Band
On 06/22/2012 09:42 AM, przemol...@poczta.fm wrote:
 Hello,

 we have several physical servers (CentOS 5.*) with rather critical 
 applications where (because of stability)
 we don't do regularly 'yum update'. In virtualized environemnts (under Vmware)
 we do a snapshot, then 'yum update', reboot and if something is wrong we 
 rollback the snapshot.
 On physical servers we cannot do that. I have read about rollback option of 
 rpm but not sure if
 this is reliable solution. What is your best practise regarding rollbacking 
 'yum update' on
 physical servers ?

One solution would be to use lvm snapshots. Create a snapshot of the
root volume (lvcreate -s VolGroup00/LogVol00 -n rootsnapshot -L 10G), do
an update and see if it works. If not, boot into rescue mode and copy
the content from the snapshot back to the original.
Make sure the snapshot gets the same size as the original volume. This
is important if you want to copy back all the data.

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


Re: [CentOS] 'yum update' rollback or .. ?

2012-06-22 Thread Nikolaos Milas
On 22/6/2012 2:06 μμ, Theo Band wrote:

 What is your best practise regarding rollbacking 'yum update' on
 physical servers ?


Assuming that you have problems due to a particular newly-installed 
package, you can downgrade:

rpm -Uvh --oldpackage package-2.4.0-1.el5.x86_64.rpm

or:

yum downgrade package (if it is in the repo)

Since problems are usually introduced by a particular package (and not 
by all), this might be enough in most cases.

Note, however, that dependencies are not resolved automatically with the 
above commands, so they must be handled manually.

Another, more complete solution, of course, would be to have a full 
system backup (regardless whether the system is physical or virtual) and 
in case things go wrong, restore from backup (always a bit risky, I know 
- it makes you feel uneasy). We use mondorescue without problems (see: 
http://www.mondorescue.org/). I have been able to even use the backup to 
restore a KVM guest (using LVM) under VMware (you may see 
http://mondorescue-mailing-list.679749.n3.nabble.com/Mondo-devel-Restore-from-within-a-new-host-without-boot-td2251272.html).

Or - if feasible - you can attempt to virtualize your physical server, 
either using mondorescue or VMware converter (or other commercial tools) 
and be ready to use the virtual machine instead.

I am interested on other solutions too, so your thread is interesting!

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


[CentOS] SATA errors in log

2012-06-22 Thread Steve Brooks

Hi,

I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The 
kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

  Marvell Technology Group Ltd. 88SE9123

I use it to provide extra SATA ports to a raid system.

The HD's are all WD2003FYYS and so run at 3Gbps on the 6Gbps controller.

However I am seeing lots of instances of errors like this

-

Jun 22 03:13:23 viz1 kernel: ata13.00: exception Emask 0x10 SAct 0x4 SErr 
0x40 action 0x6 frozen
Jun 22 03:13:23 viz1 kernel: ata13.00: irq_stat 0x0800, interface 
fatal error
Jun 22 03:13:23 viz1 kernel: ata13: SError: { Handshk }
Jun 22 03:13:23 viz1 kernel: ata13.00: failed command: WRITE FPDMA QUEUED
Jun 22 03:13:23 viz1 kernel: ata13.00: cmd 
61/e8:10:98:05:1b/01:00:66:00:00/40 tag 2 ncq 249856 out
Jun 22 03:13:23 viz1 kernel: ata13.00: status: { DRDY }
Jun 22 03:13:23 viz1 kernel: ata13: hard resetting link
Jun 22 03:13:24 viz1 kernel: ata13: SATA link up 3.0 Gbps (SStatus 123 
SControl 330)
Jun 22 03:13:24 viz1 kernel: ata13.00: configured for UDMA/133
Jun 22 03:13:24 viz1 kernel: ata13: EH complete

---

Vendor ID : 1b4b
Device ID : 9123

I tried to see what drivers were currently being used but the command 
below gave nothing

grep -i 1b4b /lib/modules/*/modules.alias | grep -i 9123

I have changed the card and cables but still get the same errors. I am 
wondering if the el6 kernel is using the correct drivers I checked 
elrepo against the Vendor:Device ID pairing and it also came up blank.

Any ideas would be much appreciated.

Regards,

Steve

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread Steve Brooks
On Fri, 22 Jun 2012, Reindl Harald wrote:



 Am 22.06.2012 13:58, schrieb Steve Brooks:
 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 I use it to provide extra SATA ports to a raid system.
 The HD's are all WD2003FYYS and so run at 3Gbps on the 6Gbps controller.
 However I am seeing lots of instances of errors like this

 -

 Jun 22 03:13:23 viz1 kernel: ata13.00: exception Emask 0x10 SAct 0x4 SErr
 0x40 action 0x6 frozen
 Jun 22 03:13:23 viz1 kernel: ata13.00: irq_stat 0x0800, interface
 fatal error
 Jun 22 03:13:23 viz1 kernel: ata13: SError: { Handshk }
 Jun 22 03:13:23 viz1 kernel: ata13.00: failed command: WRITE FPDMA QUEUED
 Jun 22 03:13:23 viz1 kernel: ata13.00: cmd
 61/e8:10:98:05:1b/01:00:66:00:00/40 tag 2 ncq 249856 out
 Jun 22 03:13:23 viz1 kernel: ata13.00: status: { DRDY }
 Jun 22 03:13:23 viz1 kernel: ata13: hard resetting link
 Jun 22 03:13:24 viz1 kernel: ata13: SATA link up 3.0 Gbps (SStatus 123
 SControl 330)
 Jun 22 03:13:24 viz1 kernel: ata13.00: configured for UDMA/133
 Jun 22 03:13:24 viz1 kernel: ata13: EH complete

 ---

 Vendor ID : 1b4b
 Device ID : 9123

 I tried to see what drivers were currently being used but the command
 below gave nothing


 why do you care for drivers?

 this looks like dying hard-drives are always looking in syslog

Hi Reindl,

I should have mentioned I swapped out the hard-drive and same errors on 
new drive. I checked the SMART attributes of the drive and nothing 
untoward, also executed the

smartctl -long 

test wich came back error free.

Steve


-- 
Dr Stephen Brooks

http://www-solar.mcs.st-and.ac.uk/
Solar MHD Theory Group
Tel::  01334 463735
Fax::  01334 463748
E-mail :: ste...@mcs.st-andrews.ac.uk
---
Mathematical Institute
North Haugh
University of St. Andrews
St Andrews, Fife KY16 9SS
SCOTLAND
---

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


Re: [CentOS] 'yum update' rollback or .. ?

2012-06-22 Thread Theo Band
On 06/22/2012 01:58 PM, Nikolaos Milas wrote:
 I am interested on other solutions too, so your thread is interesting!
dump

Assuming some form of ext[n] filesystem is being used. It has the
advantage that is also works with incremental backups. You can dump the
root file system and perhaps also the /boot filesystem.
Instead of the root filesystem, I dump a snaphost that is created each
evening. The snapshot has a frozen filesystem. So databases (mysql)
should just be consistent. If you want to be 100% sure, stop the
database, make a snapshot and start the database again. This is done
within one second, so hardly any impact on the live server.
Disadvantage of this method is that you still need the have a partition
table if you need to fully restore. And LVM and boot sector need to be
recreated. In case of disaster recovery you need this documented
properly (try it out at least once).
Advantage is that you can have daily system backups automatically created.

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


[CentOS] Cannot See Login Screen Anymore !!

2012-06-22 Thread Shiv. Nath
Hi CentOS community Friends,

It is CentOS 6.2 x86_64 machine, i have upgraded few packages using yum 
-y update, after the reboot machine does not show login screen, i have 
allowed enough time to show the screen that are about 2 hours. booting 
process does complete, it just hangs when it is about to show the 
screen. i tried to check by doing ssh for warring/error logs. nothing 
serious was there. but when i did the ssh to the server then i saw the 
following error. Prior to the upgrade machine was just okay.. )

MacBook-Pro:~ prabhpal$ ssh -l mike 41.211.25.233
mailer@41.211.25.233's password:
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied

Thanks / Nath

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


Re: [CentOS] reinventing the wheel? page checker

2012-06-22 Thread m . roth
Bob Hoffman wrote:
 On 6/21/2012 12:44 PM, Keith Roberts wrote:
 On Thu, 21 Jun 2012, Bob Hoffman wrote:
 From: Bob Hoffmanb...@bobhoffman.com

 Not sure if there is an app like this yet.
 I want to keep tabs on my web applications and thought of using a 'page
 checker'/
 *snip*

 Anything out there like that?
 http://www.changedetection.com/
snip
As I said originally, you might want to check out rkhunter. It'll check
your system for rootkits, and once configured - which isn't a big deal,
just a configuration file - will complain when run if something's changed.
You can tell it to look at your web pages.

Another thing to consider (and I really, really don't enjoy suggesting
it), is selinux. Turn it on to at least permissive, and it'll bitch and
moan if something's changed. Turn it to enforcing, and *nothing* will be
allowed to be changed. It is, however, a royal pain to configure, esp.
when you want to be able to allow a directory for users to put pics.

   mark


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


Re: [CentOS] SATA errors in log

2012-06-22 Thread m . roth
Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 I use it to provide extra SATA ports to a raid system.
 The HD's are all WD2003FYYS and so run at 3Gbps on the 6Gbps controller.
 However I am seeing lots of instances of errors like this

 -

 Jun 22 03:13:23 viz1 kernel: ata13.00: exception Emask 0x10 SAct 0x4 SErr
 0x40 action 0x6 frozen
 Jun 22 03:13:23 viz1 kernel: ata13.00: irq_stat 0x0800, interface
 fatal error
 Jun 22 03:13:23 viz1 kernel: ata13: SError: { Handshk }
 Jun 22 03:13:23 viz1 kernel: ata13.00: failed command: WRITE FPDMA QUEUED
 Jun 22 03:13:23 viz1 kernel: ata13.00: cmd
 61/e8:10:98:05:1b/01:00:66:00:00/40 tag 2 ncq 249856 out
 Jun 22 03:13:23 viz1 kernel: ata13.00: status: { DRDY }
 Jun 22 03:13:23 viz1 kernel: ata13: hard resetting link
snip
Crap. First question: what make  model are the drives on it? If they're
Caviar Green, you're hosed. WD, and *maybe* Seagate as well, disabled a
certain function you used to be able to set on the lower cost,
consumer-grade models (in '09, I believe), and so when a server controller
is trying to do i/o, and has a problem, in server-grade drives, it gives
up after something like 6 sec, and does error handling, I *think* to other
sectors. The consumer ones, on the other hand, keep trying for 1? 2?
*minutes*; the disabled function allowed a used to tell it to give up in a
shorter time. Meanwhile, a hardware controller will, as I said, have fits.

mark you'd think I just spent months dealing with this

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread Steve Brooks
On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 I use it to provide extra SATA ports to a raid system.
 The HD's are all WD2003FYYS and so run at 3Gbps on the 6Gbps controller.
 However I am seeing lots of instances of errors like this

 -

 Jun 22 03:13:23 viz1 kernel: ata13.00: exception Emask 0x10 SAct 0x4 SErr
 0x40 action 0x6 frozen
 Jun 22 03:13:23 viz1 kernel: ata13.00: irq_stat 0x0800, interface
 fatal error
 Jun 22 03:13:23 viz1 kernel: ata13: SError: { Handshk }
 Jun 22 03:13:23 viz1 kernel: ata13.00: failed command: WRITE FPDMA QUEUED
 Jun 22 03:13:23 viz1 kernel: ata13.00: cmd
 61/e8:10:98:05:1b/01:00:66:00:00/40 tag 2 ncq 249856 out
 Jun 22 03:13:23 viz1 kernel: ata13.00: status: { DRDY }
 Jun 22 03:13:23 viz1 kernel: ata13: hard resetting link
 snip
 Crap. First question: what make  model are the drives on it? If they're
 Caviar Green, you're hosed. WD, and *maybe* Seagate as well, disabled a
 certain function you used to be able to set on the lower cost,
 consumer-grade models (in '09, I believe), and so when a server controller
 is trying to do i/o, and has a problem, in server-grade drives, it gives
 up after something like 6 sec, and does error handling, I *think* to other
 sectors. The consumer ones, on the other hand, keep trying for 1? 2?
 *minutes*; the disabled function allowed a used to tell it to give up in a
 shorter time. Meanwhile, a hardware controller will, as I said, have fits.

mark you'd think I just spent months dealing with this


As mentioned in the original post the drives are all WD2003FYYS. I am 
convinced it has nothing to do with TLER enabled on the WD drives as we 
run hundreds of them using linux mdadm raid on motherboard SATA 
controllers with no problems in the last eight or so years. This appears 
to be specific to the SATA PCIe 6Gbps 4 port controller card made by 
Startech. There are four other HD's (WD2003FYYS) in the machine running on 
an onboard Intel Corporation Patsburg 6-Port SATA AHCI Controller with 
no problems.

Steve

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread m . roth
Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 I use it to provide extra SATA ports to a raid system.
 The HD's are all WD2003FYYS and so run at 3Gbps on the 6Gbps
 controller. However I am seeing lots of instances of errors like this

 Jun 22 03:13:23 viz1 kernel: ata13.00: exception Emask 0x10 SAct 0x4
 SErr
 0x40 action 0x6 frozen
 Jun 22 03:13:23 viz1 kernel: ata13.00: irq_stat 0x0800, interface
 fatal error
 Jun 22 03:13:23 viz1 kernel: ata13: SError: { Handshk }
 Jun 22 03:13:23 viz1 kernel: ata13.00: failed command: WRITE FPDMA
 QUEUED
 Jun 22 03:13:23 viz1 kernel: ata13.00: cmd
 61/e8:10:98:05:1b/01:00:66:00:00/40 tag 2 ncq 249856 out
 Jun 22 03:13:23 viz1 kernel: ata13.00: status: { DRDY }
 Jun 22 03:13:23 viz1 kernel: ata13: hard resetting link
 snip
 Crap. First question: what make  model are the drives on it? If they're
 Caviar Green, you're hosed. WD, and *maybe* Seagate as well, disabled a
 certain function you used to be able to set on the lower cost,
 consumer-grade models (in '09, I believe), and so when a server
 controller is trying to do i/o, and has a problem, in server-grade drives,
  it gives up after something like 6 sec, and does error handling, I *
 think* to other sectors. The consumer ones, on the other hand, keep trying
 for 1? 2? *minutes*; the disabled function allowed a used to tell it to
 give up in a shorter time. Meanwhile, a hardware controller will, as I
said,
 have fits.

mark you'd think I just spent months dealing with this


 As mentioned in the original post the drives are all WD2003FYYS. I am

Missed the original post; sorry.

 convinced it has nothing to do with TLER enabled on the WD drives as we

Thanks, that was the acronym I was trying to remember.

 run hundreds of them using linux mdadm raid on motherboard SATA
 controllers with no problems in the last eight or so years. This appears
 to be specific to the SATA PCIe 6Gbps 4 port controller card made by
 Startech. There are four other HD's (WD2003FYYS) in the machine running on
 an onboard Intel Corporation Patsburg 6-Port SATA AHCI Controller with
 no problems.

I also see those are enterprise drives, not consumer grade, which
implies that they ought to work. It still looks to me as though it's
timing out, which I'd think is a function of the RAID card. You might see
if it has any firmware configuration options.

   mark

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread Steve Brooks
On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 I use it to provide extra SATA ports to a raid system.
 The HD's are all WD2003FYYS and so run at 3Gbps on the 6Gbps
 controller. However I am seeing lots of instances of errors like this

 Jun 22 03:13:23 viz1 kernel: ata13.00: exception Emask 0x10 SAct 0x4
 SErr
 0x40 action 0x6 frozen
 Jun 22 03:13:23 viz1 kernel: ata13.00: irq_stat 0x0800, interface
 fatal error
 Jun 22 03:13:23 viz1 kernel: ata13: SError: { Handshk }
 Jun 22 03:13:23 viz1 kernel: ata13.00: failed command: WRITE FPDMA
 QUEUED
 Jun 22 03:13:23 viz1 kernel: ata13.00: cmd
 61/e8:10:98:05:1b/01:00:66:00:00/40 tag 2 ncq 249856 out
 Jun 22 03:13:23 viz1 kernel: ata13.00: status: { DRDY }
 Jun 22 03:13:23 viz1 kernel: ata13: hard resetting link
 snip
 Crap. First question: what make  model are the drives on it? If they're
 Caviar Green, you're hosed. WD, and *maybe* Seagate as well, disabled a
 certain function you used to be able to set on the lower cost,
 consumer-grade models (in '09, I believe), and so when a server
 controller is trying to do i/o, and has a problem, in server-grade drives,
  it gives up after something like 6 sec, and does error handling, I *
 think* to other sectors. The consumer ones, on the other hand, keep trying
 for 1? 2? *minutes*; the disabled function allowed a used to tell it to
 give up in a shorter time. Meanwhile, a hardware controller will, as I
 said,
 have fits.

mark you'd think I just spent months dealing with this


 As mentioned in the original post the drives are all WD2003FYYS. I am

 Missed the original post; sorry.

 convinced it has nothing to do with TLER enabled on the WD drives as we

 Thanks, that was the acronym I was trying to remember.

 run hundreds of them using linux mdadm raid on motherboard SATA
 controllers with no problems in the last eight or so years. This appears
 to be specific to the SATA PCIe 6Gbps 4 port controller card made by
 Startech. There are four other HD's (WD2003FYYS) in the machine running on
 an onboard Intel Corporation Patsburg 6-Port SATA AHCI Controller with
 no problems.

 I also see those are enterprise drives, not consumer grade, which
 implies that they ought to work. It still looks to me as though it's
 timing out, which I'd think is a function of the RAID card. You might see
 if it has any firmware configuration options.


Thanks for the reply, the card is purely JBOD no RAID or other 
configuration available. It simply posts the SATA devices attached to the 
OS. I am wondering if it could be a strange symptom of running SATA3 
drives on this particular SATA6 controller but that is just a stab in the 
dark.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] converting .doc to html

2012-06-22 Thread m . roth
Anyone got a preferred program or package for this? I'd like a *good* one,
and Word or OO.o's save as html in no way qualifies as other than amateur
crap.

So far, with a little googling, I've found the wv package. wvHtml works,
but I don't like the output - it insists on div, and on rhquo instead
of plain, simple .

mark what, ask for an opinion in this shy, diffident group?

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread m . roth
Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

Is this your card?

http://www.startech.com/Cards-Adapters/HDD-Controllers/SATA-Cards/4-Port-PCI-Express-SATA-III-6Gbps-Controller-Card-with-eSATA-PCIe-4-Line~PEXSAT34

   mark

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread Steve Brooks
On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 Is this your card?


Hi Mark,

Yes that is the very card, the page says the chipset is Marvell 88SE9128 
but lspci shows

Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller

Steve

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread Steve Brooks
On Fri, 22 Jun 2012, Steve Brooks wrote:

 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech. The
 kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 Is this your card?


 Hi Mark,

 Yes that is the very card, the page says the chipset is Marvell 88SE9128
 but lspci shows

 Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller

It is odd because the kernel reports it as 88SE9123 the web page says it 
is 88SE9128 as does the manual supplied with the card. Now the 
motherboard already has an onboard  Marvell 88SE9128 controller which is 
correctly identified by the kernel and works properly so I know the 
correct divers are in the kernel but the Startech card does not seem to be 
using them.

[root@viz1 ~]# lspci | grep SATA
00:1f.2 SATA controller: Intel Corporation Patsburg 6-Port SATA AHCI Controller 
(rev 05)
04:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 
Gb/s controller (rev 11)
05:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 
Gb/s controller (rev 11)
0f:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller 
(rev 01)
10:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9128 PCIe SATA 
6 Gb/s RAID controller with HyperDuo (rev 11)

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


Re: [CentOS] converting .doc to html

2012-06-22 Thread Keith Roberts
On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: [CentOS] converting .doc to html
 
 Anyone got a preferred program or package for this? I'd like a *good* one,
 and Word or OO.o's save as html in no way qualifies as other than amateur
 crap.

 So far, with a little googling, I've found the wv package. wvHtml works,
 but I don't like the output - it insists on div, and on rhquo instead
 of plain, simple .

I think Abiword can read and write those formats.

[root@karsites ~]# rpm -qv abiword
abiword-2.6.6-1.el5.rf

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] converting .doc to html

2012-06-22 Thread m . roth
Keith Roberts wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 From: m.r...@5-cent.us

 Anyone got a preferred program or package for this? I'd like a *good*
 one, and Word or OO.o's save as html in no way qualifies as other than
 amateur crap.

 So far, with a little googling, I've found the wv package. wvHtml works,
 but I don't like the output - it insists on div, and on rhquo instead
 of plain, simple .

 I think Abiword can read and write those formats.

Given that both Word and OO.o produce such lousy, uselessly cluttered
html, I'm a tad loathe to install another wp... and I really just wanted a
command line conversion tool.

As a side note, I tried quanta about 6 years ago, and that did lousy
things to my html, too (going from edit to display and back, I think it
was, unformatted the *whole* document, left justifying all, even when I
*told* it to leave formatting...), so I'm not wildly crazed with web
editing programs.

As my own personal web page reads, this page proudly built in vi

mark

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread m . roth
Hi, Steve,

Steve Brooks wrote:
 On Fri, 22 Jun 2012, Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech.
 The kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 Is this your card?

 Yes that is the very card, the page says the chipset is Marvell 88SE9128
 but lspci shows

 Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller

 It is odd because the kernel reports it as 88SE9123 the web page says it
 is 88SE9128 as does the manual supplied with the card. Now the

Yeah, I noticed that too, and thought it odd.
snip
I looked at the manual, and the only thing that came to mind was to try
going into the BIOS and making sure that it was set to AHCI rather than,
say, IDE, or whatever.

   mark

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


Re: [CentOS] reinventing the wheel? page checker

2012-06-22 Thread Markus Falb
On 22.6.2012 03:34, Kahlil Hodgson wrote:

 On Thu, 21 Jun 2012, Bob Hoffman wrote:
 Subject: [CentOS] reinventing the wheel? page checker

 Not sure if there is an app like this yet.
 I want to keep tabs on my web applications and thought of using a 'page
 checker'/

 If its a security thing, you probably want an host based IDS.

I know this under the term file based IDS btw., in contrast to some
stuff that scans the network traffic.

 Samhain (http://la-samhna.de/samhain/)

tripwire and aide were two other examples and even with bacula you can
do this stuff.

All these tools scan the filesystem and store things like checksum,
ownership, size etc. in a database. One important feature in my opinion
is that the database is not stored on the client itself. You don't want
an intruder to get on that data, similar to why one wants a central
logserver.

To no avail do reinvent the wheel, there are plenty of tools for that.
-- 
Kind Regards, Markus Falb



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


[CentOS] CentOS-announce Digest, Vol 88, Issue 13

2012-06-22 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of CentOS-announce digest...


Today's Topics:

   1. CEBA-2012:1029 CentOS 5 file FASTTRACK Update (Johnny Hughes)


--

Message: 1
Date: Fri, 22 Jun 2012 11:08:41 +
From: Johnny Hughes joh...@centos.org
Subject: [CentOS-announce] CEBA-2012:1029 CentOS 5 file FASTTRACK
Update
To: centos-annou...@centos.org
Message-ID: 20120622110841.ga27...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:1029

Upstream details at : http://rhn.redhat.com/errata/RHBA-2012-1029.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
8a98e586acca5ff300dac78f6f2cd2548001ff3f2f946e7c26613864f950102a  
file-4.17-28.i386.rpm

x86_64:
50b33ade3d9a0209e2a7225ed959fd8ce9d6173ab279bca9a6738797d1acd26f  
file-4.17-28.x86_64.rpm

Source:
690888b77be34b978a454a3c03705b4bbd7c2ac5bdf4cef13221f6c1c3837074  
file-4.17-28.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

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


End of CentOS-announce Digest, Vol 88, Issue 13
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] converting .doc to html

2012-06-22 Thread Les Mikesell
On Fri, Jun 22, 2012 at 9:40 AM,  m.r...@5-cent.us wrote:
 Anyone got a preferred program or package for this? I'd like a *good* one,
 and Word or OO.o's save as html in no way qualifies as other than amateur
 crap.

 So far, with a little googling, I've found the wv package. wvHtml works,
 but I don't like the output - it insists on div, and on rhquo instead
 of plain, simple .


Mail it to yourself on a gmail account, then 'view' the attachment
instead of downloading the original.  It is still going to have
div's though.

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


Re: [CentOS] SATA errors in log

2012-06-22 Thread Steve Brooks
On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 Hi, Steve,

 Steve Brooks wrote:
 On Fri, 22 Jun 2012, Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:
 On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:
 Steve Brooks wrote:

 I have a SATA PCIe 6Gbps 4 port controller card made by Startech.
 The kernel (Linux viz1 2.6.32-220.4.1.el6.x86_64) sees it as

   Marvell Technology Group Ltd. 88SE9123

 Is this your card?

 Yes that is the very card, the page says the chipset is Marvell 88SE9128
 but lspci shows

 Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller

 It is odd because the kernel reports it as 88SE9123 the web page says it
 is 88SE9128 as does the manual supplied with the card. Now the

 Yeah, I noticed that too, and thought it odd.
 snip
 I looked at the manual, and the only thing that came to mind was to try
 going into the BIOS and making sure that it was set to AHCI rather than,
 say, IDE, or whatever.


Thanks Mark for the reply , I hadn't thought about the card posting drives 
in the bios, I assumed only the onboard SATA devices would allow you 
change the mode in the motherboard's BIOS. I will have a look on Monday to 
see if anything has appeared in the BIOS. I guess the default mode in a 
SATA6 card would be AHCI but yes worth a check.

Cheers,

Steve

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


Re: [CentOS] reinventing the wheel? page checker

2012-06-22 Thread Bob Hoffman
On 6/22/2012 9:50 AM, m.r...@5-cent.us wrote:
 Bob Hoffman wrote:
 On 6/21/2012 12:44 PM, Keith Roberts wrote:
 On Thu, 21 Jun 2012, Bob Hoffman wrote:
 From: Bob Hoffmanb...@bobhoffman.com

 Not sure if there is an app like this yet.
 I want to keep tabs on my web applications and thought of using a 'page
 checker'/
 *snip*

 Anything out there like that?
 http://www.changedetection.com/
 snip
 As I said originally, you might want to check out rkhunter. It'll check
 your system for rootkits, and once configured - which isn't a big deal,
 just a configuration file - will complain when run if something's changed.
 You can tell it to look at your web pages.

 Another thing to consider (and I really, really don't enjoy suggesting
 it), is selinux. Turn it on to at least permissive, and it'll bitch and
 moan if something's changed. Turn it to enforcing, and *nothing* will be
 allowed to be changed. It is, however, a royal pain to configure, esp.
 when you want to be able to allow a directory for users to put pics.

 mark

Would love to use SElinux. I searched high and low for any kind of 
manual and there was none.
Most of the information online was for versions that were not on centos 
6, and little info on centos 6.
I am considering going back to it for the virtual hosts, dns servers, 
but for production web servers
I think it will take a long time.
I know that fail2ban will not work properly with it in any case, as per 
their own website.

It seems that to run the webservers selinux wants me to allow a ton of 
privledges to apache, the ftp user, and a bunch of
other things...seems like that defeats the purpose. And a script 
injection will have all those privledges.

I wish I had to time and knowledge to implement it...and add it to my 
handbook, but on a webserver that
is doing mail ins, mail outs, httpd, mysql, php, self made scripts, 
fail2ban, and host of other programs
it seems like it requires an experienced hand at it. Or a book.
Neither of which are available to me.

Who knows, once I figure out the mutli_mysql back up, amanda, then I may 
go for it.

One thing I learned...SElinux in permissive mode only gives a warning 
once for an issue...and never again. Makes it hard
to play with it that way, would prefer a constant error variable to keep 
them coming.

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


Re: [CentOS] reinventing the wheel? page checker

2012-06-22 Thread Les Mikesell
On Fri, Jun 22, 2012 at 1:28 PM, Bob Hoffman b...@bobhoffman.com wrote:

 It seems that to run the webservers selinux wants me to allow a ton of
 privledges to apache, the ftp user, and a bunch of
 other things...seems like that defeats the purpose. And a script
 injection will have all those privledges.

No, selinux doesn't give 'extra' privileges to anything.  It adds
extra restrictions based on the context of the processes and the
files/directories besides the ones based on uid/gid.

 I wish I had to time and knowledge to implement it...and add it to my
 handbook, but on a webserver that
 is doing mail ins, mail outs, httpd, mysql, php, self made scripts,
 fail2ban, and host of other programs
 it seems like it requires an experienced hand at it. Or a book.

Yes, it has taken years to get just the standard distributed packages
configured correctly - and that's probably with expert advice
available to the packagers...  You can't just drop it in on top of
stuff that has evolved organically for years.

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


Re: [CentOS] reinventing the wheel? page checker

2012-06-22 Thread Nikolaos Milas
On 22/6/2012 9:28 μμ, Bob Hoffman wrote:

 it seems like it requires an experienced hand at it. Or a book.

Some googling took me to: 
http://www.freetechbooks.com/the-selinux-notebook-the-foundations-t785.html

It seems interesting and comprehensive from a quick browsing. And it's 
public domain too.

Yet, I agree that SElinux is a pain. There are other measures to keep 
things under control. Unless you know what you are doing with it, 
selinux is going to produce trouble and only trouble.

That's my experience.

(I don't know if I'll ever find the significant time needed to invest in 
knowing selinux well enough to use it in production.)

Nick


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


Re: [CentOS] converting .doc to html

2012-06-22 Thread Warren Young
On 6/22/2012 8:40 AM, m.r...@5-cent.us wrote:

 wvHtml works,
 but I don't like the output - it insists on div, and on rhquo instead
 of plain, simple .

You mean rdquo;?

What's wrong with that?  You wanted HTML, and *any* browser will 
understand that HTML entity, even Lynx.

If you wanted HTML I can read like an e-book, I'd say you should be 
converting to Markdown instead.  One path from Word to Markdown would be 
unrtf (https://www.gnu.org/software/unrtf/) to HTML, then HTML to 
Markdown via Pandoc (http://johnmacfarlane.net/pandoc/).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] reinventing the wheel? page checker

2012-06-22 Thread m . roth
Bob Hoffman wrote:
 On 6/22/2012 9:50 AM, m.r...@5-cent.us wrote:
 Bob Hoffman wrote:
 On 6/21/2012 12:44 PM, Keith Roberts wrote:
 On Thu, 21 Jun 2012, Bob Hoffman wrote:
 From: Bob Hoffmanb...@bobhoffman.com

snip
 Another thing to consider (and I really, really don't enjoy suggesting
 it), is selinux. Turn it on to at least permissive, and it'll bitch and
 moan if something's changed. Turn it to enforcing, and *nothing* will be
 allowed to be changed. It is, however, a royal pain to configure, esp.
 when you want to be able to allow a directory for users to put pics.

 Would love to use SElinux. I searched high and low for any kind of
 manual and there was none.

Look for RHEL's 5 or 6; there's professional documentation.

Not that anything's that wonderful.

There's also the selinux list.
snip
 One thing I learned...SElinux in permissive mode only gives a warning
 once for an issue...and never again. Makes it hard
 to play with it that way, would prefer a constant error variable to keep
 them coming.

Not true. It will issue an AVC every time something tries to happen. Big
things to know:
   a) ll -Z shows you the selinux context
   b) chcon [-R] -[urt] whatever file or directory
   c) getsebool and setsebool

 mark

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


Re: [CentOS] converting .doc to html

2012-06-22 Thread m . roth
Warren Young wrote:
 On 6/22/2012 8:40 AM, m.r...@5-cent.us wrote:

 wvHtml works,
 but I don't like the output - it insists on div, and on rhquo instead
 of plain, simple .

 You mean rdquo;?

Yup.

 What's wrong with that?  You wanted HTML, and *any* browser will
 understand that HTML entity, even Lynx.

Hate it. I think it's completely unnecessary. I've done web pages,
including professional and corporate ones, and never needed it. I use
special characters only when there's no other option.

 If you wanted HTML I can read like an e-book, I'd say you should be
 converting to Markdown instead.  One path from Word to Markdown would be
 unrtf (https://www.gnu.org/software/unrtf/) to HTML, then HTML to
 Markdown via Pandoc (http://johnmacfarlane.net/pandoc/).

How 'bout html I can read like wordperfect alt-f3?

   mark

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


Re: [CentOS] converting .doc to html

2012-06-22 Thread Frank Cox
On Fri, 22 Jun 2012 16:40:49 -0400
m.r...@5-cent.us wrote:

 Hate it. I think it's completely unnecessary. I've done web pages,
 including professional and corporate ones, and never needed it. I use
 special characters only when there's no other option.

Just use sed to change it to whatever you want it to be.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] basic auth fails

2012-06-22 Thread Alexander Dalloz
Am 21.06.2012 16:03, schrieb Tim Dunphy:
 Hello,
 
  I've setup apache basic auth on by web server to protect my nagios
 site. It's been working just fine, but suddenly it stopped accepting
 passwords even tho they are being typed in correctly. I was wondering
 if I could get some advice on how to troubleshoot this?
 
  I'm on a centos 5.4 machine

No, you are not.

 Linux  2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64
 x86_64 x86_64 GNU/Linux

Not a CentOS kernel and that one is highly vulnerable.

 Server version: Apache/2.2.21 (Unix)
 Server built:   Nov 14 2011 18:03:07

Not a CentOS versions of Apache. A vulnerable Apache release.

 I don't see any indication in the logs as to why this may be
 happening, but it's possible I might not be looking for the right
 things.
 
 Thanks
 Tim

Alexander

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


Re: [CentOS] converting .doc to html

2012-06-22 Thread Warren Young
On 6/22/2012 2:40 PM, m.r...@5-cent.us wrote:
 Warren Young wrote:
 On 6/22/2012 8:40 AM, m.r...@5-cent.us wrote:

 wvHtml works,
 but I don't like the output - it insists on div, and on rhquo instead
 of plain, simple .

 You mean rdquo;?

 Yup.

 What's wrong with that?  You wanted HTML, and *any* browser will
 understand that HTML entity, even Lynx.

 Hate it. I think it's completely unnecessary.

Five centuries of typographers would like to have a word with you.

rdquo; and  aren't the same thing.  If the document includes curly 
quotes, the only correct alternative available to the HTML converter is 
to put out Unicode character U+201D.

Now, if your converter were converting straight quotation marks to 
quot;, you might have a point.

 I've done web pages,
 including professional and corporate ones, and never needed it.

IMO, web pages with straight quotation marks are unprofessional. :)

Let the ASCII go, Mark.  Just let it go.  Unicode became usable over a 
decade ago, and became solid in most programs years ago.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] converting .doc to html

2012-06-22 Thread Warren Young
On 6/22/2012 3:56 PM, Warren Young wrote:
 Unicode became usable over a
 decade ago, and became solid in most programs years ago.

You know, thinking about it, I believe I've sold the Unicode on Linux 
stability story short.  It's about a decade since it became solid, so 
usable must be considerably farther back; 2000, maybe?  That makes 
sense, since Plan9 switched to UTF-8 in 1999.

I use Perl as my benchmark for Unicode stability.  RHEL 2.1 (March 2002) 
shipped Perl 5.6 (March 2000), which was usable but dodgy in some ways 
w.r.t. Unicode.  RHEL 3 (October 2003) shipped Perl 5.8 (July 2002), 
which fixed almost everything with Unicode handling.  Each Perl since 
then has had Unicode changes, but they've just been small bug fixes and 
updates to track new Unicode specs.  The core mechanisms haven't changed 
since 5.8.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.2 on partitionable mdadm RAID1 (md_d0) - kernel panic with either disk not present

2012-06-22 Thread Arun Khan
On Thu, Jun 21, 2012 at 11:40 PM, Scott Silva ssi...@sgvwater.com wrote:
 on 6/20/2012 11:34 PM Arun Khan spake the following:
 On Thu, Jun 21, 2012 at 10:09 AM, Rob Kampen

 Just a shot in the dark... DO all the fstab entries call out md devices?


Yes, /etc/fstab contains /dev/md_d0p1 for / partition.

I have been doing some digging in the initramfs and the dracut script.

The initramfs does contain all the md related stuff like drivers, the
devices for md_d0 and the /etc/mdamd.conf.   To the best of my
knowledge these should be sufficient to load /dev/md_d0p1 (/).

I have not had a thorough look at the dracut script though.

I will post whatever relevant information if I find something that I
don't quite understand.

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