Re: Evolution,

2011-10-24 Thread JB
On Monday 24 October 2011 02:03:10 Jérôme wrote:
 Le dimanche 23 octobre 2011 18:55:43, JB a écrit :
  bonsoir,
  mais comment le rendre online?
  je creuse et merci à vous pour les consels
  A+
  JB
 
 Le status d'évolution est synchronisé avec celui de Network-manager, 
donc
 soit configurer le réseau avec network-manager, soit supprimer
 network-manager.

je pense avoir fait le mauvais choix:
installation de network-manager a télèchargé les paquets
et 
n'vance plus dans l'étape Préconfiguration des paquets (htop)
un kill -9 est catastrophique?
A+
JB

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/201110240950.10217.jacques.briq...@orange.fr



Re: Evolution,

2011-10-24 Thread moi-meme
Le Sun, 23 Oct 2011 18:20:02 +0200, Bernard Schoenacker a écrit :

 prend tes clics et tes claques avec évolution et migre vers
   claws-mail 

+1

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/4ea51526$0$29152$426a3...@news.free.fr



Re: Evolution,

2011-10-24 Thread JB
On Monday 24 October 2011 09:50:10 JB wrote:
 On Monday 24 October 2011 02:03:10 Jérôme wrote:
 
ps -aedfl me donne un zombie pour cette action:

 S jb   17601 17595  0  80   0 - 58196 -  09:25 ?00:00:00 gksu 
-u root /usr/sbin/synaptic
4 S root 17606 17601  0  80   0 - 14003 -  09:25 pts/200:00:00 
/bin/su root -c /usr/lib/libgksu/gksu-run-helper /usr/s
0 S root 17615 17606  0  80   0 -  2255 -  09:25 pts/200:00:00 
/usr/lib/libgksu/gksu-run-helper /usr/sbin/synaptic
0 S root 17619 17615  0  80   0 -   988 -  09:25 pts/200:00:00 sh 
-c /usr/sbin/synaptic
0 S root 17620 17619  1  80   0 - 69036 -  09:25 pts/200:00:18 
/usr/sbin/synaptic
1 S root 17653 17620  0  80   0 - 68754 -  09:27 pts/300:00:00 
/usr/sbin/synaptic
0 S root 17656 17653  0  80   0 -   988 -  09:27 pts/300:00:00 
/bin/sh -c /usr/sbin/dpkg-preconfigure --apt || true
0 S root 17657 17656  0  80   0 - 67101 -  09:27 pts/300:00:00 
/usr/bin/perl -w /usr/sbin/dpkg-preconfigure --apt
1 S root 17663 1  0  80   0 -  6526 -  09:27 pts/300:00:00 
dbus-launch --autolaunch 9c90d77786fd2a2ae8ffcfb9000
1 S root 17664 1  0  80   0 -  5815 -  09:27 ?00:00:00 
/usr/bin/dbus-daemon --fork --print-pid 5 --print-addres
1 Z root 17673 17657  0  80   0 - 0 -  09:27 pts/300:00:00 
[dpkg-preconfigu] defunct
0 S root 17708 17657  0  80   0 -  2659 -  09:27 pts/300:00:00 
/bin/bash /tmp/wicd-daemon.config.176743 configure 
1 S jb   17834 14990  0 
A+
JB

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241000.33642.jacques.briq...@orange.fr



Re: Evolution,

2011-10-24 Thread JB
On Monday 24 October 2011 09:35:02 moi-meme wrote:
 Le Sun, 23 Oct 2011 18:20:02 +0200, Bernard Schoenacker a écrit :
  prend tes clics et tes claques avec évolution et migre vers
  
  claws-mail 
 
 +1

j'ai installé,
mais je voudrais modifier ces points:
le proriaitaire de la boite est 
jacques.briq...@orange.fr@pop.orange.fr
ensuite je n'utilise pas pop3 mais pop
àvous lire
A+
JB

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241056.41663.jacques.briq...@orange.fr



Re: Evolution,

2011-10-24 Thread JB
On Monday 24 October 2011 10:56:41 JB wrote:
 On Monday 24 October 2011 09:35:02 moi-meme wrote:
  Le Sun, 23 Oct 2011 18:20:02 +0200, Bernard Schoenacker a écrit :
   prend tes clics et tes claques avec évolution et migre vers
   
 claws-mail 
  
  +1
 
 j'ai installé,
 mais je voudrais modifier ces points:
 le proriaitaire de la boite est
 jacques.briq...@orange.fr@pop.orange.fr
 ensuite je n'utilise pas pop3 mais pop
 àvous lire
 A+
 JB

c'est résolu,
merci pour les conseils
A+
JB

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241113.26097.jacques.briq...@orange.fr



Re: Problème de clavier

2011-10-24 Thread Frédéric Boiteux
Le Sun, 23 Oct 2011 02:51:44 +0300,
Christophe Gallaire zam...@gmail.com a écrit :

 Bonsoir,
 
 Voilà le résultat de la commande : setxkbmap -print
 
 setxkbmap -print
 xkb_keymap {
 xkb_keycodes  { include evdev+aliases(azerty)};
 xkb_types { include complete};
 xkb_compat{ include complete};
 xkb_symbols   { include
 pc+fr(oss_latin9)+fr:2+inet(evdev)+level3(ralt_switch_for_alts_toggle):1+level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)};
 xkb_geometry  { include pc(pc105)};
 };
 
 Tu vois quelque chose d'anormal ?


Bonjour,

Non, je ne vois rien de bizarre... Je vois juste que tu as la config
« fr » en deuxième configuration, ne serais-tu pas passé sur ce second
mode (avec les touches Alt enfoncées en même temps) ?

 Fred.

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/20111024112901.5f00fb27@Prem1s.lanvoc



Re: Problème de clavier

2011-10-24 Thread Christophe Gallaire

Frédéric Boiteux a dit dans un souffle :

Le Sun, 23 Oct 2011 02:51:44 +0300,
Christophe Gallaire zam...@gmail.com a écrit :


Bonsoir,

Voilà le résultat de la commande : setxkbmap -print

setxkbmap -print
xkb_keymap {
xkb_keycodes  { include evdev+aliases(azerty)};
xkb_types { include complete};
xkb_compat{ include complete};
xkb_symbols   { include
pc+fr(oss_latin9)+fr:2+inet(evdev)+level3(ralt_switch_for_alts_toggle):1+level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)};
xkb_geometry  { include pc(pc105)};
};

Tu vois quelque chose d'anormal ?



   Bonjour,

Non, je ne vois rien de bizarre... Je vois juste que tu as la config
« fr » en deuxième configuration, ne serais-tu pas passé sur ce second
mode (avec les touches Alt enfoncées en même temps) ?

Fred.



Bonjour,

Ben... non... je ne crois pas... j'ai essayé de placer la config fr en premier
via l'outil de configuration du clavier Préférences -- Clavier mais ça ne
change rien. Y a-t-il une autre possibilité ?

@+

Christophe

--
Christophe Gallaire

Attention ! Suppression des mails entrants dont la taille est supérieure à 2Mo !
N'envoyez, s'il vous plaît, que des pièces jointes en formats ouverts. 
---

Nouveau carnet de route : http://www.road2mayotte.org/calepin/
---
Timeline Identi.ca : https://identi.ca/road2mayotte/
---
Clé de chiffrement : 7803




signature.asc
Description: Digital signature


Re: Problème de clavier

2011-10-24 Thread D. Barbier
Le 24 octobre 2011 12:51, Christophe Gallaire zam...@gmail.com a écrit :
 Frédéric Boiteux a dit dans un souffle :

 Le Sun, 23 Oct 2011 02:51:44 +0300,
 Christophe Gallaire zam...@gmail.com a écrit :

 Bonsoir,

 Voilà le résultat de la commande : setxkbmap -print

 setxkbmap -print
 xkb_keymap {
 xkb_keycodes  { include evdev+aliases(azerty)};
 xkb_types     { include complete};
 xkb_compat    { include complete};
 xkb_symbols   { include

 pc+fr(oss_latin9)+fr:2+inet(evdev)+level3(ralt_switch_for_alts_toggle):1+level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)};
 xkb_geometry  { include pc(pc105)};
 };

 Tu vois quelque chose d'anormal ?


   Bonjour,

 Non, je ne vois rien de bizarre... Je vois juste que tu as la config
 « fr » en deuxième configuration, ne serais-tu pas passé sur ce second
 mode (avec les touches Alt enfoncées en même temps) ?

    Fred.


 Bonjour,

 Ben... non... je ne crois pas... j'ai essayé de placer la config fr en
 premier
 via l'outil de configuration du clavier Préférences -- Clavier mais ça ne
 change rien. Y a-t-il une autre possibilité ?

Bonjour,

Tu devrais n'en garder qu'une, ça simplifierait. Une fois que ta
configuration remarche, tu ajouteras une 2e config si tu en as besoin.

Denis

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMqf4EFk076ALCCzF3hL74zPrxYAOU=m3ablswpwzq4jomb...@mail.gmail.com



[O]T]: Arrancar ISO por PXE. Colaboracion

2011-10-24 Thread Hector Garcia
Buenas madrugadas.

Frecuentemente tengo necesidad de arrancar una maquina sin unidad de
CD/DVD a traves de la red LAN. La pregunta que hace tiempo planteé en
(1)
la resolví con netinstall, pero descargando los paquetes necesarios
desde internet. Así, la duda de arrancar el ISO o DVD que se tiene
disponible, por red, pero sin internet, siguió latente.

Hoy me dí a la tarea de cambiar mi disco de solamente datos, con sus
ya casi 80 Gb ocupados, por uno de 160 GB, por lo que me surgio la
necesidad de pasar toda la información al disco nuevo, en una maquina
que solo tiene dos puertos SATA, lo que quiere decir que tuve que
arrancarla sin disco de S.O.

Afortunadamente, hoy San Google se puso de mi parte, y me iluminó con
el  enlace (2), que deseo compartir con ustedes, por una parte para
resolverme aquella antigua duda, y por otra, para dejar histórico en
el archivo.

El enlace plantea arrancar Clonezilla remotamente, por PXE y usando
dnsmasq en la maquina servidor (justamente lo que hice para mi tarea
de paso de información), pero, si se analiza y adapta, es
completamente aplicable a Debian.

Espero sea de ayuda a alguien mas.

Saludos.

P.D. Si cometí errores en mi redacción, ofrezco una disculpa; a las 2
A.M. escribo más por inercia que por razón :)



 (1) http://lists.debian.org/debian-user-spanish/2011/08/msg00625.html
 (2) http://thestorey.ca/wordpress/?p=26
-- 
Hector
--
El Pic no pudo Iniciar correctamente.
Inserte el disco de arranque y presione cualquier pin para continuar...

Linux Registered User #467500
https://linuxcounter.net/user/467500.html


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caczwltkjmw+anftwdrlarvnssnv0fbuvbduxhjfrbgh4qfn...@mail.gmail.com



Re: Problemas con safe-upgrade al querer actualizar paquetes (SOLUCIONADO)

2011-10-24 Thread Darío
El día 23 de octubre de 2011 12:35, Darío dario...@gmail.com escribió:
 El 23/10/11, Camaleón noela...@gmail.com escribió:
 El Sun, 23 Oct 2011 00:33:47 -0300, Darío escribió:

 Hola lista, tengo un problema al querer actualizar paquetes

 ¿Al actualizar, cómo? ¿Con Synaptic, con aptitude, con apt-get...?

 ya que me aparece el siguiente cartel:
 Puede que la actualización requiera eliminar o instalar paquetes
 nuevos. ¿Desea realizar un safe-upgrade que no elimina paquetes
 nuevos? El problema está en que si el doy No se queda colgado y si le
 doy Sí igual, no se cuelga el sistema sino sólo la pantalla de
 actualización.

 Ese mensaje me suena cuando alguna actualización necesita eliminar o
 instalar paquetes adicionales, vamos, que el mensaje en sí es normal.

 Que se quede colgado obviamente no lo es.

 No sé si tendrá que ver el hecho de que instalé el 99% de los paquetes
 desde los DVDs porque tengo la conexión a Internet increíblemente lenta,
 lo que pensaba es que después, las actualizaciones serían muchos menos
 bytes para descargar ya que habría instalado como 2 Gb en paquetes
 (todavía estaría descargando!!).

 Como tu que añadir los ocho DVDs, descomenté en el sources.list las
 direcciones de los repositorios para que no empiece  a descargar desde
 la red.

 Actualmente mi sources.list dice:

 deb http://http.us.debian.org/debian/ squeeze main contrib
 deb-src http://http.us.debian.org/debian/ squeeze main contrib

 # Repositorio de Seguridad
 deb http://security.debian.org/ squeeze/updates main contrib
 deb-src http://security.debian.org/ squeeze/updates main contrib
 deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates main contrib
 deb-src http://ftp.us.debian.org/debian/ squeeze-proposed-updates main
 contrib

 Aparentemente apt-get update funcionó sin ningún error.

 No me queda claro lo que te pasa... dices que tienes los DVD añadidos en el
 sources.list pero no aparecen enumerados por ningún lado y que apt-get
 funciona luego, si ya has podido actualizar ¿cuál es el problema? :-?

 Alguien tiene idea qué estoy haciendo mal (tengo 150 actualizaciones por
 hacer, espero terminar antes de fin de año!!)

 ¿Has probado con apt-get update  apt-get -V dist-upgrade

 Saludos,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2011.10.23.08.48...@gmail.com


 No, por ahí me expresé mal, originalmente tenía en los repositorios
 sólo los DVD ahora tengo el que escribí en el mensaje.
 En teoría estaría actualizando los paquetes con Synaptic (las
 actualizaciones autamáticas).
 Se queda colgado al hacer clic en la estrella roja de actualizaciones
 (no desde consola) quizás se deba a la lentitud de internet, pero se
 queda colgado tanto en la opción Sí y No.

 El sources.list que tengo es el que especifiqué, por eso puse
 actualmente tengo ... y por lo que se ve NO tengo los DVD, los tuve
 que añadir para instalarme algunas aplicaciones por problemas de
 conexión, después los saqué.

 apt-get update no da problemas, el problema es el gestor de
 actualizaciones que es el que se cuelga.

 Voy a probar lo que me dijiste y comento.

 Saludos
 --
 Darío


Hola Camaleón, ayer probé lo que me dijiste y empezó a descargar las
actualizaciones (todavía sigue descargando paquetes).

El problema que tenía con que se quedaba colgada el Synaptic, me
parece que tenía que ver con que empezaba a descargar y como eran
demasiados paquetes y la conexión lenta iba a a demorar demasiado. Lo
que no entiendo era por qué se colgaba ante cualquier opción, tanto en
aceptar como en no aceptar.

El mensaje parece ser normal, lo que me parecía anormal era el cuelgue.

Por lo tanto en definitiva, creo no tenía ningún problema.

Un saludo

-- 
Darío


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabbn1rzssfqif+gdswmwon6bs3vkcjyvuuizpcjetp+hbtw...@mail.gmail.com



Re: virtualizacion

2011-10-24 Thread Fernando Romero
El proveedor del software del sistema que corre en el equipo en las 
especificaciones dice que solo corre en sparc.
Cuando le pregunte por que en un mail me respondio diciendo que por un tema 
de librerias, no me cerro del todo la respuesta pero en el contrato esta que 
no se hacen cargo de soporte si el sistema no cumple con las exigencias 
establecidas por ellos.


Saludos.
- Original Message - 
From: carlopmart carlopm...@gmail.com

To: debian-user-spanish@lists.debian.org
Sent: Friday, October 21, 2011 3:13 PM
Subject: Re: virtualizacion



On 10/21/2011 07:09 PM, Fernando Romero wrote:

Necesito que sea sparc para testear un servidor que tengo en produccion.

Saludos.



Pero, pregunta chorra, ¿que tipo de servicios tiene ese servidor en sparc 
que no puedan correr en x86??


Porque claro, un motivo por el cual se me ocurre que solo lo quieras hacer 
en sparc es por algún problema de rendimiento y/o kernel que te hayas 
topado. Cosa que ya te adelanto, entonces la virtualización no te sirve de 
nada ...


Saludos.

--
CL Martinez
carlopmart {at} gmail {d0t} com


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact 
listmas...@lists.debian.org

Archive: http://lists.debian.org/4ea1b65e.7080...@gmail.com




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/72BECFB8E5104197A9BE254C4AD6A8E4@oraculo



Re: virtualizacion

2011-10-24 Thread carlopmart


On 10/24/2011 01:38 PM, Fernando Romero wrote:

El proveedor del software del sistema que corre en el equipo en las
especificaciones dice que solo corre en sparc.
Cuando le pregunte por que en un mail me respondio diciendo que por un
tema de librerias, no me cerro del todo la respuesta pero en el contrato
esta que no se hacen cargo de soporte si el sistema no cumple con las
exigencias establecidas por ellos.

Saludos.


Pues entonces solo puedes virtualizar con producto propietario de 
Oracle, o sea LDoms (en la web de Oracle verás su referencia como Oracle 
VM for Sparc) o bien con Solaris Zones:


http://www.oracle.com/us/technologies/virtualization/oraclevm/oracle-vm-server-for-sparc-068923.html

http://www.oracle.com/technetwork/server-storage/solaris/containers-169727.html?ssSourceSiteId=ocomen

No te queda otra ... Una de las dos opciones que tienes es utilizar las 
Solaris Zones bajo un servidor Solaris Express en SPARC y configurar una 
zona Solaris 10 ... Es compatible y completamente soportado por Oracle.


Saludos.

--
CL Martinez
carlopmart {at} gmail {d0t} com


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ea555c1.40...@gmail.com



Re: problema con ssh y llaves

2011-10-24 Thread ulises gonzalez horta
On Saturday 22 October 2011 04:33:15 am Julio wrote:
 Pues yo empezaría por comprobar si en el equipo Debian etch existe ese
 archivo, sus permisos no impiden leerlo y que contenga una clave válida.

 Un saludo

servidorftp:~/.ssh# ls
authorized_keys  id_dsa  id_dsa.pub  identity  identity.pub  id_rsa  
id_rsa.pub  known_hosts
servidorftp:~/.ssh#

cuando menos existe, como puedo saber si la llave es valida??

-- 
Salu2 
 
 Ulinx
 Administrador de redes
 Ministerio de Finanzas y Precios
 Linux user 366775
En un problema con n ecuaciones
siempre habrá al menos n+1 incógnitas.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110240942.32818.uli...@mfp.gov.cu



Re: problema con ssh y llaves

2011-10-24 Thread Francesc Guitart
El día 24 de octubre de 2011 15:42, ulises gonzalez horta
uli...@mfp.gov.cu escribió:
 On Saturday 22 October 2011 04:33:15 am Julio wrote:
 Pues yo empezaría por comprobar si en el equipo Debian etch existe ese
 archivo, sus permisos no impiden leerlo y que contenga una clave válida.

 Un saludo

 servidorftp:~/.ssh# ls
 authorized_keys  id_dsa  id_dsa.pub  identity  identity.pub  id_rsa
 id_rsa.pub  known_hosts
 servidorftp:~/.ssh#


Y en identity y identity.pub que hay? Parece que tienes mas de una
clave creada. No habras copiado al server la que no toca?

Que dice el fichero de configuracion del cliente ssh 
/etc/ssh/ssh_config en la maquina cliente?


-- 
Francesc Guitart


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOUhjL7jUFOMa+DyK=3mnmnevwkrocb-otk4phaccyw4ouw...@mail.gmail.com



Re: problema con ssh y llaves

2011-10-24 Thread JulHer
El lun, 24-10-2011 a las 09:42 -0400, ulises gonzalez horta escribió:
 On Saturday 22 October 2011 04:33:15 am Julio wrote:
  Pues yo empezaría por comprobar si en el equipo Debian etch existe
 ese
  archivo, sus permisos no impiden leerlo y que contenga una clave
 válida.
 
  Un saludo
 
 servidorftp:~/.ssh# ls
 authorized_keys  id_dsa  id_dsa.pub  identity  identity.pub  id_rsa  
 id_rsa.pub  known_hosts
 servidorftp:~/.ssh#
 
 cuando menos existe, como puedo saber si la llave es valida??

Pues lo primero es abrirlo y ver si está vacío o hay algo. ¿tienen
permisos de lectura esos archivos...?

Puedes ver su contenido simplemete con cat id_rsa

Un saludo

JulHer




signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: problema con ssh y llaves

