Re: [CentOS-docs] dual boot tips

2009-06-22 Thread Ralph Angenendt
Mats Karlsson wrote:
 On Sat, Jun 20, 2009 at 22:58, Ralph Angenendt
  That still leaves the question: Is this a collection of Tips and Tricks or
  is that more of a howto?
 
  More a bunch  of tips I imagine.

http://wiki.centos.org/TipsAndTricks/Sharing_Resources_Dual_Boot

If you need more pages, create them *below* that link, please.

Regards,

Ralph


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


Re: [CentOS-docs] Request for Wiki edit permission - booting into kickstart from all-in-one USB flash drive

2009-06-22 Thread Phil Schaffner
hans...@gmail.com wrote:
 I'm currently testing a process very similar to that found here:
 
 http://wiki.centos.org/HowTos/InstallFromUSBkey
 
 And would like to update that doc with my observations once confirmed.

Would be glad to work with you on the USB install procedure[s].  Sounds 
like what you are proposing goes considerably beyond the original 
approach (which I have not yet found time to test).  Might be best to 
have multiple articles or sub-pages to avoid trying to cover too many 
variations in one page.

Here's a possible structure.  Limit the current page to basic install 
from USB without kickstart or other variations, create subpages for 
kickstart options, other customizations such as your slipstream-updated 
install (news to me - will have to look at that - might rate an 
independent page), and possibly other variants.

Regards,
Phil


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


[CentOS-docs] Fate of CentOS Pulse newsletter...?

2009-06-22 Thread Garry.Dale
Just read a post that Dag has resigned from the CentOS project... Is
that the end of the CentOS Pulse newsletter, too?
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] wiki contribs

2009-06-22 Thread Del

Hi,

I have just created a wiki login:  DelElson

I want to add some contributions to the following pages:

HowTos/Laptops/Wireless
HowTos/Laptops/NetworkManager
HowTos/Laptops/Dell/XPS_M1530

and a not yet existent page:  HowTos/Laptops/Toshiba/Tecra_M2

This is based on having done CentOS 5.3 installs on the Dell XPS and 
Toshiba Tecra laptops mentioned above.

-- 
Del
Babel Com Australia
http://www.babel.com.au/
ph: 02 9966 9476
fax: 02 9906 2864
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-virt] 32bit host and guest, TLS

2009-06-22 Thread fmb fmb
Host and guest are both CentOS 5.3 32 bit. When I populate the root
partition of the guest I noticed that the tls directory is empty. I
installed the Base package only. However, in my host machine I have these
two files

/usr/lib/tls
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/asm/ioctls.ph
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/bits/ioctls.ph

Not having TLS in the guest, is this normal?
Is it still important to mv the tls in the host?
Excuse me, but what is this TLS issue all about?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] Comnsulta con OpenVpn

2009-06-22 Thread Ricardo Martinez
Hola Sandro,

esas reglas las tienes en el mismo servidor que tienes la vpn ¿?

El problema lo tienes cuando intentas acceder desde fuera de tu lan ¿?

Lo más seguro es que  el router de tu oficina ( donde tienes el servidor )
no esté mapeado.
Esto quiero decir que cuando intentes acceder al servidor VPN de tu oficina
desde fuera, no va a ser posible porque el router no va a saber que hacer
con esos paquetes ni a que máquina mandarlos.

Aparte la configuración que tienes para local( dentro del server, si estás
usando OpenVpn ) no te servira para fuera )

Te recomiendo que hagas otra OpenVpn para las conexiones entrantes desde
fuera de tu red local. Usando para ello la ip pública que tenga asignada tu
oficina ( ojo! si la ip no es estática puede cambiar ) , por tu proveedor de
servicios de inet. Y que mapees el router. O sea si estas usando el puerto
udp 1194, en tu router, debe de haber una regla para que todo lo que le
llegue desde fuera, a ese puerto, lo mande a la ip del servidor.

saludos!


2009/6/19 Sandro Ventura sventur...@yahoo.com.pe

 Hola Ricardo, lo que pasa q probando desde dentro de la lan si logro
 establecer la conexion al Server VPN, pero desde cualquier otra red fuera de
 la red de la empresa no logro establecer comunicacion tenemos un firewall
 iptables en la cual solo agrege la siguientes lineas:

 $IPTABLES -t nat -A PREROUTING -i $IF_WAN -d $IP_WAN -p udp --dport 1194 -j
 DNAT --to-destination ServerVPN:1194
 $IPTABLES -A FORWARD -s ServerVPN -d 0/0 -p udp -j ACCEPT
 $IPTABLES -A FORWARD -i $IF_WAN -d ServerVPN -o $IF_LAN -p udp --dport 1194
 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

 Saludos.

 --- El *Jue 18/6/09, Ricardo Martinez harisel...@gmail.com* escribió:


 De: Ricardo Martinez harisel...@gmail.com
 Asunto: Re: [CentOS-es] Comnsulta con OpenVpn
 Para: centos-es@centos.org
 Fecha: Jueves 18 de Junio de 2009, 11:39


 Hola!

 desde fuera no conectas de tu lan no conectas ¿?

 has mapeado el router para que se pueda la vpn desde fuera de tu lan ¿?

 saludos

 2009/6/18 Sandro Ventura 
 sventur...@yahoo.com.pehttp://pe.mc1119.mail.yahoo.com/mc/compose?to=sventur...@yahoo.com.pe
 


 Hola, listeros les cuento que soy nuevo en la lista y acudo a ustedes pues
 tengo un problema con una configuracion de OpenVPN he seguido el manual de
 epe y he configurado una VPN  RoadWarrior en un server q esta dentro de mi
 LAN, el problema que tengo es q desde fuera de mi red no me conecto al
 server en mi firewall he colocado las siguientes lineas pero igual continua
 sin conectarse.

 $IPTABLES -t nat -A PREROUTING -i $IF_WAN -d $IP_WAN -p udp --dport 1194
 -j DNAT --to-destination ServerVPN:1194
 $IPTABLES -A FORWARD -s ServerVPN -d 0/0 -p udp -j ACCEPT
 $IPTABLES -A FORWARD -i $IF_WAN -d ServerVPN -o $IF_LAN -p udp --dport
 1194 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

 como les mencionaba lin eas anteriores desde mi propia lan logro conectar
 asi q con eso descarete q sea un problema de la configuracion, espero su
 sugerencias, gracias.

 Sandro.


 --

 ¡Capacidad ilimitada de almacenamiento en tu correo!
 No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
 http://pe.mail.yahoo.com/

 ___
 CentOS-es mailing list
 CentOS-es@centos.orghttp://pe.mc1119.mail.yahoo.com/mc/compose?to=centos...@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




 --
 Ricardo
 ___
 IT Architect
 website: http://www.rjmc.es

 -Sigue archivo adjunto-

 ___
 CentOS-es mailing list
 CentOS-es@centos.orghttp://pe.mc1119.mail.yahoo.com/mc/compose?to=centos...@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es


 --

 ¡Capacidad ilimitada de almacenamiento en tu correo!
 No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
 http://pe.mail.yahoo.com/

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




-- 
Ricardo
___
IT Architect
website: http://www.rjmc.es
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Comnsulta con OpenVpn

2009-06-22 Thread Sandro Ventura
Hola ricardo, te comento que uso un ip estatica  en el firewall la cual coloco 
como variable la IP_WAN la cual hace un nat a la ip privada del servidor VPN 
por el port 1194 udp, ahora he realizado otras reglas de nat para otros 
servicios y estos funcionan con normalidad, por eso mi consulta es si es que 
tengo que crear alguna regla adicional en el firewall para q el paquete se 
envie al servidor vpn que esta dentro de la lan.
 
Saludos.
 
 
 


