[CentOS-virt] RE: [CentOS] dd trough scp with tar

2008-04-25 Thread Joseph L. Casale
First, I'd expect some problems with the device drivers when you try to
restore a vmware image onto a xen virtual environment - unless they
present similar virtual hardware.

Actually, your lucky on this one. Windows *always* loads an ide driver into the
Critical Device Database unless you explicitly tell it not to with an
installation answer file, or remove it after install.

However, for the actual copy operation, I'd recommend clonezilla-live
(http://www.clonezilla.org/clonezilla-live/). Boot its iso image into a
menu system that will let you mount the image storage space via nfs,
samba, or ssh-fs, then tell it to save the whole disk.  The advantage
over dd is that it knows enough about ntfs and most linux file systems
to just save the used blocks and when you restore it will let you pick
from the list of images you've saved.

Yup, did the same thing recently with WinPE 2.0 and Ghost (Same internal
concepts, faster then dd and ssh/cp) when moving off an ESX server into Xen 3.2.

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


RE: [CentOS-virt] RE: [CentOS] dd trough scp with tar

2008-04-25 Thread Joseph L. Casale
Hi, thanks for answer, now i know it will work, btw. does it works good in xen 
for your after moving from esx?
Did you feel like performace is same, or ESX was faster?
And then at last ... what you have done with PCI unknown hardware driver on 
windows when running on xen? :)

Thanks in advance, this was really great information ,now i feel that my 
concept was right!

I am probably going to invoke a series of emotional based responses with mine, 
but IMHO vmware is
an incredibly enterprisable product, very polished, very robust and it works 
just plain good. It's also been
around a long time. Xen is a new product, and at that you are using their 
opensource version. If you want
everything working perfectly, get the marketed version, otherwise you are using 
software that is in development.
Don't let that comment give you the idea Xen isn't good, its awesome but you 
get what you pay for, and
vmware is expensive for example.

As far as how it worked, its not as fast as there are no stable pv drivers yet. 
Its slower, but it works.

The unknown device is well, unknown, and it simply remains that way:)

Good luck!
jlc
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-es] Ayuda con Squid Proxy

2008-04-25 Thread Alexander López Lapo
Estimados Amigos, tengo un pequeño problema. Tengo configurado Squid 
sobre un Centos 5; que funciona de una manera un poco extraña, porque 
cierta parte de mi intranet no puede acceder a este servicio (por lo 
general este comportamiento no es frecuente pero preocupante) pero el 
resto de mi intranet si puede usarlo. Me parece que el servidor rechaza 
las conexiones cuando llega a un limite determinado, por lo general 
tengo 1000 conexiones. Espero sus opiniones.

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


Re: [CentOS-es] Ayuda con Squid Proxy

2008-04-25 Thread Maximo Monsalvo

Alexander López Lapo wrote:
Estimados Amigos, tengo un pequeño problema. Tengo configurado Squid 
sobre un Centos 5; que funciona de una manera un poco extraña, porque 
cierta parte de mi intranet no puede acceder a este servicio (por lo 
general este comportamiento no es frecuente pero preocupante) pero el 
resto de mi intranet si puede usarlo. Me parece que el servidor 
rechaza las conexiones cuando llega a un limite determinado, por lo 
general tengo 1000 conexiones. Espero sus opiniones.

y los logs dicen algo?



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] Implementación de servidor deautenti ficación

2008-04-25 Thread Héctor Suárez Planas
Saludos hermanos.

 Colegas, tengo un servidor CentOS 5.1 y necesito documentación para
 implementar un servidor de autentificación; administrar mi intranet
 desde CentOS.
 Salu2,
 Nota: Pueden enviar lo que tengan, si no pesa mucho, a mi e-mail, pues
 no tengo acceso a la red de redes, recuerden que trabajo en el sector
 bancario.

¿Qué quieres hacer exactamente?


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


Re: [CentOS-es] Ayuda con Squid Proxy

2008-04-25 Thread Alexander López Lapo
Muestan que solo cierta parte de la red pueden acceder a estos sitios, 
pero este comportamiento es extraño por un lapso de 5 minutos. Y luego 
ya tengo logs de las vlan que no podian acceder.


Maximo Monsalvo wrote:

Alexander López Lapo wrote:
Estimados Amigos, tengo un pequeño problema. Tengo configurado Squid 
sobre un Centos 5; que funciona de una manera un poco extraña, porque 
cierta parte de mi intranet no puede acceder a este servicio (por lo 
general este comportamiento no es frecuente pero preocupante) pero el 
resto de mi intranet si puede usarlo. Me parece que el servidor 
rechaza las conexiones cuando llega a un limite determinado, por lo 
general tengo 1000 conexiones. Espero sus opiniones.

y los logs dicen algo?



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



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



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


[CentOS-es] servicio sendmail en Centos 5

2008-04-25 Thread Edwin Aguilar
Estoy corriendo MailScanner y Sendmail en Centos 5 con 100 cuentas de 
correo, el problema que tengo es el siguiente: cada cierto tiempo 
simplemente mi servidor deja de enviar y recibir correos,  a pesar de que 
los servicios mencionados estan arriba. Para conseguir que se siga enviando 
y recibiendo correo debo reiniciar los servicios. Esto me toca hacer cada 
media hora aproximadamente.


Las preguntas son:
1.- Alguna pista sobre el posible problema que estoy teniendo?
2.- Que archivo de logs puedo entrar a revisar a fin de dar con el problema?

Saludos cordiales y gracias de antemano por la ayuda.

Edwin Aguilar 



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


[CentOS-es] Consulta sobre monitoreo de la actividad de un interfaz ethernet.

2008-04-25 Thread William Alexander Brito Vinas
¿Existe alguna manera de averiguar que proceso es el responsable de una
conexión de red que vemos desde iptraf?


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


Re: [CentOS-es] Consulta sobre monitoreo de la actividad de un interfaz ethernet.

2008-04-25 Thread Maximo Monsalvo

William Alexander Brito Vinas wrote:

¿Existe alguna manera de averiguar que proceso es el responsable de una
conexión de red que vemos desde iptraf?


  

netstat con la opcion --program



___
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] servicio sendmail en Centos 5

2008-04-25 Thread Alexander López Lapo
Hola. De pronto haz revisado la carga que tiene el procesador. Asi como 
también que sucede con el dovecot. Cuando suceda eso revisa tanto el 
imap así como también el pop3 en cuanto a los procesos. Algo parecido a 
mi me sucede también.


Ing. Ernesto Pérez Estévez wrote:

Edwin Aguilar wrote:
Estoy corriendo MailScanner y Sendmail en Centos 5 con 100 cuentas de 
correo, el problema que tengo es el siguiente: cada cierto tiempo 
simplemente mi servidor deja de enviar y recibir correos,  a pesar de 
que los servicios mencionados estan arriba. Para conseguir que se 
siga enviando y recibiendo correo debo reiniciar los servicios. Esto 
me toca hacer cada media hora aproximadamente.


Las preguntas son:
1.- Alguna pista sobre el posible problema que estoy teniendo?

¿Cuando falla, qué dice el comando?:
netstat -anp|egrep sendmail

¿Cuando falla, qué sucede cuando haces un?:
telnet ipdelservidor 25

?


2.- Que archivo de logs puedo entrar a revisar a fin de dar con el 
problema?



/var/log/maillog y /var/log/messages quizá te ayude


Saludos cordiales y gracias de antemano por la ayuda.

Edwin Aguilar

___
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] Ayuda con Squid Proxy

2008-04-25 Thread Héctor Anibal Talingo García


Alexander López Lapo [EMAIL PROTECTED] escribió: Estimados Amigos, tengo un 
pequeño problema. Tengo configurado Squid 
sobre un Centos 5; que funciona de una manera un poco extraña, porque 
cierta parte de mi intranet no puede acceder a este servicio (por lo 
general este comportamiento no es frecuente pero preocupante) pero el 
resto de mi intranet si puede usarlo. Me parece que el servidor rechaza 
las conexiones cuando llega a un limite determinado, por lo general 
tengo 1000 conexiones. Espero sus opiniones.
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es
Buenas tardes.

Puedes intentar algo de esto:

1.- Ponle a tu server TODA la RAM que soporte, el problema que tu tienes ya nos 
paso en una ocasion en nuestra empresa con un squid en una situacion parecida. 
Esto por el manejo de objetos en RAM que hace squid.

2.- La configuracion del squid, puede ajustarse de manera mas fina segun:

http://bulma.net/body.phtml?nIdNoticia=2284

http://www.buanzo.com.ar/files/arturo-buanzo-busleiman-squid-transparente-sololinux.pdf

http://rubioq.redimidas.com/forums?path=1.4.19page=1#117

3.- Squid soporta el protocolo WCCP con el cual, puedes tener varios servidores 
cache trabajando, la verdad yo NO implementado esta solucion en ningun sitio, 
salvo usar squid junto con un router cisco usando WCCP.

es cuestion de verificar tu configuracion.

saludos a todos.







   
-

Yahoo! Deportes Beta
¡No te pierdas lo último sobre el torneo clausura  2008!
 Entérate aquí http://deportes.yahoo.com___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Consulta sobre monitoreo de la actividad de un interfaz ethernet.

2008-04-25 Thread Fequay
Eso va a depender si es local la conexion que estas viendo
por iptraf, ahora si es de una maquina de una Lam es medio
complicado.


Ejemplisa tu esquema:


On Fri, 25 Apr 2008 13:14:18 -0300, Maximo Monsalvo wrote
 William Alexander Brito Vinas wrote:
  ¿Existe alguna manera de averiguar que proceso es el
responsable de una
  conexión de red que vemos desde iptraf?
 
 

 netstat con la opcion --program
 

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


Atte.
Fernando Quil Ayala

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


Re: [CentOS-es] Implementación de servidor de autentificación

2008-04-25 Thread Ezequiel Cardinali

El vie, 25-04-2008 a las 07:07 -0400, Ms.C. Jesús Graverán Mesa
escribió:
 Colegas, tengo un servidor CentOS 5.1 y necesito documentación para
 implementar un servidor de autentificación; administrar mi intranet
 desde CentOS.
 Salu2,
 Nota: Pueden enviar lo que tengan, si no pesa mucho, a mi e-mail, pues
 no tengo acceso a la red de redes, recuerden que trabajo en el sector
 bancario.
 

Puedes probar Directory Server
http://wiki.centos.org/HowTos/DirectoryServerSetup

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


Re: [CentOS-es] servicio sendmail en Centos 5

2008-04-25 Thread Javier Basisty
Estimados, no uso ni dovecot ni sendmail pero hace un tiempo tube un
problema similar. Uso postfix y cyrus-imapd, y clamd + spamassasin. El
problema era similar, y estaba en el load average del servidor. Finalmente
descubri que el problema estaba en la cantidad de procesos de content filter
levantaba el postfix, por defecto viene en 3 o 4 y por la cantidad de mails
q se reciben en la oficina, esto era menos q insignificante. No tengo idea
de como maneja sendmail estos temas, pero como dijo Alexander, fijate como
esta la carga del procesador.
Saludos


El día 25/04/08, Alexander López Lapo [EMAIL PROTECTED] escribió:

 Hola. De pronto haz revisado la carga que tiene el procesador. Asi como
 también que sucede con el dovecot. Cuando suceda eso revisa tanto el imap
 así como también el pop3 en cuanto a los procesos. Algo parecido a mi me
 sucede también.

 Ing. Ernesto Pérez Estévez wrote:

 Edwin Aguilar wrote:

 Estoy corriendo MailScanner y Sendmail en Centos 5 con 100 cuentas de
 correo, el problema que tengo es el siguiente: cada cierto tiempo
 simplemente mi servidor deja de enviar y recibir correos,  a pesar de que
 los servicios mencionados estan arriba. Para conseguir que se siga enviando
 y recibiendo correo debo reiniciar los servicios. Esto me toca hacer cada
 media hora aproximadamente.

 Las preguntas son:
 1.- Alguna pista sobre el posible problema que estoy teniendo?

 ¿Cuando falla, qué dice el comando?:
 netstat -anp|egrep sendmail

 ¿Cuando falla, qué sucede cuando haces un?:
 telnet ipdelservidor 25

 ?


 2.- Que archivo de logs puedo entrar a revisar a fin de dar con el
 problema?

 /var/log/maillog y /var/log/messages quizá te ayude

 Saludos cordiales y gracias de antemano por la ayuda.

 Edwin Aguilar

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




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

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


[CentOS] Yum showing error

2008-04-25 Thread JohnsonKoilraj
Hi
 I am using centos 5. yum saying following error..

[EMAIL PROTECTED] Desktop]# yum grouplist
Loading installonlyn plugin
Setting up Group Process
Setting up repositories
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
[Errno 14] HTTP Error 407: Proxy Authentication Required
Error: Cannot find a valid baseurl for repo: base

my system is behind corporate filter. Is there any where to use yum.
help me out in this. in some forum it says we need NTLM to handle
this...

by
john


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

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


Re: [CentOS] Yum showing error

2008-04-25 Thread Ray Van Dolson
On Fri, Apr 25, 2008 at 12:35:26PM +0530, JohnsonKoilraj wrote:
 Hi
  I am using centos 5. yum saying following error..
 
 [EMAIL PROTECTED] Desktop]# yum grouplist
 Loading installonlyn plugin
 Setting up Group Process
 Setting up repositories
 Could not retrieve mirrorlist 
 http://mirrorlist.centos.org/?release=5arch=i386
 repo=os error was
 [Errno 14] HTTP Error 407: Proxy Authentication Required
 Error: Cannot find a valid baseurl for repo: base
 
 my system is behind corporate filter. Is there any where to use yum. help me
 out in this. in some forum it says we need NTLM to handle this...
 
 by
 john
 

Sounds like you may need to do some proxy authentication.  Do a man
yum.conf and search for proxy and you should see a few parameters
that might help you out.  Throw these in /etc/yum.conf.

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


Re: [CentOS] Bash script to logout user from console

2008-04-25 Thread Jeff Larsen
On Thu, Apr 24, 2008 at 11:48 PM, Joseph L. Casale
[EMAIL PROTECTED] wrote:
 I am stumped to figure out how to logout a user after they run a script
 interactively when logged into the console. I see how to do it if in x, but
 this server does not have x installed.

There are 2 possible interpretations to your post.

1. You want the last action of the script being run by the user on the
console to log out the user. In this case make the last command of the
shell script

kill -HUP `pgrep -s 0 -o`

This kills the login shell.

2. The user neglects to log out and you as root wish to force a logoff
without having to go to the console. The console session will have a
parent process that shows as login -- username in a ps -ef output.
Kill that process.

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


Re: [CentOS] TCPWrappers + Sendmail = not working

2008-04-25 Thread Kai Schaetzl
Jeffrey Tadlock wrote on Thu, 24 Apr 2008 22:48:19 -0400:

 This means that sendmail is a valid option for hosts.allow or
 hosts.deny as sendmail has been compiled with support for libwrap.

Sure. The point was that the poster expected tcpwrapper to take and 
process the connection and not sendmail. But this could only happen if 
sendmail were not running as a standalone daemon and tcpd were responsible 
for port 25 via inetd. Support for libwrap just means that sendmail can 
make use of it while *it* is processing the mail. 

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


[CentOS] dmidecode for CentOS 2.1? [hardware serial number and type]

2008-04-25 Thread Simon Jolle
Hi CentOS users

I have here old CentOS 2.1 server on IBM Xseries 336. How to see
serial number and machine type?

It seems that dmidecode is not available for CentOS 2.1

cheers
Simon

-- 
XMPP: [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dmidecode for CentOS 2.1? [hardware serial number and type]

2008-04-25 Thread James Pearson

Simon Jolle wrote:

Hi CentOS users

I have here old CentOS 2.1 server on IBM Xseries 336. How to see
serial number and machine type?

It seems that dmidecode is not available for CentOS 2.1


You might be able to run dmidecode from CentOS 3

I can run dmidecode taken from the CentOS3 kernel-utils RPM on an old 
Redhat 7.2 box, so it might work on a CentOS 2.1 box.


You can download the RPM from:

http://isoredirect.centos.org/centos/3/os/i386/RedHat/RPMS/kernel-utils-2.4-8.37.15.i386.rpm

James Pearson

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


Re: [CentOS] dmidecode for CentOS 2.1? [hardware serial number and type]

2008-04-25 Thread Marc Wiatrowski

http://dag.wieers.com/rpm/packages/lshw/lshw-2.08.01-1.el2.rf.i386.rpm

Should work


On Fri, 2008-04-25 at 13:30 +0200, Simon Jolle wrote:

 Hi CentOS users
 
 I have here old CentOS 2.1 server on IBM Xseries 336. How to see
 serial number and machine type?
 
 It seems that dmidecode is not available for CentOS 2.1
 
 cheers
 Simon
 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dmidecode for CentOS 2.1? [hardware serial number and type]

2008-04-25 Thread Simon Jolle
On Fri, Apr 25, 2008 at 2:26 PM, James Pearson
[EMAIL PROTECTED] wrote:
  You might be able to run dmidecode from CentOS 3

  I can run dmidecode taken from the CentOS3 kernel-utils RPM on an old
 Redhat 7.2 box, so it might work on a CentOS 2.1 box.

  You can download the RPM from:
 http://isoredirect.centos.org/centos/3/os/i386/RedHat/RPMS/kernel-utils-2.4-8.37.15.i386.rpm

Hi James

Thank you, I am happy that I don't need to go in data center :-)

cheers
Simon

-- 
XMPP: [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ClamAV version(s)

2008-04-25 Thread John
On Thu, 2008-04-24 at 10:20 -0700, Paul Heinlein wrote:
 On Thu, 24 Apr 2008, Sam Drinkard wrote:
 
  I had clamav-milter working as well as clamd, then for some reason 
  clamd stopped and would not create the socket.  After much hair 
  pulling, I finally tracked the problem(s) down to /etc/clamd.conf.
 
 After enduring failed starts several times, I now just assume that the 
 ClamAV developers have changed configuration syntax any time there's a 
 version upgrade. I further assume that my configuration file will 
 contain obsolete or errant directives that will prevent the upgraded 
 clamd from starting.
 
 There's no such thing as a hands-off ClamAV upgrade. :-/


Why not? If you use all the current versions there is. yum remove what
you have or rpm -e what you have and Reinstall! Sort of hands off.
 
-- 
~/john

OpenPGP Sig:BA91F079

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


Re: [CentOS] After OSMA 5.4 installed, system reboot hang on hpoj

2008-04-25 Thread John
On Fri, 2008-04-25 at 01:25 +0800, mcclnx mcc wrote:
 We have Centos 4.4 on DELL 2650 server.  system have been worked well
 for long time.  I just installed OMSA 5.4 on it and reboot the server.
 while server boot up and it hang in starting hpoj.

Please see Linux.dell.com [EMAIL PROTECTED]


  
 Does anyone know how to fix this problem?
 
 生活有問題?問大家,不如找知識+ ,還可抽MacBook Air - 馬上找知識!
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

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


Re: [CentOS] DNS problem (on NAT configuration)

2008-04-25 Thread John
On Thu, 2008-04-24 at 14:27 -0700, Patricia Bittencourt wrote:
 
Hi,
 
 I'm dealing with a problem that the worker nodes that are
 behind a NAT aren't able to reach outside from time to time. (ie: on a
 given moment I can ping an address name and immediately after I
 cannot: ping: unknown host). 
 The NAT was configurated using the following:
 *nat
 -A POSTROUTING -o eth1 -j MASQUERADE
 COMMIT
  
  Please, any advice here would be appreciated.
 
 What's in you /etc/hosts files? You need ip's and names in there for
 clients on the Lan. You will need a primary and secondary dns
 addresses in /etc/resolve.conf
 
 
 Thanks,
 Patricia
  
 
 
 
 
 __
 Abra sua conta no Yahoo! Mail, o único sem limite de espaço para
 armazenamento! 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

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


Re: [CentOS] ClamAV version(s)

2008-04-25 Thread Barry Brimer

There's no such thing as a hands-off ClamAV upgrade. :-/


Why not? If you use all the current versions there is. yum remove what
you have or rpm -e what you have and Reinstall! Sort of hands off.


It *COULD* be a hands-off upgrade as long there are no upgrade notes 
listed at http://wiki.clamav.net/Main/UpgradeInstructions for the new 
version.  If there are notes about the version you are upgrading to, you 
can plan on clamd not starting after the upgrade until you modify your 
clamd.conf to account for the changes in the upgrade notes.


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


Re: [CentOS] Networking help - SOLVED

2008-04-25 Thread Chris Mason (Lists)
I have been stumped by this problem, despite plenty of help. I thought I 
knew Linux networking pretty well but could not solve this one.
The problem turned out to be ACPI related. I found a comment online 
describing a solution


Add pci=noacpi to the boot parameters.

I tried this and had no further problems.

--
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


Re: [CentOS] ClamAV version(s)

2008-04-25 Thread John
On Fri, 2008-04-25 at 07:57 -0500, Barry Brimer wrote:
  There's no such thing as a hands-off ClamAV upgrade. :-/
 
  Why not? If you use all the current versions there is. yum remove what
  you have or rpm -e what you have and Reinstall! Sort of hands off.
 
 It *COULD* be a hands-off upgrade as long there are no upgrade notes 
 listed at http://wiki.clamav.net/Main/UpgradeInstructions for the new 
 version.  If there are notes about the version you are upgrading to, you 
 can plan on clamd not starting after the upgrade until you modify your 
 clamd.conf to account for the changes in the upgrade notes.
 
 Barry
Just meant it as typical cander.
Not to hands on compared to some just change clam.conf.rpmnew to
clam.conf and be glad that all you have to do. Some things are a *pain*.
Look 3 days back for my post on clamav not upgrading.

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

OpenPGP Sig:BA91F079

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


RE: [CentOS] RHCE Training

2008-04-25 Thread Winslett, Chris
My scores below.  What sucks is I missed SECTION I by one command (which
I looked up shortly after); ext2online still haunts me.

SECTION I:TROUBLESHOOTING AND SYSTEM MAINTENANCE
RHCE requirements:  completion of compulsory items (50 points)
   overall section score of 80 or higher
RHCT requirements:  completion of compulsory items (50 points)

Compulsory Section I score:50.0
Non-compulsory Section I score:20.0
Overall Section I score:   70

SECTION II:  INSTALLATION AND CONFIGURATION
RHCE requirements: score of 70 or higher on RHCT components (100 points)
  score of 70 or higher on RHCE components (100 points)

RHCT requirement:  score of 70 or higher on RHCT components (100 points)

RHCT components score: 100.0%
RHCE components score: 92.9%

RHCT Certification:PASS
RHCE Certification:NO PASS

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Christopher Chan
Sent: Thursday, April 24, 2008 11:05 PM
To: CentOS mailing list
Subject: Re: [CentOS] RHCE Training


 My advice for the exams would be don't over think the questions and
know
 which man pages have examples you can gain experience from. :) 
 Interestingly the pass rate isn't as high as I would have thought.
 

Ha! I heard a story from someone back in 2001 that a company sent twelve

of their staff on a complete RHCE course, that is, through the basics 
all the way to the RH300. Only 2 got passing grades but not enough to 
get the certificate (things were a bit different then...it was a three 
part exam consisting of MC, Troubleshooting and Installation/Setup).

If anything, this is a good thing so we do not get paper RHCEs.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] vfs objects = recycle

2008-04-25 Thread John
[public]

vfs objects = recycle
recycle:repository = Recycle Bin
--
Just want to be clear if I use the vfs recycle option does
recycle:repository = Recycle Bin get put into the the public
directory? As I am having a problem with deleting files on a client and
then can't empty the trash because of permission problems. Will this
solve this issue or do I have problems elsewhere?

Keep in mind this is a mixed node network with windows and linux. I'm
taking pointers from any one with heavy samba experiance. As I am no
samba guy. Also pointers on clustering samba with DFS.


   
-- 
~/john

OpenPGP Sig:BA91F079

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


[CentOS] system-config-cluster problem

2008-04-25 Thread Doug Tucker
I have a 2 node cluster that has been running for a year, and is still
up and working fine.  However, a yum update at some point broke
system-config-cluster and it cannot load the management tab anymore,
because it *thinks* the node is not part of a cluster, yet, all of the
definions are there and I can modify them and save, but cannot publish
the changes to the cluster using the tool.  Has anyone else experienced
this problem, or know what may be wrong?

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


[CentOS] dying hd on live legacy system...

2008-04-25 Thread Jason Pyeron
We have an old 3.x server whose hd is dying (kernel: hda: dma_timer_expiry:
dma status == 0x61) and accessing certain files just crashes the system with
a reboot.

We have moved as many files to a nfs server as we could so simply.

The system has been heavily modified (all using rpms) from baseline.

What is the most practical method to replace the hard drive?

-Jason Pyeron 

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 
 



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


Re: [CentOS] dying hd on live legacy system...

2008-04-25 Thread Jeff Larsen
On Fri, Apr 25, 2008 at 10:38 AM, Jason Pyeron [EMAIL PROTECTED] wrote:
 We have an old 3.x server whose hd is dying (kernel: hda: dma_timer_expiry:
  dma status == 0x61) and accessing certain files just crashes the system with
  a reboot.

  We have moved as many files to a nfs server as we could so simply.

  The system has been heavily modified (all using rpms) from baseline.

  What is the most practical method to replace the hard drive?

Install another drive (same size or larger), boot from CD in rescue
mode and use the dd utility to copy the old drive image to the new
disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
hardware could make this problematic. Then remove the dying disk and
install the new disk on the cable where the old disk was so that the
new disk is now /dev/hda.

If you are lucky enough to succeed consider mirroring with Linux
software RAID or at least make a full backup.

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


[CentOS] load level?

2008-04-25 Thread Jason Pyeron
I have a server holding a 2.5-4.0 load level consistently, where should I
start debugging it?

top - 13:32:01 up 167 days,  5:45,  6 users,  load average: 2.87, 1.83, 1.51
Tasks: 111 total,   1 running, 110 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0% us,  0.0% sy,  0.2% ni, 99.8% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:895728k total,   871996k used,23732k free,   190612k buffers
Swap:  1802232k total,  216k used,  1802016k free,63776k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
1 root  16   0  4756  556  460 S0  0.1   0:35.34 init
2 root  RT   0 000 S0  0.0   0:02.83 migration/0
3 root  34  19 000 S0  0.0   0:27.27 ksoftirqd/0
4 root  RT   0 000 S0  0.0   0:05.03 migration/1
5 root  34  19 000 S0  0.0   0:22.88 ksoftirqd/1
6 root   5 -10 000 S0  0.0   0:03.15 events/0
7 root   5 -10 000 S0  0.0   0:01.98 events/1
8 root   5 -10 000 S0  0.0   0:00.00 khelper
9 root   5 -10 000 S0  0.0   0:00.00 kblockd/0
   10 root   5 -10 000 S0  0.0   0:00.00 kblockd/1
   11 root  15   0 000 S0  0.0   0:00.00 khubd
   66 root  15   0 000 S0  0.0   0:16.14 pdflush
   67 root  15   0 000 S0  0.0   2:30.44 kswapd0
   68 root  15 -10 000 S0  0.0   0:00.00 aio/0
   69 root   5 -10 000 S0  0.0   0:00.00 aio/1
  213 root  22   0 000 S0  0.0   0:00.00 kseriod
  450 root   5 -10 000 S0  0.0   0:00.00 ata/0
  451 root   5 -10 000 S0  0.0   0:00.00 ata/1
  452 root   6 -10 000 S0  0.0   0:00.00 ata_aux
  456 root  15   0 000 S0  0.0   0:00.00 scsi_eh_0
  457 root  15   0 000 S0  0.0   0:00.00 scsi_eh_1
  465 root  15   0 000 S0  0.0   0:00.00 scsi_eh_2
  466 root  15   0 000 S0  0.0   0:00.00 scsi_eh_3
  494 root  15   0 000 S0  0.0   4:03.36 kjournald
  542 root  16   0 24192  596  416 S0  0.1   0:36.55 ypbind
  595 root  15   0 000 S0  0.0   0:00.00 rpciod
  596 root  18   0 000 S0  0.0   0:00.00 lockd
  775 apache15   0  185m  40m 3628 S0  4.6   0:00.59 httpd
 1832 root   5 -10 000 S0  0.0   0:00.00 kedac
 1904 root  16   0 10828 1072  856 S0  0.1   0:00.00 pppd
 1973 root   6 -10 000 S0  0.0   0:00.00 kauditd
 1998 root  20   0 000 S0  0.0   0:00.00 scsi_eh_4
 1999 root  15   0 000 S0  0.0   3:10.72 usb-storage
 2176 root  15   0 000 S0  0.0   0:00.01 kjournald
 3070 root  15   0  3632  552  440 S0  0.1   1:08.11 syslogd
 3074 root  15   0  2540  372  296 S0  0.0   0:00.04 klogd
 3087 root  16   0  2552  300  200 S0  0.0   0:30.06 irqbalance
 3155 root  15   0  2916  488  256 S0  0.1   0:00.97 smartd
 3215 root  15   0  8716  776  612 S0  0.1   0:00.00 xinetd
 3293 root  16   0 40836 2672  984 S0  0.3   1:07.23 sendmail
 3303 smmsp 16   0 33504 2108  812 S0  0.2   0:00.99 sendmail
 3313 root  16   0  4180  324  244 S0  0.0   0:00.00 gpm
 3323 root  16   0  175m  35m 9064 S0  4.0   0:13.24 httpd
 3332 root  16   0 57092  976  560 S0  0.1   0:50.01 crond
 3353 xfs   16   0 10020 1472  756 S0  0.2   0:00.17 xfs

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 
 



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


RE: [CentOS] dying hd on live legacy system...

2008-04-25 Thread Jason Pyeron


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Jeff Larsen
 Sent: Friday, April 25, 2008 1:16 PM
 To: CentOS mailing list
 Subject: Re: [CentOS] dying hd on live legacy system...
 
 On Fri, Apr 25, 2008 at 10:38 AM, Jason Pyeron [EMAIL PROTECTED] wrote:
  We have an old 3.x server whose hd is dying (kernel: hda:
 dma_timer_expiry:
   dma status == 0x61) and accessing certain files just crashes the system
 with
   a reboot.
 
   We have moved as many files to a nfs server as we could so simply.
 
   The system has been heavily modified (all using rpms) from baseline.
 
   What is the most practical method to replace the hard drive?
 
 Install another drive (same size or larger), boot from CD in rescue
 mode and use the dd utility to copy the old drive image to the new
 disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
 hardware could make this problematic. Then remove the dying disk and
 install the new disk on the cable where the old disk was so that the
 new disk is now /dev/hda.
 

Tried this, I should have been more clear above. When I access certain
sectors the machine reboots.

Ideas on how to do the duplication in this scenario?

 If you are lucky enough to succeed consider mirroring with Linux
 software RAID or at least make a full backup.
 
 --
 Jeff
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.


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


RE: [CentOS] dying hd on live legacy system...

2008-04-25 Thread John
On Fri, 2008-04-25 at 13:35 -0400, Jason Pyeron wrote:
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
  Behalf Of Jeff Larsen
  Sent: Friday, April 25, 2008 1:16 PM
  To: CentOS mailing list
  Subject: Re: [CentOS] dying hd on live legacy system...
  
  On Fri, Apr 25, 2008 at 10:38 AM, Jason Pyeron [EMAIL PROTECTED] wrote:
   We have an old 3.x server whose hd is dying (kernel: hda:
  dma_timer_expiry:
dma status == 0x61) and accessing certain files just crashes the system
  with
a reboot.
  
We have moved as many files to a nfs server as we could so simply.
  
The system has been heavily modified (all using rpms) from baseline.
  
What is the most practical method to replace the hard drive?
  
  Install another drive (same size or larger), boot from CD in rescue
  mode and use the dd utility to copy the old drive image to the new
  disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
  hardware could make this problematic. Then remove the dying disk and
  install the new disk on the cable where the old disk was so that the
  new disk is now /dev/hda.
  
 
 Tried this, I should have been more clear above. When I access certain
 sectors the machine reboots.
 
 Ideas on how to do the duplication in this scenario?
 
  If you are lucky enough to succeed consider mirroring with Linux
  software RAID or at least make a full backup.

I don't know if your aware of this but dd will mark bad sectors on the
drive. Maybe that will help out. I am not sure if it can be done with
data on it!

  
  --
  Jeff
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 -   -
 - Jason Pyeron  PD Inc. http://www.pdinc.us -
 - Principal Consultant  10 West 24th Street #100-
 - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
 -   -
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  
 This message is for the designated recipient only and may contain
 privileged, proprietary, or otherwise private information. If you
 have received it in error, purge the message from your system and
 notify the sender immediately.  Any other use of the email by you
 is prohibited.
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

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


Re: [CentOS] dying hd on live legacy system...

2008-04-25 Thread Dan Halbert

 What is the most practical method to replace the hard drive?

Install another drive (same size or larger), boot from CD in rescue
mode and use the dd utility to copy the old drive image to the new
disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
hardware could make this problematic. Then remove the dying disk and
install the new disk on the cable where the old disk was so that the
new disk is now /dev/hda.



Tried this, I should have been more clear above. When I access certain
sectors the machine reboots.


Just to confirm: you mean the machine reboots even when this disk is not 
a system disk? Suppose you mount it readonly (maybe it's doing atime 
updates unsuccessfully?)?


If it's a peculiarity of the controller, you could try putting it in as 
a data disk in another machine with a different kind of disk controller. 
You could even put it in a Windows box and use one the various free 
utilities to look at the Linux filesystem - perhaps that would not 
exercise whatever issue is causing the reboots.


If you've gotten the vital data off and any customizations out of /etc, 
the crontabs, etc., then if possible, maybe you could just do an
rpm -q -a to get the current package list, and then diff that against 
the list you get on a fresh install to figure out what you need to add.


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


Re: [CentOS] dying hd on live legacy system...

2008-04-25 Thread Alan Bartlett
2008/4/25 Jason Pyeron [EMAIL PROTECTED]:

 Tried this, I should have been more clear above. When I access certain
 sectors the machine reboots.

 Ideas on how to do the duplication in this scenario?


Try using conv=noerror  with the dd command.

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


RE: [CentOS] dying hd on live legacy system...

2008-04-25 Thread John
On Fri, 2008-04-25 at 13:35 -0400, Jason Pyeron wrote:
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
  Behalf Of Jeff Larsen
  Sent: Friday, April 25, 2008 1:16 PM
  To: CentOS mailing list
  Subject: Re: [CentOS] dying hd on live legacy system...
  
  On Fri, Apr 25, 2008 at 10:38 AM, Jason Pyeron [EMAIL PROTECTED] wrote:
   We have an old 3.x server whose hd is dying (kernel: hda:
  dma_timer_expiry:
dma status == 0x61) and accessing certain files just crashes the system
  with
a reboot.
  
We have moved as many files to a nfs server as we could so simply.
  
The system has been heavily modified (all using rpms) from baseline.
  
What is the most practical method to replace the hard drive?
  
  Install another drive (same size or larger), boot from CD in rescue
  mode and use the dd utility to copy the old drive image to the new
  disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
  hardware could make this problematic. Then remove the dying disk and
  install the new disk on the cable where the old disk was so that the
  new disk is now /dev/hda.
  
 
 Tried this, I should have been more clear above. When I access certain
 sectors the machine reboots.
 
 Ideas on how to do the duplication in this scenario?

dd if=/dev/hda conv=sync,noerror   Have you used the noerror option?
Boot with a live image mount the drive then mount the of=drive to copy
the data. Only other option I know of at the moment.
 
  If you are lucky enough to succeed consider mirroring with Linux
  software RAID or at least make a full backup.
  
  --
  Jeff
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 -   -
 - Jason Pyeron  PD Inc. http://www.pdinc.us -
 - Principal Consultant  10 West 24th Street #100-
 - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
 -   -
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  
 This message is for the designated recipient only and may contain
 privileged, proprietary, or otherwise private information. If you
 have received it in error, purge the message from your system and
 notify the sender immediately.  Any other use of the email by you
 is prohibited.
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

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


Re: [CentOS] load level?

2008-04-25 Thread Kevin Faulkner
Perhaps you could run iotop find out if there is a process chewing up 
your hard disks. You aren't just limited to top, you can  also use 
vmstat and iostat in this situation.


Jason Pyeron wrote:

I have a server holding a 2.5-4.0 load level consistently, where should I
start debugging it?

top - 13:32:01 up 167 days,  5:45,  6 users,  load average: 2.87, 1.83, 1.51
Tasks: 111 total,   1 running, 110 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0% us,  0.0% sy,  0.2% ni, 99.8% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:895728k total,   871996k used,23732k free,   190612k buffers
Swap:  1802232k total,  216k used,  1802016k free,63776k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
1 root  16   0  4756  556  460 S0  0.1   0:35.34 init
2 root  RT   0 000 S0  0.0   0:02.83 migration/0
3 root  34  19 000 S0  0.0   0:27.27 ksoftirqd/0
4 root  RT   0 000 S0  0.0   0:05.03 migration/1
5 root  34  19 000 S0  0.0   0:22.88 ksoftirqd/1
6 root   5 -10 000 S0  0.0   0:03.15 events/0
7 root   5 -10 000 S0  0.0   0:01.98 events/1
8 root   5 -10 000 S0  0.0   0:00.00 khelper
9 root   5 -10 000 S0  0.0   0:00.00 kblockd/0
   10 root   5 -10 000 S0  0.0   0:00.00 kblockd/1
   11 root  15   0 000 S0  0.0   0:00.00 khubd
   66 root  15   0 000 S0  0.0   0:16.14 pdflush
   67 root  15   0 000 S0  0.0   2:30.44 kswapd0
   68 root  15 -10 000 S0  0.0   0:00.00 aio/0
   69 root   5 -10 000 S0  0.0   0:00.00 aio/1
  213 root  22   0 000 S0  0.0   0:00.00 kseriod
  450 root   5 -10 000 S0  0.0   0:00.00 ata/0
  451 root   5 -10 000 S0  0.0   0:00.00 ata/1
  452 root   6 -10 000 S0  0.0   0:00.00 ata_aux
  456 root  15   0 000 S0  0.0   0:00.00 scsi_eh_0
  457 root  15   0 000 S0  0.0   0:00.00 scsi_eh_1
  465 root  15   0 000 S0  0.0   0:00.00 scsi_eh_2
  466 root  15   0 000 S0  0.0   0:00.00 scsi_eh_3
  494 root  15   0 000 S0  0.0   4:03.36 kjournald
  542 root  16   0 24192  596  416 S0  0.1   0:36.55 ypbind
  595 root  15   0 000 S0  0.0   0:00.00 rpciod
  596 root  18   0 000 S0  0.0   0:00.00 lockd
  775 apache15   0  185m  40m 3628 S0  4.6   0:00.59 httpd
 1832 root   5 -10 000 S0  0.0   0:00.00 kedac
 1904 root  16   0 10828 1072  856 S0  0.1   0:00.00 pppd
 1973 root   6 -10 000 S0  0.0   0:00.00 kauditd
 1998 root  20   0 000 S0  0.0   0:00.00 scsi_eh_4
 1999 root  15   0 000 S0  0.0   3:10.72 usb-storage
 2176 root  15   0 000 S0  0.0   0:00.01 kjournald
 3070 root  15   0  3632  552  440 S0  0.1   1:08.11 syslogd
 3074 root  15   0  2540  372  296 S0  0.0   0:00.04 klogd
 3087 root  16   0  2552  300  200 S0  0.0   0:30.06 irqbalance
 3155 root  15   0  2916  488  256 S0  0.1   0:00.97 smartd
 3215 root  15   0  8716  776  612 S0  0.1   0:00.00 xinetd
 3293 root  16   0 40836 2672  984 S0  0.3   1:07.23 sendmail
 3303 smmsp 16   0 33504 2108  812 S0  0.2   0:00.99 sendmail
 3313 root  16   0  4180  324  244 S0  0.0   0:00.00 gpm
 3323 root  16   0  175m  35m 9064 S0  4.0   0:13.24 httpd
 3332 root  16   0 57092  976  560 S0  0.1   0:50.01 crond
 3353 xfs   16   0 10020 1472  756 S0  0.2   0:00.17 xfs

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain

privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 
 




___
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] load level?

2008-04-25 Thread Filipe Brandenburger
On Fri, Apr 25, 2008 at 1:46 PM, Kevin Faulkner [EMAIL PROTECTED] wrote:
 Perhaps you could run iotop find out if there is a process chewing up your
 hard disks. You aren't just limited to top, you can  also use vmstat and
 iostat in this situation.

I also recommend dstat (http://dag.wieers.com/home-made/dstat/). It
shows informations from several sources, so it's possible to see if
you have CPU peaks and I/O peaks at the same time.

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


[CentOS] Re: vfs objects = recycle

2008-04-25 Thread Scott Silva

on 4-25-2008 8:04 AM John spake the following:

[public]

vfs objects = recycle

recycle:repository = Recycle Bin
--
Just want to be clear if I use the vfs recycle option does
recycle:repository = Recycle Bin get put into the the public
directory? As I am having a problem with deleting files on a client and
then can't empty the trash because of permission problems. Will this
solve this issue or do I have problems elsewhere?

Keep in mind this is a mixed node network with windows and linux. I'm
taking pointers from any one with heavy samba experiance. As I am no
samba guy. Also pointers on clustering samba with DFS.


   
It gets put in the root of the share that you activate it in. I am not sure if 
you can make it a global option, but maybe.


I'm not sure of what your issue is, when you say empty the trash do you mean 
deleting files from Recycle Bin?




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


[CentOS] Re: dying hd on live legacy system...

2008-04-25 Thread Scott Silva

on 4-25-2008 10:35 AM Jason Pyeron spake the following:



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Larsen
Sent: Friday, April 25, 2008 1:16 PM
To: CentOS mailing list
Subject: Re: [CentOS] dying hd on live legacy system...

On Fri, Apr 25, 2008 at 10:38 AM, Jason Pyeron [EMAIL PROTECTED] wrote:

We have an old 3.x server whose hd is dying (kernel: hda:

dma_timer_expiry:

 dma status == 0x61) and accessing certain files just crashes the system

with

 a reboot.

 We have moved as many files to a nfs server as we could so simply.

 The system has been heavily modified (all using rpms) from baseline.

 What is the most practical method to replace the hard drive?

Install another drive (same size or larger), boot from CD in rescue
mode and use the dd utility to copy the old drive image to the new
disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
hardware could make this problematic. Then remove the dying disk and
install the new disk on the cable where the old disk was so that the
new disk is now /dev/hda.



Tried this, I should have been more clear above. When I access certain
sectors the machine reboots.

Ideas on how to do the duplication in this scenario?


If you are lucky enough to succeed consider mirroring with Linux
software RAID or at least make a full backup.


Did you try ddrescue?
http://www.gnu.org/software/ddrescue/ddrescue.html


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


Re: [CentOS] Re: vfs objects = recycle

2008-04-25 Thread John
On Fri, 2008-04-25 at 11:13 -0700, Scott Silva wrote:
 on 4-25-2008 8:04 AM John spake the following:
  [public]
  
  vfs objects = recycle
  recycle:repository = Recycle Bin
  --
  Just want to be clear if I use the vfs recycle option does
  recycle:repository = Recycle Bin get put into the the public
  directory? As I am having a problem with deleting files on a client and
  then can't empty the trash because of permission problems. Will this
  solve this issue or do I have problems elsewhere?
  
  Keep in mind this is a mixed node network with windows and linux. I'm
  taking pointers from any one with heavy samba experiance. As I am no
  samba guy. Also pointers on clustering samba with DFS.
  
  
 
 It gets put in the root of the share that you activate it in. I am not sure 
 if 
 you can make it a global option, but maybe.

That's where it gets put. After editing the conf file and putting the
option in. 

 I'm not sure of what your issue is, when you say empty the trash do you 
 mean 
 deleting files from Recycle Bin?

Logged in as root on a linux client using share mode can't delete a file
or folder when made by root on the samba server in one of the shares.
That is using the user nobody. Would that be correct as user nobody only
can't delete file made by root n the samba server.

I suspect after really thinking about it I'll be much better of adding
the linux client to Active Directory and do all authentication that way
to solve everything. Then later on setup samba to serve the Windows user
profiles.

-- 
~/john

OpenPGP Sig:BA91F079

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


RE: [CentOS] load level?

2008-04-25 Thread Jason Pyeron

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Kevin Faulkner
 Sent: Friday, April 25, 2008 1:46 PM
 To: CentOS mailing list
 Subject: Re: [CentOS] load level?
 
 Perhaps you could run iotop find out if there is a process chewing up
 your hard disks. You aren't just limited to top, you can  also use
 vmstat and iostat in this situation.

After stoping httpd, sendmail and mysql:

# uptime 
 15:48:02 up 167 days,  9:20,  5 users,  load average: 0.52, 0.55, 0.92

# vmstat

procs ---memory-- ---swap-- -io --system--
cpu
 r  b   swpd   free   buff  cache   si   sobibo   incs us sy id
wa
 0  0196 144668 153800 20286000 3 91 2 13 12 75
0


init(1)-+-atd(3370)
|-dbus-daemon-1(3392)
|-events/0(6)-+-aio/0(68)
| |-aio/1(69)
| |-kauditd(1973)
| |-kblockd/0(9)
| |-kblockd/1(10)
| |-khelper(8)
| `-pdflush(66)
|-events/1(7)-+-ata/0(450)
| |-ata/1(451)
| |-ata_aux(452)
| |-kedac(1832)
| `-pdflush(21556)
|-gpm(3313)
|-hald(3402)
|-irqbalance(3087)
|-khubd(11)
|-kjournald(494)
|-kjournald(2176)
|-klogd(3074)
|-kseriod(213)
|-ksoftirqd/0(3)
|-ksoftirqd/1(5)
|-kswapd0(67)
|-lockd(596)
|-login(3509)---bash(19184)
|-migration/0(2)
|-migration/1(4)
|-mingetty(3510)
|-mingetty(3511)
|-mingetty(3512)
|-mingetty(3513)
|-mingetty(3514)
|-minilogd(20220)
|-minilogd(22648)
|-portmap(26404)
|-rpciod(595)
|-scsi_eh_0(456)
|-scsi_eh_1(457)
|-scsi_eh_2(465)
|-scsi_eh_3(466)
|-scsi_eh_4(1998)
|-smartd(3155)
|-sshd(21029)-+-sshd(11899)---bash(11911)-+-pstree(14050)
| |   `-tail(12125)
| |-sshd(12900)---sshd(12902)---bash(12913)
| |-sshd(13882)---bash(13900)
| `-sshd(23839)---bash(23841)
|-syslogd(3070)
|-udevd(7922)
|-usb-storage(1999)
|-xfs(3353)
|-xinetd(3215)
`-ypbind(14008)

# up2date --whatprovides iostat
# up2date --whatprovides iotop
#

Where do I get iostat / iotop?


Starting sendmail back up puts me in the high 1's to low 2's


 
 Jason Pyeron wrote:
  I have a server holding a 2.5-4.0 load level consistently, where should
 I
  start debugging it?
 
  top - 13:32:01 up 167 days,  5:45,  6 users,  load average: 2.87, 1.83,
 1.51
  Tasks: 111 total,   1 running, 110 sleeping,   0 stopped,   0 zombie
  Cpu(s):  0.0% us,  0.0% sy,  0.2% ni, 99.8% id,  0.0% wa,  0.0% hi,
 0.0% si
  Mem:895728k total,   871996k used,23732k free,   190612k buffers
  Swap:  1802232k total,  216k used,  1802016k free,63776k cached
 
PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  1 root  16   0  4756  556  460 S0  0.1   0:35.34 init
  2 root  RT   0 000 S0  0.0   0:02.83 migration/0
  3 root  34  19 000 S0  0.0   0:27.27 ksoftirqd/0
  4 root  RT   0 000 S0  0.0   0:05.03 migration/1
  5 root  34  19 000 S0  0.0   0:22.88 ksoftirqd/1
  6 root   5 -10 000 S0  0.0   0:03.15 events/0
  7 root   5 -10 000 S0  0.0   0:01.98 events/1
  8 root   5 -10 000 S0  0.0   0:00.00 khelper
  9 root   5 -10 000 S0  0.0   0:00.00 kblockd/0
 10 root   5 -10 000 S0  0.0   0:00.00 kblockd/1
 11 root  15   0 000 S0  0.0   0:00.00 khubd
 66 root  15   0 000 S0  0.0   0:16.14 pdflush
 67 root  15   0 000 S0  0.0   2:30.44 kswapd0
 68 root  15 -10 000 S0  0.0   0:00.00 aio/0
 69 root   5 -10 000 S0  0.0   0:00.00 aio/1
213 root  22   0 000 S0  0.0   0:00.00 kseriod
450 root   5 -10 000 S0  0.0   0:00.00 ata/0
451 root   5 -10 000 S0  0.0   0:00.00 ata/1
452 root   6 -10 000 S0  0.0   0:00.00 ata_aux
456 root  15   0 000 S0  0.0   0:00.00 scsi_eh_0
457 root  15   0 000 S0  0.0   0:00.00 scsi_eh_1
465 root  15   0 000 S0  0.0   0:00.00 scsi_eh_2
466 root  15   0 000 S0  0.0   0:00.00 scsi_eh_3
494 root  15   0 000 S0  0.0   4:03.36 kjournald
542 root  16   0 24192  596  416 S0  0.1   0:36.55 ypbind
595 root  15   0 000 S0  

RE: [CentOS] dying hd on live legacy system...

2008-04-25 Thread Jason Pyeron


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Dan Halbert
 Sent: Friday, April 25, 2008 1:46 PM
 To: CentOS mailing list
 Subject: Re: [CentOS] dying hd on live legacy system...
 
   What is the most practical method to replace the hard drive?
  Install another drive (same size or larger), boot from CD in rescue
  mode and use the dd utility to copy the old drive image to the new
  disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
  hardware could make this problematic. Then remove the dying disk and
  install the new disk on the cable where the old disk was so that the
  new disk is now /dev/hda.
 
 
  Tried this, I should have been more clear above. When I access certain
  sectors the machine reboots.
 
 Just to confirm: you mean the machine reboots even when this disk is not
 a system disk? Suppose you mount it readonly (maybe it's doing atime
 updates unsuccessfully?)?
 
 If it's a peculiarity of the controller, you could try putting it in as
 a data disk in another machine with a different kind of disk controller.
 You could even put it in a Windows box and use one the various free
 utilities to look at the Linux filesystem - perhaps that would not
 exercise whatever issue is causing the reboots.


I am going to put it in a USB enclosure and follow the other advise here so
far. 1st try the noerror, etc.. then try the ddrecover



 
 If you've gotten the vital data off and any customizations out of /etc,
 the crontabs, etc., then if possible, maybe you could just do an
 rpm -q -a to get the current package list, and then diff that against
 the list you get on a fresh install to figure out what you need to add.

The issues is are there files outside of rpms which are needed but unknown?


The system has evolved from a pre rh7 box (was that ever fun)



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



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.


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


Re: [CentOS] load level?

2008-04-25 Thread Milton Calnek



Jason Pyeron wrote:

-Original Message-


Starting sendmail back up puts me in the high 1's to low 2's


Are you getting lots of large-ish emails? maybe sendmail is
working with some sort of anti-virus/spam tool?

--
Milton Calnek BSc, A/Slt(Ret.)
[EMAIL PROTECTED]
306-717-8737


--
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


RE: [CentOS] load level?

2008-04-25 Thread Ross S. W. Walker
Jason Pyeron wrote:
 Kevin Faulkner wrote:
  
  Perhaps you could run iotop find out if there is a process chewing up
  your hard disks. You aren't just limited to top, you can  also use
  vmstat and iostat in this situation.
 
 After stoping httpd, sendmail and mysql:
 
 # uptime 
  15:48:02 up 167 days,  9:20,  5 users,  load average: 0.52, 0.55, 0.92
 
 # vmstat
 
 procs ---memory-- ---swap-- -io --system-- cpu
  r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy 
 id wa
  0  0196 144668 153800 20286000 3 912 13 12 
 75  0
 
 
 init(1)-+-atd(3370)
 |-dbus-daemon-1(3392)
 |-events/0(6)-+-aio/0(68)
 | |-aio/1(69)
 | |-kauditd(1973)
 | |-kblockd/0(9)
 | |-kblockd/1(10)
 | |-khelper(8)
 | `-pdflush(66)
 |-events/1(7)-+-ata/0(450)
 | |-ata/1(451)
 | |-ata_aux(452)
 | |-kedac(1832)
 | `-pdflush(21556)
 |-gpm(3313)
 |-hald(3402)
 |-irqbalance(3087)
 |-khubd(11)
 |-kjournald(494)
 |-kjournald(2176)
 |-klogd(3074)
 |-kseriod(213)
 |-ksoftirqd/0(3)
 |-ksoftirqd/1(5)
 |-kswapd0(67)
 |-lockd(596)
 |-login(3509)---bash(19184)
 |-migration/0(2)
 |-migration/1(4)
 |-mingetty(3510)
 |-mingetty(3511)
 |-mingetty(3512)
 |-mingetty(3513)
 |-mingetty(3514)
 |-minilogd(20220)
 |-minilogd(22648)
 |-portmap(26404)
 |-rpciod(595)
 |-scsi_eh_0(456)
 |-scsi_eh_1(457)
 |-scsi_eh_2(465)
 |-scsi_eh_3(466)
 |-scsi_eh_4(1998)
 |-smartd(3155)
 |-sshd(21029)-+-sshd(11899)---bash(11911)-+-pstree(14050)
 | |   `-tail(12125)
 | |-sshd(12900)---sshd(12902)---bash(12913)
 | |-sshd(13882)---bash(13900)
 | `-sshd(23839)---bash(23841)
 |-syslogd(3070)
 |-udevd(7922)
 |-usb-storage(1999)
 |-xfs(3353)
 |-xinetd(3215)
 `-ypbind(14008)

Nice process tree, what generated it?

 # up2date --whatprovides iostat
 # up2date --whatprovides iotop

Try 'yum provides iostat'

 Where do I get iostat / iotop?

They're in the sysstat package

 Starting sendmail back up puts me in the high 1's to low 2's

I would think about isolating email then, especially if it's
handling it unfiltered from the Internet.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] dying hd on live legacy system...

2008-04-25 Thread Jeff Larsen
On Fri, Apr 25, 2008 at 12:46 PM, Dan Halbert [EMAIL PROTECTED] wrote:

 
  
 What is the most practical method to replace the hard drive?
   
   Install another drive (same size or larger), boot from CD in rescue
   mode and use the dd utility to copy the old drive image to the new
   disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing
   hardware could make this problematic. Then remove the dying disk and
   install the new disk on the cable where the old disk was so that the
   new disk is now /dev/hda.
  
  
 
  Tried this, I should have been more clear above. When I access certain
  sectors the machine reboots.
 

  Just to confirm: you mean the machine reboots even when this disk is not a
 system disk? Suppose you mount it readonly (maybe it's doing atime updates
 unsuccessfully?)?

Why mount it at all? Booting from CentOS CD in rescue mode gives you
the option of not mounting the existing CentOS installation. dd does
not need mounted file systems. With the exception of possible IDE
conroller issues, booting from CD and not mounting is as good as
putting the disk in another machine.


  If it's a peculiarity of the controller, you could try putting it in as a
 data disk in another machine with a different kind of disk controller. You
 could even put it in a Windows box and use one the various free utilities to
 look at the Linux filesystem - perhaps that would not exercise whatever
 issue is causing the reboots.

  If you've gotten the vital data off and any customizations out of /etc, the
 crontabs, etc., then if possible, maybe you could just do an
  rpm -q -a to get the current package list, and then diff that against the
 list you get on a fresh install to figure out what you need to add.

  Dan

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


RE: [CentOS] load level?

2008-04-25 Thread Paul Heinlein

On Fri, 25 Apr 2008, Ross S. W. Walker wrote:


init(1)-+-atd(3370)
|-dbus-daemon-1(3392)
|-events/0(6)-+-aio/0(68)
| |-aio/1(69)
[...snip...]
|-xfs(3353)
|-xinetd(3215)
`-ypbind(14008)


Nice process tree, what generated it?


pstree, part of the psmisc package.

--
Paul Heinlein  [EMAIL PROTECTED]  http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] load level?

2008-04-25 Thread Ross S. W. Walker
Paul Heinlein wrote:
 On Fri, 25 Apr 2008, Ross S. W. Walker wrote:
 
  init(1)-+-atd(3370)
  |-dbus-daemon-1(3392)
  |-events/0(6)-+-aio/0(68)
  | |-aio/1(69)
  [...snip...]
  |-xfs(3353)
  |-xinetd(3215)
  `-ypbind(14008)
 
  Nice process tree, what generated it?
 
 pstree, part of the psmisc package.

Thanks, good to know.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] dd trough scp with tar

2008-04-25 Thread Ray Van Dolson
On Fri, Apr 25, 2008 at 10:48:17PM +0200, David Hláčik wrote:
 Hi,
  
 first i will explain my experiment :
  
 We have ESX server running virtual machines .We want to migrate to XEN. As i
 did not found any tool for transfering ESX to for example real server, or
 better to XEN -- please correct me if i am wrong , i found following approach
 :
  
 i will inside virtual machine on ESX boot from Live-CD of CentOS , using dd i
 will transfer images trought scp to CentOs machine with xen. I believe this 
 one
 should work, machines on ESX are Windows2003 Servers.
 So what i need to find is how to write a command which will transfer image
 trought scp , but for faster transfer also compress  it before using tar, or
 gzip.
  
 so my input will be dd if=/dev/sda1 , my output will be gzipped or tarred 
 image
 on second side. sda1.img.gz
  

dd if=/dev/sda1 | gzip -c | ssh host cat  output.gz

Sanity check on that?

If you're not worried about security of this transfer, might be faster
to use NFS or something.

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


Re: [CentOS] dd trough scp with tar

2008-04-25 Thread Les Mikesell

David Hlác(ik wrote:

Hi,
 
first i will explain my experiment :
 
We have ESX server running virtual machines .We want to migrate to XEN. 
As i did not found any tool for transfering ESX to for example real 
server, or better to XEN -- please correct me if i am wrong , i found 
following approach :
 
i will inside virtual machine on ESX boot from Live-CD of CentOS , using 
dd i will transfer images trought scp to CentOs machine with xen. I 
believe this one should work, machines on ESX are Windows2003 Servers.
So what i need to find is how to write a command which will transfer 
image trought scp , but for faster transfer also compress  it before 
using tar, or gzip.
 
*so my input will be dd if=/dev/sda1 , my output will be gzipped or 
tarred image on second side. sda1.img.gz*
** 


First, I'd expect some problems with the device drivers when you try to 
restore a vmware image onto a xen virtual environment - unless they 
present similar virtual hardware.


However, for the actual copy operation, I'd recommend clonezilla-live 
(http://www.clonezilla.org/clonezilla-live/). Boot its iso image into a 
menu system that will let you mount the image storage space via nfs, 
samba, or ssh-fs, then tell it to save the whole disk.  The advantage 
over dd is that it knows enough about ntfs and most linux file systems 
to just save the used blocks and when you restore it will let you pick 
from the list of images you've saved.


--
  Les Mikesell
   [EMAIL PROTECTED]


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


Re: [CentOS] load level?

2008-04-25 Thread Kevin Faulkner

  Where do I get iostat / iotop?



Starting sendmail back up puts me in the high 1's to low 2's

My next course of action would be to start sendmail in debug level 0.1 
and check some logs. Find out exactly sendmail is trying to do, maybe 
lsof to see if it is getting stuck on something. I am pretty certain 
(from the information provided) that its IO that is bringing your system 
to its knees. iotop is available on pbone.net and as for iostat # yum 
install sysstat. But I think you really you have found your problem child.

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


RE: [CentOS] dd trough scp with tar

2008-04-25 Thread Joseph L. Casale
First, I'd expect some problems with the device drivers when you try to
restore a vmware image onto a xen virtual environment - unless they
present similar virtual hardware.

Actually, your lucky on this one. Windows *always* loads an ide driver into the
Critical Device Database unless you explicitly tell it not to with an
installation answer file, or remove it after install.

However, for the actual copy operation, I'd recommend clonezilla-live
(http://www.clonezilla.org/clonezilla-live/). Boot its iso image into a
menu system that will let you mount the image storage space via nfs,
samba, or ssh-fs, then tell it to save the whole disk.  The advantage
over dd is that it knows enough about ntfs and most linux file systems
to just save the used blocks and when you restore it will let you pick
from the list of images you've saved.

Yup, did the same thing recently with WinPE 2.0 and Ghost (Same internal
concepts, faster then dd and ssh/cp) when moving off an ESX server into Xen 3.2.

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


RE: [CentOS] load level?

2008-04-25 Thread Jason Pyeron

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Milton Calnek
 Sent: Friday, April 25, 2008 3:56 PM
 To: CentOS mailing list
 Subject: Re: [CentOS] load level?
 
 
 
 Jason Pyeron wrote:
  -Original Message-
 
  Starting sendmail back up puts me in the high 1's to low 2's
 

Nope it is behind a firewall, no port 25 access.

mailq is 55k (logwatch)


 Are you getting lots of large-ish emails? maybe sendmail is
 working with some sort of anti-virus/spam tool?
 
 --
 Milton Calnek BSc, A/Slt(Ret.)
 [EMAIL PROTECTED]
 306-717-8737
 
 
 --
 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




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 



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


RE: [CentOS] load level?

2008-04-25 Thread Jason Pyeron

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Ross S. W. Walker
 Sent: Friday, April 25, 2008 4:05 PM
 To: CentOS mailing list
 Subject: RE: [CentOS] load level?
 
 Jason Pyeron wrote:
  Kevin Faulkner wrote:
  
   Perhaps you could run iotop find out if there is a process chewing up
   your hard disks. You aren't just limited to top, you can  also use
   vmstat and iostat in this situation.
 
 They're in the sysstat package
 
  Starting sendmail back up puts me in the high 1's to low 2's
 
 I would think about isolating email then, especially if it's
 handling it unfiltered from the Internet.


After 15 minutes it dropped down to .75, now with httpd its back up




[EMAIL PROTECTED] ~]# iostat
Linux 2.6.9-55.0.12.ELsmp (devserver21.internal.pdinc.us)   04/25/2008

avg-cpu:  %user   %nice%sys %iowait   %idle
  13.310.00   11.660.12   74.91

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
hdc   0.00 0.00 0.00424  0
sda   2.4412.8134.34  116132748  311250630
sda1  0.00 0.00 0.00   8138   2214
sda2  5.3412.8134.34  116124346  311248368
dm-0  5.3412.8034.32  115985770  311090800
dm-1  0.00 0.02 0.02 137856 157616


not sure what I am looking at.


 
 -Ross
 
 __
 This e-mail, and any attachments thereto, is intended only for use by
 the addressee(s) named herein and may contain legally privileged
 and/or confidential information. If you are not the intended recipient
 of this e-mail, you are hereby notified that any dissemination,
 distribution or copying of this e-mail, and any attachments thereto,
 is strictly prohibited. If you have received this e-mail in error,
 please immediately notify the sender and permanently delete the
 original and any copy or printout thereof.
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 



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


Re: [CentOS] load level?

2008-04-25 Thread Les Mikesell

Jason Pyeron wrote:



Starting sendmail back up puts me in the high 1's to low 2's



Nope it is behind a firewall, no port 25 access.

mailq is 55k (logwatch)


Does the output of the mailq command look like stuff you expect to be 
sending?


--
  Les Mikesell
   [EMAIL PROTECTED]

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


[CentOS] MRTG graphs of tunnel interfaces

2008-04-25 Thread umair shakil
Can any one tell me th fruit full suggestion how to create Juniper ISG-2000
tunnel interfaces graphs. Any MIBS available.

Regards,

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