2011-10-24 Thread ulises gonzalez horta
On Monday 24 October 2011 10:46:24 am JulHer wrote:
 Pues lo primero es abrirlo y ver si está vacío o hay algo. ¿tienen
 permisos de lectura esos archivos...?

 Puedes ver su contenido simplemete con cat id_rsa

 Un saludo

servidorftp:~/.ssh# cat id_rsa
-BEGIN RSA PRIVATE KEY-
MIIEoAIBAAKCAQEAt6ypfiZ6EB2jN5lWkaigu/UCBpPGZqrvR8zvZxZ/IuA+lBNV
GZQJ/yrfNJmRbJoGsQpeSs/uwtE2wRMCA4QwQY3lrQbmZmyEuGhyWLQuHnOT5aR2
Rw4+rygKc/ml3MWKChU67uabLUTF4rtNNV0B8FjMHvFFt3Mc5wqwt3LL9IfPqIqT
3mgVl0qk0tSKbWJd7RazF4Xb3jGRAuZaqV/CtFsHJoc76J5U18wgUe0iOuwQBqo1
tIN8cJ8SYb/ekkaMENgK0Z6dVUyhdQjd0wZIPX9gHjsxduIG0JjcvJBavGPpzfql
NrjY5h+ZD8Qofh4m5ymAI1NOp0H3deYYb6xS6QIBIwKCAQAvOwcDLncotyn4WqE7
ZeAwVPHkbyRjiwpUSqP179eMoBAXcq97mxiDcWyYf0Km5cc01sfKGDYU1rZO56Fu
nlWNMx3NaCyd/qXJBOo0ERMsZtzjR4wg5mfj5bmLiVaJOhwuenzeWI5NeBWgs9IG
aF+Vky0shy8vLDqhz4yG8aIo70jSnON12dwWy8gflE9OWJBEHPpopR7GVdqqdgC7
jmMpj1ANGLGCrPeVJdX+m0Pas8wiFu+WtquDI6RT9sir887iNmV72jfNIuXBEp8O
uiGAf9JHbzEUYiBwD1LdTg0ZMBp30ukMJvqGWha8n7ftOPMfwTcysxccJhhqS1lB
7u+LAoGBAPLLZjEEopHkol0ptKw/G1yj9DffLQfMt/cE7NYTd7xWIx+kazB44lkj
SXa4TkPIFGWq9XqioXtn8ttrdElUhITi+R3mOXj/DobIZciUXkn0lW+OR3xUnJGs
BqpOolD9PxIbD4KbW8eYoPqDR3SV38qUs4TVFfzQvmv1IaWmJhrpAoGBAMGqF5jz
BIEhHgSDpjf9mUIHXHSE8yN/8tXY2UjY9y9nQ3dPLcrlVDjiRNstQw91qqzzlGyr
VIJ8dvDMNojZ8XDamZsmMPX/mfKE6OOTm0McTjCWmKDvcoU35NO792UH2402RSaI
jJhfdZt2D5NNtjkP2+vB9qKh72Vxn20CAXgBAoGAfN2iRRhTm3zlyYMpt6ttKFRR
tlWE33CZH/PnhAoDEGbQPCisJ46gSxl2PQ5UItvtO5nAEy8ROCbUq1vVZ4qNS6ft
1NzNGae+U/IIdcilhR6zQK+SenSoSurBmWpE2THIqjnNdl6G+O9ou1l1NKTZfiCW
1pl5Ba0uuy2cRo/2VvsCgYBeEMmiD6MaJgdEBW398DR/KCWXrko10G6iYgMjYhGp
T2npfjrQQ4Ct6j6zmaQ6tX7JCJiMjbtVUmWoKKzGILcZjr+jIS25UEN1y4cPc5SO
T5OxMzQw6VThns469OXgnWqjrKU+mhhnRE8Q/tRdfYRk29E3/yAF2aAp9VwQYA9X
iwKBgBMcLf/5jmqosBuOXUYEUthktnljcxZMHmtt6sr7TpAz2oYCxzVsIRGqla/u
uybnwoiu/bKDvswWd4V4+QQerTjSpcu+G/R7PGdQ+GTWKtaVVN/aaN1HVQTAnJZU
nwFwTucS0Td1Vs2YexGwr2+WJNqOOGNqhW2B2IIzwcWhIP01
-END RSA PRIVATE KEY-
servidorftp:~/.ssh# ls -l  id_rsa
-rw--- 1 root root 1671 2011-10-21 11:10 id_rsa
   

-- 
Salu2 
 
 Ulinx
 Administrador de redes
 Ministerio de Finanzas y Precios
 Linux user 366775
En un problema con n ecuaciones
siempre habrá al menos n+1 incógnitas.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241114.39052.uli...@mfp.gov.cu



Re: problema con ssh y llaves

2011-10-24 Thread ulises gonzalez horta
On Monday 24 October 2011 10:39:38 am Francesc Guitart wrote:
 Que dice el fichero de configuracion del cliente ssh 
 /etc/ssh/ssh_config en la maquina cliente?

servidorftp:~/.ssh# cat /etc/ssh/ssh_config

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
   DSAAuthentication yes
   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
   Protocol 2
#   Cipher 3des
#   Ciphers 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
servidorftp:~/.ssh#  

-- 
Salu2 
 
 Ulinx
 Administrador de redes
 Ministerio de Finanzas y Precios
 Linux user 366775
En un problema con n ecuaciones
siempre habrá al menos n+1 incógnitas.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241115.33067.uli...@mfp.gov.cu



Re: problema con ssh y llaves

2011-10-24 Thread ulises gonzalez horta
On Monday 24 October 2011 10:39:38 am Francesc Guitart wrote:
 Y en identity y identity.pub que hay? Parece que tienes mas de una
 clave creada. No habras copiado al server la que no toca

servidorftp:~/.ssh# cat identity.pub
ssh-rsa 
B3NzaC1yc2EBIwAAAQEAt6ypfiZ6EB2jN5lWkaigu/UCBpPGZqrvR8zvZxZ/IuA+lBNVGZQJ/yrfNJmRbJoGsQpeSs/uwtE2wRMCA4QwQY3lrQbmZmyEuGhyWLQuHnOT5aR2Rw4+rygKc/ml3MWKChU67uabLUTF4rtNNV0B8FjMHvFFt3Mc5wqwt3LL9IfPqIqT3mgVl0qk0tSKbWJd7RazF4Xb3jGRAuZaqV/CtFsHJoc76J5U18wgUe0iOuwQBqo1tIN8cJ8SYb/ekkaMENgK0Z6dVUyhdQjd0wZIPX9gHjsxduIG0JjcvJBavGPpzfqlNrjY5h+ZD8Qofh4m5ymAI1NOp0H3deYYb6xS6Q==
 
root@servidorftp
servidorftp:~/.ssh#   

-- 
Salu2 
 
 Ulinx
 Administrador de redes
 Ministerio de Finanzas y Precios
 Linux user 366775
En un problema con n ecuaciones
siempre habrá al menos n+1 incógnitas.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241116.43445.uli...@mfp.gov.cu



Re: problema con ssh y llaves

2011-10-24 Thread Francesc Guitart
2011/10/24 ulises gonzalez horta uli...@mfp.gov.cu:
 On Monday 24 October 2011 10:39:38 am Francesc Guitart wrote:
 Que dice el fichero de configuracion del cliente ssh 
 /etc/ssh/ssh_config en la maquina cliente?

 servidorftp:~/.ssh# cat /etc/ssh/ssh_config

 # This is the ssh client system-wide configuration file.  See
 # ssh_config(5) for more information.  This file provides defaults for
 # users, and the values can be changed in per-user configuration files
 # or on the command line.

 # Configuration data is parsed as follows:
 #  1. command line options
 #  2. user-specific file
 #  3. system-wide file
 # Any configuration value is only changed the first time it is set.
 # Thus, host-specific definitions should be at the beginning of the
 # configuration file, and defaults at the end.

 # Site-wide defaults for some commonly used options.  For a comprehensive
 # list of available options, their meanings and defaults, please see the
 # ssh_config(5) man page.

 Host *
 #   ForwardAgent no
 #   ForwardX11 no
 #   ForwardX11Trusted yes
   DSAAuthentication yes
   RSAAuthentication yes
 #   PasswordAuthentication yes
 #   HostbasedAuthentication no
 #   BatchMode no
 #   CheckHostIP yes
 #   AddressFamily any
 #   ConnectTimeout 0
 #   StrictHostKeyChecking ask
 #   IdentityFile ~/.ssh/identity
   IdentityFile ~/.ssh/id_rsa
 #   IdentityFile ~/.ssh/id_dsa
 #   Port 22
   Protocol 2
 #   Cipher 3des
 #   Ciphers
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
 #   EscapeChar ~
 #   Tunnel no
 #   TunnelDevice any:any
 #   PermitLocalCommand no
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no
 servidorftp:~/.ssh#

Estas forzando usar la version 2 de ssh pero sin embargo tienes
creadas las claves privadas para la version 1 (ficheros identity y
identity.pub). No te habras confundido en algun momento? Para
asegurarte borra (o mejor mueve) del directorio .ssh los ficheros:

identity
identity.pub
id_rsa
id_rsa.pub

Vuelve a crear las llaves y vuelve a copiar la publica al server como
ya hiciste.


-- 
Francesc Guitart


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOUhjL7DX+Mrr=ltdotvoyojlirnumrpxkjuzk99815holi...@mail.gmail.com



RE: Virtualizar Debian Lenny en VMware

2011-10-24 Thread Gorka
Hola.

He estado probando las soluciones que me proponíais y finalmente he llegado
a la conclusión, como me indicábais de que el error venía por una especie de
time-out de la conexión. Como no he conseguido subsanarlo he seguido dos
líneas:

- LÍNEA A - 

Insistiendo con el Converter Standalone, pero esta vez desmarcando la opción
'Reconfigure Destination Virtual Machine', tal y como me comentas
(Alejandro).
Esto aún no ha acabado. Mañana os cuento.

- LÍNEA B -

Básicamente los pasos de esta página
http://www.betahache.com/2009/08/14/convertir-una-maquina-fisica-con-linux-e
n-una-virtual/ para virtualizar debian en una unidad nfs. 

Teniendo en la máquina física este /etc/fstab ...

# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
/dev/mapper/maquina--fisica-root /   ext3
defaults,errors=remount-ro 0   1
/dev/cciss/c0d0p1 /boot   ext3defaults0   2
/dev/mapper/ maquina--fisica -swap_1 noneswapsw
0   0
/dev/hda/media/cdrom0   udf,iso9660 user,noauto 0   0

Sigo los pasos de la página para, en una unidad remota montada ...

dd if=/dev/mapper/maquina--fisica-root | gzip | dd of=/mnt/remoto/disco1.raw

Por último, convertir la imagen en un disco virtual que pueda leer VMware
...

qemu-img convert -f raw disco1.raw -O vmdk disco1.vmdk

Luego en el VMware, tal y como dice aquí
http://communities.vmware.com/thread/175335 creo una nueva máquina virtual
como siempre, pero cuando llego al punto de agregar el disco le digo use
existing hard drive y lo hago coincidir con mi fichero disco1.vmdk. Tras lo
cual ya puedo hacer 'Add to Inventory'.

Hasta aquí bien. El problema es que al arrancar esta nueva máquina virtual
me dice Operating system not found.

Creo que es porque no contiene la partición /boot que contienen la máquina
original. ¿Hay alguna forma de llevarse esta partición /boot junto con la
/swap y el raíz ... ¿o cómo puedo recrear esta partición /boot en la nueva
máquina virtual para que pueda arrancar dede ella?

Creo que es a lo que (Antonio) te refieres con ...

 Después de hecha la copia lo arrancas con el de instalación, arreglas
 los puntos de montaje (fstab) y reinstalas el gestor de arranque.

He arrancado con el de instalación, y creo que los puntos de montaje se han
de volver a crear en la parte de particionado, pero no tengo claro qué tengo
que hacer. Me dice que hay un único disco hda que es IDE1, pero si intento
realizar el 'Particionado Guiado' (o cualquier otro) dice que me lo va a
formatear y que perderé todos sus datos.



En fin, estoy un poco bastante perdido aquí. A ver si podéis echarme un
cable.

Un saludo.



 -Mensaje original-
 De: Trujillo Carmona, Antonio
 [mailto:antonio.trujillo.s...@juntadeandalucia.es]
 Enviado el: miércoles, 19 de octubre de 2011 9:12
 Para: debian-user-spanish@lists.debian.org
 Asunto: Re: Virtualizar Debian Lenny en VMware
 
 
 El 17/10/11 17:07, Gorka escribió:
  Hola.
 
 
 
  Trato de virtualizar un servidor Debian Lenny para VMWare. Hace de
  servidor de correo, ftp, web, … Es muy viejo y me da miedo que esté sin
  respaldo, porque si se estropea ahora mismo sería un desastre. El
  problema es que tengo que hacerlo en caliente, no puedo pararla. Con el
  Converter Standalone me falla cuando va por el 4%. ¿Cómo puedo
  virtualizar una máquina física Debian Lenny para VMware? ¿Es que si es
  Debian no se puede hacer? Estoy descargando para probar Acronis
  vmProtect, pero no sé si es lo que busco. Necesito una herramienta
  gratuita, o un trial que me de 15 días o algo así. ¿Cómo lo hacéis
  vosotros? (No busco discutir sobre otros motores de virtualización,
  quiero que quede en VMware)
 
 
 
  Gracias.
 
 Yo he virtualizado varias veces Debian en varias versiones (incluida
 Lenny) y los puntos a tener en cuenta son:
 En ESX no hay discos IDE, por lo que puede que te casque, se trata de
 dejar que haga la conversión y no permitir que intente reconfigurarlo,
 pues fallara en el arranque, y tiene la mala costumbre de borrarlo si
 falla, una vez incluso tuve que esperar a que acabara la copia y antes
 de que vmware lo diera por erróneo copiarlo para evitar perderlo.
 Después de hecha la copia lo arrancas con el de instalación, arreglas
 los puntos de montaje (fstab) y reinstalas el gestor de arranque.
 Si intentas reconfigurar la maquina (nombre ip ...) falla, parece que
 solo esta preparado para RedHat, por lo que la reconfiguración la hago
 posteriormente a mano.
 Las tarjetas de red las añade, pero eso es cosa del udev y tendras que
 tocar el /etc/udev/rules.d/70-persistent-net.rules
 
 
 --
 Por favor, NO utilice formatos  de archivo  propietarios para el
 intercambio de  documentos, como DOC y XLS, sino HTML, RTF, TXT,
 CSV o cualquier otro que no obligue a utilizar un programa de un
 fabricante  concreto para tratar la información contenida en él.
 SALUD.
 
 
 --
 To UNSUBSCRIBE, email to 

Re: problema con ssh y llaves [solucionado]

2011-10-24 Thread ulises gonzalez horta
On Monday 24 October 2011 11:22:41 am Francesc Guitart wrote:
 identity
 identity.pub
 id_rsa
 id_rsa.pub

 Vuelve a crear las llaves y vuelve a copiar la publica al server como
 ya hiciste.

gracias a todos, ya funciono, la solucion final fue esta...

-- 
Salu2 
 
 Ulinx
 Administrador de redes
 Ministerio de Finanzas y Precios
 Linux user 366775
En un problema con n ecuaciones
siempre habrá al menos n+1 incógnitas.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241212.27374.uli...@mfp.gov.cu



Re: Consulta Debian...

2011-10-24 Thread Roberto José Blandino Cisneros
Dos soluciones:

1) Configura los servicios en la interfaz específica. Por ejemplo el apache2
puedes ajustar el listen, el bind igual, asi por ejemplo:

bind:
...
listen-on port 53 {$ip_isp1;};
...

Apache2
...
NameVirtualHost $ip_isp2:80;
...


2) Virtualiza y crea en el anfitrion dos maquinas virtuales una para los
servicios en el isp1 y otra para isp2.
2011/9/26 Carlos Manuel Barceló Alonso ven...@intelsoft.com.mx

 Buenas tardes, espero que me puedan ayudar, tengo el mismo problema que
 tuvo esta persona, el cual está en la siguiente liga...

 http://lists.debian.org/debian-user-spanish/2006/08/msg00372.html

 Estoy en las mismas y ni atrás ni alante puedo hacer que las dos ip's que
 tengo configuradas en interfaces diferentes contesten un ping.. y que por
 supuesto el servidor responda a la petición independientemente de que ip lo
 solicite. La cuestión es la siguiente... Tengo aplicaciones que se van a
 conectar por una ip y otras aplicaciones se van a conectar por otra (ambas
 públicas) pero el servidor es uno solo. Una cuestión importante es que son
 ISP's diferentes y cada uno tiene su router y del cada router saco para el
 servidor. Si tienen alguna respuesta se los voy a agradecer con el alma.
 Saludos...










 *L.S.C. Carlos Manuel Barceló Alonso*
 *Gerente de Ventas*
 INNOVACIONES TECNOLÓGICAS AVANZADAS S.A DE C.V
 Blvd. Luis Donaldo Colosio K.M. 7.7, Oficina 3, Módulo A, Planta Alta, C.P.
 42181, Tel./Fax: 01(771)791 9020, Cel. 045(771)202 2982
 www.innovacioneseducativas.com.mx
 www.intelsoft.com.mx http://www.intelsoft.com.mx/intelsoft




-- 
[image: ro] [image: be] [image: ru] [image: to]
[image: bu] [image: ra] [image: n] [image: ji] [image: no]
===
Busque y Encuentre
http://www.clasificados.com.ni


Re: problema con ssh y llaves

2011-10-24 Thread ulises gonzalez horta
On Monday 24 October 2011 11:22:41 am Francesc Guitart wrote:
 Estas forzando usar la version 2 de ssh pero sin embargo tienes
 creadas las claves privadas para la version 1 (ficheros identity y
 identity.pub). No te habras confundido en algun momento? Para
 asegurarte borra (o mejor mueve) del directorio .ssh los ficheros

una pregunta al margen..

como se sabe que si los ficheros son de la version 1 o de la 2??

-- 
Salu2 
 
 Ulinx
 Administrador de redes
 Ministerio de Finanzas y Precios
 Linux user 366775
En un problema con n ecuaciones
siempre habrá al menos n+1 incógnitas.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241217.28790.uli...@mfp.gov.cu



RE: Virtualizar Debian Lenny en VMware

2011-10-24 Thread Francesc Guitart
El lun, 24-10-2011 a las 17:28 +0200, Gorka escribió:

 He arrancado con el de instalación, y creo que los puntos de montaje se han
 de volver a crear en la parte de particionado, pero no tengo claro qué tengo
 que hacer. Me dice que hay un único disco hda que es IDE1, pero si intento
 realizar el 'Particionado Guiado' (o cualquier otro) dice que me lo va a
 formatear y que perderé todos sus datos.
 

En VMware añade un disco de 100 o 200 MB. Arranca la VM desde el CD de
instalación y crea el punto de montaje /boot sobre el disco que acabas
de crear.


-- 
Francesc Guitart



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1319473195.2040.6.camel@negret



Re: problema con ssh y llaves

2011-10-24 Thread Francesc Guitart
El lun, 24-10-2011 a las 12:17 -0400, ulises gonzalez horta escribió:
 On Monday 24 October 2011 11:22:41 am Francesc Guitart wrote:
  Estas forzando usar la version 2 de ssh pero sin embargo tienes
  creadas las claves privadas para la version 1 (ficheros identity y
  identity.pub). No te habras confundido en algun momento? Para
  asegurarte borra (o mejor mueve) del directorio .ssh los ficheros
 
 una pregunta al margen..
 
 como se sabe que si los ficheros son de la version 1 o de la 2??

No sé si existe algún comando que te devuelva esa información pero los
ficheros identity y identity.pub son típicamente versión 1. En cambio
los ficheros id_rsa, id_rsa.pub, id_dsa y id_dsa.pub son propios de la
versión 2.


-- 
Francesc Guitart



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1319473568.2040.11.camel@negret



Re: squid

2011-10-24 Thread unoau...@enet.cu
bien yo probe instalando un proxy en windows, otro ccproxy y probe con  
spoonprpxy y me trabaja a la perfección, yo quiero tener mi servidor  
proxy hijo en lenny y que el padre sea 192.168.16.200 con puerto 8080  
pero que sucede, lo hago sin autenticación y yo quiero que en el mismo  
en linux si pida autenticacion a los usuarios.



Camaleón noela...@gmail.com ha escrito:


El Sat, 22 Oct 2011 14:16:15 -0400, unoau...@enet.cu escribió:


migos:
Necesito algun manual de configuracion de squid y aun no doy con la
bola,una vez lo hice pero hoy no tengo la suerte.


Te mando este a tu correo, está en español y creo que muy bien explicado,
al menos la parte de la autentificación:

http://www.tuxjm.net/docs/Manual_de_Instalacion_de_Servidor_Proxy_Web_con_Ubuntu_Server_y_Squid/html-onechunk/


Pondre una problematica aqui, el servidor proxy al que me conecto esta
en windows y usa ccproxy 5.3, el me da la conexion sin autenticación,
es decir por ip, yo quiero montar un squid en mi lenny que los usuarios
puedan autenticarse para navegar hasta ahora consigo la autenticacion,
es decir en el navegador me pide password pero no traga, porque no tengo
navegación y me dice


Un momento... ¿quieres autentificar Squid contra otro proxy que tienes
bajo windows o quieres configurar Squid como última instancia en la
cadena de autentificación y acceso a la red de tus equipos?


Ha ocurrido el siguiente problema:

Acceso denegado al caché.
Disculpe, Ud. no está autorizado a acceder a:

  http://www.google.com.cu/desde este caché hasta que se haya
  autenticado.


(...)

De Squid ni idea... pero si la última palabra la tiene el proxy de
Windows supongo que tendrás que configurarlo también para permitir el
acceso desde tu Squid, es decir, ambos proxies tiene que colaborar.

Saludos,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.23.14.34...@gmail.com








This message was sent using IMP, the Internet Messaging Program.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111024125139.69n3mldp4ccoc...@webmail.enet.cu



[ot] problemas con aplicaciones gtk

2011-10-24 Thread Carlos Albornoz
Estimados

Me gustaria saber si a algunos de ustedes les sucede el mismo
comportamiento de algunas aplicaciones con gtk, los sintomas son lo
siguientes:

Por ejemplo en Terminator al querer abrir una nueva pestaña se
demora mucho en aparecer, al cambiar de pestañas tambien se demoran

es como que el refresco de las aplicaciones se fue al demonio.

Otro ejemplo es con pidgin, al abrir un chat y por ejemplo pasarle una
ventana encima, la ventana de pidgin se va a blanco y luego se
refresca.
Epiphany-browser presenta lag en cualquier cosa que de haga.

El tema es el siguiente.

Luego de una actualización en testing empezó a ocurrir este problema,
el upgrade lo hice el dia jueves pasado desde el repo oficial en chile
(ftp.cl.debian.org), la version de python que tengo es la 2.7.2+, la
version de Terminator usada es la 0.96 y la 0.95, la de pidgin es la
2.10.0
tambien actualizé el driver de video (nvidia) pero si fuera problema
de video cualquier aplicación se colgaria de la misma forma antes
descrita.
kernel 2.6.39-2-amd64

pensando que el repo podria tener algun paquete no acualizado probe
con los repo de brasil (ftp.br) pero no arroja ningun update nuevo.

Alguna idea al respecto?
A alguien mas le sucede?

Saludos
-- 
Carlos Albornoz C.
Linux User #360502
Fono: 97864420


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAJzi=f-+tZvXaQPHGUs+wA0s0YDzkbGpJGCRWQRkroP1HT-R=g...@mail.gmail.com



Re: [ot] problemas con aplicaciones gtk

2011-10-24 Thread Matías Bellone
2011/10/24 Carlos Albornoz caralborn...@gmail.com:
 Estimados

 Me gustaria saber si a algunos de ustedes les sucede el mismo
 comportamiento de algunas aplicaciones con gtk, los sintomas son lo
 siguientes:

 Por ejemplo en Terminator al querer abrir una nueva pestaña se
 demora mucho en aparecer, al cambiar de pestañas tambien se demoran

 es como que el refresco de las aplicaciones se fue al demonio.

 Otro ejemplo es con pidgin, al abrir un chat y por ejemplo pasarle una
 ventana encima, la ventana de pidgin se va a blanco y luego se
 refresca.
 Epiphany-browser presenta lag en cualquier cosa que de haga.

 El tema es el siguiente.

 Luego de una actualización en testing empezó a ocurrir este problema,
 el upgrade lo hice el dia jueves pasado desde el repo oficial en chile
 (ftp.cl.debian.org), la version de python que tengo es la 2.7.2+, la
 version de Terminator usada es la 0.96 y la 0.95, la de pidgin es la
 2.10.0
 tambien actualizé el driver de video (nvidia) pero si fuera problema
 de video cualquier aplicación se colgaria de la misma forma antes
 descrita.
 kernel 2.6.39-2-amd64

 pensando que el repo podria tener algun paquete no acualizado probe
 con los repo de brasil (ftp.br) pero no arroja ningun update nuevo.

 Alguna idea al respecto?
 A alguien mas le sucede?

A mí me pasa. El problema está entre el driver de nvidia y la última
versión de X.org.

Bug de debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642757
Bug en nvidia: 
http://www.nvnews.net/vbulletin/showthread.php?p=2479906#post2479906

Tus opciones hasta que solucionen el bug son volver a la versión
anterior de X.org o usar otro driver de video.

Sin embargo, veo con muchísimo agrado que - aparentemente - el bug fue
solucionado en la versión del driver que entró el día de hoy a
experimental. Así que también podrías probar instalando esa versión.

Saludos,
Toote
-- 
Web: http://www.enespanol.com.ar


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cank6mlzbes4nhkwbhx5nusjm8hgakshmqdojvp4g-kux0mk...@mail.gmail.com



Re: Consulta Debian...

2011-10-24 Thread Felix Perez
El 24 de octubre de 2011 13:06, Roberto José Blandino Cisneros
rojobland...@gmail.com escribió:


Estimado podría evitar el html en sus correos por favor.

De antemano gracias.



--
usuario linux  #274354
normas de la lista:  http://wiki.debian.org/es/NormasLista
como hacer preguntas inteligentes:
http://www.sindominio.net/ayuda/preguntas-inteligentes.html


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caaizax5z8ixg6bgznbabdzak905qggvq0u6bll-4xcgvqjb...@mail.gmail.com



Gestor de ventanas desaparecido

2011-10-24 Thread Oru Trasero
El día 11 de octubre de 2011 13:26, Camaleón noela...@gmail.com escribió:
 El Mon, 10 Oct 2011 21:24:56 +0200, Oru Trasero escribió:

 El día 3 de septiembre de 2011 13:39, Camaleón noela...@gmail.com
 escribió:

 (...)

 Empieza por renombrar los directorios de configuración de gnome que
 tienes en tu $HOME a ver si con eso se queda contento :-)

 Mira, a quí tienes un artículo que te puede servir para el caso:

 http://linuxfud.wordpress.com/2007/02/14/how-to-reset-ubuntugnome-
 settings-to-defaults-without-re-installing/

 Ojo, NO elimines los directorios, renómbralos mejor, por si acaso. Por
 ejemplo, .gnome lo renombras a .gnome_original y así...

 Ten en cuenta que perderás las configuraciones que hayas podido hacer
 del entorno pero si soluciona el problema, siempre será mejor eso que
 migrar el perfil completo a otro usuario.

 Gracias!! Aunque no esté arreglado aún me ha tranquilizado ver que el
 nuevo usuario no tenía problemas :D

 Hola de nuevo. Bueno, aunque han pasado unas semanas, quería seguir
 indagando en este hilo.

 Buf, a ver si recuerdo de qué se trataba (...), ah, vale.

 Resulta que seguí las indicaciones de Camaleón, pero googleando vi que
 algunas personas habían tenido problemas con el método de renombrar
 carpetas enteras de configuración, entre ellos haber perdido datos de
 otros programas que no tenían que ver con el caso (como el gestor de
 correo electrónico Evolution, por ejemplo). La cosa es que tenía la
 mosca detrás de la oreja de que quizá inspeccionando más a fondo los
 archivos de configuración de mi usuario habitual y los del nuevo (al que
 el gestor de ventanas le iba perfectamente), podría afinar y arreglar el
 problema sin tocar o arriesgar otras cosas.

 A ver, una aclaración necesaria para que no haya malentendidos.

 Renombrando los directorios *nunca* pierdes los datos, para eso
 precisamente se cambia el nombre, para mantener siempre los archivos
 originales.

 Obviamente, si eliminas los directorios entonces sí, adiós a los datos
 de configuración y al resto de archivos que se encuentren en los
 directorios que hayas borrado (si se trata de Evolution, pues adiós a los
 mensajes, la agenda, etc...), pero vaya, precisamente el directorio de
 Evolution no es uno de los que tendrías que haber tocado para nada ;-)

 Mientras tanto encontré algunas sugerencias que fuí descartando porque
 no me funcionaron (las pongo por si a alguien le sirven en un futuro):
 reinstalar metacity, instalar paquetes de temas de gnome
 (gnome-theme-lo_que_sea) o de metacity (metacity-themes y derivados), y
 abrir una consola y ejecutar en ella el comando metacity a ver qué
 ocurría, si tiraba algún error o algo... y esta última sugerencia sí me
 sirvió: al ejecutar metacity en una consola, bajo la sesión de mi
 usuario roto, automágicamente de repente le aparecieron a las ventanas
 los bordes perdidos, ya se podía acceder al diálogo de configuración
 (Sistema  Preferencias  Ventanas), etc... lo cual me dio la idea de
 que el problema debía residir en que, cuando mi usuario habitual
 iniciaba por algún motivo metacity no se arrancaba, cosa que sí se hacía
 al iniciar sesión mi usuario de pruebas.

 Raro, porque metacity es un servicio básico (es el gestor de ventanas de
 gnome), si no se inicia tendrías que tener el registro de sesión
 (~/.xession-errors) llenito de mensajes de error y pop-ups por doquier
 indicando que se no se ha podido iniciar :-?

(...)
 Al final del camino, la solución que he usado por el momento, después de
 muchas pruebas ha sido: añadir manualmente en Sistema  Preferencias 
 Aplicaciones al inicio una entrada que ejecuta el comando gnome-wm, y
 ya todo funcionaba como debía hacerlo (con metacity obtenía el mismo
 resultado, iba todo genial, pero pensé que gnome-wm sería una solución
 más genérica).

 metacity debería ejecutarse automáticamente cuando inicias la sesión
 gráfica... mira a ver en el gconf si encuentras la clave que te permite
 definir el administrador de escritorio y si está bien puesta (en tu caso
 debe apuntar a metacity):

 /desktop/gnome/session/required_components/windowmanager

El gconf de mi usuario de pruebas dice gnome-wm. El de root (que
descubri que NO es el mismo que si ejecuto gconf-editor como usuario
normal) dice compiz (aunque NO tengo compiz instalado, ni creo haberlo
tenido nunca... extraño...). Y el de mi usuario roto decia compiz
tambien. He tratado de cambiarlo a gnome-wm, como en el usuario de
pruebas que si funciona pero sigue sin funcionar.

 Agradecería mucho si alguien supiera por qué en mi usuario habitual he
 tenido que agregar eso a mano, por qué metacity (o gnome-wm) no se
 estaba ejecutando al iniciar mi sesión habitual, y por qué mi usuario de
 pruebas no necesita ese retoque manual, y mi habitual sí. Y sobretodo
 que me aconsejara alguien si está bien la solución que he encontrado, si
 me puede generar problemas más adelante, o si hay alguna forma de
 hacerlo mejor o menos artificialmente. En definitiva, me 

NFS4 + Apache, 403 aleatoreos

2011-10-24 Thread Tio Oscar
Creo que ya prengunte algo de esto, pero se habia solucionado, y ahora que
aumentaron las visitas me volvio a pasar.

Tengo una granjita con backends con apache2 y un Fileserver, Todo con debian
6, osea que es nfs4


[fronts]--[backs]---[db]
  |
  [fileserver]

Hay 2 directorios compartidos, uno de escritura y otro de lectura, uno tiene
las webs en si, y otro es un directorio escribible para los uploads, datos
compartidos, etc.

El de solo lectura que tiene los archivos de las webs esta montado como
async por un tema de velocidad, y los datos escribibles (uploads, etc) esta
como sync.

Tambiene esta todo (desde el FS hasta los backs) con el usuario www-data, el
tema es que aleatoreamente por alguna razon, los apache tiran 403, esto es
totalmente al azar, y pasa en todos los backs, lo peor que tampoco sale en
el error log del apache sino que sale en el access como 403 nada mas.

Si alguno sabe que puede ser agradeceria mucho, actualmetne uno de los
sitios mas importantes lo tengo dirigido a un solo back, en el cual hice una
copia del directorio compartido por nfs y anda bien, podria tirar un cron
con un rsync que mantenga las copias sincronizadas pero subimos muchos
cambios y tenemos muchos proyectos asi que nos retrasa bastante eso.

Por otro lado haciendo un iptraf en el FS tengo picos de hasta 1mb/ps como
mucho, asi que no es  un tema de limite de red.

Saludos!

-- 
El Tio ~ Programador, hacker y filósofo
web: http://blog.exodica.com.ar
Linked'in: http://www.linkedin.com/in/ogentilezza
Twitter: @exos http://twitter.com/exos, Indeti.ca:
@exoshttp://identi.ca/exos
Tels: [+54 11] 638-LINUX (54689) - [+54 9 11] 6799-4797


Re: Gestor de ventanas desaparecido

2011-10-24 Thread Camaleón
El Mon, 24 Oct 2011 21:17:53 +0200, Oru Trasero escribió:

 El día 11 de octubre de 2011 13:26, Camaleón noela...@gmail.com
 escribió:

 Al final del camino, la solución que he usado por el momento, después
 de muchas pruebas ha sido: añadir manualmente en Sistema 
 Preferencias  Aplicaciones al inicio una entrada que ejecuta el
 comando gnome-wm, y ya todo funcionaba como debía hacerlo (con
 metacity obtenía el mismo resultado, iba todo genial, pero pensé que
 gnome-wm sería una solución más genérica).

 metacity debería ejecutarse automáticamente cuando inicias la sesión
 gráfica... mira a ver en el gconf si encuentras la clave que te permite
 definir el administrador de escritorio y si está bien puesta (en tu
 caso debe apuntar a metacity):

 /desktop/gnome/session/required_components/windowmanager
 
 El gconf de mi usuario de pruebas dice gnome-wm. El de root (que
 descubri que NO es el mismo que si ejecuto gconf-editor como usuario
 normal) dice compiz (aunque NO tengo compiz instalado, ni creo haberlo
 tenido nunca... extraño...). Y el de mi usuario roto decia compiz
 tambien. He tratado de cambiarlo a gnome-wm, como en el usuario de
 pruebas que si funciona pero sigue sin funcionar.

Bueno, en Wheezy ahí tengo gnome-wm, luego debe ser correcto.

 Por ejemplo, ¿qué te devuelve este comando?

 stt008:~# ls -l /usr/share/gnome/wm-properties total 4
 -rw-r--r-- 1 root root 2017 sep 18  2008 metacity.desktop


 total 4
 -rw-r--r-- 1 root root 2436 oct  5  2010 metacity-wm.desktop
 
 Lo mismo que a ti pero con -wm. ¿Es eso normal?

Hum... yo ahí tengo un archivo que se llama Metacity, en Wheezy, digo.

 Ademas de estos datos, el unico error significativo que aparece en el
 archivo .xsession-errors es este (aparece algun error mas pero no parece
 tener ninguna relacion con este tema): Advertencia del gestor de
 ventanas: Ocurrió un error al leer el archivo de sesión guardado
 /home/miusuario/.config/metacity/sessions/10cd51c615cf14d67d1319480341902925005311.ms:
 Falló al abrir el archivo
 «/home/miusuario/.config/metacity/sessions/10cd51c615cf14d67d1319480341902925005311.ms»:
 No existe el fichero o el directorio

(...)

Ese error es el que te está diciendo que no puede iniciarse Metacity.

Mira a ver si el usuario al que le funciona el inicio se sesión normal tiene 
ese directorio (/home/miusuario/.config/metacity/) porque yo no lo tengo :-?

Prueba a iniciar sesión con tu usuario roto (sin el parchecito) y ejecuta 
metacity manualmente. Guarda la sesión y mira a ver si ya funciona.

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.24.19.52...@gmail.com



Re: NFS4 + Apache, 403 aleatoreos

2011-10-24 Thread carlopmart

On 10/24/2011 09:45 PM, Tio Oscar wrote:

Creo que ya prengunte algo de esto, pero se habia solucionado, y ahora
que aumentaron las visitas me volvio a pasar.

Tengo una granjita con backends con apache2 y un Fileserver, Todo con
debian 6, osea que es nfs4


[fronts]--[backs]---[db]
   |
   [fileserver]

Hay 2 directorios compartidos, uno de escritura y otro de lectura, uno
tiene las webs en si, y otro es un directorio escribible para los
uploads, datos compartidos, etc.

El de solo lectura que tiene los archivos de las webs esta montado como
async por un tema de velocidad, y los datos escribibles (uploads, etc)
esta como sync.

Tambiene esta todo (desde el FS hasta los backs) con el usuario
www-data, el tema es que aleatoreamente por alguna razon, los apache
tiran 403, esto es totalmente al azar, y pasa en todos los backs, lo
peor que tampoco sale en el error log del apache sino que sale en el
access como 403 nada mas.

Si alguno sabe que puede ser agradeceria mucho, actualmetne uno de los
sitios mas importantes lo tengo dirigido a un solo back, en el cual hice
una copia del directorio compartido por nfs y anda bien, podria tirar un
cron con un rsync que mantenga las copias sincronizadas pero subimos
muchos cambios y tenemos muchos proyectos asi que nos retrasa bastante eso.

Por otro lado haciendo un iptraf en el FS tengo picos de hasta 1mb/ps
como mucho, asi que no es  un tema de limite de red.

Saludos!

--


¿No será un problema de bloqueos en el propio servidor NFS?? ¿Como es tu 
archivo exports? ¿el fstab de los clientes??


Por otro lado, ¿has mirado http://www.gluster.org?? En tu 
infraestructura puede que sea más eficiente que NFS4 y encima te 
solventa el HA y el DR.


Saludos.


--
CL Martinez
carlopmart {at} gmail {d0t} com


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ea5c480.2020...@gmail.com



Problemas con apt.

2011-10-24 Thread Cuervo
Buenas!
Les escribo porque estoy teniendo un par de problemas con el apt que no
estoy pudiendo resolver.
Les cuento el contexto.
Luego de pasar las mil y un penurias logre dotar de  Internet a mi Debian 6,
actualice el sistema, con la mala suerte que el proceso se interrumpió, la
maquina se reinicio, y no levanto mas nada. se congelaba la pantalla en la
carga del sistema antes de cargar el X11.
Pude resolverlo gracias a las magickeys.
la cosa es que de casualidad tire un apt-get install finch para consultar
sobre el tema en cuestión con un amigo. instaló el finch, y siguió como loco
configurando todo lo que le había quedado sin hacer por culpa del reinicio.
luego de eso levanto bien el sistema (tuve que reparar el xorg.conf y
recompilar el modulo para la placa wireless, antes y después)
Pero con algunos errores.
Desaparecieron applets de gnome (no hay forma de restituirlos, reinstale
gnome-applets, los busque para volver a agregarlos,no están, pero los
applets no es lo que me importa ahora)
Ahora bien, me di cuenta del problema cuando quize hacer un apt-get source
nautilus y un apt-get build-dep nautilus para poder retocar la fuente y
compilarlo con todas las dependencias necesarias.
No hay caso.
Les muestro lo que me devuelve el apt.
*
apt-get build-dep nautilus
*

# apt-get build-dep nautilus
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes tienen dependencias incumplidas:
 libdbus-glib-1-dev : Depende: libdbus-glib-1-2 (= 0.88-2.1) pero 0.98-1 va
a ser instalado
  Depende: libdbus-1-dev (= 1.1) pero no va a
instalarse
 libexif-dev : Depende: libexif12 (= 0.6.19-1) pero 0.6.20-1 va a ser
instalado
 libgail-dev : Depende: libgail18 (= 2.20.1-2) pero 2.24.4-3 va a ser
instalado
   Depende: libgail-common (= 2.20.1-2) pero 2.24.4-3 va a ser
instalado
   Depende: libatk1.0-dev (= 1.13.0) pero no va a instalarse
 libgconf2-dev : Depende: libgconf2-4 (= 2.28.1-6) pero 2.32.4-1 va a ser
instalado
 Depende: liborbit2-dev (= 1:2.10.2-1.1) pero no va a
instalarse
 Depende: libdbus-1-dev (= 1.0.0) pero no va a instalarse
 Depende: gconf2 (= 2.28.1-6) pero 2.32.4-1 va a ser
instalado
 libgtk2.0-dev : Depende: libgtk2.0-0 (= 2.20.1-2) pero 2.24.4-3 va a ser
instalado
 Depende: libatk1.0-dev (= 1.29.2) pero no va a instalarse
 Depende: libcairo2-dev (= 1.6.4-6.1) pero no va a
instalarse
 Depende: libxinerama-dev (= 1:1.0.1-4.1) pero no va a
instalarse
 Depende: libxi-dev (= 1:1.0.1-4) pero no va a instalarse
 Depende: libxrandr-dev (= 1:1.2.99) pero no va a
instalarse
 Depende: libxcursor-dev pero no va a instalarse
 Depende: libxfixes-dev (= 1:3.0.0-3) pero no va a
instalarse
 Depende: libxcomposite-dev (= 1:0.2.0-3) pero no va a
instalarse
 Depende: libxdamage-dev (= 1:1.0.1-3) pero no va a
instalarse
 libpango1.0-dev : Depende: libpango1.0-0 (= 1.28.3-1+squeeze2) pero
1.29.4-1 va a ser instalado
   Depende: libfreetype6-dev (= 2.1.3) pero no va a
instalarse
   Depende: libxft-dev pero no va a instalarse
   Depende: libfontconfig1-dev (= 2.1.91) pero no va a
instalarse
   Depende: libcairo2-dev (= 1.8.2-2) pero no va a
instalarse
 libselinux1-dev : Depende: libselinux1 (= 2.0.96-1) pero 2.1.0-1 va a ser
instalado
   Depende: libsepol1-dev (= 1.12) pero no va a instalarse
 libunique-dev : Depende: libunique-1.0-0 (= 1.1.6-1.1) pero 1.1.6-2 va a
ser instalado
 libx11-dev : Depende: libx11-6 (= 2:1.3.3-4) pero 2:1.4.4-2 va a ser
instalado
  Depende: libxau-dev (= 1:1.0.0-1) pero no va a instalarse
  Depende: libxdmcp-dev (= 1:1.0.0-1) pero no va a instalarse
  Depende: libxcb1-dev pero no va a instalarse
 libxext-dev : Depende: libxext6 (= 2:1.1.2-1) pero 2:1.3.0-3 va a ser
instalado
   Depende: x11proto-xext-dev (= 7.0.99.2) pero no va a
instalarse
 libxml2-dev : Depende: libxml2 (= 2.7.8.dfsg-2+squeeze1) pero 2.7.8.dfsg-5
va a ser instalado
 libxrender-dev : Depende: libxrender1 (= 1:0.9.6-1) pero 1:0.9.6-2 va a ser
instalado
 libxt-dev : Depende: libxt6 (= 1:1.0.7-1) pero 1:1.1.1-2 va a ser instalado
 Depende: libsm-dev pero no va a instalarse
E: No se pudieron satisfacer las dependencias de construcción de nautilus.


el apt-get source nautilus milagrosamente me funciono, ayer no lo hacia,
pero aun así no es muy limpio que digamos.
Ejemplo:

# apt-get source nautilus
 Leyendo lista de paquetes... Hecho
 Creando árbol de dependencias
 Leyendo la información de estado... Hecho
 NOTA: el empaquetamiento de «nautilus» se mantiene en el sistema de control
 de versiones «Svn» en:
 svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/nautilus/
 Necesito descargar 9.174 kB 

asus bluetooth bt211

2011-10-24 Thread mattias
vart hitta drivers
gub hubben är nere eller funkar inte iaf



--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1319455885.16650.2.camel@debian



Re: window manager DWM

2011-10-24 Thread Fernando Silva




Prezado Fernando Silva

Obrigado pela ajuda

Se por acaso eu tivesse lido o manual do software[1], RTFM[2],
aprenderia que basta mudar do modo
monocle para o modo floating () e depois utilizar a combinação da
tecl [Alt] e os botões do
mouse.

De novo, obrigado pela ajuda !!!

1-http://dwm.suckless.org/tutorial
2-http://en.wikipedia.org/wiki/RTFM


Não se prenda a velhas rabugices de gente chata, RTFM que se dane :P

Eu uso no meu dia a dia e pra trabalho o awesome WM, mesmo paradigma, 
mas extensivel em linguagem lua, bem legalzim

--
http://www.liquuid.net


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/3ded5672d6df75e76dac9ed033005...@liquuid.net



sed não apaga linha

2011-10-24 Thread Fred Maranhão
Caros,

Eu esperava que o seguinte comando:

sed '1 s/.*\n//' fredm.txt fredm.sed.txt

removesse a primeira linha do arquivo, mas ele não está fazendo nada.

o comando:

sed '1 s/.*//' fredm.txt fredm.sed.txt

apaga o conteúdo da linha mas não remove a linha. Estou usando o \n de
forma errada?

Fred


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAPr829=klu5nahztr9-n3q+nawos8zemoyupyqs8t-zgaih...@mail.gmail.com



Re: sed não apaga linha

2011-10-24 Thread Fernando Silva


On Mon, 24 Oct 2011 10:56:54 -0300, Fred Maranhão 
fred.maran...@gmail.com wrote:

Caros,

Eu esperava que o seguinte comando:

sed '1 s/.*\n//' fredm.txt fredm.sed.txt

removesse a primeira linha do arquivo, mas ele não está fazendo nada.

o comando:

sed '1 s/.*//' fredm.txt fredm.sed.txt

apaga o conteúdo da linha mas não remove a linha. Estou usando o \n 
de

forma errada?

Fred



Se é só pra deletar a linha use:

sed '1d'

--
http://www.liquuid.net


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/de8d83ab111e98248c6bc34e9ce41...@liquuid.net



Re: sed não apaga linha

2011-10-24 Thread Fred Maranhão
Em 24 de outubro de 2011 11:18, Fernando Silva liqu...@liquuid.net escreveu:

 On Mon, 24 Oct 2011 10:56:54 -0300, Fred Maranhão fred.maran...@gmail.com
 wrote:

 Caros,

 Eu esperava que o seguinte comando:

 sed '1 s/.*\n//' fredm.txt fredm.sed.txt

 removesse a primeira linha do arquivo, mas ele não está fazendo nada.

 o comando:

 sed '1 s/.*//' fredm.txt fredm.sed.txt

 apaga o conteúdo da linha mas não remove a linha. Estou usando o \n de
 forma errada?

 Fred


 Se é só pra deletar a linha use:

 sed '1d'

resolve meu problema. mas estou usando o \n de forma errada? ele não
deveria casar com uma quebra de linha?


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAPr829�CFj4Y9Y+33xaE94Z_Et-216mafURBUJQqg=yv2...@mail.gmail.com



Re: window manager DWM

2011-10-24 Thread Rafael
Caro amigo da lista, acredito que sendo um produto da Microsoft entrando 
em contacto através do numero:

0800-761-7454
Ou através do link:
http://support.microsoft.com/?ln=pt-br
Você pode conseguir tirar suas duvidas com o suporte da Microsoft.

Em 23-10-2011 21:05, caio ferreira escreveu:

2011/10/23 Fernando Silvaliqu...@liquuid.net:

On Sat, 22 Oct 2011 20:17:54 -0200, caio ferreiraabreuf...@gmail.com
wrote:

Lista

Por acaso alguém aqui na lista utiliza o window managem DWM?

Estou querendo fazer uma alteração na configuração do software mas até
agora não encontrei uma solução. Todo aplicativo que eu abro, o
aplicativo sempre ocupa a tela inteira, não deixando a possibilidade
de redimensionar o aplicativo. Alguém por acaso saberia como fazer
isso?

Desde já obrigado pela ajuda !!

--

  .''`.   Caio Abreu Ferreira
: :'  :  abreuf...@gmail.com
`. `'`   Debian User
   `-


Isso não é uma feature do DWM ? Se não me engano ele é um tiling window
manager, por padrão ele nunca sobre põe uma janela, por isso quando se abre
apenas uma janela ele maximiza.

Esse link fala um pouco de como o resize funciona no dwm:
https://bbs.archlinux.org/viewtopic.php?id=89890
--
http://www.liquuid.net

Prezado Fernando Silva

Obrigado pela ajuda

Se por acaso eu tivesse lido o manual do software[1], RTFM[2],
aprenderia que basta mudar do modo
monocle para o modo floating () e depois utilizar a combinação da
tecl [Alt] e os botões do
mouse.

De novo, obrigado pela ajuda !!!

1-http://dwm.suckless.org/tutorial
2-http://en.wikipedia.org/wiki/RTFM

--

  .''`.   Caio Abreu Ferreira
: :'  :  abreuf...@gmail.com
`. `'`   Debian User
   `-






Re: sed não apaga linha

2011-10-24 Thread Junior Polegato - Linux

Em 24-10-2011 11:56, Fred Maranhão escreveu:

Caros,
Eu esperava que o seguinte comando:
sed '1 s/.*\n//'fredm.txtfredm.sed.txt
removesse a primeira linha do arquivo, mas ele não está fazendo nada.
o comando:
sed '1 s/.*//'fredm.txtfredm.sed.txt
apaga o conteúdo da linha mas não remove a linha. Estou usando o \n de
forma errada?


Olá,

O sed separa linha a linha pelo \n, então não faz sentido usar 
\n no sed.

Para apagar a primeira linha use '1d':

sed '1d' fredm.txt fredm.sed.txt

[]'s
 Junior Polegato


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ea57341.9060...@juniorpolegato.com.br



Re: Bloqueio - SCANNER

2011-10-24 Thread P. J.
Em 24/10/11, pedro almeidaalmeida.l...@gmail.com escreveu:

 Se possivel mandar o nome do ataque com a regra de bloqueio para
 documentação.

http://lmgtfy.com/?q=tutorial+de+como+fazer+pesquisa+no+google


-- 
|  .''`.   A fé não dá respostas. Só impede perguntas.
| : :'  :
| `. `'`
|   `-   P.J. - http://wiki.dcc.ufba.br/~PeeJay


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CACnf0phK28jm+V1=_b8rrg9xqa1d+qqs4w0sgoi-2xac-fa...@mail.gmail.com



Re: bash command

2011-10-24 Thread Darac Marjal
On Fri, Oct 21, 2011 at 03:42:36PM -0400, Stefan Monnier wrote:
  Sadly, this can't be done in-place, so you'll either need to use mv to
  replace /etc/conf.file with /etc/conf.file.new or repeat the loop (with
  no substitution) to copy /etc/conf.file.new into /etc/conf.file.
 
 It can be done inplace with `rm' in place or `mv':
 
 (rm /etc/conf.file;
  while read line; do
  echo ${line/old_word/new_word}
  done /etc/conf.file) /etc/conf.file

True, but that's using external tools. My point was that it's difficult
to do simply with bash (which is what the OP asked for). If you're
allowing the use of external tools, sed is much easier.


-- 
Darac Marjal


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111024091007.ga6...@darac.org.uk



how to resize a compact flash image on disk

2011-10-24 Thread David Goodenough
I have a debian(sid) system, and on that is a DD image of a CF card
which also holds a debian(sid) disk image.

I recently bought some new CF cards, but they are slightly smaller
than the ones I built the image for, and so DD complains when I copy
the image onto them, and then fsck complains when I try to boot it.

Is there a tool which will taks the disk image and adjust it to a 
smaller size (it is far from full - there is plenty of empty space)
before copying it to the CF.

Unfortunately all the old CF cards are out in the field, so I can 
not simply take that image, resize it and then save that to disk
ready to be copied to the new (smaller) CF cards.

David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110241139.18360.david.goodeno...@btconnect.com



Disconnecting from ssh session (connected to a windows pc) without stopping remote process

2011-10-24 Thread George
I connect from a Debian machine to a windows computer using ssh
(server is WinSSHd). Is it possible to disconnect from ssh without
stopping the remote process?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAO=sJoU7a=OA5pvC_drYpVR=9vejygsak0iti2b1klkkxb1...@mail.gmail.com



Re: Disconnecting from ssh session (connected to a windows pc) without stopping remote process

2011-10-24 Thread Erwan David
On Mon, Oct 24, 2011 at 01:07:56PM CEST, George pinkisntw...@gmail.com said:
 I connect from a Debian machine to a windows computer using ssh
 (server is WinSSHd). Is it possible to disconnect from ssh without
 stopping the remote process?

remote processes should be launched inside some equivalent of screen or tmux.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111024110958.gq26...@rail.eu.org



Re: kvm and bonding

2011-10-24 Thread Stan Hoeppner
On 10/23/2011 3:05 PM, Jesus arteche wrote:
 hey guys,
 
 do you know if it is possible to increase the bandwidth in a virtual machine
 running on kvm server with etehrnet bonding (LACP), or the bandwidth is
 limited by kvm per virtual machine and not for network adaptor???

If you haven't created any host kernel control groups to limit network
bandwidth to your guests, then each guest should have full access to all
available NIC bandwidth provided by the host kernel.  Thus, for example,
if you create a bonded ethernet adapter of 4 physical GbE NICs in the
host kernel and configure the GbE switch ports accordingly, any KVM
guest will be able to use the potential bandwidth of 4 Gb/s.  Actual
bonded throughput will depend on many factors.  Don't expect to get all
4 Gb/s from a single FTP Get operation.

Please read the following for more info.

Note:  You may not need additional link bandwidth.  You may simply need
to optimize your KVM network configuration to use bridge mode instead of
the default user-mode networking.

http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaat%2Fliaatseccgroups.htm

Read this for creating control groups on Debian:
http://linuxaria.com/article/introduction-to-cgroups-the-linux-conrol-group?lang=en

You may not need to bond another interface to increase network
performance.  You may simply need to optimize what you already have.
KVM by default enables user mode networking

Read the networking section of this:
http://www.linux-kvm.org/page/Tuning_KVM

Also read this:
http://www.linux-kvm.org/page/Networking_Performance

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ea54ac5.7060...@hardwarefreak.com



bad downloads during apt-get upgrade

2011-10-24 Thread Steve Kleene
On just one of my three Wheezy machines, I often get bad downloads when I run
apt-get upgrade.  This started abruptly seven weeks ago.  The general form of
the apt-get error includes this:

  dpkg: error processing /var/cache/apt/archives/[package].deb (--unpack):
   short read on buffer copy for backend dpkg-deb during [package]

Then I find that dd can't read all of the cached deb file.  In one case,
ls -l said the file was 5.8 MB, but

dd /var/cache/apt/archives/[package].deb /dev/null
  dd: reading `standard input': Input/output error
  ...
  2854912 bytes (2.9 MB) copied, 22.261 s, 128 kB/s

If I remove the bad deb file and call apt-get to reinstall that package,
everything runs to completion.  So I have been able to keep the system
updated.

I thought the unreadable file might indicate one or more bad blocks on the
disk.  A recent boot ran fsck (as it does every 25 boots), and no filesystem
errors were found.

What might be giving rise to these truncated deb-file downloads?  How might I
fix the problem?

Thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/loom.20111024t134250-...@post.gmane.org



Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L
Okay..I was able to get my server back to its original problem state:
here is what i have installed:

root@deb1:/etc/ha.d# dpkg -l |grep pacemaker
ii  pacemaker1.0.9.1+hg15626-1
HA cluster resource manager
root@deb1:/etc/ha.d# dpkg -l |grep heartbeat
ii  heartbeat1:3.0.3-2
Subsystem for High-Availability Linux
ii  libheartbeat21:3.0.3-2
Subsystem for High-Availability Linux (libraries)
ii  libheartbeat2-dev1:3.0.3-2
Subsystem for High-Availability Linux (development files)
root@deb1:/etc/ha.d# dpkg -l |grep corosync
ii  corosync 1.2.1-4
Standards-based cluster framework (daemon and modules)
ii  libcorosync-dev  1.2.1-4
Standards-based cluster framework (developer files)
ii  libcorosync4 1.2.1-4
Standards-based cluster framework (libraries)

Can not really tell if i am using heartbeat 1 or 2...it looks like it
is 2 by the lib files but debian package says ver. 1.

When i run the corosync command, i get this :
root@deb1:/etc/ha.d# crm_mon --one-shot

Last updated: Mon Oct 24 07:57:32 2011
Stack: openais
Current DC: deb1 - partition with quorum
Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b
2 Nodes configured, 2 expected votes
1 Resources configured.


Online: [ deb1 deb2 ]


Failed actions:
failover-ip_start_0 (node=deb1, call=3, rc=1, status=complete):
unknown error
failover-ip_start_0 (node=deb2, call=41, rc=1, status=complete):
unknown error


when i run the command you said earlier, i get this:
root@deb1:/etc/ha.d# cibadmin -Q
cib epoch=19 num_updates=50 admin_epoch=0
validate-with=pacemaker-1.0 crm_feature_set=3.0.1 have-quorum=1
cib-last-written=Sun Oct 23 18:58:30 2011 dc-uuid=deb1
  configuration
crm_config
  cluster_property_set id=cib-bootstrap-options
nvpair id=cib-bootstrap-options-dc-version
name=dc-version
value=1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b/
nvpair id=cib-bootstrap-options-cluster-infrastructure
name=cluster-infrastructure value=openais/
nvpair id=cib-bootstrap-options-expected-quorum-votes
name=expected-quorum-votes value=2/
nvpair id=cib-bootstrap-options-stonith-enabled
name=stonith-enabled value=false/
  /cluster_property_set
/crm_config
nodes
  node id=deb1 uname=deb1 type=normal/
  node id=deb2 uname=deb2 type=normal/
/nodes
resources
  primitive class=ocf id=failover-ip provider=heartbeat
type=IPaddr
instance_attributes id=failover-ip-instance_attributes
  nvpair id=failover-ip-instance_attributes-ip name=ip
value=192.168.2.113/
/instance_attributes
operations
  op id=failover-ip-monitor-10s interval=10s name=monitor/
/operations
  /primitive
/resources
constraints/
rsc_defaults/
op_defaults/
  /configuration
  status
node_state id=deb1 uname=deb1 ha=active in_ccm=true
crmd=online join=member expected=member
crm-debug-origin=do_state_transition shutdown=0
  transient_attributes id=deb1
instance_attributes id=status-deb1
  nvpair id=status-deb1-probe_complete
name=probe_complete value=true/
  nvpair id=status-deb1-fail-count-failover-ip
name=fail-count-failover-ip value=INFINITY/
  nvpair id=status-deb1-last-failure-failover-ip
name=last-failure-failover-ip value=1319410734/
/instance_attributes
  /transient_attributes
  lrm id=deb1
lrm_resources
  lrm_resource id=failover-ip type=IPaddr class=ocf
provider=heartbeat
lrm_rsc_op id=failover-ip_monitor_0 operation=monitor
crm-debug-origin=build_active_RAs crm_feature_set=3.0.1
transition-key=4:10:7:2413e953-0f5c-415b-9705-55d1ab7df826
transition-magic=0:7;4:10:7:2413e953-0f5c-415b-9705-55d1ab7df826
call-id=2 rc-code=7 op-status=0 interval=0
last-run=1319410733 last-rc-change=1319410733 exec-time=60
queue-time=0 op-digest=fe94f52163446180249c8ee0fc7615d9/
lrm_rsc_op id=failover-ip_start_0 operation=start
crm-debug-origin=build_active_RAs crm_feature_set=3.0.1
transition-key=7:10:0:2413e953-0f5c-415b-9705-55d1ab7df826
transition-magic=0:1;7:10:0:2413e953-0f5c-415b-9705-55d1ab7df826
call-id=3 rc-code=1 op-status=0 interval=0
last-run=1319410733 last-rc-change=1319410733 exec-time=90
queue-time=0 op-digest=fe94f52163446180249c8ee0fc7615d9/
lrm_rsc_op id=failover-ip_stop_0 operation=stop
crm-debug-origin=build_active_RAs crm_feature_set=3.0.1
transition-key=1:12:0:2413e953-0f5c-415b-9705-55d1ab7df826
transition-magic=0:0;1:12:0:2413e953-0f5c-415b-9705-55d1ab7df826
call-id=4 rc-code=0 op-status=0 interval=0
last-run=1319410733 last-rc-change=1319410733 exec-time=40
queue-time=0 op-digest=fe94f52163446180249c8ee0fc7615d9/
  /lrm_resource
/lrm_resources
  /lrm
/node_state
node_state id=deb2 uname=deb2 ha=active in_ccm=true

Re: kvm and bonding

2011-10-24 Thread John A. Sullivan III


- Original Message -
From: Stan Hoeppner s...@hardwarefreak.com
To: debian-user@lists.debian.org
Sent: Monday, October 24, 2011 7:23:49 AM
Subject: Re: kvm and bonding

On 10/23/2011 3:05 PM, Jesus arteche wrote:
 hey guys,
 
 do you know if it is possible to increase the bandwidth in a virtual machine
 running on kvm server with etehrnet bonding (LACP), or the bandwidth is
 limited by kvm per virtual machine and not for network adaptor???

If you haven't created any host kernel control groups to limit network
bandwidth to your guests, then each guest should have full access to all
available NIC bandwidth provided by the host kernel.  Thus, for example,
if you create a bonded ethernet adapter of 4 physical GbE NICs in the
host kernel and configure the GbE switch ports accordingly, any KVM
guest will be able to use the potential bandwidth of 4 Gb/s.  Actual
bonded throughput will depend on many factors.  Don't expect to get all
4 Gb/s from a single FTP Get operation.

Please read the following for more info.

Note:  You may not need additional link bandwidth.  You may simply need
to optimize your KVM network configuration to use bridge mode instead of
the default user-mode networking.

http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaat%2Fliaatseccgroups.htm

Read this for creating control groups on Debian:
http://linuxaria.com/article/introduction-to-cgroups-the-linux-conrol-group?lang=en

You may not need to bond another interface to increase network
performance.  You may simply need to optimize what you already have.
KVM by default enables user mode networking

Read the networking section of this:
http://www.linux-kvm.org/page/Tuning_KVM

Also read this:
http://www.linux-kvm.org/page/Networking_Performance

-- 
Stan
snip
We use bridging but there was a problem when we set up our systems a few years 
ago where bridging and bonding interfere with each other.  There were some 
improvements made in this area but I do not know the final results and we have 
not reinvestigated.

I believe the problem was with using bonding in alb mode and had to do with the 
arp method used to distribute MAC addresses for receive traffic.  tlb worked 
fine.  There should be a fairly extensive bugzilla report on it - John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/55406a3e-8049-48d3-bd30-545a04de98a3@jasiiieee



Re: Recent Sid Upgrade--Unbootable System

2011-10-24 Thread Celejar
On Sun, 23 Oct 2011 10:58:44 +0100
Dom to...@rpdom.net wrote:

 On 23/10/11 09:32, David Baron wrote:
  Recent Sid upgrade rendered the system unbootable. Probably lvm packages. I
  get put into an initramfs shell. I rebooted to the previous kernel which had
  its initramfs apparently untouched.
 
  Anyone else had this? No error was cited against lvm2.
 
  How do I fix this? Wait for next upgrade and hope it does not kill the
  remainint kernel that works?
 
 Do you see any errors before you get dropped into the shell?
 
 It's possible you may be affected by this bug:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=nobug=646284

And there's also this:

[lvm2] Upgrade leaves unbootable system
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646333

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20111024105153.aa22e9e06a29db5d09bed...@gmail.com



how to handle the not upgraded package

2011-10-24 Thread lina
Hi,

I use aptitude safe-upgrade,

so there are some packages un-upgraded,

just curious, in future what's going to happen?


0 packages upgraded, 0 newly installed, 0 to remove and 72 not upgraded.

Thanks,


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cag9cjmm+dbh2axphpumgnjb6yi-l4hnvmfgg-o6s2fddzyz...@mail.gmail.com



Re: Root missed at boot up.

2011-10-24 Thread Magicloud Magiclouds
On Fri, Oct 21, 2011 at 8:29 PM, Raf Czlonka r...@linuxstuff.pl wrote:
 On Fri, Oct 21, 2011 at 10:37:23AM BST, Magicloud Magiclouds wrote:
 Hi there,
   Sorry for the delayed reply. I am using grub on x86_64. And
 regenerate initramfs (default configuration) did not help.
   Only way to work I know is to change root bootflag to
 /dev/mapper/vgroot-lvroot, uuid or /dev/vgroot/lvroot won't work.
   I am not sure how to redirect the output to a file. It was at the
 very beginning of booting up.

 On a running system do:

 % ls -Rl /dev/disk  file

 also attach your /etc/fstab and paste the relevant config from your
 grub.cfg (only relevant lines, not the whole file) please.

 Regards,
 --
 Raf


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/20111021122910.ga19...@linuxstuff.pl



Please refer to the attached files.

-- 
竹密岂妨流水过
山高哪阻野云飞
/dev/disk:
total 0
drwxr-xr-x 2 root root 400 Oct 21 17:39 by-id
drwxr-xr-x 2 root root 160 Oct 21 17:33 by-path
drwxr-xr-x 2 root root 120 Oct 21 17:39 by-uuid

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Oct 21 17:33 ata-HL-DT-STDVDRAM_GT33N_M3ZB4RM2935 - 
../../sr0
lrwxrwxrwx 1 root root  9 Oct 21 17:33 
ata-WDC_WD5000BEVT-24A0RT0_WD-WXR1EB0AJTN9 - ../../sda
lrwxrwxrwx 1 root root 10 Oct 21 17:33 
ata-WDC_WD5000BEVT-24A0RT0_WD-WXR1EB0AJTN9-part1 - ../../sda1
lrwxrwxrwx 1 root root 10 Oct 21 17:43 
ata-WDC_WD5000BEVT-24A0RT0_WD-WXR1EB0AJTN9-part2 - ../../sda2
lrwxrwxrwx 1 root root  9 Oct 21 17:43 
ata-WDC_WD5001ABYS-01YNA0_WD-WCAS85049905 - ../../sdb
lrwxrwxrwx 1 root root 10 Oct 21 17:33 dm-name-vgroot-lvroot - ../../dm-0
lrwxrwxrwx 1 root root 10 Oct 21 17:33 dm-name-vgroot-lvswap0 - ../../dm-1
lrwxrwxrwx 1 root root 10 Oct 21 17:33 
dm-uuid-LVM-baBaqfqR0zCfHKunD1vGYdSvGtureL0q9TQdLKYHDYl5JOvQpXM3MMw6Xx3QXmry - 
../../dm-0
lrwxrwxrwx 1 root root 10 Oct 21 17:33 
dm-uuid-LVM-baBaqfqR0zCfHKunD1vGYdSvGtureL0qchhew1qA8V2dR9asvleKdyMPsOmGXzrW - 
../../dm-1
lrwxrwxrwx 1 root root  9 Oct 21 17:33 
scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EB0AJTN9 - ../../sda
lrwxrwxrwx 1 root root 10 Oct 21 17:33 
scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EB0AJTN9-part1 - ../../sda1
lrwxrwxrwx 1 root root 10 Oct 21 17:43 
scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EB0AJTN9-part2 - ../../sda2
lrwxrwxrwx 1 root root  9 Oct 21 17:43 
scsi-SATA_WDC_WD5001ABYS-_WD-WCAS85049905 - ../../sdb
lrwxrwxrwx 1 root root  9 Oct 21 17:33 
usb-Generic-_Multi-Card_2007111417340-0:0 - ../../sdc
lrwxrwxrwx 1 root root  9 Oct 21 17:43 wwn-0x50014ee2aba44f4b - ../../sdb
lrwxrwxrwx 1 root root  9 Oct 21 17:33 wwn-0x50014ee656440211 - ../../sda
lrwxrwxrwx 1 root root 10 Oct 21 17:33 wwn-0x50014ee656440211-part1 - 
../../sda1
lrwxrwxrwx 1 root root 10 Oct 21 17:43 wwn-0x50014ee656440211-part2 - 
../../sda2

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Oct 21 17:33 
pci-:00:1a.0-usb-0:1.5:1.0-scsi-0:0:0:0 - ../../sdc
lrwxrwxrwx 1 root root  9 Oct 21 17:33 pci-:00:1f.2-scsi-0:0:0:0 - 
../../sda
lrwxrwxrwx 1 root root 10 Oct 21 17:33 pci-:00:1f.2-scsi-0:0:0:0-part1 - 
../../sda1
lrwxrwxrwx 1 root root 10 Oct 21 17:43 pci-:00:1f.2-scsi-0:0:0:0-part2 - 
../../sda2
lrwxrwxrwx 1 root root  9 Oct 21 17:33 pci-:00:1f.2-scsi-1:0:0:0 - 
../../sr0
lrwxrwxrwx 1 root root  9 Oct 21 17:43 pci-:00:1f.2-scsi-4:0:0:0 - 
../../sdb

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Oct 21 17:33 6b7f2b14-b4a3-411b-8027-1aeb53810cf5 - 
../../dm-1
lrwxrwxrwx 1 root root  9 Oct 21 17:33 9dae5d47-eede-4e89-b6c8-490e71789f1b - 
../../sdc
lrwxrwxrwx 1 root root 10 Oct 21 17:33 a04f25a7-805d-4f59-ae98-62a6ba3ea907 - 
../../dm-0
lrwxrwxrwx 1 root root 10 Oct 21 17:33 be12bfef-8743-463f-8d92-4b95da235ca9 - 
../../sda1


fstab
Description: Binary data


grub.cfg
Description: Binary data


grub wish

2011-10-24 Thread Richard
Hi,
is it possible on boot up to go to the login screen wait 10 seconds, and the 
automatically login a
selected account?

So on boot up it goes to the login screen and you have 10 secs to login to any 
of the accounts, if not on
timeout it logs in the primary user, ( selected somewhere).
ie automatic logins with a pause to login on another account.

I hope I've made it clear so there is no confusion.
TIA

-- 
Best wishes / 73
Richard Bown

e-mail: rich...@g8jvm.com   or   richard.b...@blueyonder.co.uk

nil carborundum a illegitemis
##
Ham Call G8JVM . OS Debian Wheezy amd64 on a Dual core AMD Athlon 5200, 4 GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W  3 cms:5W
##
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111024162834.43f84...@debian.g8jvm.com



Re: gnome3 startup segfault

2011-10-24 Thread Hugo Vanwoerkom

Camaleón wrote:

On Thu, 20 Oct 2011 17:18:29 -0500, Hugo Vanwoerkom wrote:


Camaleón wrote:

On Thu, 20 Oct 2011 09:42:57 -0500, Hugo Vanwoerkom wrote:


Frank wrote:


(...)


  Common problem. I and others have had it. I have just about given
  up
on Gnome3...can't wait for it to be sorted out. But I am sure if you
hang in for a while it will be fine.




The segfault disappeared, but the oops screen to log out has not. So
for a while gnome in Sid is unusable.

How about the fallback mode? Does it work for you? :-?



Yes, that works, but the sole reason I went to gnome a week ago is
compiz, and that does not work with fallback.


I would give it some time... gnome-shell just has landed in Sid a couple 
of days ago. Anyway, I'd say is too early to get Compiz playing fine 
within gnome-shell:


https://live.gnome.org/GNOME3Myths#I_can.27t_use_Compiz_with_GNOME_Shell.21


I got the oops screen with user1 but not with user2, so it depends on 
your user settings, apparently...


Hugo















--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/j84156$vf4$1...@dough.gmane.org



Re: grub wish

2011-10-24 Thread Thierry Chatelet
On Monday 24 October 2011 17:28:34 Richard wrote:
 Hi,
 is it possible on boot up to go to the login screen wait 10 seconds, and
 the automatically login a selected account?
 
 So on boot up it goes to the login screen and you have 10 secs to login to
 any of the accounts, if not on timeout it logs in the primary user, (
 selected somewhere).
 ie automatic logins with a pause to login on another account.
 
 I hope I've made it clear so there is no confusion.
 TIA

Maybe havea look at /etc/grub.d/readme and then /etc/defaults/grub
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241756.06056.tchate...@free.fr



Re: grub wish

2011-10-24 Thread Thierry Chatelet
On Monday 24 October 2011 17:28:34 Richard wrote:
 Hi,
 is it possible on boot up to go to the login screen wait 10 seconds, and
 the automatically login a selected account?
 
 So on boot up it goes to the login screen and you have 10 secs to login to
 any of the accounts, if not on timeout it logs in the primary user, (
 selected somewhere).
 ie automatic logins with a pause to login on another account.
 
 I hope I've made it clear so there is no confusion.
 TIA

oupss I mean /etc/default/grub
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241757.11551.tchate...@free.fr



Re: grub wish

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 11:56 AM, Thierry Chatelet tchate...@free.fr wrote:
 On Monday 24 October 2011 17:28:34 Richard wrote:

 is it possible on boot up to go to the login screen wait 10 seconds, and
 the automatically login a selected account?

 So on boot up it goes to the login screen and you have 10 secs to login to
 any of the accounts, if not on timeout it logs in the primary user, (
 selected somewhere).
 ie automatic logins with a pause to login on another account.

 Maybe havea look at /etc/grub.d/readme and then /etc/defaults/grub

It sounds more like you have to look into GDM. GRUB doesn't control
the login screen.

I no longer use GDM but I remember a TimedLoginEnable variable.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SwZktMrJ-=JWHWmr5RD0hXzNwug1P2Cw+L9Kb_+=-z...@mail.gmail.com



Re: grub wish

2011-10-24 Thread Thierry Chatelet
On Monday 24 October 2011 18:03:49 Tom H wrote:
 On Mon, Oct 24, 2011 at 11:56 AM, Thierry Chatelet tchate...@free.fr wrote:
  On Monday 24 October 2011 17:28:34 Richard wrote:
  is it possible on boot up to go to the login screen wait 10 seconds, and
  the automatically login a selected account?
  
  So on boot up it goes to the login screen and you have 10 secs to login
  to any of the accounts, if not on timeout it logs in the primary user,
  ( selected somewhere).
  ie automatic logins with a pause to login on another account.
  
  Maybe havea look at /etc/grub.d/readme and then /etc/defaults/grub
 
 It sounds more like you have to look into GDM. GRUB doesn't control
 the login screen.
 
 I no longer use GDM but I remember a TimedLoginEnable variable.

I should have had a coffee coming out of a siesta before answering!!
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110241842.34078.tchate...@free.fr



Re: grub wish

2011-10-24 Thread Richard
On Mon, 24 Oct 2011 17:56:05 +0200
Thierry Chatelet tchate...@free.fr wrote:

 On Monday 24 October 2011 17:28:34 Richard wrote:
  Hi,
  is it possible on boot up to go to the login screen wait 10 seconds, and
  the automatically login a selected account?
  
  So on boot up it goes to the login screen and you have 10 secs to login to
  any of the accounts, if not on timeout it logs in the primary user, (
  selected somewhere).
  ie automatic logins with a pause to login on another account.
  
  I hope I've made it clear so there is no confusion.
  TIA
 
 Maybe havea look at /etc/grub.d/readme and then /etc/defaults/grub
 Thierry
 
 

Thanks Guys , I'll read and attack GDM3.

-- 
Best wishes / 73
Richard Bown

e-mail: rich...@g8jvm.com   or   richard.b...@blueyonder.co.uk

nil carborundum a illegitemis
##
Ham Call G8JVM . OS Debian Wheezy amd64 on a Dual core AMD Athlon 5200, 4 GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W  3 cms:5W
##
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111024190216.2c32e...@debian.g8jvm.com



Re: broken dpkg status

2011-10-24 Thread Andrei Popescu
On Jo, 14 iul 11, 11:44:04, Tony van der Hoff wrote:
 Due to a combination of fiddling and finger-trouble I have contrived
 to delete part of my /var partition. Unfortunately, I have never
 thought to back up /var, being transient data... Big mistake!

Just for the archives: /var is not transient, but variable data. 
Transient would be the new /run and /tmp, which is why they can be put 
on tmpfs ;)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Kernel upgraded two or three times since install

2011-10-24 Thread John Vestrum
On 08/10/11 12:36, Mark Panen wrote:
 Hi,
 
 I noticed my kernel has been upgraded two or three times but i am still
 sitting on the original:
 
 uname -r
 2.6.32-5-amd64
 

Sorry for the belated reply, but having recently switched from another distro 
this bothered me as well. The typical advice to use dpkg/apt-query/aptitude 
only tells half the story - those tools only know which kernel is installed, 
not what is running. I finally found what I was looking for in /proc/version.

$ cat /proc/version
Linux version 2.6.32-5-amd64 (Debian 2.6.32-38) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 03:59:20 UTC 2011


Based on that I wrote a shell script to tell me if a machine needs a reboot, 
the heart of which is:

RUNNINGKERNEL=`awk '{print $5}' /proc/version | tr -d ')'`
INSTALLEDKERNEL=`dpkg-query --show --showformat='${Version}\n' linux-base`
if [ $INSTALLEDKERNEL != $RUNNINGKERNEL ]; then
  echo Running kernel (version $RUNNINGKERNEL) not the same as latest 
installed kernel (version $INSTALLEDKERNEL).
fi

At least this works on amd64 Squeeze.

-- 
John Vestrum


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111024174612.gg31...@tsunami.msi.umn.edu



Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Monday 24 October 2011 14:02:21 Joey L, vous avez écrit :
 Okay..I was able to get my server back to its original problem state:
 here is what i have installed:
 
 root@deb1:/etc/ha.d# dpkg -l |grep pacemaker
 ii  pacemaker1.0.9.1+hg15626-1
 HA cluster resource manager
 root@deb1:/etc/ha.d# dpkg -l |grep heartbeat
 ii  heartbeat1:3.0.3-2
 Subsystem for High-Availability Linux
 ii  libheartbeat21:3.0.3-2
 Subsystem for High-Availability Linux (libraries)
 ii  libheartbeat2-dev1:3.0.3-2
 Subsystem for High-Availability Linux (development files)
 root@deb1:/etc/ha.d# dpkg -l |grep corosync
 ii  corosync 1.2.1-4
 Standards-based cluster framework (daemon and modules)
 ii  libcorosync-dev  1.2.1-4
 Standards-based cluster framework (developer files)
 ii  libcorosync4 1.2.1-4
 Standards-based cluster framework (libraries)
 
 Can not really tell if i am using heartbeat 1 or 2...it looks like it
 is 2 by the lib files but debian package says ver. 1.

I'd say version 3 (1:3.0.3-2).
But you have heartbeat and corosync installed, you must choose only one (I'd 
choose corosync).
 
 When i run the corosync command, i get this :
 root@deb1:/etc/ha.d# crm_mon --one-shot
 
 Last updated: Mon Oct 24 07:57:32 2011
 Stack: openais
 Current DC: deb1 - partition with quorum
 Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b
 2 Nodes configured, 2 expected votes
 1 Resources configured.
 
 
 Online: [ deb1 deb2 ]
 
 
 Failed actions:
 failover-ip_start_0 (node=deb1, call=3, rc=1, status=complete):
 unknown error
 failover-ip_start_0 (node=deb2, call=41, rc=1, status=complete):
 unknown error
 
 
 when i run the command you said earlier, i get this:
[...]
cibadmin is less readable than crm configure show.

Here is mine, truncated and anonymised to show only one IPaddr resource :

root@node1:~# crm configure show
node node1 \
attributes standby=off
node node2 \
attributes standby=off
primitive res_IPaddr2_res1 ocf:heartbeat:IPaddr2 \
params ip=A.B.C.D \
operations $id=res_IPaddr2_res1-operations \
op start interval=0 timeout=20 \
op stop interval=0 timeout=20 \
op monitor interval=10 timeout=20 start-delay=0
property $id=cib-bootstrap-options \
expected-quorum-votes=2 \
dc-version=1.0.11-6e010d6b0d49a6b929d17c0114e9d2d934dc8e04 \
no-quorum-policy=ignore \
cluster-infrastructure=openais \
last-lrm-refresh=1316614496 \
stonith-enabled=false

No clone primitive.
Side note : With 2 nodes and 2 votes, you'd better configure no-quorum-
policy=ignore, else, your resources won't start with only one node (and 
then, why using a cluster !). The default config is good with at least 3 
nodes.
 
 hope this helps..will try to get a clean syslog for you.
 thanks much for your efforts.

Yes, the syslog, while very verbose, can certainly tell us why the resource 
does not start.

Are you sure that the IP address you configure in your failover-ip resource 
can be brought up ? It's not already used or in another network ?


signature.asc
Description: This is a digitally signed message part.


Re: how to resize a compact flash image on disk

2011-10-24 Thread Bob Proulx
David Goodenough wrote:
 Is there a tool which will taks the disk image and adjust it to a 
 smaller size (it is far from full - there is plenty of empty space)
 before copying it to the CF.

You didn't say what filesystem type you are using so this is a
suggestion in the blind, the best I can do.

Have you looked at 'resize2fs' the ext2/ext3/ext4 file system resizer?
Seems like you should be able to loop mount your image, resize it,
unmount it, then truncate the file to the smaller size.  For safety
always keep a backup!

Bob


signature.asc
Description: Digital signature


Re: bad downloads during apt-get upgrade

2011-10-24 Thread Bob Proulx
Steve Kleene wrote:
 dd /var/cache/apt/archives/[package].deb /dev/null
   dd: reading `standard input': Input/output error

That isn't a good error message.  I think your disk is failing.
Review your /var/log/syslog and look for error messages there.  I
expect you will see other errors logged there.

If you don't have a good backup and recovery plan then you should make
one right now.  Fortunately replacement media has never been less
expensive.

You didn't say what type of media you are using.  Spinning disk?  SSD?
Other?

 If I remove the bad deb file and call apt-get to reinstall that package,
 everything runs to completion.  So I have been able to keep the system
 updated.

I suspect that only portions of your disk are causing problems.  That
is typical.  Due to the allocation schemes of the filesystems you are
not getting the same disk error each and every time.  But package
downloads create a lot of disk activity over a relatively lot of
filesystem.  That makes it much more likely you will hit a problem
then as opposed to other times with relatively less disk activity.

 I thought the unreadable file might indicate one or more bad blocks on the
 disk.  A recent boot ran fsck (as it does every 25 boots), and no filesystem
 errors were found.

And fsck is looking at filesystem integrity not disk integrity.  They
are related but not identical.  As long as the filesystem is able to
recover then it will fsck okay.  But the underlying disk might still
be suffering errors.

 What might be giving rise to these truncated deb-file downloads?  How might I
 fix the problem?

Check /var/log/syslog for disk errors.

Is your disk S.M.A.R.T. capable?  Install 'smartmontools'.  Then run
selftests against the disk.  SMART hasn't be a great predictor of
failure for me but it has been a good confirmation of it.

Here are some example uses of it.

  # smartctl -H /dev/sda
  # smartctl -a /dev/sda
  # smartctl -l selftest /dev/sda
  # smartctl -t short /dev/sda
  # sleep 60  smartctl -l selftest /dev/sda
  # smartctl -t long /dev/sda
  ...sleep somelongtime...
  # smartctl -l selftest /dev/sda

Bob


signature.asc
Description: Digital signature


Re: how to handle the not upgraded package

2011-10-24 Thread Bob Proulx
lina wrote:
 I use aptitude safe-upgrade,

On which release track?  Stable?  Testing/Unstable?

Stable typically only needs safe-upgrade.  But sometimes for point
releases and for some security upgrades will need a dist-upgrade.
Testing/Unstable by comparison typically always uses dist-upgrade.

 so there are some packages un-upgraded,
 just curious, in future what's going to happen?
 
 0 packages upgraded, 0 newly installed, 0 to remove and 72 not upgraded.

A safe-upgrade requires that no packages be removed and no new
packages be added.  Additionally other constraints such as Recommends
versions are not broken.

In Sid packages are always being split and joined and new dependencies
added and removed.  Always in motion Sid is.  In order to change the
list of package names installed on a system the dist-upgrade is needed
and so for Sid Unstable and for Testing dist-upgrade is the normal
upgrade method.

In Stable packages are frozen.  That is the point of Stable.  A
production system needs to not be changing behavior.  But there are
security upgrades.  That will patch a package in place.  No new
packages will be introduced[1].  No packages installed will be
removed.  The behavior of the system will be maintained.  Security
upgrades are very safe.

[1] Not quite true.  There are a handful of cases where a security
upgrade will add or remove package and will need a dist-upgrade.  But
those are the exceptions to the rule and not the general rule.

On Stable production systems I only do safe-upgrades ('apt-get
upgrade' for me) and then only for those rare times when I find that
insufficient do I examine the action carefully and carefully apply a
dist-upgrade to the system.  And then in all cases only after other
test victim machines have been upgraded first and I feel confident in
the upgrade.

On Sid testing victim systems I routinely apply dist-upgrade daily
without thinking.  They are there for finding problems and if they
have a problem it is by design on a machine that is okay to find
problems on.  Then when things do break I jump in and debug them and
fix them and hopefully other people will already be there ahead of me
with solutions in the BTS.  Sid should be run by people comfortable
with fixing an unbootable system.  For example here is one from just
this week: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646284
Or installing older versions of packages and holding them back such
as in: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601601

Using aptitude you should be able to use the why and why not to have
it explain why packages are not being offered for an upgrade.
Personally I am an apt-get user and so will leave the exact syntax to
others to suggest.  For the most part packages will be held back
during a safe-upgrade when the upgraded package has a new Depends
relation and needs to install an additional package.

Bob


signature.asc
Description: Digital signature


Re: how to handle the not upgraded package

2011-10-24 Thread Sven Joachim
On 2011-10-24 22:05 +0200, Bob Proulx wrote:

 lina wrote:
 I use aptitude safe-upgrade,

 On which release track?  Stable?  Testing/Unstable?

 Stable typically only needs safe-upgrade.  But sometimes for point
 releases and for some security upgrades will need a dist-upgrade.
 Testing/Unstable by comparison typically always uses dist-upgrade.

As an unstable user, I beg to disagree.  With aptitude there are few
occasions where dist-upgrade is necessary, and it often does unwanted
things.  Unfortunately, apt-get does not have a safe-upgrade command.

 On Sid testing victim systems I routinely apply dist-upgrade daily
 without thinking.

This should never be done on systems that you actually care about.
Always watch out for packages that the dist-upgrade is going to remove.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87sjmiw3in@turtle.gmx.de



Re: how to handle the not upgraded package

2011-10-24 Thread Bob Proulx
Sven Joachim wrote:
 Bob Proulx wrote:
  Stable typically only needs safe-upgrade.  But sometimes for point
  releases and for some security upgrades will need a dist-upgrade.
  Testing/Unstable by comparison typically always uses dist-upgrade.
 
 As an unstable user, I beg to disagree.  With aptitude there are few
 occasions where dist-upgrade is necessary, and it often does unwanted
 things.

Since I use apt-get instead of aptitude I am likely missing a nuance
of 'aptitude full-upgrade' (aka 'aptitude dist-upgrade') where it is
different from 'apt-get dist-upgrade'.

As a Sid user I usually 'apt-get upgrade' first (the safe upgrade) and
then 'apt-get dist-upgrade' second to pick up dependency changes.
Almost every day there will be packages with dependency changes and
will need a dist-upgrade in order to keep current.

 Unfortunately, apt-get does not have a safe-upgrade command.

Here I beg to differ.  'apt-get upgrade' is the safe-upgrade mechanism.
Packages cannot be added or removed and dependency chains cannot be
broken.

  On Sid testing victim systems I routinely apply dist-upgrade daily
  without thinking.
 
 This should never be done on systems that you actually care about.
 Always watch out for packages that the dist-upgrade is going to remove.

Right.  And I tried to be pretty clear about that in my message.
Calling it testing victim systems should be pretty clear that those
are testing victim systems.  :-)

Bob


signature.asc
Description: Digital signature


Re: how to handle the not upgraded package

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 4:14 PM, Sven Joachim svenj...@gmx.de wrote:

 As an unstable user, I beg to disagree.  With aptitude there are few
 occasions where dist-upgrade is necessary, and it often does unwanted
 things. Unfortunately, apt-get does not have a safe-upgrade command.

(slight digression) I wish that the apt-get and aptitude developers
could harmonize their verbs so that we could have all three behaviors
in both apt-get and aptitude:

[apt-get|aptitude] upgrade would be the equivalent apt-get upgrade
[apt-get|aptitude] full-upgrade would be the equivalent of aptitude
safe-upgrade
[apt-get|aptitude] dist-upgrade would be the equivalent of apt-get
dist-upgrade/aptitude full-upgrade

I don't see in what way apt-get diet-upgrade and aptitude
full-upgrade differ. What am I missing?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=Sx=dq6q8cysu4uxv7xbp6mxqpma2w-aue7j+m4mrrh...@mail.gmail.com



Re: how to handle the not upgraded package

2011-10-24 Thread Sven Joachim
On 2011-10-24 22:33 +0200, Bob Proulx wrote:

 Sven Joachim wrote:
 Bob Proulx wrote:
  Stable typically only needs safe-upgrade.  But sometimes for point
  releases and for some security upgrades will need a dist-upgrade.
  Testing/Unstable by comparison typically always uses dist-upgrade.
 
 As an unstable user, I beg to disagree.  With aptitude there are few
 occasions where dist-upgrade is necessary, and it often does unwanted
 things.

 Since I use apt-get instead of aptitude I am likely missing a nuance
 of 'aptitude full-upgrade' (aka 'aptitude dist-upgrade') where it is
 different from 'apt-get dist-upgrade'.

 As a Sid user I usually 'apt-get upgrade' first (the safe upgrade) and
 then 'apt-get dist-upgrade' second to pick up dependency changes.
 Almost every day there will be packages with dependency changes and
 will need a dist-upgrade in order to keep current.

 Unfortunately, apt-get does not have a safe-upgrade command.

 Here I beg to differ.  'apt-get upgrade' is the safe-upgrade mechanism.

Well, it's not.  Or it is, but it doesn't work in most cases.

 Packages cannot be added or removed

This is the problem with it.  With aptitude safe-upgrade, new
dependencies are automatically installed, and automatically installed
packages are removed if they are no longer needed.  This is exactly what
you want in the case of library transitions: if libfoo changes its
soname, say from libfoo0 to libfoo1, the newly introduced libfoo1 will
be installed when a package depends on it, and libfoo0 gets removed when
no installed packages depend on it any more.

I have never used the dist-upgrade command in aptitude since this
safe-upgrade behavior was introduced.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87lisaw1wp@turtle.gmx.de



Re: how to handle the not upgraded package

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 4:33 PM, Bob Proulx b...@proulx.com wrote:
 Sven Joachim wrote:

 Unfortunately, apt-get does not have a safe-upgrade command.

 Here I beg to differ.  'apt-get upgrade' is the safe-upgrade mechanism.
 Packages cannot be added or removed and dependency chains cannot be
 broken.

(AFAICT, the safe- is a misnomer...)

aptitude safe-upgrade allows the installation of a package in order
to satisfy a dependency whereas apt-get upgrade doesn't.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=sxz-33xon-8nujcmgdmqp2zrsczxuscpjwxkmy-tja...@mail.gmail.com



Re: how to handle the not upgraded package

2011-10-24 Thread Sven Joachim
On 2011-10-24 22:45 +0200, Tom H wrote:

 On Mon, Oct 24, 2011 at 4:14 PM, Sven Joachim svenj...@gmx.de wrote:

 As an unstable user, I beg to disagree.  With aptitude there are few
 occasions where dist-upgrade is necessary, and it often does unwanted
 things. Unfortunately, apt-get does not have a safe-upgrade command.

 (slight digression) I wish that the apt-get and aptitude developers
 could harmonize their verbs so that we could have all three behaviors
 in both apt-get and aptitude:

 [apt-get|aptitude] upgrade would be the equivalent apt-get upgrade
 [apt-get|aptitude] full-upgrade would be the equivalent of aptitude
 safe-upgrade
 [apt-get|aptitude] dist-upgrade would be the equivalent of apt-get
 dist-upgrade/aptitude full-upgrade

 I don't see in what way apt-get diet-upgrade and aptitude
 full-upgrade differ. What am I missing?

The full-upgrade command will remove manually installed packages to
upgrade as many packages as possible.  If the safe-upgrade command
already upgrades all packages, then there is no difference; but do a
full-upgrade during (say) a perl transition in unstable, and it may rip
rip out large parts of your system.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fwiiw1f0@turtle.gmx.de



Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L

 I'd say version 3 (1:3.0.3-2).
 But you have heartbeat and corosync installed, you must choose only one (I'd
 choose corosync).

Okay - choose corosync -- though pacemaker is installed - i can not
control it - meaning there is no init file in /etc/init.d directory -
but says installed.



 cibadmin is less readable than crm configure show.

 Here is mine, truncated and anonymised to show only one IPaddr resource :

 root@node1:~# crm configure show
 node node1 \
        attributes standby=off
 node node2 \
        attributes standby=off
 primitive res_IPaddr2_res1 ocf:heartbeat:IPaddr2 \
        params ip=A.B.C.D \
        operations $id=res_IPaddr2_res1-operations \
        op start interval=0 timeout=20 \
        op stop interval=0 timeout=20 \
        op monitor interval=10 timeout=20 start-delay=0
 property $id=cib-bootstrap-options \
        expected-quorum-votes=2 \
        dc-version=1.0.11-6e010d6b0d49a6b929d17c0114e9d2d934dc8e04 \
        no-quorum-policy=ignore \
        cluster-infrastructure=openais \
        last-lrm-refresh=1316614496 \
        stonith-enabled=false

 No clone primitive.
 Side note : With 2 nodes and 2 votes, you'd better configure no-quorum-
 policy=ignore, else, your resources won't start with only one node (and
 then, why using a cluster !). The default config is good with at least 3
 nodes.

not sure where to set these options ..but did this and is current:


root@deb1:/home/mjh#  crm configure show
node deb1
node deb2
primitive failover-ip ocf:heartbeat:IPaddr \
params ip=192.168.2.113 \
op monitor interval=10s
property $id=cib-bootstrap-options \
dc-version=1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b \
cluster-infrastructure=openais \
expected-quorum-votes=2 \
stonith-enabled=false


root@deb2:/home/mjh#  crm configure show
node deb1
node deb2
primitive failover-ip ocf:heartbeat:IPaddr \
params ip=192.168.2.113 \
op monitor interval=10s
property $id=cib-bootstrap-options \
dc-version=1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b \
cluster-infrastructure=openais \
expected-quorum-votes=2 \
stonith-enabled=false



 Yes, the syslog, while very verbose, can certainly tell us why the resource
 does not start.

here is from one server :


Oct 24 16:58:54 deb1 corosync[4791]:   [TOTEM ] Delivering MCAST
message with seq 130 to pending delivery queue
Oct 24 16:58:54 deb1 attrd: [4805]: info: attrd_ais_dispatch: Update
relayed from deb2
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback:
update message from deb2: fail-count-failover-ip=INFINITY
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback:
Supplied: INFINITY, Current: INFINITY, Stored: (null)
Oct 24 16:58:54 deb1 corosync[4791]:   [TOTEM ] releasing messages up
to and including 130
Oct 24 16:58:54 deb1 crmd: [4807]: info: do_lrm_rsc_op: Performing
key=1:44:0:35cceaf4-6158-4b51-8f26-0b0b92034da9 op=failover-ip_stop_0
)
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback: New
value of fail-count-failover-ip is INFINITY
Oct 24 16:58:54 deb1 lrmd: [4804]: debug: on_msg_perform_op: add an
operation operation stop[32] on ocf::IPaddr::failover-ip for client
4807, its parameters: crm_feature_set=[3.0.1] CRM_meta_timeout=[2]
 to the operation list.
Oct 24 16:58:54 deb1 attrd: [4805]: info: attrd_trigger_update:
Sending flush op to all hosts for: fail-count-failover-ip (INFINITY)
Oct 24 16:58:54 deb1 lrmd: [4804]: info: rsc:failover-ip:32: stop
Oct 24 16:58:54 deb1 attrd: [4805]: info: attrd_perform_update:
Delaying operation fail-count-failover-ip=INFINITY: cib not connected
Oct 24 16:58:54 deb1 lrmd: [5285]: debug: perform_ra_op: resetting
scheduler class to SCHED_OTHER
Oct 24 16:58:54 deb1 crmd: [4807]: debug: attrd_update: Sent update:
probe_complete=true for localhost
Oct 24 16:58:54 deb1 attrd: [4805]: info: attrd_ais_dispatch: Update
relayed from deb2
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback:
update message from deb2: last-failure-failover-ip=1319489934
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback:
Supplied: 1319489934, Current: 1319489934, Stored: (null)
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback: New
value of last-failure-failover-ip is 1319489934
Oct 24 16:58:54 deb1 attrd: [4805]: info: attrd_trigger_update:
Sending flush op to all hosts for: last-failure-failover-ip
(1319489934)
Oct 24 16:58:54 deb1 attrd: [4805]: info: attrd_perform_update:
Delaying operation last-failure-failover-ip=1319489934: cib not
connected
Oct 24 16:58:54 deb1 corosync[4791]:   [TOTEM ] mcasted message added
to pending queue
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback:
update message from crmd: probe_complete=true
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback:
Supplied: true, Current: true, Stored: (null)
Oct 24 16:58:54 deb1 attrd: [4805]: debug: attrd_local_callback: New
value of probe_complete is true

Weird DNS error?

2011-10-24 Thread Greg van Anders
Hi,

I'm a bit embarrassed to be asking this question, but I just did a
brand new installation of Squeeze. The install seemed to go fine and I
didn't notice any problems.

Upon booting, however, I don't seem to be able to resolve any hosts
other than www.debian.org and security.debian.org.

If I bring up epiphany it can load various pages on www.debian.org. If
I try to browse elsewhere I get errors. The software center also
allowed me to apply security updates.

If I open up a terminal, ifconfig shows an IP address, and I can
traceroute to other hosts for which I know the IP, but I can't for
anything I specify by name.

I tried to apt-get update, but, of course, it can't find the mirror.

I'm not sure what I'm missing here. Can anyone help?

I'd be happy to supply whatever information is needed to help diagnose
the problem.

Thanks in advance!
Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAJQ99WE==nko2yvsmf0bwcnp8-g2m_aguqupok3dhbmia33...@mail.gmail.com



Re: how to handle the not upgraded package

2011-10-24 Thread François TOURDE
Le 15271ième jour après Epoch,
Bob Proulx écrivait:

 A safe-upgrade requires that no packages be removed and no new
 packages be added.

Wrong! New packages can be installed during a safe-upgrade:

fermat:~# aptitude safe-upgrade
Résolution des dépendances...
Les NOUVEAUX paquets suivants vont être installés : 
  aisleriot{a} glchess{a} glines{a} gnect{a} gnibbles{a} gnobots2{a} 
  gnome-games-extra-data{a} gnome-sudoku{a} gnomine{a} gnotravex{a} 
  gnotski{a} gtali{a} iagno{a} libclutter-gtk-1.0-0{a} mahjongg{a} 
  quadrapassel{a} 
Les paquets suivants seront mis à jour : 
  apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-bin 
  apache2.2-common csladspa csound csound-data csound-gui csound-utils 
  foomatic-db gnash gnash-common gnome-cards-data gnome-games 
[...]


pgpLNPdMkZpWa.pgp
Description: PGP signature


Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Monday 24 October 2011 23:11:13 Joey L, vous avez écrit :
 oh- have been following this tutorial :
 
 http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo#Install_the_packages
 
 it says that you should have heartbeat along with pacemaker and
 corosync - i think.

I don't have heratbeat installed :

root@svlxc130:~# aptitude search heartbeat
p   heartbeat  aucun
 1:3.0.3-2  - Subsystem for High-Availability Linux
 
p   heartbeat-dev  aucun
 1:3.0.3-2  - Subsystem for High-Availability Linux - development files
 
ip  libheartbeat2  1:3.0.3-2  
 1:3.0.3-2  - Subsystem for High-Availability Linux (libraries)
 
p   libheartbeat2-dev  aucun
 1:3.0.3-2  - Subsystem for High-Availability Linux (development files)

Beware, This doc is for Lenny. Even though, it says :

Installing the package pacemaker will install pacemaker with corosync, if you 
need openais later on, you could install that as a plugin in corosync. OpenAIS 
is need for example for DLM or CLVM, but thats beyond the scope of this howto.

aptitude install pacemaker

If you want to run pacemaker on top of Heartbeat 3 instead of Corosync, please 
use the following command:

aptitude install pacemaker heartbeat

You really should use the DRBD Management Console, it will install what is 
needed, and you can choose corosync or heartbeat.


signature.asc
Description: This is a digitally signed message part.


Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Monday 24 October 2011 23:02:42 Joey L, vous avez écrit :
  I'd say version 3 (1:3.0.3-2).
  But you have heartbeat and corosync installed, you must choose only one
  (I'd choose corosync).
 
 Okay - choose corosync -- though pacemaker is installed - i can not
 control it - meaning there is no init file in /etc/init.d directory -
 but says installed.

pacemaker is launched by corosync (or heartbeat if it is chosen).

  cibadmin is less readable than crm configure show.
  
  Here is mine, truncated and anonymised to show only one IPaddr resource :
  
  root@node1:~# crm configure show
  node node1 \
 attributes standby=off
  node node2 \
 attributes standby=off
  primitive res_IPaddr2_res1 ocf:heartbeat:IPaddr2 \
 params ip=A.B.C.D \
 operations $id=res_IPaddr2_res1-operations \
 op start interval=0 timeout=20 \
 op stop interval=0 timeout=20 \
 op monitor interval=10 timeout=20 start-delay=0
  property $id=cib-bootstrap-options \
 expected-quorum-votes=2 \
 dc-version=1.0.11-6e010d6b0d49a6b929d17c0114e9d2d934dc8e04 \
 no-quorum-policy=ignore \
 cluster-infrastructure=openais \
 last-lrm-refresh=1316614496 \
 stonith-enabled=false
  
  No clone primitive.
  Side note : With 2 nodes and 2 votes, you'd better configure no-quorum-
  policy=ignore, else, your resources won't start with only one node (and
  then, why using a cluster !). The default config is good with at least 3
  nodes.
 
 not sure where to set these options ..but did this and is current:
 
 
 root@deb1:/home/mjh#  crm configure show
 node deb1
 node deb2
 primitive failover-ip ocf:heartbeat:IPaddr \
   params ip=192.168.2.113 \
   op monitor interval=10s
 property $id=cib-bootstrap-options \
   dc-version=1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b \
   cluster-infrastructure=openais \
   expected-quorum-votes=2 \
   stonith-enabled=false
 
 
 root@deb2:/home/mjh#  crm configure show
 node deb1
 node deb2
 primitive failover-ip ocf:heartbeat:IPaddr \
   params ip=192.168.2.113 \
   op monitor interval=10s
 property $id=cib-bootstrap-options \
   dc-version=1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b \
   cluster-infrastructure=openais \
   expected-quorum-votes=2 \
   stonith-enabled=false
 
  Yes, the syslog, while very verbose, can certainly tell us why the
  resource does not start.
 
 here is from one server :
[...]

Here we are :

 Oct 24 16:58:54 deb1 lrmd: [4804]: info: RA output:
 (failover-ip:start:stderr) ERROR: Cannot use default route w/o netmask
 [192.168.2.113]
 Oct 24 16:58:54 deb1 IPaddr[5292]: ERROR: /usr/lib/heartbeat/findif
 failed [rc=1].
 Oct 24 16:58:54 deb1 lrmd: [4804]: WARN: Managed failover-ip:start
 process 5292 exited with return code 1.
[...]
 
 I have a very small network --- this ip is not being used at all.
 all i did was clone a vbox vm machine to another machine and installed.
 after installing - i realized the nic hardwares are the same do i did
 a refersh and restarted the machines.
 
 Do i have to stop network manager ? or do i have to do anything
 special for pacemaker and corosync ???

I hope you don't use network manager for a cluster !

You really should use static IP.

Here we can see in the logs that the resource agent for the IP resource can 
not finc the network interface on which to add the faliover IP.

Show us the output of ifconfig.

Your two clusteres nodes are vbox VM ? How is the network configured ? Bridge 
or NAT ?
I think it must be a bridge to work, I'm not sure.



signature.asc
Description: This is a digitally signed message part.


Re: how to handle the not upgraded package

2011-10-24 Thread Bob Proulx
Sven Joachim wrote:
 Bob Proulx wrote:
  Sven Joachim wrote:
  Unfortunately, apt-get does not have a safe-upgrade command.
 
  Here I beg to differ.  'apt-get upgrade' is the safe-upgrade mechanism.
 
 Well, it's not.  Or it is, but it doesn't work in most cases.

Hmm...  Well... Works for me! :-)

But obviously we have different definitions of working and that word
is ambiguous enough to allow a planet through it.  I understand what
it is doing and like the behavior.  You understand what it is doing
and prefer different behavior.  That difference in preference pulls me
toward apt-get and you toward aptitude.  Hopefully that is a fair
description.  They are simply different and behave differently.

  Packages cannot be added or removed
 
 This is the problem with it.  With aptitude safe-upgrade, new
 dependencies are automatically installed, and automatically installed
 packages are removed if they are no longer needed.  This is exactly what
 you want in the case of library transitions: if libfoo changes its
 soname, say from libfoo0 to libfoo1, the newly introduced libfoo1 will
 be installed when a package depends on it, and libfoo0 gets removed when
 no installed packages depend on it any more.

I wouldn't call that a safe upgrade because it changes packages.
Behavior could change in that case.  It wouldn't be suitable for a
production stable platform.  Or at least it would take more careful
scrutiny.  I did not realize that it did that and thought that it kept
the package lists the same.  Thanks for the education.  I will play
with it more and file the information away for future reference.

For library transitions, full agreement.  When it works I can see that
algorithm should work nicely.

But I have a question.  Does it distinguish between libraries and
other packages?  Perfectly?  Because 'apt-get autoremove' is a similar
feature and it seems I am often running into cases where a package
that I need that was pulled in as a dependency and so marked as 'auto'
will be offered for removal.

The system thinks some package is nothing but a dependency because it
was not explicitly installed.  And yet if it were removed I would
consider it a breakage.  Would 'safe-upgrade' remove it automatically?
If so then I disagree on it being safe.  It reads much more like a
'apt-get dist-upgrade' followed by an 'apt-get autoremove'.  I am very
carefully reviewing the autoremove operation because it most certainly
is not safe.

 I have never used the dist-upgrade command in aptitude since this
 safe-upgrade behavior was introduced.

Since 'aptitude safe-upgrade' seems only relatively safer than
dist-upgrade that makes a lot of sense.  It seems a slightly safer
replacement for it.  However it still seems fairly more dangerous than
'apt-get upgrade' which is very safe.  And then all we need to do is
figure out the working part of each.  :-)

Bob


signature.asc
Description: Digital signature


Load balancing high availability service

2011-10-24 Thread Jesus arteche
Hey guys,

What do you think is the best solution from all points for create a Load
balancing high availability service

Thanks in advance


Re: how to resize a compact flash image on disk

2011-10-24 Thread David Goodenough
On Monday 24 Oct 2011, Bob Proulx wrote:
 David Goodenough wrote:
  Is there a tool which will taks the disk image and adjust it to a
  smaller size (it is far from full - there is plenty of empty space)
  before copying it to the CF.
 
 You didn't say what filesystem type you are using so this is a
 suggestion in the blind, the best I can do.
 
 Have you looked at 'resize2fs' the ext2/ext3/ext4 file system resizer?
 Seems like you should be able to loop mount your image, resize it,
 unmount it, then truncate the file to the smaller size.  For safety
 always keep a backup!
 
 Bob
It is ext3, the problem is that it is a disk image not a partition
image, and as far as I know you can only mount partition images
as a loop.

David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201110242247.09359.david.goodeno...@btconnect.com



Re: Weird DNS error?

2011-10-24 Thread Bob Proulx
Greg van Anders wrote:
 I just did a brand new installation of Squeeze. The install seemed
 to go fine and I didn't notice any problems.

Did you select, at the task selection menu, the DNS Server task?
You should be able to resolve names in both cases but the debug route
is different in the different cases.  If you selected it then you will
have bind9 installed.  If not then you won't.  Either is okay.  We
just need to know.

  $ dpkg -l bind9

 Upon booting, however, I don't seem to be able to resolve any hosts
 other than www.debian.org and security.debian.org.

That is odd.  You are booting using a DHCP address or a static
address?  DHCP will supply a nameserver.  If static then you must
supply one statically.

What are the contents of your /etc/network/interfaces file?

  $ cat /etc/network/interfaces

What are the contents of your /etc/resolv.conf file?

  $ cat /etc/resolv.conf

Also /etc/nsswitch.conf just to make sure it isn't a reason either.

  $ grep hosts /etc/nsswitch.conf
  hosts:  files dns

Unfortunately there are several possibilities here depending upon the
contents of the files and the debug path is different depending upon
the result.  I will stop there but that should get things going.

 If I open up a terminal, ifconfig shows an IP address, and I can
 traceroute to other hosts for which I know the IP, but I can't for
 anything I specify by name.

Good.  You have network connectivity.  Network connectivity is a
prerequisite for DNS to work.  But those are two separate things and
otherwise unrelated to each other.

Bob


signature.asc
Description: Digital signature


Re: how to resize a compact flash image on disk

2011-10-24 Thread Bob Proulx
David Goodenough wrote:
 Bob Proulx wrote:
  Have you looked at 'resize2fs' the ext2/ext3/ext4 file system resizer?
  Seems like you should be able to loop mount your image, resize it,
  unmount it, then truncate the file to the smaller size.  For safety
  always keep a backup!

 It is ext3, the problem is that it is a disk image not a partition
 image, and as far as I know you can only mount partition images
 as a loop.

I am sure I have used losetup for this purpose in the past.
Ah... Here is a reference:

  http://madduck.net/blog/2006.10.20:loop-mounting-partitions-from-a-disk-image/

Bob


signature.asc
Description: Digital signature


Re: grub wish

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 12:42 PM, Thierry Chatelet tchate...@free.fr wrote:
 On Monday 24 October 2011 18:03:49 Tom H wrote:
 On Mon, Oct 24, 2011 at 11:56 AM, Thierry Chatelet tchate...@free.fr wrote:

 Maybe havea look at /etc/grub.d/readme and then /etc/defaults/grub

 It sounds more like you have to look into GDM. GRUB doesn't control
 the login screen.

 I no longer use GDM but I remember a TimedLoginEnable variable.

 I should have had a coffee coming out of a siesta before answering!!

I almost needed a coffee too because my first reaction was to set
GRUB_TIMEOUT=10... :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=szasbca3ocj4xfkkab0jgarkakzrqfxxgyjydm4mcq...@mail.gmail.com



Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L
 If you want to run pacemaker on top of Heartbeat 3 instead of Corosync, please
 use the following command:

 aptitude install pacemaker heartbeat


I need to keep everything simple - will stick with pacemaker and
corosync for now - just like your configuration.



 You really should use the DRBD Management Console, it will install what is
 needed, and you can choose corosync or heartbeat.


i did a search for DRBD - that is out of my price range - looking for
free stuff or close to it if possible.
Is there another gui for someone who is running debian sarge version 6.0 
thanks
mjh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAK3ER7vg-dbZETgooxL=vmkbm1dvwe-xbbq3erikfvcts44...@mail.gmail.com



Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L

 Here we are :

 Oct 24 16:58:54 deb1 lrmd: [4804]: info: RA output:
 (failover-ip:start:stderr) ERROR: Cannot use default route w/o netmask
 [192.168.2.113]
 Oct 24 16:58:54 deb1 IPaddr[5292]: ERROR: /usr/lib/heartbeat/findif
 failed [rc=1].
 Oct 24 16:58:54 deb1 lrmd: [4804]: WARN: Managed failover-ip:start
 process 5292 exited with return code 1.
 [...]

 I have a very small network --- this ip is not being used at all.
 all i did was clone a vbox vm machine to another machine and installed.
 after installing - i realized the nic hardwares are the same do i did
 a refersh and restarted the machines.

 Do i have to stop network manager ? or do i have to do anything
 special for pacemaker and corosync ???

 I hope you don't use network manager for a cluster !

 You really should use static IP.


I have my interfaces set for a static ip addresses in network manager
-- should i stop it from running ?
how do i bring up the interfaces automatically when i reboot the machine ?



 Here we can see in the logs that the resource agent for the IP resource can
 not finc the network interface on which to add the faliover IP.

 Show us the output of ifconfig.


I do see an error in the log about a netmask not being set - did not
understand that because i have it set in network manager - no place to
set in corosync config.



 Your two clusteres nodes are vbox VM ? How is the network configured ? Bridge
 or NAT ?
 I think it must be a bridge to work, I'm not sure.

I do have it set as bridges and different hardware addresses.
They can ping each other and i can transfer files via ssh.

my ifconfig :

root@deb1:/home/mjh# ifconfig
eth0  Link encap:Ethernet  HWaddr 08:00:27:fb:85:98
  inet addr:192.168.2.110  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::a00:27ff:fefb:8598/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:36765 errors:0 dropped:0 overruns:0 frame:0
  TX packets:59129 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:5800366 (5.5 MiB)  TX bytes:7756410 (7.3 MiB)

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:1254 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1254 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:122112 (119.2 KiB)  TX bytes:122112 (119.2 KiB)


and :


root@deb2:/home/mjh# ifconfig
eth1  Link encap:Ethernet  HWaddr 08:00:27:50:ac:f6
  inet addr:192.168.2.111  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::a00:27ff:fe50:acf6/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:54669 errors:0 dropped:0 overruns:0 frame:0
  TX packets:30001 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:7328413 (6.9 MiB)  TX bytes:4064625 (3.8 MiB)

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:919 errors:0 dropped:0 overruns:0 frame:0
  TX packets:919 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:89910 (87.8 KiB)  TX bytes:89910 (87.8 KiB)


thanks again.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cak3er7vy7ww0zjjj-llbwg5rrwt7++g7jiefkq_eiktaut7...@mail.gmail.com



Re: Weird DNS error?

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 4:55 PM, Greg van Anders
gregvanand...@gmail.com wrote:

 I'm a bit embarrassed to be asking this question, but I just did a
 brand new installation of Squeeze. The install seemed to go fine and I
 didn't notice any problems.

 Upon booting, however, I don't seem to be able to resolve any hosts
 other than www.debian.org and security.debian.org.

 If I bring up epiphany it can load various pages on www.debian.org. If
 I try to browse elsewhere I get errors. The software center also
 allowed me to apply security updates.

 If I open up a terminal, ifconfig shows an IP address, and I can
 traceroute to other hosts for which I know the IP, but I can't for
 anything I specify by name.

 I tried to apt-get update, but, of course, it can't find the mirror.

 I'm not sure what I'm missing here. Can anyone help?

 I'd be happy to supply whatever information is needed to help diagnose
 the problem.

ifconfig
netstat -rn
cat /etc/hosts
cat /etc/resolv.conf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SxU-oOaDt1v0xqjyPpFtXgO7vzR0=zffpewukkesja...@mail.gmail.com



Re: Kernel upgraded two or three times since install

2011-10-24 Thread Bob Proulx
John Vestrum wrote:
 Mark Panen wrote:
  I noticed my kernel has been upgraded two or three times but i am still
  sitting on the original:
 
 ...  The typical advice to use dpkg/apt-query/aptitude only tells
 half the story - those tools only know which kernel is installed,
 not what is running. I finally found what I was looking for in
 /proc/version.
 
 $ cat /proc/version
 Linux version 2.6.32-5-amd64 (Debian 2.6.32-38) (b...@decadent.org.uk) (gcc 
 version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 03:59:20 UTC 2011
 
 Based on that I wrote a shell script to tell me if a machine needs a
 reboot, the heart of which is:

I do something similar and so took an interest in your script.  :-)

 RUNNINGKERNEL=`awk '{print $5}' /proc/version | tr -d ')'`
 INSTALLEDKERNEL=`dpkg-query --show --showformat='${Version}\n' linux-base`
 ...
 At least this works on amd64 Squeeze.

Note that won't work after Squeeze.  In Squeeze works.  In Wheezy/Sid:

  $ dpkg-query --show --showformat='${Version}\n' linux-base
  3.3

A note that you will need something different between now and then.
There is plenty of time however.

You might consider using 'linux-image-$PKGARCH' instead.  Where
$PKGARCH is created either depending upon $(uname -m) output or
$(dpkg --print-architecture) output created using /proc/version
output.  I prefer to extract it from /proc/version and then it works
on subarchitectures.

  $ uname -m
  i586

  $ cat /proc/version
  Linux version 2.6.32-5-486 (Debian 2.6.32-38) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 Mon Oct 3 03:34:28 UTC 2011

  $ perl -lne '$_ =~ m/Linux version \S+-(\S+)/  print $1;' /proc/version
  486

Unfortunately linux-image-$PKGARCH isn't installed by the Squeeze
debian-installer and therefore isn't available unless explicitly
installed.  You will have to deal with that problem first.  I would
install it and then it would be there.  It is one of the packages that
I routinely install manually after a fresh installation.

Bob


signature.asc
Description: Digital signature


Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Tuesday 25 October 2011 00:08:36 Joey L, vous avez écrit :
  If you want to run pacemaker on top of Heartbeat 3 instead of Corosync,
  please use the following command:
  
  aptitude install pacemaker heartbeat
 
 I need to keep everything simple - will stick with pacemaker and
 corosync for now - just like your configuration.
 
  You really should use the DRBD Management Console, it will install what
  is needed, and you can choose corosync or heartbeat.
 
 i did a search for DRBD - that is out of my price range - looking for
 free stuff or close to it if possible.
 Is there another gui for someone who is running debian sarge version 6.0
  thanks
 mjh

Excuse-me, I was not clear, I talk about the Linbit cluster management console 
I already talked about, not DRBD.
The console was initialy made to manage DRBD, but it evolved to a generic 
Pacemaker console.

http://oss.linbit.com/drbd-mc/

Yes, it's a Java app, but it's really a time saver sometimes.



signature.asc
Description: This is a digitally signed message part.


Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Tuesday 25 October 2011 00:16:36 Joey L, vous avez écrit :
  Here we are :
  Oct 24 16:58:54 deb1 lrmd: [4804]: info: RA output:
  (failover-ip:start:stderr) ERROR: Cannot use default route w/o netmask
  [192.168.2.113]
  Oct 24 16:58:54 deb1 IPaddr[5292]: ERROR: /usr/lib/heartbeat/findif
  failed [rc=1].
  Oct 24 16:58:54 deb1 lrmd: [4804]: WARN: Managed failover-ip:start
  process 5292 exited with return code 1.
  
  [...]
  
  I have a very small network --- this ip is not being used at all.
  all i did was clone a vbox vm machine to another machine and installed.
  after installing - i realized the nic hardwares are the same do i did
  a refersh and restarted the machines.
  
  Do i have to stop network manager ? or do i have to do anything
  special for pacemaker and corosync ???
  
  I hope you don't use network manager for a cluster !
  
  You really should use static IP.
 
 I have my interfaces set for a static ip addresses in network manager
 -- should i stop it from running ?

No, for the moment, let it like that, if it's static and started before 
corosync, it should work.

 how do i bring up the interfaces automatically when i reboot the machine ?

Just one file in Debian : /etc/network/interfaces (see man interfaces).

  Here we can see in the logs that the resource agent for the IP resource
  can not finc the network interface on which to add the faliover IP.
  
  Show us the output of ifconfig.
 
 I do see an error in the log about a netmask not being set - did not
 understand that because i have it set in network manager - no place to
 set in corosync config.

Ther is 2 resource agent to manage IP : Ipaddr and Ipaddr2.
I use Ipaddr2 that has more options, but IPAddr should work.
Perhaps that IPaddr require to specify the netmask in the primitive 
configuration ?

drbd-mc will have tell you...


  Your two clusteres nodes are vbox VM ? How is the network configured ?
  Bridge or NAT ?
  I think it must be a bridge to work, I'm not sure.
 
 I do have it set as bridges and different hardware addresses.
 They can ping each other and i can transfer files via ssh.

Ok, great.

 my ifconfig :
 
 root@deb1:/home/mjh# ifconfig
 eth0  Link encap:Ethernet  HWaddr 08:00:27:fb:85:98
   inet addr:192.168.2.110  Bcast:192.168.2.255  Mask:255.255.255.0
   inet6 addr: fe80::a00:27ff:fefb:8598/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:36765 errors:0 dropped:0 overruns:0 frame:0
   TX packets:59129 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:5800366 (5.5 MiB)  TX bytes:7756410 (7.3 MiB)
 
 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:1254 errors:0 dropped:0 overruns:0 frame:0
   TX packets:1254 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:122112 (119.2 KiB)  TX bytes:122112 (119.2 KiB)
 
 
 and :
 
 
 root@deb2:/home/mjh# ifconfig
 eth1  Link encap:Ethernet  HWaddr 08:00:27:50:ac:f6
   inet addr:192.168.2.111  Bcast:192.168.2.255  Mask:255.255.255.0
   inet6 addr: fe80::a00:27ff:fe50:acf6/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:54669 errors:0 dropped:0 overruns:0 frame:0
   TX packets:30001 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:7328413 (6.9 MiB)  TX bytes:4064625 (3.8 MiB)
 
 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:919 errors:0 dropped:0 overruns:0 frame:0
   TX packets:919 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:89910 (87.8 KiB)  TX bytes:89910 (87.8 KiB)
 
 
 thanks again.

OK, same network, good netmask.

See the configuration options for ocf:heartbeat:IPaddr :
http://linux-ha.org/doc/man-pages/re-ra-IPaddr.html

Especialy :
cidr_netmask

The netmask for the interface in CIDR format. (ie, 24), or in dotted quad 
notation 255.255.255.0). If unspecified, the script will also try to determine 
this from the routing table. (optional, string, no default)

If you don't have a defaut gateway on your nodes, it will not find the netmask 
and then the interface to put the IP on.

So, either define cidr_netmask parameter in your resource definition, or the 
nic parameter :

nic

The base network interface on which the IP address will be brought online. 
If left empty, the script will try and determine this from the routing table. 
Do NOT specify an alias interface in the form eth0:1 or anything here; rather, 
specify the base interface only. Prerequisite: There must be at least one 
static IP 

Re: Weird DNS error?

2011-10-24 Thread Greg van Anders
Thanks Bob and Tom.

I didn't install a DNS server and I am connecting via DHCP.

The results of the various commands are below.

Thanks for your help!

Greg

# dpkg -l bind
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
un  bind   none (no description available)

# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp

# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.254

# grep hosts /etc/nsswitch.conf
hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4

# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:1d:72:80:50:cb
  inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::21d:72ff:fe80:50cb/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:14800 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3465 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:2590636 (2.4 MiB)  TX bytes:301977 (294.8 KiB)
  Interrupt:20 Memory:f820-f822

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:108 errors:0 dropped:0 overruns:0 frame:0
  TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:8956 (8.7 KiB)  TX bytes:8956 (8.7 KiB)

# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0 eth0
0.0.0.0 192.168.1.254   0.0.0.0 UG0 0  0 eth0

# cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   sunny

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

On Mon, Oct 24, 2011 at 5:48 PM, Bob Proulx b...@proulx.com wrote:
 Greg van Anders wrote:
 I just did a brand new installation of Squeeze. The install seemed
 to go fine and I didn't notice any problems.

 Did you select, at the task selection menu, the DNS Server task?
 You should be able to resolve names in both cases but the debug route
 is different in the different cases.  If you selected it then you will
 have bind9 installed.  If not then you won't.  Either is okay.  We
 just need to know.

  $ dpkg -l bind9

 Upon booting, however, I don't seem to be able to resolve any hosts
 other than www.debian.org and security.debian.org.

 That is odd.  You are booting using a DHCP address or a static
 address?  DHCP will supply a nameserver.  If static then you must
 supply one statically.

 What are the contents of your /etc/network/interfaces file?

  $ cat /etc/network/interfaces

 What are the contents of your /etc/resolv.conf file?

  $ cat /etc/resolv.conf

 Also /etc/nsswitch.conf just to make sure it isn't a reason either.

  $ grep hosts /etc/nsswitch.conf
  hosts:          files dns

 Unfortunately there are several possibilities here depending upon the
 contents of the files and the debug path is different depending upon
 the result.  I will stop there but that should get things going.

 If I open up a terminal, ifconfig shows an IP address, and I can
 traceroute to other hosts for which I know the IP, but I can't for
 anything I specify by name.

 Good.  You have network connectivity.  Network connectivity is a
 prerequisite for DNS to work.  But those are two separate things and
 otherwise unrelated to each other.

 Bob



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAJQ99WGRigaT9kDF4kJ1gPa9O1v0G3=O9cziaOUGsoK_Z+d=j...@mail.gmail.com



Re: bad downloads during apt-get upgrade

2011-10-24 Thread Steve Kleene
On Mon, 24 Oct 2011 11:44:11 + (UTC), I wrote:
 ... I often get bad downloads when I run apt-get upgrade.
 ...
 dd /var/cache/apt/archives/[package].deb /dev/null
   dd: reading `standard input': Input/output error

On Mon, 24 Oct 2011 13:49:24 -0600, Bob Proulx b...@proulx.com replied:

 That isn't a good error message.  I think your disk is failing.
 Review your /var/log/syslog and look for error messages there.  I
 expect you will see other errors logged there.

I was afraid of that.  For what it's worth, there is nothing suspicious in
syslog.  Mostly it's just a list of all the e-mails sent and received.  I do
keep this machine very well backed up.

 You didn't say what type of media you are using.  Spinning disk?  SSD?
 Other?

It's an old spinning disk (Maxtor DiamondMax Plus 8 6K040L0 40GB ATA/133
HDD).  The date on it is 10/31/03.  It's sufficient for this machine's
purpose.

 Is your disk S.M.A.R.T. capable?  Install 'smartmontools'.  Then run
 selftests against the disk.  SMART hasn't be a great predictor of
 failure for me but it has been a good confirmation of it.

  # smartctl -H /dev/sda

SMART overall-health self-assessment test result: PASSED

  # smartctl -a /dev/sda

long output, including

Warning: ATA error count 487 inconsistent with error log pointer 5
ATA Error Count: 487 (device log contains only the most recent five errors)
Error 487 occurred at disk power-on lifetime: 14910 hours (621 days + 6 hours)
  When the command that caused the error occurred, the device was in an unknown
state.
...
  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 01 af 49 c3 e2  Error: UNC 1 sectors at LBA = 0x02c349af = 46352815

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --    
  c8 00 08 af 49 c3 e2 08  19d+15:22:35.264  READ DMA
  f8 00 00 00 00 00 e0 08  19d+15:22:35.248  READ NATIVE MAX ADDRESS
  ec 00 00 00 00 00 a0 0a  19d+15:22:35.248  IDENTIFY DEVICE
  ef 03 41 00 00 00 a0 0a  19d+15:22:35.232  SET FEATURES [Set transfer mode]
  f8 00 00 00 00 00 e0 08  19d+15:22:35.232  READ NATIVE MAX ADDRESS

  # smartctl -l selftest /dev/sda

Num  Test_DescriptionStatus  Remaining  LifeTime(hours) 
LBA_of_first_error
# 1  Short offline   Completed: read failure   60% 15032
46769249

I'm not sure how to interpret all of that output, but it looks bad.  Thanks
for your help.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/loom.20111025t024120-...@post.gmane.org



Re: Weird DNS error?

2011-10-24 Thread Carlos Bergero
Ok, so you have install what seems to be a desktop Linux machine, behind 
a router/firewall of you home/office, in any case mos default 
instalations would set the DNS server in the file /etc/resolv.conf if 
you dont have this then you miss something or something else is 
resolving in its place, in any case you would have a resolv.d or other 
similar files in its place.

So first check what do you have, try

cat /etc/resolv.conf

You can execute this command from shell as simple user, you should be 
seeing something like this

# Generated by NetworkManager
search adinet.com.uy com.uy
nameserver 184.106.242.193
nameserver 67.23.7.56

Provided you use NetworkManager which is Gnome default install, :D and 
nameserver IPs would change to match your network configuration.


if that looks ok try this command, be ware that it might not be install, 
hardly but posible


dig www.yahoo.com

;  DiG 9.7.3  www.yahoo.com
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 4698
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.yahoo.com.INA

;; ANSWER SECTION:
www.yahoo.com.295INCNAMEfp3.wg1.b.yahoo.com.
fp3.wg1.b.yahoo.com.48INCNAMEany-fp3-lfb.wa1.b.yahoo.com.
any-fp3-lfb.wa1.b.yahoo.com. 295 INCNAME
any-fp3-real.wa1.b.yahoo.com.

any-fp3-real.wa1.b.yahoo.com. 30 INA98.139.180.149
any-fp3-real.wa1.b.yahoo.com. 30 INA209.191.122.70

;; Query time: 232 msec
;; SERVER: 184.106.242.193#53(184.106.242.193)
;; WHEN: Mon Oct 24 22:24:24 2011
;; MSG SIZE  rcvd: 144

if you get an empty answer be shure the SERVER line has a proper server 
in it, or try the same command with the add of @8.8.8.8 which will query 
one of Googles DNS servers, that should work provided server is up, and 
connectivity to it is Ok,


This will thell you whether your network allows you to contact foreign 
DNS server, or not and whether you can resolve to them. You can try to 
replace your resolv.conf with this DNS server but when you restart your 
NetworkManager it will replace your changes, you can hardcore this in 
NetworkManager.


Hope this was of any help, talk back to see how you did and if you need 
more help.


Sincerely,
Carlos Bergero
El 24/10/11 21:29, Greg van Anders escribió:

Thanks Bob and Tom.

I didn't install a DNS server and I am connecting via DHCP.

The results of the various commands are below.

Thanks for your help!

Greg

# dpkg -l bind
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
un  bindnone  (no description available)

# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp

# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.254

# grep hosts /etc/nsswitch.conf
hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4

# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:1d:72:80:50:cb
   inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
   inet6 addr: fe80::21d:72ff:fe80:50cb/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:14800 errors:0 dropped:0 overruns:0 frame:0
   TX packets:3465 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:2590636 (2.4 MiB)  TX bytes:301977 (294.8 KiB)
   Interrupt:20 Memory:f820-f822

loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:108 errors:0 dropped:0 overruns:0 frame:0
   TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:8956 (8.7 KiB)  TX bytes:8956 (8.7 KiB)

# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0 eth0
0.0.0.0 192.168.1.254   0.0.0.0 UG0 0  0 eth0

# cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   sunny

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

On Mon, Oct 24, 2011 at 5:48 PM, Bob 

Re: Weird DNS error?

2011-10-24 Thread Bob Proulx
Greg van Anders wrote:
 I didn't install a DNS server and I am connecting via DHCP.

Good.  DHCP should automatically provide you with a nameserver.  And
hopefully that nameserver will be working!  That would be extra nice.
But it is possible that it hasn't.

 # dpkg -l bind

The package name is bind9 not bind.  But if you didn't select the task
then you wouldn't have it installed.

 # cat /etc/network/interfaces
 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).
 
 # The loopback network interface
 auto lo
 iface lo inet loopback
 
 # The primary network interface
 allow-hotplug eth0
 #NetworkManager#iface eth0 inet dhcp

Since NetworkManager edited the file upon installation there aren't
any non-comment lines mentioning interfaces.  Effectively it is
empty.  NetworkManager will automatically run dhcp on any interface
NOT mentioned in that file.  Since none are mentioned due to the
commented out part it means that NM is going to do DHCP on that
interface.

I think what the package does there is a hack.  But here is why it is
doing it that way.

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530024#49

 # cat /etc/resolv.conf
 # Generated by NetworkManager
 nameserver 192.168.1.254

DHCP gave you 192.168.1.254 as the nameserver.  This is probably your
local router.

 # grep hosts /etc/nsswitch.conf
 hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4

I have never seen the mdns4 parts installed upon a pristine install of
Debian.  I can only guess that something you installed edited that
file and made those changes.  Probably related to avahi or zeroconf or
some such.

That mdns_minimal4 [NOTFOUND=return] part bothers me because it says
that if the domain is a multicast domain (by default .local) and it
isn't found in the multicast lookup then return immediately host not
found and stop looking and never look in dns for it.

If you don't have mdns setup then you don't need that configuration.
And if you do have it setup then you already don't need it since you
would already know enough to set up your own domain normally.  Saying
this will bring all of the people who love mdns out of hiding and they
will post how good it is for them here.  I know this but will say it
anyway.  Regardless it will help narrow down the problem.

Edit that line and make it like this:

  hosts:  files dns

Does that solve the problem?

If not then test that your dns server is fuctional.  You can do this
using a number of different utilities that are all very similar and
give the same information but in different ways.  I prefer the
bind9-host package's host command.  I believe it is installed by
default.  Others will prefer either nslookup or dig.  Try using it
directly against the nameserver.  As long as the answers seem
reasonable you could use any of the utilities available to you.

  $ host www.debian.org 192.168.1.254
  www.debian.org has address 128.31.0.51
  www.debian.org has address 206.12.19.7
  www.debian.org has IPv6 address 2607:f8f0:610:4000:211:25ff:fec4:5b28

  $ host slashdot.org 192.168.1.254
  slashdot.org has address 216.34.181.45

If that doesn't look up names correctly then the problem is on your
upstream nameserver and not on your new installation.  Assuming that
you are not looking up .local names.  In which case you might have to
probe into your router to figure out what is happening there.  It is
being advertised through DHCP has a nameserver and therefore should
proxy dns lookups through it.

 127.0.1.1 sunny

You have a positive outlook on life.  I like that.  All of my machines
are named after a darker theme. :-)

Bob


signature.asc
Description: Digital signature


Re: Weird DNS error?

2011-10-24 Thread Bob Proulx
Bob Proulx wrote:
 Greg van Anders wrote:
  # cat /etc/resolv.conf
  # Generated by NetworkManager
  nameserver 192.168.1.254

Oh.  Your DHCP server isn't configured with a local domain name.  That
is fine.  But it might be better if it has one.  Then it would include
a 'search' line in the /etc/resolv.conf file too.

  search example.com

That search line will cause the domain to be searched when looking for
names in your domain.  For example looking up sunny would look up
sunny.example.com due to the search line.  If you have a domain that
you consider your home domain then setting it up in your DHCP server
will cause it to propagate through to that file and be used in DNS
lookups.  Most likely you have a consumer router with a DHCP server
built in and it will have a field in the web administration page for
it that allows you to specify a domain name.

Bob


signature.asc
Description: Digital signature


Re: bad downloads during apt-get upgrade

2011-10-24 Thread Walter Hurry
On Tue, 25 Oct 2011 00:42:15 +, Steve Kleene wrote:

snip output
 
 I'm not sure how to interpret all of that output, but it looks bad. 
 Thanks for your help.

I agree with Bob. It would be a good plan to be ready to replace the disk 
and restore from backup at any moment.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j852gl$3hj$1...@dough.gmane.org



Re: bad downloads during apt-get upgrade

2011-10-24 Thread Bob Proulx
Steve Kleene wrote:
 On Mon, 24 Oct 2011 11:44:11 + (UTC), I wrote:
  That isn't a good error message.  I think your disk is failing.
  Review your /var/log/syslog and look for error messages there.  I
  expect you will see other errors logged there.

Really?  I thought *I* wrote that.  Wait, I did.  :-) I think you mail
attribution processing isn't configured right.

 I was afraid of that.  For what it's worth, there is nothing suspicious in
 syslog.  Mostly it's just a list of all the e-mails sent and received.  I do
 keep this machine very well backed up.

With backup you are in good shape.  You might try forcing a read of
every sector.  (e.g. dd if=/dev/sda of=/dev/null bs=4k or some such)
Because during normal use there will be only a few sectors that are
actually exercised.  And perhaps others will suggest better diagnostics.

  You didn't say what type of media you are using.  Spinning disk?  SSD?
  Other?
 
 It's an old spinning disk (Maxtor DiamondMax Plus 8 6K040L0 40GB ATA/133
 HDD).  The date on it is 10/31/03.  It's sufficient for this machine's
 purpose.

Yes.  Plenty sufficient for many purposes.  No complaints here.  I
have several of those still running.

   # smartctl -H /dev/sda
 SMART overall-health self-assessment test result: PASSED

(shrug)  In my experience it isn't a great predictor of failure.  But
it often confirms failure.

   40 51 01 af 49 c3 e2  Error: UNC 1 sectors at LBA = 0x02c349af = 46352815

Looks like an uncorrected read error.

   # smartctl -l selftest /dev/sda
 
 Num  Test_DescriptionStatus  Remaining  LifeTime(hours) 
 LBA_of_first_error
 # 1  Short offline   Completed: read failure   60% 15032 46769249

After a short selftest it reported a read failure.

 I'm not sure how to interpret all of that output, but it looks bad.  Thanks
 for your help.

If this disk were a ship at see then it should be sending a distress
signal.

In the future you might consider installing the same smartmontools and
configuring /etc/smartd.conf to automatically run selftests on a
regular basis.  Perhaps something like this example from one of my
systems.

  # Monitor all attributes, enable automatic online data collection,
  # automatic Attribute autosave, and start a short self-test every day
  # between 2-3am, and a long self test Saturdays between 3-4am.
  # On failure run all installed scripts.
  # Ignore attribute 194 temperature change.
  # Ignore attribute 190 airflow temperature change.
  /dev/sda -a -o on -S on -s (S/../../[1-5]/03|L/../../6/03) -I 194 -I 190 -m 
root -M exec /usr/share/smartmontools/smartd-runner

With the above automatically running and being monitored then if there
is a selftest failure such as the one you are seeing the runner
scripts will email a warning message to root.  You will be notified of
the problem automatically.  Most of the time it works that way anyway
and most of the time it is a good warning of the problem.

Good luck!

Bob


signature.asc
Description: Digital signature


Re: bad downloads during apt-get upgrade

2011-10-24 Thread Steve Kleene
On Mon, 24 Oct 2011 19:21:23 -0600, Bob Proulx b...@proulx.com wrote:

 Really?  I thought *I* wrote that.  Wait, I did.  :-) I think you mail
 attribution processing isn't configured right.

I don't understand this.  My copy of my own post (as received in my e-mail
of posts to debian-user) had this line just above the text shown above:

 On Mon, 24 Oct 2011 13:49:24 -0600, Bob Proulx b...@proulx.com replied:

In any case, thanks to both respondents for your help in alerting me to the
coming end-time (for one disk anyway).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/loom.20111025t034804-...@post.gmane.org



Re: Weird DNS error?

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 7:29 PM, Greg van Anders
gregvanand...@gmail.com wrote:


 Thanks Bob and Tom.

You're welcome.


 # grep hosts /etc/nsswitch.conf
 hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

I'm glad that you or someone else thought of asking for the above
because it slipped my mind and I think that it identifies the problem.
(Everything else looks fine.)

dns isn't being queried because you've got avahi installed and so
when it's queried through mdns4_minimal and the host's ip isn't
found, it's returning instead of the default NOTFOUND=continue.

Delete [NOTFOUND=return] and try a host ... or a dig 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=syqc6g0ut52m9ufaqgilqe_cw830dmvn1ewna-oynk...@mail.gmail.com



Re: Weird DNS error?

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 8:58 PM, Bob Proulx b...@proulx.com wrote:
 Greg van Anders wrote:

 # grep hosts /etc/nsswitch.conf
 hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

 I have never seen the mdns4 parts installed upon a pristine install of
 Debian.  I can only guess that something you installed edited that
 file and made those changes.  Probably related to avahi or zeroconf or
 some such.

 That mdns_minimal4 [NOTFOUND=return] part bothers me because it says
 that if the domain is a multicast domain (by default .local) and it
 isn't found in the multicast lookup then return immediately host not
 found and stop looking and never look in dns for it.

 If you don't have mdns setup then you don't need that configuration.
 And if you do have it setup then you already don't need it since you
 would already know enough to set up your own domain normally.  Saying
 this will bring all of the people who love mdns out of hiding and they
 will post how good it is for them here.  I know this but will say it
 anyway.  Regardless it will help narrow down the problem.

 Edit that line and make it like this:

  hosts:          files dns

I'd suggested just deleting the [NOTFOUND...] part but the above
might make your DNS queries faster because no multicast DNS request
will be made. That's OK as long as you're not using avahi to resolve
hostnames for some services.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=swzuhwvgcm_bsnv+h01ycdpzwg1oqwzxol_r+5hgo6...@mail.gmail.com



why for debian -lblas links to libblas.so.3gf instead of libblas.so?

2011-10-24 Thread Jichao Yin
Dear all,

I found that

-lblas links a program to libblas.so.3gf
-llapack links a program to liblapack.so.3gf

only those two sorts of libraries have and link to 3gf version of .so
(including both reference netlib blas and ATLAS blas, lapack).
On the other side, redhat distributions -lblas links to libblas.so and
-llapack links to liblapack.so.

Is there anyone who can clarify why debian uses .so.3gf only for -lblas and
-llapack?
Actually I found in debian libblas.so - libblas.so.3gf ultimately
What is relationship between the two?

Thank you!

Sincerely,
Jichao

*Jichao Yin*


  1   2   >