--- El Lun 22/6/09, Ricardo Martinez harisel...@gmail.com escribió:


De: Ricardo Martinez harisel...@gmail.com
Asunto: Re: [CentOS-es] Comnsulta con OpenVpn
Para: centos-es@centos.org
Fecha: Lunes 22 de Junio de 2009, 6:46


Hola Sandro, 

esas reglas las tienes en el mismo servidor que tienes la vpn ¿?

El problema lo tienes cuando intentas acceder desde fuera de tu lan ¿? 

Lo más seguro es que  el router de tu oficina ( donde tienes el servidor ) no 
esté mapeado.
Esto quiero decir que cuando intentes acceder al servidor VPN de tu oficina 
desde fuera, no va a ser posible porque el router no va a saber que hacer con 
esos paquetes ni a que máquina mandarlos. 

Aparte la configuración que tienes para local( dentro del server, si estás 
usando OpenVpn ) no te servira para fuera ) 

Te recomiendo que hagas otra OpenVpn para las conexiones entrantes desde fuera 
de tu red local. Usando para ello la ip pública que tenga asignada tu oficina ( 
ojo! si la ip no es estática puede cambiar ) , por tu proveedor de servicios de 
inet. Y que mapees el router. O sea si estas usando el puerto udp 1194, en tu 
router, debe de haber una regla para que todo lo que le llegue desde fuera, a 
ese puerto, lo mande a la ip del servidor. 

saludos!



2009/6/19 Sandro Ventura sventur...@yahoo.com.pe






Hola Ricardo, lo que pasa q probando desde dentro de la lan si logro establecer 
la conexion al Server VPN, pero desde cualquier otra red fuera de la red de la 
empresa no logro establecer comunicacion tenemos un firewall iptables en la 
cual solo agrege la siguientes lineas:

 
$IPTABLES -t nat -A PREROUTING -i $IF_WAN -d $IP_WAN -p udp --dport 1194 -j 
DNAT --to-destination ServerVPN:1194
$IPTABLES -A FORWARD -s ServerVPN -d 0/0 -p udp -j ACCEPT
$IPTABLES -A FORWARD -i $IF_WAN -d ServerVPN -o $IF_LAN -p udp --dport 1194 -m 
state --state NEW,ESTABLISHED,RELATED -j ACCEPT
 
Saludos.

--- El Jue 18/6/09, Ricardo Martinez harisel...@gmail.com escribió:


De: Ricardo Martinez harisel...@gmail.com
Asunto: Re: [CentOS-es] Comnsulta con OpenVpn
Para: centos-es@centos.org
Fecha: Jueves 18 de Junio de 2009, 11:39





Hola!

desde fuera no conectas de tu lan no conectas ¿? 

has mapeado el router para que se pueda la vpn desde fuera de tu lan ¿? 

saludos


2009/6/18 Sandro Ventura sventur...@yahoo.com.pe






 
Hola, listeros les cuento que soy nuevo en la lista y acudo a ustedes pues 
tengo un problema con una configuracion de OpenVPN he seguido el manual de epe 
y he configurado una VPN  RoadWarrior en un server q esta dentro de mi LAN, el 
problema que tengo es q desde fuera de mi red no me conecto al server en mi 
firewall he colocado las siguientes lineas pero igual continua sin conectarse. 
 
$IPTABLES -t nat -A PREROUTING -i $IF_WAN -d $IP_WAN -p udp --dport 1194 -j 
DNAT --to-destination ServerVPN:1194
$IPTABLES -A FORWARD -s ServerVPN -d 0/0 -p udp -j ACCEPT
$IPTABLES -A FORWARD -i $IF_WAN -d ServerVPN -o $IF_LAN -p udp --dport 1194 -m 
state --state NEW,ESTABLISHED,RELATED -j ACCEPT
 
como les mencionaba lin eas anteriores desde mi propia lan logro conectar asi q 
con eso descarete q sea un problema de la configuracion, espero su sugerencias, 
gracias.
 
Sandro. 
 




¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://pe.mail.yahoo.com/
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es




-- 
Ricardo 
___
IT Architect
website: http://www.rjmc.es

-Sigue archivo adjunto-



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







¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://pe.mail.yahoo.com/
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es




-- 
Ricardo 
___
IT Architect
website: http://www.rjmc.es

-Sigue archivo adjunto-


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



  

¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el 

[CentOS-es] Cambio modo grafico

2009-06-22 Thread César Martínez
Hola amigos acudo a ustedes para hacerles una pequeña pregunta, resulta que a 
un cliente le han instalado un servidor linux la verdad no se que distro es, 
pero le han puesto solo en modo texto es decir cuando se prende se queda en 
login y nada mas el no tiene que poner ni el usuario ni la clave para que el 
servidor proxy empiece a funcionar, este cliente tiene una ip publica, pero 
ahora el proveedor le ha cambiado de ip publica por lo tanto el servidor proxy 
no esta funcionando, la pregunta es estando en modo consola hay algun comando 
con el que pueda acceder a modo grafico para que el pueda hacer los cambios 
respectivos, el problema es que este equipo esta en otra ciudad y le he trtado 
de explicar por teléfono para que cambie via comandos pero como no es muy 
experto tiene bastantes problemas.


La persona que le ha configurado el servidor en esa ciudad ya no esta, por eso 
queria que entre en modo gráfico para que se vaya al webmin que tiene y cambie 
la ip publica y listo, gracias a todos


César___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Cambio modo grafico

2009-06-22 Thread Daniel Martínez
Hola césar, segun veo estas teniendo algo como lo que uso en mi oficina se
llama Untangle esta basado en debian y se gestiona en entorno web...

Solo hace falta que desde tu navegador escribas
http://direccion_ip_local_del_proxy/

ahi te preguntara usuario y contraseña y ahi podes configurar todo...


espero te ayude en algo..

Saludos..

Dany

El 22 de junio de 2009 12:03, César Martínez
cmarti...@servicomecuador.comescribió:

  Hola amigos acudo a ustedes para hacerles una pequeña pregunta, resulta
 que a un cliente le han instalado un servidor linux la verdad no se que
 distro es, pero le han puesto solo en modo texto es decir cuando se prende
 se queda en login y nada mas el no tiene que poner ni el usuario ni la clave
 para que el servidor proxy empiece a funcionar, este cliente tiene una ip
 publica, pero ahora el proveedor le ha cambiado de ip publica por lo tanto
 el servidor proxy no esta funcionando, la pregunta es estando en modo
 consola hay algun comando con el que pueda acceder a modo grafico para que
 el pueda hacer los cambios respectivos, el problema es que este equipo esta
 en otra ciudad y le he trtado de explicar por teléfono para que cambie via
 comandos pero como no es muy experto tiene bastantes problemas.


 La persona que le ha configurado el servidor en esa ciudad ya no esta, por
 eso queria que entre en modo gráfico para que se vaya al webmin que tiene y
 cambie la ip publica y listo, gracias a todos


 César

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


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


[CentOS-es] Comunicacion de centOS a Windows

2009-06-22 Thread Rolando Arteaga



hola listeros miren a ver ke creen de esto.



  hasta ahora desde linux no se puede acceder a windows. es desir ningun
servicio.

 pero desde windows para linux tampoco, les explico, monte el servicio ftp
y paginas web en centos. desde centos se ve a la perfeccion el ftp y la
pagina web.

 pero desde otra makina que no tiene por que ser el servidor, no entra a
ningunos de los 2 servicios ni pagina web ni ftp..



La conexión ha caducado

El servidor 192.168.0.52 está tardando demasiado en responder.
esto es centos.





La conexión ha caducado

El servidor 192.168.0.1 está tardando demasiado en responder.
esto es windows.


diganme si les ha pasado pk no puedo creer que sea el unico.jaja
grax por el time.




*
*** Rolando Arteaga *
*

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


Re: [CentOS-es] Comunicacion de centOS a Windows

2009-06-22 Thread Lic. Domingo Varela Yahuitl
ya checaste que no tengas activado el fw de tu sever centos???  y 
tambien el SELinux



Rolando Arteaga escribió:

 hola listeros miren a ver ke creen de esto.



   hasta ahora desde linux no se puede acceder a windows. es desir ningun
 servicio.

  pero desde windows para linux tampoco, les explico, monte el servicio ftp
 y paginas web en centos. desde centos se ve a la perfeccion el ftp y la
 pagina web.

  pero desde otra makina que no tiene por que ser el servidor, no entra a
 ningunos de los 2 servicios ni pagina web ni ftp..


 
 La conexión ha caducado

 El servidor 192.168.0.52 está tardando demasiado en responder.
 esto es centos.
 



 
 La conexión ha caducado

 El servidor 192.168.0.1 está tardando demasiado en responder.
 esto es windows.
 

 diganme si les ha pasado pk no puedo creer que sea el unico.jaja
 grax por el time.




 *
 *** Rolando Arteaga *
 *

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

   

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


More Information in
(http://www.linuxsc.net) Linux Solutions Center

IT Specialist System Administrator and 
Technical Suport Unix/Linux/Windows

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


[CentOS-es] Bin

2009-06-22 Thread Mauricio Cesar Ramirez Torres
Buen día, Tengo un CentOS 5.2 que uso como FTP y además de esto en días
pasados cree un script que borra los archivos mas antiguos de varias
carpetas, esto lo hacia una vez al día, pero el viernes pasado el
proceso marco un error de archivo no encontrado y me causo problemas, el
caso es que si hago un ls me dice que:

-bash:/bin/ls No existe el fichero o directorio.

lo mismo con cualquier instrucción, si hago un
cd /algo
si lo hace, a excepción de
/bin
lo que me lleva a pensar que mi Fabuloso script??? pudo haber borrado
la carpeta /bin, el servicio de FTP (pure-ftp) sigue arriba y
funcionando, me podría alguien ayudar?? si copio la carpeta /bin desde
otro servidor CentOS 5.2 esto funcionara??? que otra cosa puedo hacer???
en realidad no me gustaría volver a instalar, pero si es necesario lo
haré, solo quiero saber si es posible otra cosa.

Saludos.

-- 
Atte.

Mauricio César Ramírez Torres.




smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Bin

2009-06-22 Thread Gino Francisco Alania Hurtado
Error de disco... o con alguien mas compartiste tu clave de root
slds

On Mon, 22 Jun 2009 16:59:50 -0500, Mauricio Cesar Ramirez Torres wrote
 Buen día, Tengo un CentOS 5.2 que uso como FTP y además de esto en días
 pasados cree un script que borra los archivos mas antiguos de varias
 carpetas, esto lo hacia una vez al día, pero el viernes pasado el
 proceso marco un error de archivo no encontrado y me causo problemas,
  el caso es que si hago un ls me dice que:
 
 -bash:/bin/ls No existe el fichero o directorio.
 
 lo mismo con cualquier instrucción, si hago un
 cd /algo
 si lo hace, a excepción de
 /bin
 lo que me lleva a pensar que mi Fabuloso script??? pudo haber borrado
 la carpeta /bin, el servicio de FTP (pure-ftp) sigue arriba y
 funcionando, me podría alguien ayudar?? si copio la carpeta /bin 
 desde otro servidor CentOS 5.2 esto funcionara??? que otra cosa 
 puedo hacer??? en realidad no me gustaría volver a instalar, pero si 
 es necesario lo haré, solo quiero saber si es posible otra cosa.
 
 Saludos.
 
 -- 
 Atte.
 
 Mauricio César Ramírez Torres.


---
Gino Alania Hurtado
RPM #781455
Tl: 997279281
NITCOM Labs (http://www.nitcom.com)

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


Re: [CentOS-es] Cambio modo grafico

2009-06-22 Thread Ernesto Celis
El 22 de junio de 2009 11:03, César Martínez
cmarti...@servicomecuador.comescribió:

  Hola amigos acudo a ustedes para hacerles una pequeña pregunta, resulta
 que a un cliente le han instalado un servidor linux la verdad no se que
 distro es, pero le han puesto solo en modo texto es decir cuando se prende
 se queda en login y nada mas el no tiene que poner ni el usuario ni la clave
 para que el


En primer lugar, no sabes si tiene instalado el servidor de X y algún
entorno de escritorio.

Si tu cliente no sabe administrar un servidor o instalar el ambiente
gráfico, creo que será necesari oque túo una persona que sepa hagan los
cambios necesarios en el servidor.


 servidor proxy empiece a funcionar, este cliente tiene una ip publica, pero
 ahora el proveedor le ha cambiado de ip publica por lo tanto el servidor
 proxy no esta funcionando, la pregunta es estando en modo consola hay algun
 comando con el que pueda acceder a modo grafico para que el pueda hacer los
 cambios respectivos, el problema es que este equipo esta en otra ciudad y le
 he trtado de explicar por teléfono para que cambie via comandos pero como no
 es muy experto tiene bastantes problemas.


startx es el comando para iniciar el servidorgráfico,pero si no esta X
instalado y un entorno de escritorio, de nada sirve. Ni el comando existirá
en el sistema.


 La persona que le ha configurado el servidor en esa ciudad ya no esta, por
 eso queria que entre en modo gráfico para que se vaya al webmin que tiene y
 cambie la ip publica y listo, gracias a todos


Para acceder a webmin, no necesita el entorno gráfico, aunque si no conoce
(como es el caso) su IP pública, no podrá acceder desde otra computadora.

Mi sugerencia, que el cliente aprenda a administrar linux (su distro en
particular) o se olvide del asunto y te pague a ti o a otro profesional para
hacer el trabajo.


 César



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


Re: [CentOS-es] Bin

2009-06-22 Thread Ernesto Celis
El 22 de junio de 2009 16:59, Mauricio Cesar Ramirez Torres 
mauricio.rami...@axtop.com escribió:

 Buen día, Tengo un CentOS 5.2 que uso como FTP y además de esto en días
 pasados cree un script que borra los archivos mas antiguos de varias
 carpetas, esto lo hacia una vez al día, pero el viernes pasado el
 proceso marco un error de archivo no encontrado y me causo problemas, el
 caso es que si hago un ls me dice que:

 -bash:/bin/ls No existe el fichero o directorio.

 lo mismo con cualquier instrucción, si hago un
 cd /algo
 si lo hace, a excepción de
 /bin


ls -l / ¿este comando lista el directorio /bin? junto con los demás
directorios en /

Si es así, revisa que los permisos de /bin sean 755 (drwxr-xr-x)



 lo que me lleva a pensar que mi Fabuloso script??? pudo haber borrado
 la carpeta /bin, el servicio de FTP (pure-ftp) sigue arriba y


Si no proporcionas el código del script, imposible saber si es el
responsable de tu problema. En mi lugar habría probado lo suficiente este
script antes de ponerlo en un trabajo de Cron. Y me habría dado cuenta si
representeaba algún peligro para mi sistema. Asumo que si lo probaste antes.



 funcionando, me podría alguien ayudar?? si copio la carpeta /bin desde
 otro servidor CentOS 5.2 esto funcionara??? que otra cosa puedo hacer???


Si, es posible hacer esto, solo haz un respaldo completo de tu sistema, no
vaya a ser el diablo.



 en realidad no me gustaría volver a instalar, pero si es necesario lo
 haré, solo quiero saber si es posible otra cosa.

 Saludos.

 --
 Atte.

 Mauricio César Ramírez Torres.


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


Re: [CentOS-es] COnsulta con Rutas de OpenVPN

2009-06-22 Thread Lic. Domingo Varela Yahuitl
El problema que veo es que no usas otro segmento de red para tu vpn para 
hacer el tunel entre tu fw y tu lan, el cual debera de ser diferente un 
10.0.0.0/24 por ejemplo para el tunel y este tunel es el que podras 
rutear entre tus dos redes, la LAN  de tu red y la WAN que tendra en 
un punto una ip del segmento antes mencionado.. y asi tu podras ver por 
el tunel los server que requieres



Sandro Ventura escribió:
 Hola amigos, logre conectar a mi server VPN desde fuera de mi red y 
 logro realizar ping hacia mi server vpn pero no logro hacer ping a 
 ningun equipo de mi lan, estube buscando y he leido que necesito crear 
 rutas estaticas en mi server vpn.
  
 la ip privada de mi servervpn es 192.168.0.220 y el default gateaway 
 para toda mi lan es 192.168.0.1. he agregado la siguiente ruta pero 
 aun asi no logro hacer ping  hacia mis equipos en la lan
  
 route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.1.1 eth0
  
 me podrian ayudar gracias.
  
  
  
  
  


 

 ¡Capacidad ilimitada de almacenamiento en tu correo!
 No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
 http://pe.mail.yahoo.com/
 -- 
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.

 More Information in *Linux Solutions Center* http://www.linuxsc.net/

 *IT Specialist System Administrator and
 Technical Suport Unix/Linux/Windows*
 

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


More Information in
(http://www.linuxsc.net) Linux Solutions Center

IT Specialist System Administrator and 
Technical Suport Unix/Linux/Windows

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


Re: [CentOS] gtk+-2 and centos 5

2009-06-22 Thread Filipe Brandenburger
Hi,

On Mon, Jun 22, 2009 at 01:44, Frank Coxthea...@sasktel.net wrote:
 [frank...@jeff ~]$ pkg-config --cflags gtk+-2.0
 Package cairo was not found in the pkg-config search path.
 Perhaps you should add the directory containing `cairo.pc'

From previous posts, you seem to have a x86_64 machine and in some
cases you have both i386 and x86_64 versions of the same package
installed... I believe your problem might be there.

Before you showed the output of rpm -q gtk2-devel and it showed it
twice, which indicates you have both i386 and x86_64 versions
installed, I believe you should have the x86_64 version only. Try to
uninstall the 32-bit version with the yum erase gtk2-devel.i386
command.

Also, check that the version of pkgconfig and cairo-devel you have
installed are the x86_64 versions. You can do that with this command
(and expected output):

$ rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' pkgconfig cairo-devel
pkgconfig-0.21-2.el5.x86_64
cairo-devel-1.2.4-5.el5.x86_64

That might shed some more light on that issue. Once you get
pkg-config to work again, try to rerun your ./configure and see if
it works now as you expect.

BTW, what exactly are you building? Did you try to see if someone
managed to package it as an RPM before? That might help...

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


Re: [CentOS] Filesystem backup?

2009-06-22 Thread Rafał Radecki
Could You please explain what exactly that line means:

# dump 0f - / | (cd /seconddisk; restore -rf -)

You are very helpful.

With regards,
R.

2009/6/21 Robert Heller hel...@deepsoft.com

 At Sun, 21 Jun 2009 15:06:35 +0200 CentOS mailing list centos@centos.org
 wrote:

 
 
 
  I think about using dd instead of dump? Is this an acceptable idea?

 *NO!*.  dd is NOT a proper backup tool...  I don't know where the idea
 that it is comes from (probably some really old UNIX sys admin book or
 something). dd has many uses, but it is not normally considered a
 backup tool.  Dump is a perfectly acceptable backup tool.  Dump was
 *designed* as the backup tool of choice. And it works just fine on a
 read-write file system, with the *standard* disclaimer that if used on
 a file system that is 'active', it (*like all backup tools*) will miss
 files that are being created/writen to during the backup.  Generally,
 the missed files will be gotten on a later backup.  On a normal, typical
 system, one would run the full backup at a 'quiet' time (a time frame
 of low activity, with the idea of avoiding having the backup interfere
 with normal activities and of normal activities interfering with the
 backup. On a typical normal system, the missed files will likely be
 things like the tail end of log files or various trasienent files (like
 mail queue files and the like).

 If you want a non-live mirror on the second does do this:

 Pick a 'quiet' time (say on a quiet Sunday morning) and do this:

 (Assume that /dev/sdb1 is the sole partition on the second disk):

 # mkfs.ext3 -L SecondDisk /dev/sdb1
 # mkdir /seconddisk
 # mount -v -t ext3 LABEL=SecondDisk /seconddisk
 # dump 0f - / | (cd /seconddisk; restore -rf -)

 At this point pick out a good book to read and get comfortable and read
 a chapter or three or you can do whatever you would do to kill some time
 -- ie go for a walk (or walk the dog), play a game of hoops or go for a
 swim or whatever.  I am assuming that the disk is probably good sized,
 so full dump may take some time.  You could stare at the screen for an
 hour, if that floats your boat...  Dump will display a progress report
 every 5 minutes.

 # umount -v /seconddisk

 Now create a script (Let's call it '/usr/local/sbin/dailybackup'):


 #!/bin/sh
 /sbin/e2fsck -C -T -a LABEL=SecondDisk
 mount -v -t ext3 LABEL=SecondDisk /seconddisk
 rsync -v -a -x -H --delete --delete-after --exclude=lost+found/ /
 /seconddisk
 umount -v /seconddisk



 # chmod +x /usr/local/sbin/dailybackup

 Now create a daily cron job:

 # crontab -e

 Add the line:

 10 0 * * * /usr/local/sbin/dailybackup


 And you are all set.  Once a day an 10 past midnight, the backup disk
 will be sync'ed to the live system disk.  Every morning you will get a
 message from cron with the output.

 If you really want to, you can change the '0' above to '0,6,12,18' and
 the sync'ing will happen every 6 hours.  This is *probably* overkill.



 
  2009/6/21 Robert Heller hel...@deepsoft.com
 
   At Sun, 21 Jun 2009 11:49:09 +0200 CentOS mailing list 
 centos@centos.org
   wrote:
  
   
   
   
Hi all. I'm currently having a following problem: I have only ssh
   connection
to a CentOS 5.2 system, there are two harddiscs on it. One stores the
   system
(/ filesystem) and the other should be used to help restore the
 system in
case of first disks' failure. I thought that maybe dump would be a
 good
utility to make it. But in only works on read-only filesystems. In
 one
  
   Dump works just fine on a read-write file system.  There is the pretty
   much standard limitation (that applies to *all* backup methods) that
   when backing up an 'active' file system: there will always be files
 that
   will miss the backup because they were being written during the backup
   process.
  
article I've read that making a snapshot of the / filesystem (then it
wouldbe read-only) and backing it could help. But aren't snapshots
   limited
to logical volumes (LVM)?  My friend told me to use rsync to back up
 the
entire / filesystem to the second disk and then in case o failure the
   system
from the copy should boot ok.
   
Could anyone provide any suggestions? I don't have physical contact
 with
   the
machine so for example RAID 1 isn't a possible option/
   
Any help will be very kindly appreciated.
  
   Make an initial dump to get the base system copied, then set up a cron
   job to sync the disks once a day (or more frequently) with rsync.
  
   
With regards,
R.
   
MIME-Version: 1.0
   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
   
   
  
   --
   Robert Heller -- 978-544-6933
   Deepwoods Software-- Download the Model Railroad System
   http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
   hel...@deepsoft.com   --
 

[CentOS] SOLVED Re: gtk+-2 and centos 5

2009-06-22 Thread Frank Cox
On Mon, 22 Jun 2009 02:11:26 -0400
Filipe Brandenburger wrote:


 That might shed some more light on that issue. Once you get
 pkg-config to work again, try to rerun your ./configure and see if
 it works now as you expect.

Problem solved.

[frank...@jeff ~]$ rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n'
pkgconfig cairo-devel pkgconfig-0.21-2.el5.x86_64
cairo-devel-1.2.4-5.el5.i386

 [r...@jeff frankcox]# yum install cairo-devel
Parsing package install arguments
Package cairo-devel-1.2.4-5.el5.i386 already installed and latest version
Resolving Dependencies
-- Running transaction check
--- Package cairo-devel.x86_64 0:1.2.4-5.el5 set to be updated
-- Finished Dependency Resolution
Installed: cairo-devel.x86_64 0:1.2.4-5.el5
Complete!

[frank...@jeff ~]$ pkg-config --cflags gtk+-2.0
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'Xrender', not found

[frank...@jeff ~]$  rpm -q --qf '%{name}-%{version}-%{release}.%
{arch}\n' xorg-x11-proto-devel
xorg-x11-proto-devel-7.1-9.el5.centos.i386

[r...@jeff frankcox]# yum install xorg-x11-proto-devel
Parsing package install arguments
Package xorg-x11-proto-devel-7.1-9.el5.centos.i386 already installed and latest
version Resolving Dependencies
-- Running transaction check
--- Package xorg-x11-proto-devel.x86_64 0:7.1-9.el5.centos set to be updated
-- Finished Dependency Resolution
Installed: xorg-x11-proto-devel.x86_64 0:7.1-9.el5.centos
Complete!

[frank...@jeff ~]$ pkg-config --cflags gtk
+-2.0-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12  

And after that, the configure worked!

So, the problem was i386-only versions of cairo-devel and xorg-x11-proto-devel
that were installed on that machine.  How that happened, I have no idea.  I
just set that machine up a couple of months ago with Centos 5.2/x86_64 and
upgraded it to 5.3 shortly after that.

 BTW, what exactly are you building? 

gxmame-0.35beta2.tar.bz2

Thanks loads for your help!  You put me on the right track to getting this
working and I appreciate your assistance immensely!

For the other chap who's looking for commercial support for Centos, here is a
lovely example of how Centos support really works.


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Geoff Galitz

 
 Commercial support is currently unavailable, although this is being
 investigated by the community. The difficulty is that CentOS is a
 volunteer run effort.
 
 Don't overreact Spiro. I really like your blurb, but the difficulty
 sentence
 has a negative ring. Please rephrase that single line and you get a
 gold-star. ;-)


I (amicably) object to the currently unavailable phrase.  As has been
mentioned support is available.  I would suggest the following change:


Currently the Centos Project cannot endorse any specific support offering
and does not directly offer commercial support.  Support is available from
third party consultants and firms.  

Volunteer support is available via IRC (channel #centos), Centos mailing
lists and the Centos forums.
-

I would avoid making any promises like we are working on a support program
or working on an endorsement program simply because there is no telling
when such a program would get rolled out.  Keeping people waiting around for
a long time is not so good for the Centos image.

FWIW, I think we should lighten up on the original poster. He asked a simple
question, he got an answer.  There's no need to beat up on each other...  it
is not constructive.  

-geoff


-
Geoff Galitz
Blankenheim NRW, Germany
http://eifel-consulting.biz/blog/
http://german-way.com/blog/



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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Sorin Srbu
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
Of Geoff Galitz
Sent: Monday, June 22, 2009 10:16 AM
To: 'CentOS mailing list'
Subject: Re: [CentOS] link to commercial support page isn't really
helpful

FWIW, I think we should lighten up on the original poster. He asked a
simple
question, he got an answer.  There's no need to beat up on each other...
it
is not constructive.

I second that; I've seen too many elitistic linux lists and forums, that
scared more people away than actually got the help they wanted. Let's not
make the CentOS list one of those.

-- 
/Sorin



smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Robert P. J. Day
On Mon, 22 Jun 2009, Bent Terp wrote:

 On Mon, Jun 22, 2009 at 1:27 AM, Robert P. J. Day rpj...@crashcourse.ca 
 wrote:
    talk to someone with a marketing background.  seriously.  all you
   need to do is admit that there's no support, but word it carefully so
   that it doesn't seem like a big deal.  just give people the warm
   fuzzies.  that's all they're looking for.

 No, let's NOT talk to marketing people about this - all they care
 about is making money by making stuff look nice and remove all the
 wrinkles in photoshop! Kinda like the above

  are people on this list being *deliberately* obtuse or addled?  the
only point i was originally trying to make was that the current
wording of no current commercial support found here:

  http://centos.org/modules/tinycontent/index.php?id=12

seemed, well, a bit abrupt and dismissive.  even if there's no
*official* commercial support, someone can certainly be a bit more
expansive on why.  and what other options are.  or *something*.  as it
stands, that page is little more than this page under construction,
which might not inspire readers with confidence.

  have i clarified the point i'm trying to make?  because, seriously,
if you're still too clueless to get what i'm trying to say, then
please save everyone the pixels and don't waste any more of your time
or mine.  i was *trying* to be helpful.

rday

p.s.  what also doesn't inspire readers with confidence is obvious
grammatical errors:  booking marking it will be of no value.
  ^^^ ^^^

*you* might not care about proper english, but others who are
considering adopting centos might be put off by that.  occasionally,
you *do* have to take off your geek hat and put on your marketing hat
when it comes time to promote your product.

--



Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter:   http://twitter.com/rpjday
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to rebuild installation CD

2009-06-22 Thread Kai Schaetzl
Chadley Wilson wrote on Mon, 22 Jun 2009 07:11:54 +0200:

 The fact That I have sent email to a mailing group address authorizes
 the group to read it. So I don't understand why we always have to
 go down this road.

Simple: this disclaimer is useless and intrusive at the same time, dead 
weight.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Robert P. J. Day
On Mon, 22 Jun 2009, Sorin Srbu wrote:

 Commercial support is currently unavailable, although this is being
 investigated by the community. The difficulty is that CentOS is a
 volunteer run effort.

 Don't overreact Spiro. I really like your blurb, but the difficulty
 sentence has a negative ring. Please rephrase that single line and
 you get a gold-star. ;-)

 I see Day's point, this is really a soft value, the touchy feely
 stuff, nothing technical, and it's not about lying either, it just
 sounds negative, that's all.

  that is *exactly* the point i was trying to make -- words have
emotional content, so avoid the ones with the *wrong* emotional
content.  and, yes, when it comes to promoting a product, sometimes it
*does* come down to touchy feely stuff.

rday

p.s.  let me make it clear why i'm being so obnoxious at the moment
about this. a local company currently supports their software suite on
linux on suse only.  they're getting more call for RH support.  i'd
like to suggest they consider centos because i might get some support
business out of it.  as part of their consideration, they will
undoubtedly go to centos.org and poke around, and i want them to be
happy with what they read there, and not be scared off.  and maybe,
out of the goodness of their hearts, they'll donate to centos because
they like it so *everybody* wins.

does that clear things up a bit?  :-)

--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter:   http://twitter.com/rpjday

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


[CentOS] startx problem

2009-06-22 Thread fabian

Dear All,

I have recently upgraded mu centos 5 final to centos 5.3 using yum update
i have the following setup which was running on centos 5

old server is

centos os 5 now centos 3 with all the utilitlies
Mailscanner 4.6
clam av 0.92 + spam assassin 3.1
mailwatch 1.04

after running yum server upgraded to centos 5.3 and download and installed
latest mail scanner and clamav+ spam assassin

centos 5.3
mailscanner 4.77
latest clamav+SA jules package


now i see that system works fine
but when i try run startx after loggin in

the display jus hangs n system freezes only i can hard reset it

i tried to see the /var/logs/Xorg.0.log but no much information

when i run system config display my display card is detected n it works fine

apprecite if someone can advice n help


regards


fabian


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[CentOS] Error while installing packages

2009-06-22 Thread Joseph L. Casale
While installing some deps on a fresh system, I am getting the following
errors:

Running Transaction
  Installing : cyrus-sasl-devel[ 1/10]
  Installing : alsa-lib[ 2/10]
/sbin/ldconfig: Cannot mmap file /usr/lib/libvmcf.so.

/sbin/ldconfig: Cannot mmap file /usr/lib/libvmcfssl.so.

  Installing : lzo [ 3/10]
/sbin/ldconfig: Cannot mmap file /usr/lib/libvmcf.so.

/sbin/ldconfig: Cannot mmap file /usr/lib/libvmcfssl.so.

  Installing : python-devel[ 4/10]
  Installing : openldap-devel  [ 5/10]
/sbin/ldconfig: Cannot mmap file /usr/lib/libvmcf.so.

/sbin/ldconfig: Cannot mmap file /usr/lib/libvmcfssl.so.

  Installing : gdbm-devel  [ 6/10]
  Installing : alsa-lib-devel  [ 7/10]
  Installing : libtiff-devel   [ 8/10]
  Installing : db4-devel   [ 9/10]
  Installing : lzo-devel   [10/10]

Anyone know why this is happening and how to deal with this?

Thanks!
jlc

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


Re: [CentOS] Filesystem backup?

2009-06-22 Thread David Goldsmith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rafał Radecki wrote:
 Could You please explain what exactly that line means:
 
 # dump 0f - / | (cd /seconddisk; restore -rf -)

As root, do a level 0 (or full) backup of the root / filesystem. Rather
than write the backup output to a regular file, send it to standard out.

Pipe the standard output to a new process.  For the new process, change
your working location to be another directory where you have another
filesystem mounted.  It will be best if this second filesystem was
formatted prior to running this command.

Run a restore of the dump results in a non-interactive mode taking as
input the output of the dump command.

- --
David Goldsmith
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko/dJwACgkQ417vU8/9QflgFQCfWQRtRe/CP1yCyKbkSyf2o2Ig
XGgAn1xAtnq7sTUtnF2chBAAjtD80fR3
=rk26
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Wifi connection finally solved

2009-06-22 Thread Sorin Srbu
After a year or so of trying to get wifi-cards of various brands and chipsets 
to work, today it finally happened!
I got my 3com 3CRPAG175 to jump to it and connect to the department 
WPA2 AP! 
I wouldn't have done it without
your help. Thanks all!

One question though, should it really take upwards of a minute or so till the 
NetworkManager says it's now connected??

-- 
BW,
Sorin
---
# Sorin Srbu[Sysadmin, Systems Engineer]
# Dept of Medicinal Chemistry,  Phone: +46 (0)18-4714482 3 signals GSM
# Div of Org Pharm Chem,Mobile: +46 (0)701-718023
# Box 574, Uppsala University,  Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b
#   Web: http://www.orgfarm.uu.se
---
# ()  ASCII ribbon campaign - Against html E-mail
# /\
#
# MotD follows:
# CentOS: Enterprise Linux for the rest of us.



smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Filesystem backup?

2009-06-22 Thread Robert Heller
At Mon, 22 Jun 2009 08:26:22 +0200 CentOS mailing list centos@centos.org 
wrote:

 
 
 
 Could You please explain what exactly that line means:
 
 # dump 0f - / | (cd /seconddisk; restore -rf -)

This does a full dump of the file system mounted as '/' and sends it
down a pipe to a shell process that first changes its working directory
to /seconddisk and then runs the restore program to restore the dump
coming on on stdin (from the other end of the pipe).

This does a disk-to-disk backup from / to /seconddisk.

Useful reading:

man dump
man restore
man bash

 
 You are very helpful.
 
 With regards,
 R.
 
 2009/6/21 Robert Heller hel...@deepsoft.com
 
  At Sun, 21 Jun 2009 15:06:35 +0200 CentOS mailing list centos@centos.org
  wrote:
 
  
  
  
   I think about using dd instead of dump? Is this an acceptable idea?
 
  *NO!*.  dd is NOT a proper backup tool...  I don't know where the idea
  that it is comes from (probably some really old UNIX sys admin book or
  something). dd has many uses, but it is not normally considered a
  backup tool.  Dump is a perfectly acceptable backup tool.  Dump was
  *designed* as the backup tool of choice. And it works just fine on a
  read-write file system, with the *standard* disclaimer that if used on
  a file system that is 'active', it (*like all backup tools*) will miss
  files that are being created/writen to during the backup.  Generally,
  the missed files will be gotten on a later backup.  On a normal, typical
  system, one would run the full backup at a 'quiet' time (a time frame
  of low activity, with the idea of avoiding having the backup interfere
  with normal activities and of normal activities interfering with the
  backup. On a typical normal system, the missed files will likely be
  things like the tail end of log files or various trasienent files (like
  mail queue files and the like).
 
  If you want a non-live mirror on the second does do this:
 
  Pick a 'quiet' time (say on a quiet Sunday morning) and do this:
 
  (Assume that /dev/sdb1 is the sole partition on the second disk):
 
  # mkfs.ext3 -L SecondDisk /dev/sdb1
  # mkdir /seconddisk
  # mount -v -t ext3 LABEL=SecondDisk /seconddisk
  # dump 0f - / | (cd /seconddisk; restore -rf -)
 
  At this point pick out a good book to read and get comfortable and read
  a chapter or three or you can do whatever you would do to kill some time
  -- ie go for a walk (or walk the dog), play a game of hoops or go for a
  swim or whatever.  I am assuming that the disk is probably good sized,
  so full dump may take some time.  You could stare at the screen for an
  hour, if that floats your boat...  Dump will display a progress report
  every 5 minutes.
 
  # umount -v /seconddisk
 
  Now create a script (Let's call it '/usr/local/sbin/dailybackup'):
 
 
  #!/bin/sh
  /sbin/e2fsck -C -T -a LABEL=SecondDisk
  mount -v -t ext3 LABEL=SecondDisk /seconddisk
  rsync -v -a -x -H --delete --delete-after --exclude=lost+found/ /
  /seconddisk
  umount -v /seconddisk
 
 
 
  # chmod +x /usr/local/sbin/dailybackup
 
  Now create a daily cron job:
 
  # crontab -e
 
  Add the line:
 
  10 0 * * * /usr/local/sbin/dailybackup
 
 
  And you are all set.  Once a day an 10 past midnight, the backup disk
  will be sync'ed to the live system disk.  Every morning you will get a
  message from cron with the output.
 
  If you really want to, you can change the '0' above to '0,6,12,18' and
  the sync'ing will happen every 6 hours.  This is *probably* overkill.
 
 
 
  
   2009/6/21 Robert Heller hel...@deepsoft.com
  
At Sun, 21 Jun 2009 11:49:09 +0200 CentOS mailing list 
  centos@centos.org
wrote:
   



 Hi all. I'm currently having a following problem: I have only ssh
connection
 to a CentOS 5.2 system, there are two harddiscs on it. One stores the
system
 (/ filesystem) and the other should be used to help restore the
  system in
 case of first disks' failure. I thought that maybe dump would be a
  good
 utility to make it. But in only works on read-only filesystems. In
  one
   
Dump works just fine on a read-write file system.  There is the pretty
much standard limitation (that applies to *all* backup methods) that
when backing up an 'active' file system: there will always be files
  that
will miss the backup because they were being written during the backup
process.
   
 article I've read that making a snapshot of the / filesystem (then it
 wouldbe read-only) and backing it could help. But aren't snapshots
limited
 to logical volumes (LVM)?  My friend told me to use rsync to back up
  the
 entire / filesystem to the second disk and then in case o failure the
system
 from the copy should boot ok.

 Could anyone provide any suggestions? I don't have physical contact
  with
the
 machine so for example RAID 1 isn't a possible option/

 Any help will be very kindly appreciated.
   
Make an initial dump to get 

Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Robert


Bent Terp wrote:
snip

 From my personal experience, we've received better support from CentOS 
 than from RedHat!
 What you don't get is a phone-droid that's being paid minimum wages to 
 listen to phone abuse.
I'm with you on that one.  My first stab at Linux was in '99 when I 
bought an official boxed set of RH6.0, which was supposed to include 
installation support.  Stuff wasn't nearly as automatic then as it is 
now. (Pre-CUPS) printing was a pain, network was a pain, dial-up was 
worrisome and even X-Window was iffy.  I called, your phone-droid 
answered and I soon decided that if RH6.0 was gonna be a reality, I 
would be doing it myself.

Since CentOS, this mailing list has been amazingly helpful, often 
astonishingly quick with a right-on answer.

And, to RedHat's credit, simple networks now just happen, printing is 
a breeze and I'm even tempted to allow this thing to boot directly into 
run level 5.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to rebuild installation CD

2009-06-22 Thread Frank Cox
On Mon, 22 Jun 2009 13:51:54 +0200
Chadley Wilson wrote:

 |Simple: this disclaimer is useless and intrusive at the same time, dead
 |weight.
 |
 |Kai
 |
 [CW] Thanks for the tip. As I said, I have no control over its existence. :(

Perhaps you could use a different (disclaimer-free) email address for mailing
lists?  There are all kinds of free webmail services around, gmail probably
being one of the better ones.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to rebuild installation CD

2009-06-22 Thread Scott Silva
on 6-21-2009 10:20 PM Chadley Wilson spake the following:
 The initrd's are created as part of the post section of the kernel RPM. If
 you can get your driver into the kernel rpm it should get into the initrd.
 [CW] Hi Scott, thanks for the response, so you are saying that if I get the 
 kernel source rpm, then compile the driver and build a new kernel rpm, put it 
 on the disc and rebuild the disc this should work?
 [CW] I would very much appreciate some pointers to some how-to's on this if 
 anyone knows of any good ones.
 
Basically, yes. You need to get your driver into the kernel that the CD boots
from, and into the kernel rpm on the CD. If the kernel rpm is done right, it
will run mkinitrd with the existing loaded driver names as an argument.



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


Re: [CentOS] Program to ban sniffers

2009-06-22 Thread Scott Silva
on 6-21-2009 2:31 AM Kai Schaetzl spake the following:
 Barry Brimer wrote on Sat, 20 Jun 2009 22:51:44 -0500 (CDT):
 
 Many years ago I used portsentry for this.  You can find an article about 
 portsentry at http://www.securityfocus.com/infocus/1580
 
 and can be downloaded here:
 http://sourceforge.net/project/showfiles.php?group_id=80573
 
 Kai
 
Does portsentry still compile? It has to be near 10 years old by now.




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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Scott Silva
on 6-21-2009 5:28 AM Robert P. J. Day spake the following:
 On Sun, 21 Jun 2009, Karanbir Singh wrote:
 
 On 21/06/09 12:09, Robert P. J. Day wrote:
  This Section or Page is coming soon.

 that is *not* going to give this client any warm fuzzies.  from a
 promotion perspective, either that page should get some actual
 content, or the link should be dropped entirely.  or something.
 That page does indeed reflect the current state of play - there is
 *no* centos approved or recommended commercial support entity - but
 it *is* something that is being worked on.
 
   i realize that page is *technically* correct, but its wording is
 quite discouraging:
 
   http://www.centos.org/modules/tinycontent/index.php?id=12
 
 This Section or Page is coming soon.
 
 This page is a holder for Content that is not yet available for
 publication.
 
 This page will not go away when the content is available, so booking
 marking it will be of no value. The URL of the link you followed will
 be updated when the real content is published.
 
   even if there's no support right now, you *need* to give readers the
 unmistakable impression that it's coming, that it's a work in
 progress, that you're negotiating with potential support providers ...
 *something*.  as it is, that page can be summarized as simply
 admitting, support?  we got nuthin'
 
   i haven't yet proposed to my client that they should consider centos
 instead of rhel but i can *guarantee* that, the instant i do, they
 will be at the centos site, checking it out, and when they hit that
 page on commercial support, that will be the end of that discussion.
 guaranteed.
 
 rday
 --

If they want commercial support, what is wrong with RedHat? That is what they
do. CentOS is a community supported enterprise distro. Most organizations
that want support usually look for an established business entity.

 Besides, paid contracts at the top of the food chain keeps the scraps
floating down to the rest of us. If RedHat ever sees CentOS as a competition,
they will surely do something to make it more difficult.




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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Robert P. J. Day
On Mon, 22 Jun 2009, Scott Silva wrote:

 If they want commercial support, what is wrong with RedHat? That is
 what they do. CentOS is a community supported enterprise distro.
 Most organizations that want support usually look for an established
 business entity.

  Besides, paid contracts at the top of the food chain keeps the
 scraps floating down to the rest of us. If RedHat ever sees CentOS
 as a competition, they will surely do something to make it more
 difficult.

  you're right, and i'm starting to appreciate the distinction people
have been pointing out to me.  that still means the commercial
support page should be clarified to make that obvious in some way.

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter:   http://twitter.com/rpjday

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


[CentOS] Make sshd log IP addresses, not hostnames

2009-06-22 Thread Scott Moseman
Can I adjust the ssh daemon to log IP addresses instead of hostnames?

I assume this situation is feasible...

* 10.10.10.10 attempts to ssh to the server
* reverse dns resolves to somehost.domain.com
* ssh daemon logs somehost.domain.com in messages
* foward dns on somehost.domain.com resolves to 10.10.10.20

Thus it causes some of my scripts a problem if the DNS resolutions
don't match.  It would be nice if it could just log IP addresses only.

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


Re: [CentOS] Minor dovecot/KMail problem

2009-06-22 Thread Gary Greene
On 6/20/09 5:43 AM, Timothy Murphy gayle...@eircom.net wrote:
 I'm running a dovecot/IMAP server under CentOS-5.3 on my desktop,
 reading the mail with KMail on my laptop.
 
 I have what seems a venerable and well-documented problem/bug;
 when I click on Check Mail I get an error message
 Error while getting folder information ...
 Actually, this doesn't appear to have the slightest effect
 on kmail, which works perfectly if one just presses Continue.
 
 But I have worked out that the cause of the problem
 is that there exists a kind of ghost folder, uidvalidity,
 which is listed among the folders on the kmail page
 but does not in fact seem to exist in my maildir on the server.
 
 Deleting the folder under kmail has no permanent effect;
 it simply re-appears when I re-start kmail.
 
 I assume the folder is listed in some way in the dovecot.index ;
 and my question really is: if I delete this index file
 will it be re-created automatically?
 
 This bug/feature seems to have been present for years,
 which I suppose is par for KDE.

More like par for RH, since they focus on GNOME instead. (Can't wait to see
when RHEL/CentOS when they base the KDE in it off the work of the Fedora KDE
volunteers... Likely in 6.)

 To make it as difficult as possible to diagnose,
 the error message on the kmail page is incomplete,
 even when expanded to the whole screen.
 In particular it does not specify (on the visible part)
 what folder is causing the problem.
 Nor is the error listed with other dovecot information
 in /var/log/messages .
 
 Any suggestions/advice gratefully received.
 

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


Re: [CentOS] Make sshd log IP addresses, not hostnames

2009-06-22 Thread Brett Serkez
On Mon, Jun 22, 2009 at 3:21 PM, Scott Mosemanscmose...@gmail.com wrote:
 Can I adjust the ssh daemon to log IP addresses instead of hostnames?

In sshd_config set UseDNS to no:

UseDNS no

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


Re: [CentOS] Minor dovecot/KMail problem

2009-06-22 Thread Gary Greene
On 6/22/09 12:31 PM, Gary Greene ggre...@minervanetworks.com wrote:
 On 6/20/09 5:43 AM, Timothy Murphy gayle...@eircom.net wrote:
 I'm running a dovecot/IMAP server under CentOS-5.3 on my desktop,
 reading the mail with KMail on my laptop.
 
 I have what seems a venerable and well-documented problem/bug;
 when I click on Check Mail I get an error message
 Error while getting folder information ...
 Actually, this doesn't appear to have the slightest effect
 on kmail, which works perfectly if one just presses Continue.
 
 But I have worked out that the cause of the problem
 is that there exists a kind of ghost folder, uidvalidity,
 which is listed among the folders on the kmail page
 but does not in fact seem to exist in my maildir on the server.
 
 Deleting the folder under kmail has no permanent effect;
 it simply re-appears when I re-start kmail.
 
 I assume the folder is listed in some way in the dovecot.index ;
 and my question really is: if I delete this index file
 will it be re-created automatically?
 
 This bug/feature seems to have been present for years,
 which I suppose is par for KDE.
 
 More like par for RH, since they focus on GNOME instead. (Can't wait to see
 when RHEL/CentOS when they base the KDE in it off the work of the Fedora KDE
 volunteers... Likely in 6.)
 
 To make it as difficult as possible to diagnose,
 the error message on the kmail page is incomplete,
 even when expanded to the whole screen.
 In particular it does not specify (on the visible part)
 what folder is causing the problem.
 Nor is the error listed with other dovecot information
 in /var/log/messages .
 
 Any suggestions/advice gratefully received.
 

Replying to my own message since I forgot to add... Can you look at the
debugging output for Kmail in ~/.xsession-errors, since much of the KDE
debugging channels get logged here.

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


Re: [CentOS] Make sshd log IP addresses, not hostnames

2009-06-22 Thread Filipe Brandenburger
Hi,

On Mon, Jun 22, 2009 at 15:21, Scott Mosemanscmose...@gmail.com wrote:
 Can I adjust the ssh daemon to log IP addresses instead of hostnames?

You can disable all DNS lookups by adding this line to /etc/ssh/sshd_config:

UseDNS no

This will probably accomplish what you want.

 I assume this situation is feasible...
 * 10.10.10.10 attempts to ssh to the server
 * reverse dns resolves to somehost.domain.com
 * ssh daemon logs somehost.domain.com in messages
 * foward dns on somehost.domain.com resolves to 10.10.10.20
 Thus it causes some of my scripts a problem if the DNS resolutions
 don't match.  It would be nice if it could just log IP addresses only.

I believe the OpenSSH server will only log and use domain names if the
forward DNS matches the reverse DNS, otherwise it will probably log
the IP only (as if there was no reverse DNS for the IP) and maybe even
log a warning that forward and reverse do not match. I haven't tested
that recently, but that is how I would expect sshd to work...

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


Re: [CentOS] Make sshd log IP addresses, not hostnames

2009-06-22 Thread Scott Moseman
Indeed, that does log only the IP address.  I could have sworn that I
already played with that config option, but apparently I did not.

Thanks,
Scott



On Mon, Jun 22, 2009 at 2:34 PM, Filipe
Brandenburgerfilbran...@gmail.com wrote:

 UseDNS no

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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Les Mikesell
Robert P. J. Day wrote:
 On Mon, 22 Jun 2009, Scott Silva wrote:
 
 If they want commercial support, what is wrong with RedHat? That is
 what they do. CentOS is a community supported enterprise distro.
 Most organizations that want support usually look for an established
 business entity.

  Besides, paid contracts at the top of the food chain keeps the
 scraps floating down to the rest of us. If RedHat ever sees CentOS
 as a competition, they will surely do something to make it more
 difficult.
 
   you're right, and i'm starting to appreciate the distinction people
 have been pointing out to me.  that still means the commercial
 support page should be clarified to make that obvious in some way.

The obvious way is that someone running mostly Centos can duplicate 
their problem on a supported RHEL machine if other approaches fail 
because of the degree of compatibility.  I'm not sure if you'd want to 
come out and say that officially, though.  However, if RH has any sense 
at all, they'll realize that the only reason they have any customers 
left after the fedora split other than a few companies that can afford 
to license every machine is because Centos lets them do this.

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



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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Robert Heller
At Mon, 22 Jun 2009 15:14:20 -0400 (EDT) CentOS mailing list 
centos@centos.org wrote:

 
 On Mon, 22 Jun 2009, Scott Silva wrote:
 
  If they want commercial support, what is wrong with RedHat? That is
  what they do. CentOS is a community supported enterprise distro.
  Most organizations that want support usually look for an established
  business entity.
 
   Besides, paid contracts at the top of the food chain keeps the
  scraps floating down to the rest of us. If RedHat ever sees CentOS
  as a competition, they will surely do something to make it more
  difficult.
 
   you're right, and i'm starting to appreciate the distinction people
 have been pointing out to me.  that still means the commercial
 support page should be clarified to make that obvious in some way.

And there are different levels of 'commercial support'.  One option is
indeed RedHat itself.  For some companies / organizations RedHat's level
of support is too costly (for some definitions of 'cost' -- not always
a pure monetary issue in some cases).  Many 'mid sized' companies /
organizations have an in-house IT staff, who are capable of dealing with
day-to-day management and are also capable of getting outside support
via newsgroups, E-Mail lists, and Wikis.  *Some* smaller companies /
organizations might prefer a 'local' personal support structure, rather
than support from an office in NC or some equally distant location. *I*
suspect that many of these smaller companies / organizations might
prefer to go with CentOS if they knew there was a local support person
that they could put on a retainer contract.  Yes, this probably does
mean taking some business away from RedHat, but it is probably business
RedHat might prefer to farm out anyway, since getting daily calls from
Middle Of Nowhereville about 'trivial' issues probably costs RedHat more
than they make on the lowest level of support.

 
 rday
 --
 
 
 Robert P. J. Day   Waterloo, Ontario, CANADA
 
 Linux Consulting, Training and Annoying Kernel Pedantry.
 
 Web page:  http://crashcourse.ca
 Linked In: http://www.linkedin.com/in/rpjday
 Twitter:   http://twitter.com/rpjday
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 


-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/

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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-22 Thread Michael Semcheski
I think the response from Geoff below is excellent.  Its honest, to
the point, and understandable.

On Mon, Jun 22, 2009 at 4:15 AM, Geoff Galitzge...@galitz.org wrote:
 I (amicably) object to the currently unavailable phrase.  As has been
 mentioned support is available.  I would suggest the following change:

 
 Currently the Centos Project cannot endorse any specific support offering
 and does not directly offer commercial support.  Support is available from
 third party consultants and firms.

 Volunteer support is available via IRC (channel #centos), Centos mailing
 lists and the Centos forums.
 -

 I would avoid making any promises like we are working on a support program
 or working on an endorsement program simply because there is no telling
 when such a program would get rolled out.  Keeping people waiting around for
 a long time is not so good for the Centos image.

 FWIW, I think we should lighten up on the original poster. He asked a simple
 question, he got an answer.  There's no need to beat up on each other...  it
 is not constructive.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos