[CentOS-virt] Boot from SCSI in HVM

2009-07-16 Thread Alessio Cecchi
Hello,

I have to migrate 3 server based on debian from physical to Xen (fully
virtualized). For doing this I use clonezilla.

With vmware no problem, but when I restore image in Xen I have the
problem that the HVM BIOS of CentOS 5.3 cannot boot from SCSI device
(sda in my situation).

If I set the virtual disk like hda no problem but the original disk was
sda and I need to boot from sda.

How can I do?
Thanks
-- 
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] consulta shorewall?

2009-07-16 Thread ces can

lo que pasa es lo siguiente:

 

si tu te conectas directamente a internet pasa esto:

 

tu colocas www.google.com para resolver el nombre necesitaras de un servidor 
dns(puerto 53 udp) luego cuando halla resuelto la ip del lugar se 
conectara(puerto 80 tcp)

 

ahora si usas un proxy transparente con dos interfaces de red una para internet 
y otra para tu lan:

 

premisas:tu lan esta conectada a la interfaz eth0 y internet a eth1

tu colocas www.google.com para resolver el nombre necesitaras de un servidor 
dns(puerto 53 udp) si no has activado nat no se podra conectar al servidor dns 
salvo que lo tengas en la lan,ahora luego que ha resuelto la direccion ip 
necesitara conectarse mediante el puerto 80  a internet pero como tu proxy 
transparente esta configurado para que todo lo que ingrese por el puerto 80 lo 
reenvie al puerto 3128, el proxy analizara el contenido segun lo que hayas 
configurado, denegado o permitido, para ingresar a hotmail por ejemplo que usa 
http seguro(puerto 443 tcp) lo hara directamente sin uso de proxy

 

espero hallas entendido.

 

Cesar Canales

 

 


From: eduardo.ate...@gmail.com
To: centos-es@centos.org
Date: Thu, 16 Jul 2009 14:48:35 -0400
Subject: [CentOS-es] consulta shorewall?


hola lista.
 
tengo un servidor centos 5.3 con shorewall + sqiud en la misma maquina, eth0 
internet y eth1 red interna y redirijo el trafico internet hacia el puerto 3128 
squid transparente. el problema o mi duda es, que al comentar el 
enmascaramiento que hago entre eth0 y eth1, sigo con internet y puedo bloquear 
el msn y todo, pero pierdo la salida a los puerto de correo y las maquinas de 
la red interna no puede enviar correos.y cuando el masq esta funcionando si 
tengo salida a los correos pero no puedo bloquear el msn, al parecer el  msn 
pasa a traves de otro puerto?
 
mi consulta es: porque debo hacer nat ? entre las interfaces? 

_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] consulta shorewall?

2009-07-16 Thread Walter Cervini
Si usas un proxy, es ilogico hacer nat, de el mismo, ya que se supone que
una de las interfaces tiene un IP publica.
De hecho los proxy se colocan justamente para mejorar el trafico hacia el
exterior y filtrar el contenido WEB, solo el proxy deberia poder efectuar
cosultas hacia el exterior, y procesar las perticiones de las maquinas de la
LAN.
_
Walter Cervini
movil: 0424-1543350
 0412-2042186
  Pin: 20911CF3


El 17 de julio de 2009 14:36, ces can arvega...@hotmail.com escribió:

  lo que pasa es lo siguiente:

 si tu te conectas directamente a internet pasa esto:

 tu colocas www.google.com para resolver el nombre necesitaras de un
 servidor dns(puerto 53 udp) luego cuando halla resuelto la ip del lugar se
 conectara(puerto 80 tcp)

 ahora si usas un proxy transparente con dos interfaces de red una para
 internet y otra para tu lan:

 premisas:tu lan esta conectada a la interfaz eth0 y internet a eth1
 tu colocas www.google.com para resolver el nombre necesitaras de un
 servidor dns(puerto 53 udp) si no has activado nat no se podra conectar al
 servidor dns salvo que lo tengas en la lan,ahora luego que ha resuelto la
 direccion ip necesitara conectarse mediante el puerto 80  a internet pero
 como tu proxy transparente esta configurado para que todo lo que ingrese por
 el puerto 80 lo reenvie al puerto 3128, el proxy analizara el contenido
 segun lo que hayas configurado, denegado o permitido, para ingresar a
 hotmail por ejemplo que usa http seguro(puerto 443 tcp) lo hara directamente
 sin uso de proxy

 espero hallas entendido.

 Cesar Canales


 --
 From: eduardo.ate...@gmail.com
 To: centos-es@centos.org
 Date: Thu, 16 Jul 2009 14:48:35 -0400
 Subject: [CentOS-es] consulta shorewall?

 hola lista.

 tengo un servidor centos 5.3 con shorewall + sqiud en la misma maquina,
 eth0 internet y eth1 red interna y redirijo el trafico internet hacia el
 puerto 3128 squid transparente. el problema o mi duda es, que al comentar el
 enmascaramiento que hago entre eth0 y eth1, sigo con internet y puedo
 bloquear el msn y todo, pero pierdo la salida a los puerto de correo y las
 maquinas de la red interna no puede enviar correos.y cuando el masq esta
 funcionando si tengo salida a los correos pero no puedo bloquear el msn, al
 parecer el  msn pasa a traves de otro puerto?

 mi consulta es: porque debo hacer nat ? entre las interfaces?


 --
 Invite your mail contacts to join your friends list with Windows Live
 Spaces. It's easy! Try 
 it!http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us

 ___
 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] consulta shorewall?

2009-07-16 Thread Eduardo Atenas
hola gracias
 mi configuracion es eth0(net) internet  eth1(loc) local, olvide comentar q 
eth0 esta conectada a un router dsl y esta ip es por dhcp del router y no una 
ip  publica por el comentario de walter no si esto tiene q ver? podria ser? en 
fin actualmente pienso q funciona bien pero no he logrado bloquear el msn por q 
si bloquea las paginas web.  


aca va el policy
-
# Policies for traffic originating from the local LAN (loc)
#
# If you want to force clients to access the Internet via a proxy server
# on your firewall, change the loc to net policy to REJECT info.
loc net ACCEPT  info
loc $FW REJECT  info
loc all REJECT  info

#
# Policies for traffic originating from the firewall ($FW)
#
$FW net ACCEPT
$FW loc REJECT  info
$FW all REJECT  info

#
# Policies for traffic originating from the Internet zone (net)
#
net $FW DROPinfo
net loc DROPinfo
net all DROPinfo

# THE FOLLOWING POLICY MUST BE LAST
all all REJECT  info
#LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE

Aca el masq

# For additional information, see http://shorewall.net/Documentation.htm#Masq
#
###
#INTERFACE  SOURCE  ADDRESS PROTO   PORT(S) IPSEC   
MARK
eth0eth1
#LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE
~

y aca va lo que tengo en squid.

acl redlocal src 192.168.2.0/24
acl privilegiados src /etc/squid/privilegiados
acl sitiosdenegados url_regex /etc/squid/sitiosdenegados
http_access allow privilegiados
http_access allow redlocal !sitiosdenegados
acl msnmime req_mime_type ^application/x-msn-messenger$
acl msngw url_regex -i gateway.dll
http_access deny msnmime
http_access deny msngw





--
From: César CRUZ ARRUNATEGUI cc...@mail.ipd.gob.pe
Sent: Thursday, July 16, 2009 4:37 PM
To: centos-es@centos.org; Eduardo Atenas eduardo.ate...@gmail.com
Subject: Re: [CentOS-es] consulta shorewall?

 hola.. 
 1. podrias mostrarnos el contenido de los archivos masq y policy que tienes 
 configurado en el shorewall??
 2. no basta solo con bloquear por firewall el puerto que usa messenger, 
 tambien tienes que definir unas reglas control access 
   en squid. agrega estas (despues te paso la factura) :P
   # Definimos acls para bloquear messenger
   acl msn_messenger req_mime_type ^application/x-msn-messenger$
   ## Bloqueamos getway.dll para versiones antiguas de msn-messenger
   acl msn_url url_regex -i gateway.dll
   ## Bloqueamos el puerto utilizado por todas las versiones
   acl msn_port port 1863
   ## Bloqueamos por metodo POST utilizado por las nuvas vesiones
   acl msn_method method POST
 
 revisa bien en tus politicas que la regla loc -- net este como DROP.
 
 
 César D. Cruz Arrunátegui
 
 - Mensaje original -
 De: Eduardo Atenas eduardo.ate...@gmail.com
 Para: centos-es@centos.org
 Enviados: Jueves, 16 de Julio 2009 13:48:35 GMT -05:00 Colombia
 Asunto: [CentOS-es] consulta shorewall?
 
 
 
 hola lista. 
 
 tengo un servidor centos 5.3 con shorewall + sqiud en la misma maquina, eth0 
 internet y eth1 red interna y redirijo el trafico internet hacia el puerto 
 3128 squid transparente. el problema o mi duda es, que al comentar el 
 enmascaramiento que hago entre eth0 y eth1, sigo con internet y puedo 
 bloquear el msn y todo, pero pierdo la salida a los puerto de correo y las 
 maquinas de la red interna no puede enviar correos.y cuando el masq esta 
 funcionando si tengo salida a los correos pero no puedo bloquear el msn, al 
 parecer el msn pasa a traves de otro puerto? 
 
 mi consulta es: porque debo hacer nat ? entre las interfaces? 
 
 ___
 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] consulta shorewall?

2009-07-16 Thread ces can

 

creo que tienes que ver que el proxy tiene dos interfaces y esta activado el 
modo transparente(de ahí su nombre), osea no tienes que ir a configurar en el 
navegador el servidor proxy. 

 

Lo que tu me dices si funcionaria en una configuracion de navedor web hacia un 
servidor proxy no transparente(o no habilitado)
 

espero hallas entendido.


Cesar Canales


From: wcerv...@gmail.com
Date: Fri, 17 Jul 2009 15:57:12 +1930
To: centos-es@centos.org
Subject: Re: [CentOS-es] consulta shorewall?


Si usas un proxy, es ilogico hacer nat, de el mismo, ya que se supone que una 
de las interfaces tiene un IP publica.
De hecho los proxy se colocan justamente para mejorar el trafico hacia el 
exterior y filtrar el contenido WEB, solo el proxy deberia poder efectuar 
cosultas hacia el exterior, y procesar las perticiones de las maquinas de la 
LAN._
Walter Cervini
movil: 0424-1543350
 0412-2042186
  Pin: 20911CF3



El 17 de julio de 2009 14:36, ces can arvega...@hotmail.com escribió:


lo que pasa es lo siguiente:
 
si tu te conectas directamente a internet pasa esto:
 
tu colocas www.google.com para resolver el nombre necesitaras de un servidor 
dns(puerto 53 udp) luego cuando halla resuelto la ip del lugar se 
conectara(puerto 80 tcp)
 
ahora si usas un proxy transparente con dos interfaces de red una para internet 
y otra para tu lan:
 
premisas:tu lan esta conectada a la interfaz eth0 y internet a eth1
tu colocas www.google.com para resolver el nombre necesitaras de un servidor 
dns(puerto 53 udp) si no has activado nat no se podra conectar al servidor dns 
salvo que lo tengas en la lan,ahora luego que ha resuelto la direccion ip 
necesitara conectarse mediante el puerto 80  a internet pero como tu proxy 
transparente esta configurado para que todo lo que ingrese por el puerto 80 lo 
reenvie al puerto 3128, el proxy analizara el contenido segun lo que hayas 
configurado, denegado o permitido, para ingresar a hotmail por ejemplo que usa 
http seguro(puerto 443 tcp) lo hara directamente sin uso de proxy
 
espero hallas entendido.
 
Cesar Canales
 
 


From: eduardo.ate...@gmail.com
To: centos-es@centos.org
Date: Thu, 16 Jul 2009 14:48:35 -0400
Subject: [CentOS-es] consulta shorewall?



hola lista.
 
tengo un servidor centos 5.3 con shorewall + sqiud en la misma maquina, eth0 
internet y eth1 red interna y redirijo el trafico internet hacia el puerto 3128 
squid transparente. el problema o mi duda es, que al comentar el 
enmascaramiento que hago entre eth0 y eth1, sigo con internet y puedo bloquear 
el msn y todo, pero pierdo la salida a los puerto de correo y las maquinas de 
la red interna no puede enviar correos.y cuando el masq esta funcionando si 
tengo salida a los correos pero no puedo bloquear el msn, al parecer el  msn 
pasa a traves de otro puerto?
 
mi consulta es: porque debo hacer nat ? entre las interfaces? 



Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy! Try it!
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es



_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] consulta shorewall?

2009-07-16 Thread Eduardo Atenas
cambie la politica a drop y en rules accepte los puertos smtp y pop3 
110,25,26,995  para gmail
y esto es lo q me aparece en el log de squid cuando me trato de conectar a 
msn

1247789585.341735 192.168.2.3 TCP_MISS/200 7771 POST 
http://207.46.107.23/gateway/gateway.dll? - DIRECT/207.46.107.23 
application/x-msn-messenger

pero no aparece como TCP_DENIED


--
From: César CRUZ ARRUNATEGUI cc...@mail.ipd.gob.pe
Sent: Thursday, July 16, 2009 4:37 PM
To: centos-es@centos.org; Eduardo Atenas eduardo.ate...@gmail.com
Subject: Re: [CentOS-es] consulta shorewall?

 hola..
 1. podrias mostrarnos el contenido de los archivos masq y policy que 
 tienes configurado en el shorewall??
 2. no basta solo con bloquear por firewall el puerto que usa messenger, 
 tambien tienes que definir unas reglas control access
   en squid. agrega estas (despues te paso la factura) :P
   # Definimos acls para bloquear messenger
   acl msn_messenger req_mime_type ^application/x-msn-messenger$
   ## Bloqueamos getway.dll para versiones antiguas de msn-messenger
   acl msn_url url_regex -i gateway.dll
   ## Bloqueamos el puerto utilizado por todas las versiones
   acl msn_port port 1863
   ## Bloqueamos por metodo POST utilizado por las nuvas vesiones
   acl msn_method method POST

 revisa bien en tus politicas que la regla loc -- net este como DROP.


 César D. Cruz Arrunátegui

 - Mensaje original -
 De: Eduardo Atenas eduardo.ate...@gmail.com
 Para: centos-es@centos.org
 Enviados: Jueves, 16 de Julio 2009 13:48:35 GMT -05:00 Colombia
 Asunto: [CentOS-es] consulta shorewall?



 hola lista.

 tengo un servidor centos 5.3 con shorewall + sqiud en la misma maquina, 
 eth0 internet y eth1 red interna y redirijo el trafico internet hacia el 
 puerto 3128 squid transparente. el problema o mi duda es, que al comentar 
 el enmascaramiento que hago entre eth0 y eth1, sigo con internet y puedo 
 bloquear el msn y todo, pero pierdo la salida a los puerto de correo y las 
 maquinas de la red interna no puede enviar correos.y cuando el masq 
 esta funcionando si tengo salida a los correos pero no puedo bloquear el 
 msn, al parecer el msn pasa a traves de otro puerto?

 mi consulta es: porque debo hacer nat ? entre las interfaces?

 ___
 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] Conflicting perl packages?

2009-07-16 Thread Les Bell

Marko Vojinovic vvma...@gmail.com wrote:


The simple ordinary yum update of CentOS 5.3 spits a bunch of
transaction check errors regarding packages
perl-IO-Compress-Zlib-2.015-1.el5.rf.noarch and
perl-IO-Compress-2.020-1.el5.rf.noarch which is supposed to replace
perl-IO-Compress-Base-2.015-1.el5.rf.noarch


I had the same problem on one system, which was niggling at the back of my
mind. I fixed it by brute force:

rpm -e --nodeps perl-Compress-Zlib perl-IO-Compress-Zlib
yum install perl-IO-Compress

Ugly, but it works. I also noticed some messages when restarting
amavisd-new, relating to error loading optional module . . . DKIM.pm, which
*might* be related (hadn't noticed it before, but it was also appearing on
another system which didn't have the Zlib errors above). Easily fixed with

yum install perl-Mail-DKIM

I did this half an hour or so ago, and everything seems to be running
smoothly.

Filipe Brandenburger filbran...@gmail.com wrote:


yum --skip-broken update


I tried that, as well as setting skip_broken in /etc/yun.conf, but the Zlib
errors aborted the entire transaction every time, forcing me to update
other packages one by one. That's what motivated me to do the hack above.

Best,

--- Les Bell
[http://www.lesbell.com.au]
Tel: +61 2 9451 1144


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


Re: [CentOS] My server reboots every hour! Help please!

2009-07-16 Thread Michael Calizo
can you post the output of last command?

Maybe we can find something like the account currently login when server
reboots.

On Thu, Jul 16, 2009 at 10:51 AM, Tran Van Hung tvhun...@yahoo.com.vnwrote:




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




-- 
Mike Calizo
Registered Linux User # 365113

_
Even the longest journey has to start with a small first-step
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Keep lossing wireless - ipw3945

2009-07-16 Thread Karanbir Singh
Robert Moskowitz wrote:
 On this HP 2400 I have only gotten the suspend to swap working, and I 
 can't loose that. Lights I can get by without; for some time in 5.1 or 
 even 5.2 I did not have them.

HP TC4400, suspend to ram -  Specially when getting onto trans and 
moving around in the office, its nice to just flip the laptop display 
down and walk away, then come back and have it working in 2 seconds when 
opened.

-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nfs (v3?) fails to allow writes and permission changes

2009-07-16 Thread Paul Bijnens
On 2009-07-15 21:16, Craig White wrote:
 there is little reason to be running OOo 2.x any longer

Except that OOo 3.x is not packaged by RHEL/CentOS/rpmforge/...
and that downloading and installing from openoffice.org installs version
3.1.0 which positions all your tables from a MS Word documents 16cm out of the
visable page.

http://www.openoffice.org/issues/show_bug.cgi?id=101451

Which is a showstopper in real life, where doc and docx files
are still normal for most of the people.

Unless you install the mongolian version, which is still at 3.0 and
which does not have the bug.
Or wait for 3.1.1 which would solve this, but then having a packaged
version which can easily be upgraded using yum would still be handy.


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


Re: [CentOS] My server reboots every hour! Help please!

2009-07-16 Thread Marko Vojinovic
On Thu, Jul 16, 2009 at 11:06 AM, Michael Calizomike.cal...@gmail.com wrote:
 can you post the output of last command?

 Maybe we can find something like the account currently login when server
 reboots.

Here goes (note that it is sorted in most-recent-first fashion):

# last -R | less
vmarko   pts/1Thu Jul 16 16:09   still logged in
vmarko   pts/1Thu Jul 16 16:05 - 16:07  (00:02)
vmarko   pts/1Thu Jul 16 11:37 - 11:37  (00:00)
vmarko   pts/1Thu Jul 16 02:48 - 02:59  (00:10)
reboot   system boot  Wed Jul 15 18:16  (21:59)
reboot   system boot  Wed Jul 15 15:37  (00:03)
vmarko   pts/1Wed Jul 15 15:34 - 15:34  (00:00)
vmarko   pts/1Wed Jul 15 14:42 - 15:16  (00:34)
reboot   system boot  Wed Jul 15 14:37  (01:04)
vmarko   pts/1Wed Jul 15 13:38 - crash  (00:58)
reboot   system boot  Wed Jul 15 13:36  (02:04)
reboot   system boot  Wed Jul 15 12:36  (03:05)
reboot   system boot  Wed Jul 15 11:35  (04:05)
reboot   system boot  Wed Jul 15 10:38  (05:02)
reboot   system boot  Wed Jul 15 09:34  (06:06)
reboot   system boot  Wed Jul 15 08:34  (07:07)
reboot   system boot  Wed Jul 15 07:33  (08:07)
reboot   system boot  Wed Jul 15 06:33  (09:08)
reboot   system boot  Wed Jul 15 05:32  (10:08)
reboot   system boot  Wed Jul 15 04:32  (11:09)
reboot   system boot  Wed Jul 15 03:31  (12:09)
reboot   system boot  Wed Jul 15 02:31  (13:10)
reboot   system boot  Wed Jul 15 01:30  (14:10)
reboot   system boot  Wed Jul 15 00:30  (15:10)
reboot   system boot  Tue Jul 14 23:30  (16:11)
reboot   system boot  Tue Jul 14 22:29  (17:11)
reboot   system boot  Tue Jul 14 21:29  (18:12)
reboot   system boot  Tue Jul 14 20:28  (19:12)
reboot   system boot  Tue Jul 14 19:28  (20:13)
reboot   system boot  Tue Jul 14 18:27  (21:13)
reboot   system boot  Tue Jul 14 17:27  (22:14)
reboot   system boot  Tue Jul 14 16:26  (23:14)
vmarko   pts/1Tue Jul 14 15:39 - 15:42  (00:03)
reboot   system boot  Tue Jul 14 15:26 (1+00:15)
vmarko   pts/1Tue Jul 14 15:11 - crash  (00:14)
ljubica  pts/1Tue Jul 14 14:26 - 15:11  (00:44)
ljubica  :0   Tue Jul 14 14:26 - 14:54  (00:27)
ljubica  :0   Tue Jul 14 14:26 - 14:26  (00:00)
reboot   system boot  Tue Jul 14 14:25 (1+01:15)
ljubica  pts/2Tue Jul 14 13:27 - 13:27  (00:00)
ljubica  pts/1Tue Jul 14 13:27 - crash  (00:58)
ljubica  :0   Tue Jul 14 13:27 - crash  (00:58)
ljubica  :0   Tue Jul 14 13:27 - 13:27  (00:00)
reboot   system boot  Tue Jul 14 13:25 (1+02:16)
ljubica  pts/1Tue Jul 14 12:48 - crash  (00:36)
ljubica  :0   Tue Jul 14 12:48 - crash  (00:36)
ljubica  :0   Tue Jul 14 12:48 - 12:48  (00:00)
reboot   system boot  Tue Jul 14 12:41 (1+02:59)
ljubica  pts/1Tue Jul 14 11:45 - crash  (00:55)

Occasional flag crash might mean something?

Best, :-)
Marko
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] My server reboots every hour! Help please! [update]

2009-07-16 Thread Marko Vojinovic
On Wed, Jul 15, 2009 at 1:16 PM, Marko Vojinovicvvma...@gmail.com wrote:
 I have a machine here that resets itself every one hour (without my
 intention, of course):

Ok, there has been some development of the situation. I asked a
collegue of mine (who happens to have physical access to the machine)
to shut it down and get into the BIOS to check for the wake on lan
status. He did (it was off) and he left the machine hanging in BIOS
for an hour waiting to see if it would restart. It didn't, for two
hours. He was also monitoring temerature and voltage and comparing
them with two other machines in the room (identical hardware) and
nothing seemed out of ordinary.

Then he rebooted to CentOS, and since then restarts have not happened
for a whole day now:

# uptime
 16:26:25 up 22:11,  1 user,  load average: 0.00, 0.00, 0.00

That means that (a) the problem went away and (b) I am not able to
reproduce it. From the logs I read that the resets were happening
every 3625 +- 10 seconds, so to speak.

The idea of intentionally skewing the system clock and wait for a
reaction was my next step, but since it stopped restarting I cannot
verify anything now.

Since the problem went away, I am moderately happy, so we can drop the
thread, and I'll make sure to reopen it if I see it restarting again.

Thanks to all for suggestions and help!

Best, :-)
Marko
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Initial backup prior to daily rsync backups

2009-07-16 Thread David Fix
Simple... :) Just rsync to the external drive, then rsync from the drive to 
your local server. :) 

-- 
David Fix 
Senior Systems Administrator 
Mr. X Inc. 
35 McCaul Street, Ste. #100 
Toronto, ON M5T 1V7 
T: (416) 595-6222, x 241 
F: (416) 595-9122 
E: dav...@mrxfx.com 


- Original Message - 
From: Jeff Gregor cpbec...@berkshire.net 
To: centos@centos.org 
Sent: Thursday, July 16, 2009 10:52:46 AM GMT -05:00 US/Canada Eastern 
Subject: [CentOS] Initial backup prior to daily rsync backups 

I have a few CentOS 5.3 servers out at remote sites that connect over a 
satellite link (a painfully slow satellite link). There's a time period 
in the wee hours of the morning when the satellite provider doesn't 
stiff me for bandwidth, and when the link is generally idle, where I 
want to use rsync to back up files to my local server. I've got rsync 
working in in combination with cron and ssh, and that process works fine. 

The problem is getting the initial copy of the files over to the local 
server so that rsync can just deal with files changed during the day 
(there tend to not be too many changes -- mostly office-type documents, 
few pictures, that sort of thing, so limited bandwidth is not a 
problem). If I run rsync now, however, it is trying to copy over all the 
files since none exist on the local servers, and by my calculations 
copying that 160gb worth of data should be done some time in 
mid-February, 2010. 

I can make the 4-hour round trip out to the remote site with a USB hard 
drive and copy the files that way, but my concern is how to get the file 
structure, timestamps, permissions, etc copied exactly from the remote 
server  USB drive  local server so that rsync can run most efficiently 
(and not have to do a compare on every single file the first time it runs.) 

So the question is, how do I copy the files from the remote server back 
to my local server in a way that will allow rsync, once the copy is 
complete, to start dealing just with the daily changes in the most 
efficient way possible? 

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


Re: [CentOS] Initial backup prior to daily rsync backups

2009-07-16 Thread luc...@lastdot.org
On Thu, Jul 16, 2009 at 4:01 PM, David Fixdav...@mrxfx.com wrote:
 Simple...  :)  Just rsync to the external drive, then rsync from the drive
 to your local server.  :)

 --
 David Fix
 Senior Systems Administrator
 Mr. X Inc.
 35 McCaul Street, Ste. #100
 Toronto, ON  M5T 1V7
 T:  (416) 595-6222, x 241
 F:  (416) 595-9122
 E:  dav...@mrxfx.com


 - Original Message -
 From: Jeff Gregor cpbec...@berkshire.net
 To: centos@centos.org
 Sent: Thursday, July 16, 2009 10:52:46 AM GMT -05:00 US/Canada Eastern
 Subject: [CentOS] Initial backup prior to daily rsync backups

 I have a few CentOS 5.3 servers out at remote sites that connect over a
 satellite link (a painfully slow satellite link). There's a time period
 in the wee hours of the morning when the satellite provider doesn't
 stiff me for bandwidth, and when the link is generally idle, where I
 want to use rsync to back up files to my local server. I've got rsync
 working in in combination with cron and ssh, and that process works fine.

 The problem is getting the initial copy of the files over to the local
 server so that rsync can just deal with files changed during the day
 (there tend to not be too many changes -- mostly office-type documents,
 few pictures, that sort of thing, so limited bandwidth is not a
 problem). If I run rsync now, however, it is trying to copy over all the
 files since none exist on the local servers, and by my calculations
 copying that 160gb worth of data should be done some time in
 mid-February, 2010.

 I can make the 4-hour round trip out to the remote site with a USB hard
 drive and copy the files that way, but my concern is how to get the file
 structure, timestamps, permissions, etc copied exactly from the remote
 server  USB drive  local server so that rsync can run most efficiently
 (and not have to do a compare on every single file the first time it runs.)

 So the question is, how do I copy the files from the remote server back
 to my local server in a way that will allow rsync, once the copy is
 complete, to start dealing just with the daily changes in the most
 efficient way possible?

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

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



You might want to read http://rdiff-backup.nongnu.org/docs.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Initial backup prior to daily rsync backups

2009-07-16 Thread Jeff Gregor
David Fix wrote:
 Simple...  :)  Just rsync to the external drive, then rsync from the 
 drive to your local server.  :)

 --
 David Fix
 Senior Systems Administrator
 Mr. X Inc.
 35 McCaul Street, Ste. #100
 Toronto, ON  M5T 1V7
 T:  (416) 595-6222, x 241
 F:  (416) 595-9122
 E:  dav...@mrxfx.com


 - Original Message -
 From: Jeff Gregor cpbec...@berkshire.net
 To: centos@centos.org
 Sent: Thursday, July 16, 2009 10:52:46 AM GMT -05:00 US/Canada Eastern
 Subject: [CentOS] Initial backup prior to daily rsync backups

 I have a few CentOS 5.3 servers out at remote sites that connect over a
 satellite link (a painfully slow satellite link). There's a time period
 in the wee hours of the morning when the satellite provider doesn't
 stiff me for bandwidth, and when the link is generally idle, where I
 want to use rsync to back up files to my local server. I've got rsync
 working in in combination with cron and ssh, and that process works fine.

 The problem is getting the initial copy of the files over to the local
 server so that rsync can just deal with files changed during the day
 (there tend to not be too many changes -- mostly office-type documents,
 few pictures, that sort of thing, so limited bandwidth is not a
 problem). If I run rsync now, however, it is trying to copy over all the
 files since none exist on the local servers, and by my calculations
 copying that 160gb worth of data should be done some time in
 mid-February, 2010.

 I can make the 4-hour round trip out to the remote site with a USB hard
 drive and copy the files that way, but my concern is how to get the file
 structure, timestamps, permissions, etc copied exactly from the remote
 server  USB drive  local server so that rsync can run most efficiently
 (and not have to do a compare on every single file the first time it 
 runs.)

 So the question is, how do I copy the files from the remote server back
 to my local server in a way that will allow rsync, once the copy is
 complete, to start dealing just with the daily changes in the most
 efficient way possible?

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

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
   
In the words of Homer J. Simpson Do'h!
What a simple and obvious solution I was probably over-thinking 
things again.

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


[CentOS] OT: Web Project type software

2009-07-16 Thread James B. Byrne

On Wed Jul 15 18:37:03 UTC 2009, James Pifer jep at obrien-pifer.com
wrote:

 Sorry for the OT... I'm looking for some software to fill a
 fairly specific set of requirements. I'm not necessarily looking
 for project software, but it seems like the closest to match what
 I need. I'm also not tied into open source or free. If anyone
 knows of any software that might fill these requirements I would
 appreciate it.

I am building a fairly sizable dbms based project and I started out
with subversion as the SCM and Trac as the PAS.  Last year I
switched the project to Git and Redmine respectively.  Both are open
source.

Git is the Linux kernel maintainers' SCM system and was initially
designed and written by LT himself to replace BitKeeper.  It is a
completely distributed SCM and is very easy to use, albeit not so
easy to learn or understand.

 Here's what I'm looking for:

 1) Web enabled application

Redmine is 100% Ruby and Rails, totally web based.  It supports Git
repositories out of the box.  Git is a combination of scripts and C
programs.  It is available for Linux, Microsoft and several other OS
platforms.  Repository structure is identical for all platforms
although differs in implementation details.  On MicroSoft
environments I hold that Git is best hosted under a cygwin instance,
although a native port does exist.


 2) File storage
- need to stare a large amount of large cad files
- be able to categorize file storage (not one large list)
- keep different revisions of files with some kind of notes
- be able to search files (at least include names in a search)

Remine uses the underlying fs for file storage and provides the
metadata for search.  Files can be placed into a document list or
attached to individual wiki pages. A description can be provided
upon creation, although at present there seems no supported way of
editing an existing description.  Redmine supports full test
searching.

However, Git is by far and away the best solution to the problem of
large file storage.  Redmine can index a Git repository and track
individual change sets.  Therefore, Git + Redmine will give you
most, if not all, of what you ask for.

 3) Task   - assign and keep track of tasks (searchable)

Redmine supports multiple projects and sub-projects in a single
instance.  Issues may be related to one another. Users may be
assigned differing roles on different projects.  Different projects
can have different categories and statuses.  The DBMS backend is
PostgrSQl so any report writer with an SQL backend should be able to
provide whatever reports that you have the data to drive.

 4) Store meeting notes and minutes (searchable)

In addition to issue tracking and file storage, Redmine provides
both project specific wikis and web forums.  Access to either can be
controlled on a project/user basis.  The full text search facility
covers both.  It also has time logging and a slew of other features.

 5) Would like to support LDAP

I believe that Redmine does, but I do not use this myself so I
cannot be sure. Git is a filesystem, it has its own network transfer
protocol which is very fast and completely insecure.  It also
supports transfer over http, very slow and insecure, and ssh,
acceptable speed and secure transfer.

 6) Extension on file storage - since we'll be storing a large files
 and many of our users are across a WAN we'd like to sync/mirror
 the files to a few different servers. I'm not sure how we'd control
 how the users get the closest server but

If you use Git instead of Redmine for your large file store then
each user gets a complete repository the first time that they pull
(clone actually) from the remote, including all the source changes
to initialisation. Thereafter they only get the diff objects. Git
uses a very efficient storage mech. that basically only passes
compressed diffs of file contents.  It uses MD5 hashes of file
contents to identify change sets so that if you rename a file or
merge two into one it can track these events and avoid duplicate
storage.  I use a cron scheduled git pull over ssh to maintain a
remote copy of our base repository and the traffic created is
negligible even after large commits.

If the Git repository containing those files is bound to your
Redmine project then you can search the files therein through
Redmine and compare diffs across multiple versions.  Of course,
nothing is going to help much with binary data files.

HTH

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


[CentOS] CentOS on IBM Bladecenter HS21

2009-07-16 Thread Andrei F
Hello,

I have CentOS 5.2 installed on two of the afore-mentioned blades.
I've noticed that the OS started to crash lately (kernel panic) and I've
been assigned the task to troubleshoot this issue.

I would like to know what is the best way of recovering the kernel
dump after the OS crashes.

I know there are two software implementations that would enable me
to do this, kexec and 'crash' , redhat's own implementation that allows
you to pust the dump via network to a remote machine.

What would be the best thing to do at this point?

Regards,

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


Re: [CentOS] nfs (v3?) fails to allow writes and permission changes

2009-07-16 Thread Rob Kampen

Paul Bijnens wrote:

On 2009-07-15 21:16, Craig White wrote:
  

there is little reason to be running OOo 2.x any longer



Except that OOo 3.x is not packaged by RHEL/CentOS/rpmforge/...
and that downloading and installing from openoffice.org installs version
3.1.0 which positions all your tables from a MS Word documents 16cm out of the
visable page.

http://www.openoffice.org/issues/show_bug.cgi?id=101451

Which is a showstopper in real life, where doc and docx files
are still normal for most of the people.

Unless you install the mongolian version, which is still at 3.0 and
which does not have the bug.
Or wait for 3.1.1 which would solve this, but then having a packaged
version which can easily be upgraded using yum would still be handy.


  
I use OOo 3.1 x86_64 and at the office use M$ word doc files - we use 
tables and I have no issues with opening these in OO0 3.1.

YMMV
begin:vcard
fn:Rob Kampen
n:Kampen;Rob
email;internet:rkam...@kampensonline.com
tel;work:407-896-9556 x6344
tel;fax:407-896-7607
tel;home:407-876-4854
tel;cell:407-341-3815
version:2.1
end:vcard

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


Re: [CentOS] CentOS on IBM Bladecenter HS21

2009-07-16 Thread Tim Verhoeven
On Thu, Jul 16, 2009 at 5:31 PM, Andrei Ffrunza...@gmail.com wrote:

 I have CentOS 5.2 installed on two of the afore-mentioned blades.
 I've noticed that the OS started to crash lately (kernel panic) and I've
 been assigned the task to troubleshoot this issue.

 I would like to know what is the best way of recovering the kernel
 dump after the OS crashes.

 I know there are two software implementations that would enable me
 to do this, kexec and 'crash' , redhat's own implementation that allows
 you to pust the dump via network to a remote machine.

 What would be the best thing to do at this point?


I don't have any experience for how to debug this. But I have CentOS 5
running fine on the same kind of Blades. I have about 25 of them and
have seen no crashes. What kernel are you running ? Did you upgrade
the firmware on the Blades to the latest version ?

Regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven...@gmail.com - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
microsoft approach to programming and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS on IBM Bladecenter HS21

2009-07-16 Thread Rainer Duffner
Tim Verhoeven schrieb:
 On Thu, Jul 16, 2009 at 5:31 PM, Andrei Ffrunza...@gmail.com wrote:
   
 I have CentOS 5.2 installed on two of the afore-mentioned blades.
 I've noticed that the OS started to crash lately (kernel panic) and I've
 been assigned the task to troubleshoot this issue.

 I would like to know what is the best way of recovering the kernel
 dump after the OS crashes.

 I know there are two software implementations that would enable me
 to do this, kexec and 'crash' , redhat's own implementation that allows
 you to pust the dump via network to a remote machine.

 What would be the best thing to do at this point?

 

 I don't have any experience for how to debug this. But I have CentOS 5
 running fine on the same kind of Blades. I have about 25 of them and
 have seen no crashes. What kernel are you running ? Did you upgrade
 the firmware on the Blades to the latest version ?

 Regards,
 Tim

   

There's also the BMC's firmware, and the I/O-modules firmware etc.

It shouldn't crash.
Does it run the latest kernel?

Change the disks to another blade in another blade-center (if you have
another) and see if it crashes there, too.

It's most likely a hardware-problem. Open a case with IBM.


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


[CentOS] CentOS-announce Digest, Vol 53, Issue 5

2009-07-16 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. CESA-2009:1154 Critical CentOS 3 i386 dhcp -  security update
  (Tru Huynh)
   2. CESA-2009:1154 Critical CentOS 3 x86_64 dhcp -security
  update (Tru Huynh)


--

Message: 1
Date: Wed, 15 Jul 2009 21:59:01 +0200
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2009:1154 Critical CentOS 3 i386 dhcp
-   security update
To: centos-annou...@centos.org
Message-ID: 20090715195901.ga20...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2009:1154

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

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

i386:
updates/i386/RPMS/dhclient-3.0.1-10.2_EL3.i386.rpm
updates/i386/RPMS/dhcp-3.0.1-10.2_EL3.i386.rpm
updates/i386/RPMS/dhcp-devel-3.0.1-10.2_EL3.i386.rpm

source:
updates/SRPMS/dhcp-3.0.1-10.2_EL3.src.rpm

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

yum update dhcp

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

--

Message: 2
Date: Wed, 15 Jul 2009 21:59:28 +0200
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2009:1154 Critical CentOS 3 x86_64
dhcp -  security update
To: centos-annou...@centos.org
Message-ID: 20090715195928.gb20...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2009:1154

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

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

x86_64:
updates/x86_64/RPMS/dhclient-3.0.1-10.2_EL3.x86_64.rpm
updates/x86_64/RPMS/dhcp-3.0.1-10.2_EL3.x86_64.rpm
updates/x86_64/RPMS/dhcp-devel-3.0.1-10.2_EL3.x86_64.rpm

source:
updates/SRPMS/dhcp-3.0.1-10.2_EL3.src.rpm

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

yum update dhcp

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

--

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


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


Re: [CentOS] NIC traffic monitoring, recording and reporting software?

2009-07-16 Thread Noob Centos Admin
On Fri, Jul 17, 2009 at 12:07 AM, James B. Byrnebyrn...@harte-lyne.ca wrote:
 I have snmpd and mrtg running and reporting against my Cisco router.
  What I want to do is to configure snmp so that I can monitor
 network traffic across the host's own eth0 NIC.  Is this even
 possible for a generic NIC running on a x86_64 or i686 host?

Shouldn't be a problem since I was monitoring my server's own NIC
traffic and load with MRTG before it stopped working. If I'm not
mistaken, it's a matter of configuring snmp to check localhost in
addition to your router's IP.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIC traffic monitoring, recording and reporting software?

2009-07-16 Thread James B. Byrne

On: Wed, 15 Jul 2009 16:22:51 -0400, Filipe Brandenburger
filbran...@gmail.com wrote:

 Have a look at netacct-mysql:
 http://sourceforge.net/projects/netacct-mysql/

 It uses pcap which puts your network card in promiscuous mode
 and send all packets to the running daemon, which might be a
 little heavyweight on the resources if your server uses a lot
 of network, but it appears to be very flexible in terms of
 being able to split accounting for different traffic going
 through the server.

 If you want something simpler than that, you may:
...

 HTH,
 Filipe

I get the digest version of the list and so my relay is a tad late. 
Thank you for this.  I am rapidly discovering that snmp and mrtg may
not really suit my purposes as the NIC seemingly lacks the requisite
smarts.  Your suggestions are most helpful.  Thanks.

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


[CentOS] [SOLVED]: NIC traffic monitoring, recording and reporting software?

2009-07-16 Thread James B. Byrne
I learned a great deal about Linux based automated system and
network monitoring these past 24 hours.  However, when I went to
implement an iptables solution per the suggestion of Filipe
Brandenburger, I discovered that Webmin already has a script for
this setup and ready to go. So, I have enabled that feature on the
eth0 port of the remote host and this seems to give me what I need,
for now anyway.

Many thanks for all the suggestions and references.  Those that I
have not already looked into and read I will keep against a future
need.

Regards,

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] My server reboots every hour! Help please!

2009-07-16 Thread Ross Walker
On Thu, Jul 16, 2009 at 10:27 AM, Marko Vojinovicvvma...@gmail.com wrote:
 On Thu, Jul 16, 2009 at 11:06 AM, Michael Calizomike.cal...@gmail.com wrote:
 can you post the output of last command?

 Maybe we can find something like the account currently login when server
 reboots.

 Here goes (note that it is sorted in most-recent-first fashion):

 # last -R | less
 vmarko   pts/1        Thu Jul 16 16:09   still logged in
 vmarko   pts/1        Thu Jul 16 16:05 - 16:07  (00:02)
 vmarko   pts/1        Thu Jul 16 11:37 - 11:37  (00:00)
 vmarko   pts/1        Thu Jul 16 02:48 - 02:59  (00:10)
 reboot   system boot  Wed Jul 15 18:16          (21:59)
 reboot   system boot  Wed Jul 15 15:37          (00:03)
 vmarko   pts/1        Wed Jul 15 15:34 - 15:34  (00:00)
 vmarko   pts/1        Wed Jul 15 14:42 - 15:16  (00:34)
 reboot   system boot  Wed Jul 15 14:37          (01:04)
 vmarko   pts/1        Wed Jul 15 13:38 - crash  (00:58)
 reboot   system boot  Wed Jul 15 13:36          (02:04)
 reboot   system boot  Wed Jul 15 12:36          (03:05)
 reboot   system boot  Wed Jul 15 11:35          (04:05)
 reboot   system boot  Wed Jul 15 10:38          (05:02)
 reboot   system boot  Wed Jul 15 09:34          (06:06)
 reboot   system boot  Wed Jul 15 08:34          (07:07)
 reboot   system boot  Wed Jul 15 07:33          (08:07)
 reboot   system boot  Wed Jul 15 06:33          (09:08)
 reboot   system boot  Wed Jul 15 05:32          (10:08)
 reboot   system boot  Wed Jul 15 04:32          (11:09)
 reboot   system boot  Wed Jul 15 03:31          (12:09)
 reboot   system boot  Wed Jul 15 02:31          (13:10)
 reboot   system boot  Wed Jul 15 01:30          (14:10)
 reboot   system boot  Wed Jul 15 00:30          (15:10)
 reboot   system boot  Tue Jul 14 23:30          (16:11)
 reboot   system boot  Tue Jul 14 22:29          (17:11)
 reboot   system boot  Tue Jul 14 21:29          (18:12)
 reboot   system boot  Tue Jul 14 20:28          (19:12)
 reboot   system boot  Tue Jul 14 19:28          (20:13)
 reboot   system boot  Tue Jul 14 18:27          (21:13)
 reboot   system boot  Tue Jul 14 17:27          (22:14)
 reboot   system boot  Tue Jul 14 16:26          (23:14)
 vmarko   pts/1        Tue Jul 14 15:39 - 15:42  (00:03)
 reboot   system boot  Tue Jul 14 15:26         (1+00:15)
 vmarko   pts/1        Tue Jul 14 15:11 - crash  (00:14)
 ljubica  pts/1        Tue Jul 14 14:26 - 15:11  (00:44)
 ljubica  :0           Tue Jul 14 14:26 - 14:54  (00:27)
 ljubica  :0           Tue Jul 14 14:26 - 14:26  (00:00)
 reboot   system boot  Tue Jul 14 14:25         (1+01:15)
 ljubica  pts/2        Tue Jul 14 13:27 - 13:27  (00:00)
 ljubica  pts/1        Tue Jul 14 13:27 - crash  (00:58)
 ljubica  :0           Tue Jul 14 13:27 - crash  (00:58)
 ljubica  :0           Tue Jul 14 13:27 - 13:27  (00:00)
 reboot   system boot  Tue Jul 14 13:25         (1+02:16)
 ljubica  pts/1        Tue Jul 14 12:48 - crash  (00:36)
 ljubica  :0           Tue Jul 14 12:48 - crash  (00:36)
 ljubica  :0           Tue Jul 14 12:48 - 12:48  (00:00)
 reboot   system boot  Tue Jul 14 12:41         (1+02:59)
 ljubica  pts/1        Tue Jul 14 11:45 - crash  (00:55)

From the last log it looks like user ljubica did something that was
causing his session to crash, then he did something to cause the
server to reboot every hour. I would ask him/her what was done, it may
be operator error on his/her part.

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


[CentOS] CENTOS 4.8 available time????

2009-07-16 Thread mcclnx mcc

Anyone know when CENTOS 4.8 will available??

Thanks.


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CENTOS 4.8 available time????

2009-07-16 Thread Ramon Nieto
 Anyone know when CENTOS 4.8 will available??

There is info about it on http://twitter.com/centos

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


[CentOS] passing alias addresses

2009-07-16 Thread Jerry Geis
hi all,

When using the alias address scheme,
like eth1:0 on a machine ... things are working.
When that interface is disabled on box A and becomes active on box B
what should Box B do to correctly update the ARP tables external to box B
so the external world knows how to get to the new destination and not 
the old box A?

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


Re: [CentOS] passing alias addresses

2009-07-16 Thread Filipe Brandenburger
Hi,

On Thu, Jul 16, 2009 at 15:53, Jerry Geisge...@pagestation.com wrote:
 When that interface is disabled on box A and becomes active on box B
 what should Box B do to correctly update the ARP tables external to box B
 so the external world knows how to get to the new destination and not
 the old box A?

You can use the arping command to send an unsolicited ARP message to
the other hosts on your local network.

See man arping.

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


Re: [CentOS] CentOS on IBM Bladecenter HS21

2009-07-16 Thread Matty
On Thu, Jul 16, 2009 at 11:31 AM, Andrei Ffrunza...@gmail.com wrote:
 Hello,

 I have CentOS 5.2 installed on two of the afore-mentioned blades.
 I've noticed that the OS started to crash lately (kernel panic) and I've
 been assigned the task to troubleshoot this issue.

 I would like to know what is the best way of recovering the kernel
 dump after the OS crashes.

 I know there are two software implementations that would enable me
 to do this, kexec and 'crash' , redhat's own implementation that allows
 you to pust the dump via network to a remote machine.

I've used kdump to troubleshoot these types of issues in the past:

http://prefetch.net/blog/index.php/2009/07/06/using-kdump-to-get-core-files-on-fedora-and-centos-hosts/

Once you have a core file, you can use crash and company to figure out
what caused the kernel to panic.

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


Re: [CentOS] CentOS on IBM Bladecenter HS21

2009-07-16 Thread Andrei F
Hello,

Thank you Matty, I will follow that tutorial and configure my servers
accordingly.

Regards,

-Andrei

On Thu, Jul 16, 2009 at 7:38 PM, Matty matt...@gmail.com wrote:

 On Thu, Jul 16, 2009 at 11:31 AM, Andrei Ffrunza...@gmail.com wrote:
  Hello,
 
  I have CentOS 5.2 installed on two of the afore-mentioned blades.
  I've noticed that the OS started to crash lately (kernel panic) and I've
  been assigned the task to troubleshoot this issue.
 
  I would like to know what is the best way of recovering the kernel
  dump after the OS crashes.
 
  I know there are two software implementations that would enable me
  to do this, kexec and 'crash' , redhat's own implementation that allows
  you to pust the dump via network to a remote machine.

 I've used kdump to troubleshoot these types of issues in the past:


 http://prefetch.net/blog/index.php/2009/07/06/using-kdump-to-get-core-files-on-fedora-and-centos-hosts/

 Once you have a core file, you can use crash and company to figure out
 what caused the kernel to panic.

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

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


Re: [CentOS] Firefox 3.5 Issues

2009-07-16 Thread Mike A. Harris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ron Blizzard wrote:

(followup on original post from previous reply)

 I downloaded Firefox 3.5 from the M. Harris site and, for the most
 part, have had good luck with it. But I have also had hard crashes
 that take down CentOS, not just Firefox.

That is definitely not a firefox bug.


 It happened to me twice on eBay (on the same page) -- and now I can
 replicate it as many times as I want by going to...
 
 http://wiki.centos.org/Newsletter
 ...and choosing one of the two newsletters, linked there.

I've just visited that page and clicked on both links and it works fine.
 I've even disabled all of my security/privacy extensions on that page
and it still works fine.  If the page is causing your system to crash,
I'd start examining /var/log/messages and your X server log for kernel
panics or Oops et al.




- --
Mike A. Harris
http://mharris.ca  |  https://twitter.com/mikeaharris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFKX8EE4RNf2rTIeUARAvI6AKCSZr21VFBmQt5lBQnXyViwczTnVQCdE4Fy
76mdyXL42OUPfd0ru4kx+AU=
=r4pm
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] x86_64 EDAC throwing error

2009-07-16 Thread Matty
On Sat, Jul 4, 2009 at 1:33 PM, natecen...@linuxpowered.net wrote:
 Kurian Thayil wrote:
 I understand this is an error message from Error Detection And Control
 module and just wanna confirm that this is not a kernel or software related
 issue. If Hardware related is it confined only to the Physical memory stick
 installed or processor related? Any hint on this??

 Login to the iLO/iLO2 interface and look at the system event
 log, all DL585s will log memory errors there, and will even
 tell you what memory module it is.

In addition to Nate's suggestion, you may be able to use the mcelog
utility to check for CPU and memory faults:

http://prefetch.net/blog/index.php/2009/06/11/locating-hardware-faults-on-linux-servers/

Hope this helps,
- Ryan
--
http://prefetch.net
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade 4.7 5.3 poorer 'performance'

2009-07-16 Thread Matty
On Thu, Jul 2, 2009 at 4:57 AM, Tom Brownt...@ng23.net wrote:
 Hi

 During a test upgrade of a number of hosts in a pool i have found that
 exactly the same JVM based app runs more efficiently on the 4.7 systems
 than it does on the 5.3 on identical hardware.

 Specifically the apps seems to exhibit about 10% more 'load' on the
 CPU's for the same workload - before i start digging deep has anyone
 seen anything similar ?

Which JDK version, and how are you measuring load?

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


Re: [CentOS] My server reboots every hour! Help please!

2009-07-16 Thread Michael Calizo
Base on last output, I would start to look on the process that was invoke
by ljubica and vmarko, you might find something from there.
Anyways, is your server running any DB process? You might also look at the
server history on when this problem start to happened and investigate any
updates that you or the others have done prior to the problem. SAR command
can help.

Mike --

On Fri, Jul 17, 2009 at 12:45 AM, Ross Walker rswwal...@gmail.com wrote:

 On Thu, Jul 16, 2009 at 10:27 AM, Marko Vojinovicvvma...@gmail.com
 wrote:
  On Thu, Jul 16, 2009 at 11:06 AM, Michael Calizomike.cal...@gmail.com
 wrote:
  can you post the output of last command?
 
  Maybe we can find something like the account currently login when server
  reboots.
 
  Here goes (note that it is sorted in most-recent-first fashion):
 
  # last -R | less
  vmarko   pts/1Thu Jul 16 16:09   still logged in
  vmarko   pts/1Thu Jul 16 16:05 - 16:07  (00:02)
  vmarko   pts/1Thu Jul 16 11:37 - 11:37  (00:00)
  vmarko   pts/1Thu Jul 16 02:48 - 02:59  (00:10)
  reboot   system boot  Wed Jul 15 18:16  (21:59)
  reboot   system boot  Wed Jul 15 15:37  (00:03)
  vmarko   pts/1Wed Jul 15 15:34 - 15:34  (00:00)
  vmarko   pts/1Wed Jul 15 14:42 - 15:16  (00:34)
  reboot   system boot  Wed Jul 15 14:37  (01:04)
  vmarko   pts/1Wed Jul 15 13:38 - crash  (00:58)
  reboot   system boot  Wed Jul 15 13:36  (02:04)
  reboot   system boot  Wed Jul 15 12:36  (03:05)
  reboot   system boot  Wed Jul 15 11:35  (04:05)
  reboot   system boot  Wed Jul 15 10:38  (05:02)
  reboot   system boot  Wed Jul 15 09:34  (06:06)
  reboot   system boot  Wed Jul 15 08:34  (07:07)
  reboot   system boot  Wed Jul 15 07:33  (08:07)
  reboot   system boot  Wed Jul 15 06:33  (09:08)
  reboot   system boot  Wed Jul 15 05:32  (10:08)
  reboot   system boot  Wed Jul 15 04:32  (11:09)
  reboot   system boot  Wed Jul 15 03:31  (12:09)
  reboot   system boot  Wed Jul 15 02:31  (13:10)
  reboot   system boot  Wed Jul 15 01:30  (14:10)
  reboot   system boot  Wed Jul 15 00:30  (15:10)
  reboot   system boot  Tue Jul 14 23:30  (16:11)
  reboot   system boot  Tue Jul 14 22:29  (17:11)
  reboot   system boot  Tue Jul 14 21:29  (18:12)
  reboot   system boot  Tue Jul 14 20:28  (19:12)
  reboot   system boot  Tue Jul 14 19:28  (20:13)
  reboot   system boot  Tue Jul 14 18:27  (21:13)
  reboot   system boot  Tue Jul 14 17:27  (22:14)
  reboot   system boot  Tue Jul 14 16:26  (23:14)
  vmarko   pts/1Tue Jul 14 15:39 - 15:42  (00:03)
  reboot   system boot  Tue Jul 14 15:26 (1+00:15)
  vmarko   pts/1Tue Jul 14 15:11 - crash  (00:14)
  ljubica  pts/1Tue Jul 14 14:26 - 15:11  (00:44)
  ljubica  :0   Tue Jul 14 14:26 - 14:54  (00:27)
  ljubica  :0   Tue Jul 14 14:26 - 14:26  (00:00)
  reboot   system boot  Tue Jul 14 14:25 (1+01:15)
  ljubica  pts/2Tue Jul 14 13:27 - 13:27  (00:00)
  ljubica  pts/1Tue Jul 14 13:27 - crash  (00:58)
  ljubica  :0   Tue Jul 14 13:27 - crash  (00:58)
  ljubica  :0   Tue Jul 14 13:27 - 13:27  (00:00)
  reboot   system boot  Tue Jul 14 13:25 (1+02:16)
  ljubica  pts/1Tue Jul 14 12:48 - crash  (00:36)
  ljubica  :0   Tue Jul 14 12:48 - crash  (00:36)
  ljubica  :0   Tue Jul 14 12:48 - 12:48  (00:00)
  reboot   system boot  Tue Jul 14 12:41 (1+02:59)
  ljubica  pts/1Tue Jul 14 11:45 - crash  (00:55)

 From the last log it looks like user ljubica did something that was
 causing his session to crash, then he did something to cause the
 server to reboot every hour. I would ask him/her what was done, it may
 be operator error on his/her part.

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




-- 
Mike Calizo
Registered Linux User # 365113

_
Even the longest journey has to start with a small first-step
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] passing alias addresses

2009-07-16 Thread Michael Calizo
Although this not directly to answer your question but I think you can try
haproxy implementation. Very easy to setup.
http://haproxy.1wt.eu/

mike --

On Fri, Jul 17, 2009 at 3:58 AM, Filipe Brandenburger
filbran...@gmail.comwrote:

 Hi,

 On Thu, Jul 16, 2009 at 15:53, Jerry Geisge...@pagestation.com wrote:
  When that interface is disabled on box A and becomes active on box B
  what should Box B do to correctly update the ARP tables external to box B
  so the external world knows how to get to the new destination and not
  the old box A?

 You can use the arping command to send an unsolicited ARP message to
 the other hosts on your local network.

 See man arping.

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




-- 
Mike Calizo
Registered Linux User # 365113

_
Even the longest journey has to start with a small first-step
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] passing alias addresses

2009-07-16 Thread Les Mikesell
Jerry Geis wrote:
 hi all,
 
 When using the alias address scheme,
 like eth1:0 on a machine ... things are working.
 When that interface is disabled on box A and becomes active on box B
 what should Box B do to correctly update the ARP tables external to box B
 so the external world knows how to get to the new destination and not 
 the old box A?

Hosts on the same subnet usually figure this out quickly, but routers may cache 
arp values for 20 minutes or so.   If you are doing this to move a service to 
keep it highly available, you might like the 'heartbeat' package which will 
takes care of the details of moving an IP address for you.

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


Re: [CentOS] Firefox 3.5 Issues

2009-07-16 Thread Ron Blizzard
On Thu, Jul 16, 2009 at 7:09 PM, Mike A. Harrismhar...@mharris.ca wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Ron Blizzard wrote:

 (followup on original post from previous reply)

 I downloaded Firefox 3.5 from the M. Harris site and, for the most
 part, have had good luck with it. But I have also had hard crashes
 that take down CentOS, not just Firefox.

 That is definitely not a firefox bug.

Okay. But there is some kind of issue between Firefox 3.5 and Xorg. I
reverted back to Firefox 3.0.11 and it works fine.

 It happened to me twice on eBay (on the same page) -- and now I can
 replicate it as many times as I want by going to...

 http://wiki.centos.org/Newsletter
 ...and choosing one of the two newsletters, linked there.

 I've just visited that page and clicked on both links and it works fine.
  I've even disabled all of my security/privacy extensions on that page
 and it still works fine.  If the page is causing your system to crash,
 I'd start examining /var/log/messages and your X server log for kernel
 panics or Oops et al.

Interesting. I'll see what I can find in /var/log/messages and share
anything that might point to the problem. Thanks for writing.

-- 
RonB -- Using CentOS 5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos