[lenny]Hibernation depuis gdmgreeter

2010-08-15 Thread Grégory Bulot
Bonjour, 

Je viens de constater que l'hibernation n'est pas proposer depuis
gdmgreeter (login pour session graphique), alors qu'il l'est depuis ma
session, et cela fonctionne très bien.

Est-ce un choix Debian de ne pas avoir cette option avec gdmgreeter.

Est-il possible de l'activer avec gdmgreeter ?

--
Cordialement 
Grégory BULOT

--
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/20100815124959.148dd...@morpheus.bulot-fr.com



Xchat: problème avec DCC - WAS: 3G Orange vs SFR

2010-08-15 Thread Bernard

Bonjour à tous,

Voulant tester la fonction DCC (Direct Chat: dialogue en direct) du 
client IRC Xchat avec une connexion 3G+ Orange, je m'aperçois que cela 
ne fonctionne pas chez moi, ET CE, QUELLE QUE SOIT LA LIAISON avec 
Internet (3G ou ADSL filiaire ou WiFi).


Il y a 5-6 ans et avant, j'étais un habitué des irc chats... J'avais 
débuté avec mIRC sous MSWIN 3.1... çà fait un bail... puis j'étais passé 
à XChat sous RedHat 6.0, puis sous RedHat 7.2. Dans ces temps anciens, 
il s'agissait de connexions RTC. Le DCC fonctionnait à merveille, sans 
jamais le moindre problème. Les versions dont je disposais alors, 
fonctionnaient avec leur propre GUI, pas sous Gnome, que je n'avais pas 
installé, mon interface graphique par défaut étant alors fvwm. Je ne 
suis pas certain d'avoir jamais jusqu'à ce jour testé Xchat avec une 
connexion ADSL


Depuis lors, les versions ont évolué. Celles dont je dispose aujourd'hui 
sont les suivantes :


- XChat 2.8.6 sur mon Desktop sous Debian Lenny
- XChat 2.8.4 sur mon Laptop sous Ubuntu Hardy Heron

Si je me connecte à un réseau et que je rejoigne un channel, tout se 
passe bien, et je puis dialoguer avec les personnes en ligne sur le 
forum. Mais, si je lance un DCC (/dcc chat Untel), cela ne fonctionne 
pas. J'ai d'abord essayé entre mes deux ordis, connectés, l'un sur mon 
ADSL filiaire, l'autre en WiFi de la même Livebox. Après le constat 
d'échec, j'ai demandé à une personne du forum de me lancer un DCC... 
Même échec. On a refait la manip en sens inverse (c'est moi qui ai lancé 
le DCC), et ce, sans plus de succès. Voici ce qui était observé :


Depuis mon Desktop vers mon Laptop (Wolfcub vers Bernard78), je lance :

/dcc chat Bernard78

Apparaît alors une boîte de dialogue:

XChat : liste de Chat DCC
Etat : Attente
Pseudonyme : Bernard78
Reçu : 0B
Envoyé : 0B

deux boutons : Interrompre, et accepter. Accepter est grisé 
(normal puisque c'est moi qui ai lancé la demande)


Sur l'autre ordi, le Laptop, apparaît aussi une boîte de dialogue :

Etat : Attente
Pseudonyme : Wolfcub
Reçu : 0B
Envoyé : 0B

et deux boutons : interrompre et accepter, aucun n'étant grisé.
Je clique sur Accepter

Alors :Etat passe de Attente à Actif, et ce, sur chacun des deux 
ordis. Mais le bouton Accepter ne se grise pas après cette 
acceptation, et la boîte ne disparaît pas. Dans la fenêtre de dialogue, 
celle du canal (aucune nouvelle fenêtre ne s'étant ouverte pour le 
dialogue en direct sur cet ordi destinataire), apparaît le message: 
Connexion DCC CHAT établie à Wolfcub [ 90.3.74.46:44726].


Par contre, sur l'ordinateur émetteur de la demande, une nouvelle 
fenêtre s'est bien ouverte. Il s'y affiche le message suivant :


Connexion DCC CHAT établie à Bernard78 [91.121.58.120:44726].

Et la boîte de dialogue n'a pas disparu (Interrompre, Accepter (grisé))

Si je tape un message pour Bernard78, il s'affiche bien dans la fenêtre 
Bernard78 du même ordi émetteur, mais rien n'arrive chez Bernard78 sur 
l'ordi récepteur, ou alors je ne sais pas où trouver le message, 
puisqu'aucune nouvelle fenêtre ne s'est ouverte pour le DCC Chat. Sur 
cet ordi là, si je reclique sur Accepter (non grisé), rien de nouveau 
ne se produit


J'ai ainsi essayé au moins une dizaine de fois, dont deux fois avec une 
personne extérieure. Une fois et une seule - c'était entre mes deux 
ordis - j'ai obtenu une connexion DCC Chat avec les deux fenêtres 
opérationnelles : c'était après divers essais, je crois me souvenir que 
c'était après un clic sur Interrompre, mais je n'ai pas su reproduire 
le phénomène.


Il s'agit là d'une demande depuis mon Desktop (Lenny, XChat 2.8.6) vers 
mon Laptop (Ubuntu Hardy Heron, XChat 2.8.4). L'essai inverse a bien 
évidemment été fait, avec les mêmes résultats.


Une personne contactée sur un canal du réseau Epiknet, devant le récit 
de mes échecs, a eu ces mots : De toutes façons, le DCC CHAT çà déconne 
90% du temps Qu'est-ce à dire ?   Cà fonctionnait à merveille 
autrefois... S'il s'agit bien là d'une réalité, est-ce dû au mode de 
connexion (ADSL au lieu de RTC autrefois), ou bien à un bug dans les 
nouvelles versions, ou encore, au fait qu'Orange (mon FAI) aurait mis 
des verrous même pour les connexions ADSL filiaires comme il avoue le 
faire avec le 3G ?


J'ai également essayé avec le 3G+ de SFR : çà donne exactement les mêmes 
résultats... Ceci étant fait, je suis passé à l'essai du 3G+ d'Orange : 
même résultat, ou presque... Voici ce qui justifie le presque :


Avec Orange 3G, (et contrairement à SFR 3G et à Orange ADSL filiaire ou 
WiFi), la connexion au réseau IRC (irc.epiknet.org ici, mais c'est 
pareil avec irc.dalnet.org etc...), j'ai à peu près ceci (de mémoire) :


Votre réseau a été trouvé.
Connexion à Epiknet.
Could not identify your hostname. Using your IP address instead...

Ensuite la connexion finit par se réaliser, et, une fois rejoint un 
canal, la discussion est possible sur le forum (mais le DCC CHAT n'est 
pas plus opérationnel que lors des 

Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Salokine Terata
Bonjour,

Mardi, mon serveur a été victime de l'exploit dd_ssh/vm.c

http://news.softpedia.com/news/Compromised-Web-Servers-Used-to-Build-SSH-Brute-Force-Botnet-151779.shtml

Mon fournisseur m'a vérrouillé mon serveur. J'ai une copie en lecture seule si 
nécessaire (accès FTP).

Ce serveur était update-to-date Debian (pas d'autre dépôt). A priori, la faille 
provient de phpMyAdmin, une version ancienne (mais qui doit être celle 
de ma Debian 5.0.4). Je suis entrain de rechercher d'autres preuves 
d'intrusion...

Question:
Perso, mon système est compromis, je serais dans l'obligation de le 
réainstaller plustard et ça ne me pose aucune soucis (sauvegarde distante ok)
Pour Debian: Existe-il un groupe intéressé par ce genre d'attaque ? Si 
nécesssaire je peux mettre mon système (une copie) à dispo sur le net pour diag

En espérant que ça puisse aider à d'autre.
Bonne journée.
Salokine

--
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/201008151600.24865.salokine.ter...@free.fr



Re: Xchat: problème avec DCC - WAS: 3G Orange vs SF R

2010-08-15 Thread sebastien delbarre
bonjour,

les DCC  chats requiert l ouverture de ports dans le routeur ( idem pour
toutes les formes de dcc ).

suite a divers tests, il s avere ( pour une raison que j ignore ) qu il faut
ouvrir plusieurs ports .

59 en tcp

et des fois mais bon pas toujours :

1024 en tcp
1025 en udp ( bizarre mais aucune explication )

je n ai pas d explication precise sur les raisons.

par contre concernant la 3G, etant donné que si je ne me trompe pas, il est
impossible d ouvrir les ports, cela risque de poser quelques soucis.

mes 2 centimes

ours_en_pluche


[HS]Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Grégory Bulot
 Bonjour,
 
 Mardi, mon serveur a été victime de l'exploit dd_ssh/vm.c

j'ai pas de réponse à votre problème, mais merci d'avoir posté, car je
ne connaissais pas cette faille/attaque

je tacherais d'être vigilant


--
Cordialement 
Grégory BULOT

--
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/20100815162947.3eb00...@morpheus.bulot-fr.com



Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Cornichon
salut,
plus d'info ici: http://isc.sans.edu/diary.html?nstoryid=9370
je serai d'ailleurs intéressé pour consulter les logs dont tu disposes.
merci


Le 15 août 2010 16:00, Salokine Terata salokine.ter...@free.fr a écrit :

 Bonjour,

 Mardi, mon serveur a été victime de l'exploit dd_ssh/vm.c


 http://news.softpedia.com/news/Compromised-Web-Servers-Used-to-Build-SSH-Brute-Force-Botnet-151779.shtml

 Mon fournisseur m'a vérrouillé mon serveur. J'ai une copie en lecture seule
 si nécessaire (accès FTP).

 Ce serveur était update-to-date Debian (pas d'autre dépôt). A priori, la
 faille provient de phpMyAdmin, une version ancienne (mais qui doit être
 celle
 de ma Debian 5.0.4). Je suis entrain de rechercher d'autres preuves
 d'intrusion...

 Question:
 Perso, mon système est compromis, je serais dans l'obligation de le
 réainstaller plustard et ça ne me pose aucune soucis (sauvegarde distante
 ok)
 Pour Debian: Existe-il un groupe intéressé par ce genre d'attaque ? Si
 nécesssaire je peux mettre mon système (une copie) à dispo sur le net pour
 diag

 En espérant que ça puisse aider à d'autre.
 Bonne journée.
 Salokine

 --
 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/201008151600.24865.salokine.ter...@free.fr




Re: Xchat: problème avec DCC - WAS: 3G Orange vs SFR

2010-08-15 Thread Bernard

sebastien delbarre wrote:

bonjour,

les DCC  chats requiert l ouverture de ports dans le routeur ( idem 
pour toutes les formes de dcc ).


suite a divers tests, il s avere ( pour une raison que j ignore ) qu 
il faut ouvrir plusieurs ports .


59 en tcp

et des fois mais bon pas toujours :

1024 en tcp
1025 en udp ( bizarre mais aucune explication )

je n ai pas d explication precise sur les raisons.

par contre concernant la 3G, etant donné que si je ne me trompe pas, 
il est impossible d ouvrir les ports, cela risque de poser quelques 
soucis.


mes 2 centimes

ours_en_pluche
Merci pour cette réponse. Voilà donc pourquoi cela fonctionnait en RTC 
(le FAI devait avoir ces ports ouverts dans son routeur), et pas en ADSL 
(car je ne me suis pas soucié d'ouvrir ces ports)


--
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/4c6801e1.9020...@teaser.fr



[lenny]Redmine c'est possible ?

2010-08-15 Thread Grégory Bulot
Bonjour, 

ça fait plusieurs tutos que j'essais pour installer redmine, mais c'est
toujours un échec pour les pré-requis.

je bloque toujours au même endroit :

rake db:migrate RAILS_ENV=production
(in /home/redmine/redmine-1.0.0)
rake aborted!
Could not find RubyGem rack (~ 1.0.1)


# gem install -v=1.0.1 rails
ERROR:  could not find gem rails locally or in a repository

# gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.2.0
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
  - INSTALLATION DIRECTORY: /var/lib/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
  - RUBYGEMS PLATFORMS:
- ruby
- x86-linux
  - GEM PATHS:
 - /var/lib/gems/1.8
  - GEM CONFIGURATION:
 - :update_sources = true
 - :verbose = true
 - :benchmark = false
 - :backtrace = false
 - :bulk_threshold = 1000
  - REMOTE SOURCES:
 - http://gems.rubyforge.org/

# gem install rails
ERROR:  could not find gem rails locally or in a repository


$ dpkg -l rubygems rails rack
ii  rails 2.1.0-7 
ii  rubygems  1.2.0-3
Aucun paquet ne correspond à rack.

# gem list

*** LOCAL GEMS ***

# gem update --system
ERROR:  While executing gem ... (RuntimeError)
gem update --system is disabled on Debian. RubyGems can be updated
using the official Debian repositories by aptitude or apt-get.


j'ai fais du : 
 aptitude install install ruby rake librmagick-ruby subversion
 aptitude libmysql-ruby mysql-client rubygems 
 aptitude install libfcgi-ruby1.8 97  aptitude install ruby rake
rubygems
 aptitude aptitude install libmysql-ruby libopenssl-ruby
 aptitude install rails




note : 
un tuto type essayé (celui est pour etch, mais ceux pour lenny sont
équivalent pour le résultat) :
http://howto.landure.fr/gnu-linux/debian-4-0-etch/installer-le-gestionnaire-de-projet-redmine-sur-debian-4-0-etch

il y a eu un test ou je suis allé plus loin mais c'est activesupport qui
foirait (sur incompatibilité de version entre rails et activesupport )



--
Cordialement 
Grégory BULOT

--
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/20100815170913.1a4d7...@morpheus.bulot-fr.com



Re: Xchat: problème avec DCC - WAS: 3G Orange vs SF R

2010-08-15 Thread sebastien delbarre
de rien :)

par contre, en dcc chat, n oublie pas que tu donnes ton ip reelle a l
utilisateur,

et sur xchat tu peux configurer un proxy au cas ou uniquement pour les dccs.

apres si tu souhaites d autres renseignement concernant xchat, qui ne
concerne pas la ML, n hesites pas en hors liste.

mes 2 centimes

ours_en_pluche


Re: Xchat: problème avec DCC - WAS: 3G Orange vs SFR

2010-08-15 Thread Bernard

sebastien delbarre wrote:

bonjour,

les DCC  chats requiert l ouverture de ports dans le routeur ( idem 
pour toutes les formes de dcc ).


suite a divers tests, il s avere ( pour une raison que j ignore ) qu 
il faut ouvrir plusieurs ports .


59 en tcp

et des fois mais bon pas toujours :

1024 en tcp
1025 en udp ( bizarre mais aucune explication )
Au final, il n'est pas certain que ce soit le problème. En effet, voici 
ce que me dit ma Livebox, lorsque j'en affiche les paramètres avec 
Firefox (http://192.168.1.1) :


http://www.teaser.fr/~bdebreil/Livebox/Livebox1.jpg

Sur l'image, on voit que UPnP est activé. Et que, normalement, si j'ai 
bien compris, les ports s'ouvrent en cas de besoin. Par ailleurs, mon 
système me dit : Connexion DCC établie avec xyz... (même si aucune 
fenêtre n'apparaît et si donc la gestion de ladite connexion paraît 
impossible). Je me demande si ce n'est pas un problème de GUI, ou 
encore, il se pourrait que l'ouverture de la nouvelle fenêtre soit sensé 
être déclenché par un PING, lequel n'arrive pas car cette fonction n'est 
pas activée en réception (voir plus loin).


Pour le reste, les images qui suivent montrent la config de ma Livebox, 
et ce qu'il est possible d'y changer. Le mode DHCP est bien activé. Les 
options d'ouvertures de nouveaux ports ne me semblent pas appropriés 
quant aux plages proposées pour chaque mode et, de toutes façons, il est 
bien précisé qu'il est indispensable d'ouvrir également lesdits ports 
dans le pare feu, ce qui paraît très risqué ici. En effet, pour pouvoir 
accéder à ce re-paramètrage, il est nécessaire de désactiver le mode par 
défaut sécurité moyenne, et alors je ne saurais pas quels autres 
paramètres indiquer. Cette manip risquée serait pourtant indispensable 
si je souhaitais activer la réception des PING.


Voici donc les autres images des options de config disponibles pour ma 
Livebox, à visualiser de préférence dans l'ordre :


http://www.teaser.fr/~bdebreil/Livebox/Livebox2.jpg
http://www.teaser.fr/~bdebreil/Livebox/Livebox3.jpg
http://www.teaser.fr/~bdebreil/Livebox/Livebox3a.jpg
http://www.teaser.fr/~bdebreil/Livebox/2970.jpg
http://www.teaser.fr/~bdebreil/Livebox/2971.jpg
http://www.teaser.fr/~bdebreil/Livebox/Livebox3b.jpg
http://www.teaser.fr/~bdebreil/Livebox/Livebox4.jpg
http://www.teaser.fr/~bdebreil/Livebox/Livebox4a.jpg
http://www.teaser.fr/~bdebreil/Livebox/Livebox4b.jpg



je n ai pas d explication precise sur les raisons.

par contre concernant la 3G, etant donné que si je ne me trompe pas, 
il est impossible d ouvrir les ports, cela risque de poser quelques 
soucis.


mes 2 centimes

ours_en_pluche


--
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/4c68225e.3060...@teaser.fr



Re: Xchat: problème avec DCC - WAS: 3G Orange vs SFR

2010-08-15 Thread Jean-Yves F. Barbier
Le Sun, 15 Aug 2010 19:22:38 +0200,
Bernard bdebr...@teaser.fr a écrit :

...
 Sur l'image, on voit que UPnP est activé. Et que, normalement, si j'ai 
 bien compris, les ports s'ouvrent en cas de besoin. Par ailleurs, mon 

Encore faut-il que le pgm en question utilise aussi l'uPNP (et soit donc à
même de négocier ce dont il a besoin avec la box)...

-- 
It's illegal in Wilbur, Washington, to ride an ugly horse.

--
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/20100815201413.01232...@anubis.defcon1



Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread l...@worldonline.fr
Bonjour

Je comprends mieux pourquoi j'ai eu ça dans mon error.log

Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2
[Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/php-my-admin
[Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.2.3
[Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.2.6
[Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.1
[Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.4
[Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.5-rc1
[Fri Aug 13 21:14:00 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.5-rc2
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.5
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.5-pl1
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.6-rc1
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.6-rc2
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.6
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.7
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.5.7-pl1
[Fri Aug 13 21:14:01 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-alpha
[Fri Aug 13 21:14:02 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-alpha2
[Fri Aug 13 21:14:02 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-beta1
[Fri Aug 13 21:14:02 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-beta2
[Fri Aug 13 21:14:02 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-rc1
[Fri Aug 13 21:14:02 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-rc2
[Fri Aug 13 21:14:02 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-rc3
[Fri Aug 13 21:14:02 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-pl1
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-pl2
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.0-pl3
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.1-rc1
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.1-rc2
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.1
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.1-pl1
[Fri Aug 13 21:14:03 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.1-pl2
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.1-pl3
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.2-rc1
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.2-beta1
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.2-rc1
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.2
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.2-rc1
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.2
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.2-pl1
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.3
[Fri Aug 13 21:14:04 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.3-rc1
[Fri Aug 13 21:14:05 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.3
[Fri Aug 13 21:14:05 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.3-pl1
[Fri Aug 13 21:14:05 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.4-rc1
[Fri Aug 13 21:14:05 2010] [error] [client 83.170.113.47] File does not
exist: /var/www/phpMyAdmin-2.6.4-pl1
[Fri Aug 13 21:14:05 2010] [error] [client 83.170.113.47] File does not
exist: 

Re: Xchat: problème avec DCC - WAS: 3G Orange vs SF R

2010-08-15 Thread sebastien delbarre
re

a priori Xchat ne gere pas en natif l UPNP :
http://forum.xchat.org/viewtopic.php?p=11894

a la fin, un script est proposé pour pallier a ce soucis.

mes 2 centimes

ours_en_pluche


Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread JC
On Sun, 15 Aug 2010 16:27:16 +0200
Cornichon cornicho...@gmail.com wrote:


  Ce serveur était update-to-date Debian (pas d'autre dépôt). A priori, la
  faille provient de phpMyAdmin, une version ancienne (mais qui doit être
  celle de ma Debian 5.0.4).

De même je ne connaissais pas ce problème.
Je viens de vérifier mes serveur (pas de phpMyAdmin heureusement) et
effectivement beaucoup de logs de ce style :

200.111.13.242 - - [08/Aug/2010:21:53:28 +0200] GET /nosuichfile.php HTTP/1.1
404 1739 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
Gecko/20100625 Firefox/3.6.6 

200.111.13.242 - - [08/Aug/2010:21:53:28 +0200] GET /noxdir/nosuichfile.php
HTTP/1.1 404 1739 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 

200.111.13.242- - [08/Aug/2010:21:53:28 +0200] GET /PMA/scripts/setup.php
HTTP/1.1 404 1739 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 

200.111.13.242 - - [08/Aug/2010:21:53:29 +0200] GET /PMA2005/scripts/setup.php
HTTP/1.1 404 1739 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 

200.111.13.242 - - [08/Aug/2010:21:53:29 +0200]
GET /admin/mysql/scripts/setup.php HTTP/1.1 404 1739 - Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

200.111.13.242 - - [08/Aug/2010:21:53:29 +0200]
GET /admin/phpmyadmin/scripts/setup.php HTTP/1.1 404 1739 - Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6





Néanmoins et si j'ai bien compris ce que je viens de lire, cette faille de
phpMyAdmin a été corrigé au mois d'avril de cette année par Debian.
Donc le serveur n'était pas vraiment ce que l'on appelle à jour, non ?


Sinon bon courage pour ta re-installation.
Cordialement.

--
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/20100815202648.6b862...@debian1-home.aygalenq.net



Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Cornichon
Le 15 août 2010 20:26, JC jc2...@aygalenq.net a écrit :


 Néanmoins et si j'ai bien compris ce que je viens de lire, cette faille de
 phpMyAdmin a été corrigé au mois d'avril de cette année par Debian.
 Donc le serveur n'était pas vraiment ce que l'on appelle à jour, non ?


Effectivement, ceci a été corrigé le 17 avril ; voir les CVE-2008-7251,
CVE-2008-7252 et CVE-2009-4605.
Plus généralement, je m'interroge sur la nécessité d'avoir un phpmyadmin
accessible de l'extérieur. Une application à ce point sensible devrait au
pire être protégée par de solides ACLs. Les mises à jours de sécurité
proposées par debian ne suffisent pas. Les 0 day d'apache ou phpmyadmin sont
loin d'être rares.


Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Jean Baptiste FAVRE
Des 0-Day Apache pas rares ? Je serais curieux d'avoir quelques exemples.

Parce que des failles PhpMyAdmin, OK, des failles Webmail je veux bien,
des failles Apaches même d'accord, mais des 0-Day Apache, ça fait un
sacré bail que je n'en ai pas vu.

Cordialement,
JB


On 15/08/2010 20:41, Cornichon wrote:
 
 Le 15 août 2010 20:26, JC jc2...@aygalenq.net
 mailto:jc2...@aygalenq.net a écrit :
 
 
 Néanmoins et si j'ai bien compris ce que je viens de lire, cette
 faille de
 phpMyAdmin a été corrigé au mois d'avril de cette année par Debian.
 Donc le serveur n'était pas vraiment ce que l'on appelle à jour, non ?
 
 
 Effectivement, ceci a été corrigé le 17 avril ; voir les CVE-2008-7251,
 CVE-2008-7252 et CVE-2009-4605.
 Plus généralement, je m'interroge sur la nécessité d'avoir un phpmyadmin
 accessible de l'extérieur. Une application à ce point sensible devrait
 au pire être protégée par de solides ACLs. Les mises à jours de sécurité
 proposées par debian ne suffisent pas. Les 0 day d'apache ou phpmyadmin
 sont loin d'être rares.

-- 
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/4c684002.8010...@jbfavre.org



Re: [HS] IPoT [était: Re: Debian Testing et Google Earth]

2010-08-15 Thread François

Le 14/08/2010 23:21, Sylvain Sauvage a écrit :

Deux mois environ. En testing avec le noyau 2.6.60.2 64 bits.

   ^^
   Ça marche bien IPoT ?


Oups !
Merci de signaler l'erreur de mon clavier. C'est le 2.6.30.2, bien sûr.

J'en profite pour ajouter qu'un pilote d'affichage 3D est indispensable 
au fonctionnement de GoogleEarth. Il est possible que l'installation 
n'aboutisse pas en l'absence d'un tel pilote.


--
François


--
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/i49jr3$9e...@dough.gmane.org



Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Salokine Terata


Bonjour,

jc2...@aygalenq.net:
Pour le up-to-date ... probablement pas depuis Avril ...
Ma version de phpMyAdmin est malheureusement : 4:2.11.8.1-5+lenny3
Dommage pour moi: http://www.debian.org/security/2010/dsa-2034


cornicho...@gmail.com: 
Pour l'accès depuis l'exterieur. Il s'agit d'un serveur dédié hébergé. Donc 
besoin de ce type d'accès. Je retiens la solution des ACLs et me pose la 
question d'un accès sur un port IP dédié avec HTTPS + certificats ... à voir.

Les fichiers relatif à l'exploit étaient stockés dans /tmp, j'ai fait une 
archive: http://www.humyo.fr/FVpDCQY/tmp-dd_ssh-files.7z?a=9xXH2mA72fQ

Dans les logs, ce sont les logs Apache qui prouve l'intrusion. J'ai des IP mais 
ce doit être à gars comme moi qui s'est fait piraté... même pas je 
cherche à savoir, perte de temps je n'ai pas la compétence ni la volonté de m'y 
confronter)

Bref, manque de vigilance de ma part. Loin de moi l'idée de remettre en cause 
la sécurité du système Debian. Il s'agit bel et bien d'une erreur de ma 
part. 

Existe-il un programme permettant de réaliser de manière automatique et 
silencieuse la mise à jour type aptitude safe-upgrade avec un petit rapport 
par mail lorsque des mises à jour ont été installées ou lorsque celles-ci 
nécessite une intervention humaine ?

Encore merci pour vos réponses et bonne soirée à tous.
Salokine.


Pour finir: Log Apache montrant l'attaque:

193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /nosuichfile.php HTTP/1.1 
404 270 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /noxdir/nosuichfile.php 
HTTP/1.1 404 274 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /PMA/scripts/setup.php 
HTTP/1.1 404 274 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /PMA2005/scripts/setup.php 
HTTP/1.1 404 277 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET 
/admin/mysql/scripts/setup.php HTTP/1.1 404 279 - Mozilla/5.0 (Windows; U; 
Windows NT 5.1; 
en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET 
/admin/phpmyadmin/scripts/setup.php HTTP/1.1 404 280 - Mozilla/5.0 
(Windows; U; Windows NT 
5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET 
/admin/pma/scripts/setup.php HTTP/1.1 404 277 - Mozilla/5.0 (Windows; U; 
Windows NT 5.1; 
en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /admin/scripts/setup.php 
HTTP/1.1 404 274 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /db/scripts/setup.php 
HTTP/1.1 404 273 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /dbadmin/scripts/setup.php 
HTTP/1.1 404 276 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /myadmin/scripts/setup.php 
HTTP/1.1 404 276 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET 
/mysql-admin/scripts/setup.php HTTP/1.1 404 280 - Mozilla/5.0 (Windows; U; 
Windows NT 5.1; 
en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /mysql/scripts/setup.php 
HTTP/1.1 404 275 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET 
/mysqladmin/scripts/setup.php HTTP/1.1 404 278 - Mozilla/5.0 (Windows; U; 
Windows NT 5.1; 
en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET 
/mysqlmanager/scripts/setup.php HTTP/1.1 404 281 - Mozilla/5.0 (Windows; U; 
Windows NT 5.1; 
en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:31 +0200] GET /p/m/a/scripts/setup.php 
HTTP/1.1 404 275 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:32 +0200] GET /pHpMy/scripts/setup.php 
HTTP/1.1 404 275 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:32 +0200] GET 
/pHpMyAdMiN/scripts/setup.php HTTP/1.1 404 279 - Mozilla/5.0 (Windows; U; 
Windows NT 5.1; 
en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
193.27.193.74 - - [10/Aug/2010:09:32:32 +0200] GET 
/php-my-admin/scripts/setup.php HTTP/1.1 404 279 - Mozilla/5.0 (Windows; U; 
Windows NT 5.1; 
en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

rsync vers un serveur ssh avec un port différen t de 22 + authentification clé publique

2010-08-15 Thread Thierry B
Bonsoir,

J'aimerais effectuer des copies de dossier avec rsync par ssh mais avec
un serveur cible sur un port différent de 22. J'ai installé sur le
serveur distant une clé publique pour pouvoir faire la copie sans
demander de mot de passe pour que ca puisse être automatisé par la suite.

Je remarque que :

ssh -p  u...@host_dest marche.

Mais:

rsync --rsh='ssh -' test.txt u...@host_dest:

donne:

sh: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(635)
[sender=3.0.3]

De même pour rsync -e 'ssh -p' :-(

Bizarre, car j'ai vu cette syntaxe sur de nombreux tutos.


J'ai aussi essayé de mettre dans le répertoire .ssh du user de la
machine source, au niveau du fichier config:

Host alias_host_dest
hostname host_dest
port 

puis: rsync test.txt u...@alias_host_dest:

Mais:

ssh u...@alias_host_dest fonctionne aussi nikel sans demander de mdp...


La machine source est sous debian lenny et la cible est une VM sous
Debian lenny aussi.

Une idée?

Merci :-)

-- 
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/4c686385.2050...@tbzone.org



Re: rsync vers un serveur ssh avec un port différent de 22 + authentification clé publique

2010-08-15 Thread Thierry B
Le 16/08/2010 00:00, Thierry B a écrit :
 Bonsoir,
 
 J'aimerais effectuer des copies de dossier avec rsync par ssh mais avec
 un serveur cible sur un port différent de 22. J'ai installé sur le
 serveur distant une clé publique pour pouvoir faire la copie sans
 demander de mot de passe pour que ca puisse être automatisé par la suite.
 
 Je remarque que :
 
 ssh -p  u...@host_dest marche.
 
 Mais:
 
 rsync --rsh='ssh -' test.txt u...@host_dest:
 
 donne:
 
 sh: rsync: command not found
 rsync: connection unexpectedly closed (0 bytes received so far) [sender]
 rsync error: error in rsync protocol data stream (code 12) at io.c(635)
 [sender=3.0.3]
 
 De même pour rsync -e 'ssh -p' :-(
 
 Bizarre, car j'ai vu cette syntaxe sur de nombreux tutos.
 
 
 J'ai aussi essayé de mettre dans le répertoire .ssh du user de la
 machine source, au niveau du fichier config:
 
 Host alias_host_dest
 hostname host_dest
 port 
 
 puis: rsync test.txt u...@alias_host_dest:
 
 Mais:
 
 ssh u...@alias_host_dest fonctionne aussi nikel sans demander de mdp...
 
 
 La machine source est sous debian lenny et la cible est une VM sous
 Debian lenny aussi.
 
 Une idée?
 
 Merci :-)
 

Désolé,

En fait, c'est juste qu'il n'y avait pas rsync d'installer sur la VM
distante...lol.

Bonne soirée.

-- 
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/4c6868dd.7050...@tbzone.org



Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Gilles Mocellin
Le Sunday 15 August 2010 23:44:38 Salokine Terata, vous avez écrit :
 Bonjour,

Bonsoir,

[...]
 Existe-il un programme permettant de réaliser de manière automatique et
 silencieuse la mise à jour type aptitude safe-upgrade avec un petit
 rapport par mail lorsque des mises à jour ont été installées ou lorsque
 celles-ci nécessite une intervention humaine ?

Il y a bien unattended-upgrades.
Mais moi, je préfère avoir cron-apt qui me prévient quand il y a des mise à 
jour à faire.


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


Re: Debian Testing et Google Earth

2010-08-15 Thread Gaëtan PERRIER
Le Sat, 14 Aug 2010 18:42:12 +0200
Thierry Chatelet tchate...@free.fr a écrit:

 
 On Saturday 14 August 2010 00:43:13 Thierry Chatelet wrote:
  En fait, si tu peux attendre demain  dans  la  journée, je dois
  installer un  ordi  en squeeze  32 bits. J' essaierai de mettre
  googleearth dessus et je te tiens au courant.
  Thierry
 
 Pas de chance, je n' arrive pas à fa  ire le paquet. J'ai  une
 longue liste d'erreurs disant que le fichier googleearth peut être
 conrrompu. Je suis désolé, mais comme je dois livrer le pc ce soir,
 je ne peux pas chercher plus longtemps d'ou vient le problème.
 Thierry
 

Bon pour l'instant j'ai réussi à faire un paquet pour la version
5.1.3535.3218. La version 5.2 actuellement en ligne semble passablement
bugguée. J'attends donc que la suite situation s'améliore.

Gaëtan

--
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/20100816003638.21844918.gaetan.perr...@neuf.fr



Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread JC

 Pour l'accès depuis l'exterieur. Il s'agit d'un serveur dédié hébergé. Donc 
 besoin de ce type d'accès. Je retiens la solution des ACLs et me pose la 
 question d'un accès sur un port IP dédié avec HTTPS + certificats ... à voir.

En effet si un accès phpMyAdmin est absolument nécessaire
la simple mise en place d'un acces en https avec login + mot de passe 
devrait déjà limiter fortement l'accès aux fichiers du dit phpMyAdmin.


 Les fichiers relatif à l'exploit étaient stockés dans /tmp, j'ai fait une 
 archive: http://www.humyo.fr/FVpDCQY/tmp-dd_ssh-files.7z?a=9xXH2mA72fQ

Merci. Toujours intéressant de jeter un oeil.


 Bref, manque de vigilance de ma part.

Ca nous arrive à tous malheureusement ... pour une raison ou une autre.


 Pour le up-to-date ... probablement pas depuis Avril ...
 Ma version de phpMyAdmin est malheureusement : 4:2.11.8.1-5+lenny3
 Dommage pour moi: http://www.debian.org/security/2010/dsa-2034

 Existe-il un programme permettant de réaliser de manière automatique et 
 silencieuse la mise à jour type aptitude safe-upgrade avec un petit rapport 
 par mail lorsque des mises à jour ont été installées ou lorsque celles-ci 
 nécessite une intervention humaine ?

Une solution simple peut déjà consister à être inscrit sur 
debian-security-annou...@lists.debian.org
et ainsi voir les failles de sécurité régulièrement annoncés.
Si t'es concernées tu fais une maj.

Cordialement.

--
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/20100816003958.219be...@debian1-home.aygalenq.net



Re: Ma Debian victime de l'exploit dd_ssh ... Oh my god !

2010-08-15 Thread Olivier Lange
Le 16 août 2010 00:39, JC jc2...@aygalenq.net a écrit :

 Pour l'accès depuis l'exterieur. Il s'agit d'un serveur dédié hébergé. Donc 
 besoin de ce type d'accès. Je retiens la solution des ACLs et me pose la
 question d'un accès sur un port IP dédié avec HTTPS + certificats ... à voir.

Il y a d'autres solutions... Tout d'abords, abandonner l'utilisation
de phpmyadmin, pour des raisons de sécurités telles que celles-la,
mais surtout... parce que c'est un script php couvert de bug... Et que
tu peux planter ton serveur en voulant exécuter une requête (arrêter
la page stop le script php, mais pas la requête mysql derrière =
risque de problème).

Je te conseille de passer plutôt par des solutions de type sqlyog ou
mysql editor, ou autre. Et pour éviter d'ouvrir ton serveur mysql a
n'importe qui, un petit vpn, et tu es tranquile. Ou mieux encore, vive
la ligne de commande ;).

Si vraiment tu veux utiliser cet outil, le minimum vital est de mettre
un .htaccess. Ca limitera grandement les accès dessus.


        En effet si un accès phpMyAdmin est absolument nécessaire
 la simple mise en place d'un acces en https avec login + mot de passe
 devrait déjà limiter fortement l'accès aux fichiers du dit phpMyAdmin.


 Les fichiers relatif à l'exploit étaient stockés dans /tmp, j'ai fait une 
 archive: http://www.humyo.fr/FVpDCQY/tmp-dd_ssh-files.7z?a=9xXH2mA72fQ

        Merci. Toujours intéressant de jeter un oeil.


 Bref, manque de vigilance de ma part.

        Ca nous arrive à tous malheureusement ... pour une raison ou une autre.


 Pour le up-to-date ... probablement pas depuis Avril ...
 Ma version de phpMyAdmin est malheureusement : 4:2.11.8.1-5+lenny3
 Dommage pour moi: http://www.debian.org/security/2010/dsa-2034

Oula... Passe dans un premier temps à la version 3.3.5, plutot que de
rester en 2.11!


 Existe-il un programme permettant de réaliser de manière automatique et 
 silencieuse la mise à jour type aptitude safe-upgrade avec un petit rapport
 par mail lorsque des mises à jour ont été installées ou lorsque celles-ci 
 nécessite une intervention humaine ?

Attention a cela... TU n'est pas a l'abri d'un problème, ou d'une
erreur! La mise a jour automatique, meme en safe-upgrade n'est jamais
conseillée sur un serveur de production! Sysadmin, c'est un boulot à
plein temps! A toi de faire tes mises à jours régulièrement!

Par contre, tu peux déja installer un logiciel tel que fail2ban, et le
paramétrer pour prendre en compte les pages logs apache. Il te
permettra de bannir un utilisateur ayant rencontré X 404. Ca te
limitera les risques.


Olivier

--
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/aanlkti=o67c_fy6a6czdtvtb-o9u_q2z5vdffwta0...@mail.gmail.com



Fwd: Errores al actualizar lenny a squeeze

2010-08-15 Thread AlePando
[mil disculpas a Matias por el mail directo q le envie, se me olvida ]
[q este google  pone mal las respuestas]

2010/8/10 Matías A. Bellone matiasbell...@gmail.com:
 On 08/10/2010 12:06 PM, AlePando wrote:

 Me he instalado Debian lenny, pero al tratar de actualizar a squeeze
 me da el siguiente error:

 Unpacking replacement libjpeg62 ...
 Preparing to replace cupsddk 1.2.3-5 (using .../cupsddk_1.4.4-2_all.deb)
 ...
 Unpacking replacement cupsddk ...
 Processing triggers for man-db ...
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = es_CL.UTF-8
     are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 /usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are
 correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 manconv: can't set the locale; make sure $LC_* and $LANG are correct
 Processing triggers for python-support ...
 Processing triggers for menu ...
 Processing triggers for hal ...
 Regenerating hal fdi cache ...
 Restarting Hardware abstraction layer: hald.
 Errors were encountered while processing:
  /var/cache/apt/archives/udev_158-1_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

 ¿Que debo hacer?
 Cualquier pista se lo agradecere, pues ni san google da con la respuesta


 No estás viendo el bosque por los árboles :P Todos los mensajes que vos
 estás viendo no tienen absolutamente nada que ver con el problema real.

 Si te fijás al final del mensaje, dice clarito que el problema es el
 procesamiento del paquete udev, paquete que no mostrás en tu log. Pero
 habiendo actualizado un lenny a squeeze hace poco sé exactamente cuál es el
 problema y cómo solucionarlo.

 Problema: la versión de udev en squeeze necesita un kernel más nuevo que el
 que está en lenny y no actualiza si no estás corriendo ese kernel más
 nuevo... que no se va a instalar hasta que no deje de dar error udev :P


Si... me habia leido varios tutoriales donde mencionaban que debia
actualizar el kernel... pero al tratar de hacerlo da errores de
dependencias y va quedando una ensalada que solo lleva a que quedan
paquetes sin actualizarse y una lista cada vez mas grande de avisos de
problemas cuando  sigues intentando upgratear el sistema para dejarlo
'sanito' para actualizar a squeeze

 Solución:

 hay varias formas de solucionar esto. Una fácil y otra también fácil pero
 más técnicamente correcta.

 La técnicamente correcta es: crear un archivo con el siguiente comando

 $ touch /etc/udev/kernel-upgrade

Eres un genio... magicamente ese insignificante archivo da la solución
a tanta ensalada de errores que tenia


 Y probá de nuevo y tendría que andar.

Si de las mil maravillas


 La que yo usé (antes de leer al respecto [1]): no hagas un upgrade masivo de
 lenny a squeeze. Primero actualizá el kernel y sus dependencias directas.
 Reinciá a ese nuevo kernel y luego terminá la actualización.

 Yo hie una variación de eso (sin tocar el aptitude o apt-get) aprovechando
 el hecho que aptitude ya me había bajado el paquete del nuevo kernel (y
 estaba en /var/cache/apt/archives) y lo instalé con dpkg -i y luego
 reinicié y continué el upgrade.

Se ve interesante... lo 

Re: Actualizacion de carpetas en Evolution

2010-08-15 Thread Camaleón
El Sat, 14 Aug 2010 07:29:57 -0500, Carlos Onelio Cazorla Machado
escribió:

(...)

 Pero esta claro, que aun sin activar esta opcion, debia descargar los
 nuevos mensajes al dar clic en el boton Enviar/Recibir, pero no lo hace.
 Tambien veo que mensajes que habia eliminado desde Evolution aun estan
 ahi cuando abro el buzon con otro cliente (Microsoft Outlook) y la
 preocupacion mayor es que pierda correos importantes.

Si te preocupa no perder correos mejor cambiar de servidor a cualquier 
otro que no sea Exchange :-P

Ahora hablando en serio, puede ser un bug. En Ubuntu tienen abierto uno 
parecido:

***
evoultion show that it success to connect to exchange but it can't open 
the mail folders
https://bugs.launchpad.net/ubuntu/+source/evolution-exchange/+bug/606822
***

Y en el BTS de Debian, Evolution tiene unos cuantos (360) informes 
abiertos:

http://packages.qa.debian.org/e/evolution.html

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.2010.08.15.15.32...@gmail.com



Re: Consulta sobre samba

2010-08-15 Thread Abejo
El Sábado 14 Agosto 2010 10:22:01 Cristian Mitchell escribió:
 El día 13 de agosto de 2010 17:02, Abejo the.ab...@yahoo.com.ar escribió:
  Hola gente, el tema es el siguiente, tengo un server donde tengo
  instalado samba, y estoy usando un sistema (bejerman) que guarda las
  bases de dato (access) en una carpeta compartida sobre este servidor. El
  problema es que desde hace un par de días al cerrar el sistema quedan
  las bases abiertas y tengo que dar de baja y volver a levantar el samba
  para poder seguir trabajando, según el soporte del sistema es culpa del
  servidor, e insisten que lo migre a MS, lo que me llama la atención que
  esto solo lo hace en el sistema, los documentos los cierran y abren sin
  ningún problema. Alguien tiene alguna idea a que se puede deber esto?

 
 que significa que lo hace desde un par de dias?
 antes lo hacia?
 que paso desde el antes y el despues?
 los servicios tecnicos improvisados de todos estos siempre le echa la
 culpa a otro!
 lo mismo me paso con buenos aires software hace 20 dias
 despues de una actualizacion de ellos empeso a andar lento, y le echan
 la culpa a la red al server al linux,
 pero lo unico que cambio hera el el sistema de ellos, entonces?
 hasta que tuvieropn que aceptarlo
 OJO!!!
 dudo que sea el samba

El sistema suele sacar actualizaciones periódicas, lo que no te se resisar si 
esto comenzó después de una actualización o no, ya hay veces que lo hace una 
ves cada tanto, y otras lo hace 2 o 3 veces en el mismo día


--
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/201008151543.11793.the.ab...@yahoo.com.ar



Re: Consulta sobre samba

2010-08-15 Thread Abejo
El Sábado 14 Agosto 2010 13:17:15 Javier Argentina escribió:
 El 13/08/10, Abejo the.ab...@yahoo.com.ar escribió:
  Hola gente, el tema es el siguiente, tengo un server donde tengo
  instalado samba, y estoy usando un sistema (bejerman) que guarda las
  bases de dato (access) en una carpeta compartida sobre este servidor. El
  problema es que desde hace un par de días al cerrar el sistema quedan
  las bases abiertas y
 
 ¿Qué sistema cerrás, el servidor samba o los clientes desde terminales
 MS con Access?

Lo que cierran es el sistema, en las terminales (el sistema guarda las bases 
en formato access)

 
  tengo que dar de baja y volver a levantar el samba para poder seguir
 
 Eso, es porque para samba las conexiones siguen estando persistentes,
 hay algún tema de cierre de los accesos remotos que no está
 funcionando bien, ya sea porque windows no cierra la conexión como se
 debe, o tenés alguna pifia en la configuración del servidor.

exacto, ese es el problema, segun el seporte del sistema es problema del 
servidor

 
  trabajando, según el soporte del sistema es culpa del servidor, e
  insisten que
  lo migre a MS, lo que me llama la atención que esto solo lo hace en el
  sistema, los documentos los cierran y abren sin ningún problema.
 
 Más a favor de lo que te dije. Fijate la opción deadtime de smb.conf
 

pero la opción deadtime me cerraría la conexión con la terminal solo si la 
terminal no tiene ningún otro archivo abierto, o me liberaría el que archivo 
bloqueado?


--
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/201008151535.27155.the.ab...@yahoo.com.ar



OT. Salida de Tail -f /var/log/apache.log

2010-08-15 Thread ciracusa

Hola Lista.

Hoy estaba viendo la salida de tail -f /var/log/apache/access.log y vi esto:

164.77.174.105 - - [14/Aug/2010:15:25:03 -0300] 
\xf6\xbel\xc6\xc4Ac\xf4\xe2\x8d\x1b\x8cB\x1b\x15\x1a[\xe2\xcc\x0e\xae\x9d\xed\xff,\xe7P-/\xf8\x13!\xa3_(\xc1\xd2|#C\xfc\xecci\xe3%\xad0G3\xc1\xa8\xb4 
\x81\xce\xc3\xf0\\xc8\xdc\xf9TT\xc8\xde\xc1r$U\xebBYfS2\xe4\xe1\x8fAD\vr\xf8\xf7Ep\xa9\x13s\xe2\xae\xb2M\xa4 
400 343 - -


Alguien sabe que puede significar?

Muchas Gracias.

Saludos.


--
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/4c685d64.6040...@gmail.com



Re: OT. Salida de Tail -f /var/log/apache.log

2010-08-15 Thread AngelD
El Sun, 15 Aug 2010 18:34:28 -0300
ciracusa cirac...@gmail.com escribió:

 Hoy estaba viendo la salida de tail -f /var/log/apache/access.log y
 vi esto:
 
 164.77.174.105 - - [14/Aug/2010:15:25:03 -0300] 
 \xf6\xbel\xc6\xc4Ac\xf4\xe2\x8d\x1b\x8cB\x1b\x15\x1a[\xe2\xcc\x0e\xae\x9d\xed\xff,\xe7P-/\xf8\x13!\xa3_(\xc1\xd2|#C\xfc\xecci\xe3%\xad0G3\xc1\xa8\xb4
  
 \x81\xce\xc3\xf0\\xc8\xdc\xf9TT\xc8\xde\xc1r$U\xebBYfS2\xe4\xe1\x8fAD\vr\xf8\xf7Ep\xa9\x13s\xe2\xae\xb2M\xa4
  
 400 343 - -
 
 Alguien sabe que puede significar?

Suena a un ataque, ¿realizado con caracteres de [1]escape o
unicode?. Tiene pinta de ser una de estos.

Que vaya dirigido a tu persona, o sea indiscriminado es algo
que no puedo adivinar.

Saludos --- Angel

 [1]http://capec.mitre.org/data/definitions/78.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/20100816001857.16d29...@x32



Re: Consulta sobre samba

2010-08-15 Thread JAP

El 15/08/10 15:35, Abejo escribió:


pero la opción deadtime me cerraría la conexión con la terminal solo si la
terminal no tiene ningún otro archivo abierto, o me liberaría el que archivo
bloqueado?


   


man smb.conf

deadtime (G)
   The value of the parameter (a decimal integer) represents the number
   of minutes of inactivity before a connection is considered dead, and
   it is disconnected. The deadtime only takes effect if the number of
   open files is zero.

   This is useful to stop a server's resources being exhausted by a
   large number of inactive connections.

   Most clients have an auto-reconnect feature when a connection is
   broken so in most cases this parameter should be transparent to users.

   Using this parameter with a timeout of a few minutes is recommended
   for most systems.

   A deadtime of zero indicates that no auto-disconnection should be
   performed.

   Default: /deadtime/ = 0

   Example: /deadtime/ = 15





Estruturação de rede.

2010-08-15 Thread Marcos Antonio Rufino do Egito
Bom dia deb...@s!

Desculpem se talvez minha duvida não seja pertinente a esta lista.

Seguinte, atualmente tenho em minha casa um lik adsl que estou dividindo
alguns vizinho (o ajuda a pagar conta hehe), ai aproveitei para aprender
também visto que tenho um rede, nada melhor para usar esta para fins também
de estudo.

Atualmente estar assim:

Modem ADSL roteado--- porta  1 do Roteador WIFI pacific, sai da porta 2--
porta 1 switch, sai da porta 2-- AP Greatek que distribui por uma antena
omini 12 dbi, as portas 3,4 e 5 estão distribuindo via cabo, a classe de ip
estar C 192.168.1.* sendo distribuida pelo modem ADSL, não estar com
controle de nada.

Primeiro o pacific fazia o PPPOE, porem um dia deu a maior traveira e ai
rotiei o modem, deixei o pacific como switch, o greatek pus a pouco, tentei
por do ADSL para o switch e do switch para os outros mais não funcionou.

Como pretendo deixar tudo: ADSL -- Servidor (que disca pppoE, DHCP, LAMP,
Squid, Banda, Cache) -- switch -- antena, Pc's e pacific.
Minha ideia é por 3 placas de redes no Servidor,  eth0 pegar a conexão
recebendo IP do ADSL, eth1 distribuir para antena, eth2 distribuir para o
switch, tudo na faixa de ip classe A 10.0.0.*, MASC 255.0.0.0, deixando a
faixa de 1 a 10 para servidor, antena ... e de 11 a 25 para os Pc's.
Um amigo surgeril o BFW, porem quero fazer tudo com Debian.

Enquanto não tenho a maquina para inplantar o servidor, pensi deixar assim:
ADSL -- Pacific (que disca pppoE, DHCP) -- switch -- antena, Pc's e
pacific.
Faixa de ip classe A 10.0.0.*, MASC 255.0.0.0, deixando a faixa de 1 a 10
para servidor, antena ... e de 11 a 25 para os Pc's.

Bom que puder opnar com criticas surgetões, esperiencias ... Agradeço.

Abraço!

-- 
Marcos Egito
GNU/Linux User #491326
Estudante de Sistema da informação 1º Período.
Funcionário CRC-Marista (Centro de Re-condicionamento de computadores)
Fotos www.flickr.com/photos/maregito
081-8762 - 4378 celular OI, 081-3456 - 9739 casa
mareg...@gmail.com
Skype maregito, MSN mareg...@oi.com.br, Gtalk mareg...@gmail.com

Uma vida não basta apenas ser vivida: também precisa ser sonhada.
(Mario Quintana)


crash: nexuiz 2.5.2 e debian squeeze

2010-08-15 Thread Andre Felipe Machado
Olá,
Estou tentando rodar o nexuiz-2.5.2 dos repositórios, no meu note [0] sobre 
Debian
Squeeze e consistentemente entra em APARENTE rápido loop de reiniciar X após
alguns minutos de tal forma que é mais fácil desligar a máquina.
Não sei se é o jogo ou o driver de vídeo Intel.
Como colher dados suficientes para enviar um bom bug report?
Obrigado.
André Felipe

[0] http://wiki.debian.org/InstallingDebianOn/Positivo/Aureum4200


[OFF-TOPIC] DNS em uma localidade e Mail Server em outra

2010-08-15 Thread Harlei Liguori Marcelino
Amigos,

esta é mais uma dúvida técnica do que sobre debian exatamente, mas, se
puderem me ajudar eu agradeço. Tenho uma empresa que é responsável pelo meu
domínio, onde fica o DNS que resolve o dominio da minha empresa e onde tem a
página. Eu estava querendo configurar um servidor postfix para criar contas
de e-mail para a empresa, porém, não sei se é possivel fazer isso apenas
mudando MX no DNS da empresa contratada ou algo parecido no Bind ou se
preciso cancelar este contrato e pegar o DNS e Web Server para ai sim ter
tudo no mesmo ambiente e assim fazer funcionar o mail server. Será quem
alguém que tenha experiência em um cenário parecido pode me dizer como
proceder?

agradeço desde já

att

Harlei


Configurar apache para rodar CGI

2010-08-15 Thread Keppler

Olá galera.
Estou tendo dificuldades em configurar meu servidor Apache para rodar 
script CGI.
Li alguns tutoriais, inclusive na própria documentação do Apache, mas tô 
fazendo algo errado que não funciona.


Quando eu ponho no meu mozilla o endereço: 
http://192.168.1.252/cgi-bin/script.cgi


É aparece o erro:

Internal Server Error

The server encountered an internal error or misconfiguration and was 
unable to complete your request.



No httpd.conf eu inclusive cheguei a criar uma diretriz:
Directory /var/www/htdocs/cgi-bin
AddHandler cgi-script .cgi .sh .pl
Options +ExecCGI
Order allow,deny
Allow from all
/Directory

Mas, enfim, não funcionou!

Alguém sabe o que poderia estar errado?


--
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/4c68601e.6080...@gmail.com



túnel HTTPS

2010-08-15 Thread Rafael Moraes
Olá pessoal,

estou precisando criar um túnel aonde eu possa jogar todo meu tráfego para
um servidor da minha preferência via https.

Ou seja, quero criar um túnel HTTPS. Alguém saberia indicar uma boa
ferramenta para isso?

Existem as opções de criar túnel ICMP ou SSH, porém particularmente para
este caso estariam fora de questão...

Abraços


Re: Configurar apache para rodar CGI

2010-08-15 Thread Thiago Paulino
Olá,


Cara verifique se existe algum arquivo .htaccess no diretório em questão e a
permissão dos arquivos tb ( coloque 644 )

[]'s



Em 15 de agosto de 2010 18:46, Keppler jurgenkepp...@gmail.com escreveu:

 Olá galera.
 Estou tendo dificuldades em configurar meu servidor Apache para rodar
 script CGI.
 Li alguns tutoriais, inclusive na própria documentação do Apache, mas tô
 fazendo algo errado que não funciona.

 Quando eu ponho no meu mozilla o endereço:
 http://192.168.1.252/cgi-bin/script.cgi

 É aparece o erro:

 Internal Server Error

 The server encountered an internal error or misconfiguration and was unable
 to complete your request.


 No httpd.conf eu inclusive cheguei a criar uma diretriz:
 Directory /var/www/htdocs/cgi-bin
 AddHandler cgi-script .cgi .sh .pl
 Options +ExecCGI
 Order allow,deny
 Allow from all
 /Directory

 Mas, enfim, não funcionou!

 Alguém sabe o que poderia estar errado?


 --
 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/4c68601e.6080...@gmail.com




Re: [OFF-TOPIC] DNS em uma localidade e Mail Server em outra

2010-08-15 Thread Henrique de Moraes Holschuh
On Sun, 15 Aug 2010, Harlei Liguori Marcelino wrote:
 puderem me ajudar eu agradeço. Tenho uma empresa que é responsável pelo meu
 domínio, onde fica o DNS que resolve o dominio da minha empresa e onde tem a
 página. Eu estava querendo configurar um servidor postfix para criar contas
 de e-mail para a empresa, porém, não sei se é possivel fazer isso apenas
 mudando MX no DNS da empresa contratada ou algo parecido no Bind ou se
 preciso cancelar este contrato e pegar o DNS e Web Server para ai sim ter
 tudo no mesmo ambiente e assim fazer funcionar o mail server. Será quem
 alguém que tenha experiência em um cenário parecido pode me dizer como
 proceder?

Por favor, compre o livro do postfix e dê uma lida, ele explica a base de
funcionamento dos MTAs.  De preferência, faça o tutorial sobre DNS do NIC.br
ou algum outro (ou melhor ainda, compre o livro DNS e BIND da O'Reilly e
leia inteiro), você precisa entender _exatamente_ como o DNS funciona se
quiser fazer um bom trabalho.

Para responder sua resposta: você só precisa utilizar os registros MX da
forma correta.  O local onde está hospedado o DNS não importa, desde que
permita alterar os registros MX.  A pergunta nem mesmo faz sentido, por isso
recomendo veementemente que estude mais um pouco antes de tentar por MTA no
ar para alguma empresa.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
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/20100816011326.ga13...@khazad-dum.debian.net



Debian Squeeze com php 5.2

2010-08-15 Thread Alexandre Pereira Bühler

 Bom dia,
É possível instalar o Debian squeeze com php 5.2.6 do lenny?
Preciso usar o Zend optimizer e ele somente funciona com o php 5.2.
Obrigado

--
Alexandre Pereira Bühler
Técnico Eletroeletrônica - Senai - MG
Linux User: 397.546
Colunista: www.delphisophp.com
Owner: http://br.groups.yahoo.com/group/freepascal/
Liberdade é essencial. Use GNU/Linux.
Legalize os softwares de sua empresa

Simão   Bühler Ltda (Infobrindes)
Instalação, manutenção e venda de servidores GNU/Linux.
http://www.simaoebuhler.com.br
Hardware acesse, veja e tenha produtos com qualidade, garantia e nota fiscal.
http://www.simaoebuhler.com.br/loja
alexan...@simaoebuhler.com.br
Telefone: (41) 3538-5428

Infobrindes (Simão   Bühler Ltda)
Brindes e material promocional.
http://www.infobrindes.com.br
alexan...@infobrindes.com.br
Telefone: (41) 3532-5428


--
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/4c68b17a.5080...@simaoebuhler.com.br



Why is troubleshooting Linux so hard?

2010-08-15 Thread Borden Rhodes
Good morning,

I'm going to list some of the frustrations I've been having with 
troubleshooting Linux's quirks, crashes and problems in hopes that someone may 
be able to help me (and the community) become better bug reporters and 
troubleshooters.  I'll make comparisons to Windows only because I am used to 
fixing the same problems in Windows a certain way - maybe there are analogies 
in Linux or maybe I'm approaching these problems the wrong way.  I'm not 
trying to troll or flame-bait.  I'm using Debian Squeeze, by the way.

1) Is there a way to apply debugging symbols retroactively to a dump? A few 
times I've had Linux crash on me and spit out a debugging dump.  I do my best 
to install debugging symbols for all 1400 packages I have on my system (when I 
can find them) but this requires a huge amount of hard disk space and, 
invariably, the odd dump is missing symbols.  Recreating the crash isn't 
always possible.  Is there (or could someone invent) a way to save a dump 
without the symbols, download the symbol tables and then regenerate the dump 
with the symbols so it's useful to developers?

2) I find that the logs contain lots of facts but not a whole lot of useful 
information (if any) when something goes wrong.  I've had KDE go black-screen 
on me, for example, and force a hard reboot but there's no mention whatsoever 
(that I can find) in xorg.log, kdm.log, messages, syslog or dmesg.  Windows 
seems to be fairly good at making its last breath a stop error before it dies 
which means when I get back into the system (or when I'm looking at a client's 
computer days after) I can find that stop error, look it up and figure out what 
went wrong.  Are Linux's logs designed for troubleshooting or only for 
monitoring?  Are proper troubleshooting logs kept somewhere else or in a 
special file? Is there a guide on how to read Linux's logs so I can make sense 
out of them like I can Windows' logs?

3) Linux needs better troubleshooting and recovery systems.  The answer I 
usually get when I get an unexplained error is to run the program inside a dbg 
or with valgrind.  I'm not convinced that this is a practical way to 
troubleshoot serious problems (like kernel panics) and it requires a certain 
amount of foresight that a problem will occur.  According to this logic, the 
only way that someone can produce useful reports and feedback (or even get a 
clue as to what happened) on the day-to-day crashes and bugs is to start Linux 
and all of its sub process inside valgrind and/or gdb.  This is obviously not 
an intended use of these programs.

This is what would make it easier (at least for me) to troubleshoot Linux 
problems.  If these features exist, please let me know so I can start using 
them (they should probably be documented in the man pages too).

1) Logs need to have useful information.  When I look at a client's Windows 
box days after they report something going wrong, the logs tell me at what 
time the problem happened, which process failed and what error it threw just 
before it blew.  I can look those error codes up and (usually) fix the problem 
within an hour.  When something dies on Linux, the log entry (assuming it even 
makes one) only tells me how many seconds into that particular boot the 
problem occurred. I've never been able to go back a few days later and find the 
log entries related to a particular crash - maybe because they've been purged.  
I know that the Linux tradition is to identify processes only by ID but surely 
there must be a way that it can print a file or package name or anything more 
useful than memory addresses and registers so at least I know where to start 
pointing fingers.  Several people have told me that it's pointless trying to 
debug a dump in the logs.  What's the point of dumping it in the first place if 
nobody can read it?

2) I wish error logs had simple codes or messages (which have documentation) 
like Windows Stop errors so I can look them up and figure out why something 
died.  Often times I try to Google the whole error message and either get 
directed to source code or totally irrelevant postings (since it seems that 
many messages are reused for all kinds of problems).  For example, 'segfault' 
gets thrown so much that it only tells you that the program crashed - 
something I already know.

3) Logs need better organisation.  I'm looking at the most recent dump and 
each message is printed on its own line.  The problem is that interspersed in 
those individual lines may be other entries from other events not related to 
the problem in question.  When I look at a Windows log, each event is entirely 
contained in one entry.  It doesn't make one entry for Stop, another entry 
for the Stop number, another 4 entries for the parameters and more entries for 
whatever other information usually is in them - whilst having other entries 
amid the list with what other things were doing at the time.  I find Linux logs 
very frustrating to read for that 

Re: Why is troubleshooting Linux so hard?

2010-08-15 Thread Kousik Maiti
My suggestion, can't we create troubleshooting database??
On Sun, Aug 15, 2010 at 11:30 AM, Borden Rhodes j...@bordenrhodes.comwrote:

 Good morning,

 I'm going to list some of the frustrations I've been having with
 troubleshooting Linux's quirks, crashes and problems in hopes that someone
 may
 be able to help me (and the community) become better bug reporters and
 troubleshooters.  I'll make comparisons to Windows only because I am used
 to
 fixing the same problems in Windows a certain way - maybe there are
 analogies
 in Linux or maybe I'm approaching these problems the wrong way.  I'm not
 trying to troll or flame-bait.  I'm using Debian Squeeze, by the way.

 1) Is there a way to apply debugging symbols retroactively to a dump? A few
 times I've had Linux crash on me and spit out a debugging dump.  I do my
 best
 to install debugging symbols for all 1400 packages I have on my system
 (when I
 can find them) but this requires a huge amount of hard disk space and,
 invariably, the odd dump is missing symbols.  Recreating the crash isn't
 always possible.  Is there (or could someone invent) a way to save a dump
 without the symbols, download the symbol tables and then regenerate the
 dump
 with the symbols so it's useful to developers?

 2) I find that the logs contain lots of facts but not a whole lot of useful
 information (if any) when something goes wrong.  I've had KDE go
 black-screen
 on me, for example, and force a hard reboot but there's no mention
 whatsoever
 (that I can find) in xorg.log, kdm.log, messages, syslog or dmesg.  Windows
 seems to be fairly good at making its last breath a stop error before it
 dies
 which means when I get back into the system (or when I'm looking at a
 client's
 computer days after) I can find that stop error, look it up and figure out
 what
 went wrong.  Are Linux's logs designed for troubleshooting or only for
 monitoring?  Are proper troubleshooting logs kept somewhere else or in a
 special file? Is there a guide on how to read Linux's logs so I can make
 sense
 out of them like I can Windows' logs?

 3) Linux needs better troubleshooting and recovery systems.  The answer I
 usually get when I get an unexplained error is to run the program inside a
 dbg
 or with valgrind.  I'm not convinced that this is a practical way to
 troubleshoot serious problems (like kernel panics) and it requires a
 certain
 amount of foresight that a problem will occur.  According to this logic,
 the
 only way that someone can produce useful reports and feedback (or even get
 a
 clue as to what happened) on the day-to-day crashes and bugs is to start
 Linux
 and all of its sub process inside valgrind and/or gdb.  This is obviously
 not
 an intended use of these programs.

 This is what would make it easier (at least for me) to troubleshoot Linux
 problems.  If these features exist, please let me know so I can start using
 them (they should probably be documented in the man pages too).

 1) Logs need to have useful information.  When I look at a client's Windows
 box days after they report something going wrong, the logs tell me at what
 time the problem happened, which process failed and what error it threw
 just
 before it blew.  I can look those error codes up and (usually) fix the
 problem
 within an hour.  When something dies on Linux, the log entry (assuming it
 even
 makes one) only tells me how many seconds into that particular boot the
 problem occurred. I've never been able to go back a few days later and find
 the
 log entries related to a particular crash - maybe because they've been
 purged.
 I know that the Linux tradition is to identify processes only by ID but
 surely
 there must be a way that it can print a file or package name or anything
 more
 useful than memory addresses and registers so at least I know where to
 start
 pointing fingers.  Several people have told me that it's pointless trying
 to
 debug a dump in the logs.  What's the point of dumping it in the first
 place if
 nobody can read it?

 2) I wish error logs had simple codes or messages (which have
 documentation)
 like Windows Stop errors so I can look them up and figure out why something
 died.  Often times I try to Google the whole error message and either get
 directed to source code or totally irrelevant postings (since it seems that
 many messages are reused for all kinds of problems).  For example,
 'segfault'
 gets thrown so much that it only tells you that the program crashed -
 something I already know.

 3) Logs need better organisation.  I'm looking at the most recent dump and
 each message is printed on its own line.  The problem is that interspersed
 in
 those individual lines may be other entries from other events not related
 to
 the problem in question.  When I look at a Windows log, each event is
 entirely
 contained in one entry.  It doesn't make one entry for Stop, another
 entry
 for the Stop number, another 4 entries for the parameters and more entries
 for
 whatever other 

Re: Why is troubleshooting Linux so hard?

2010-08-15 Thread John A. Sullivan III
On Sun, 2010-08-15 at 02:00 -0400, Borden Rhodes wrote:
 Good morning,
 
 I'm going to list some of the frustrations I've been having with 
 troubleshooting Linux's quirks, crashes and problems in hopes that someone 
 may 
 be able to help me (and the community) become better bug reporters and 
 troubleshooters.snip
Very interesting and helpful post.  Thank you.  I've snipped most of it
out for the sake of those for whom long emails are a problem or
expensive.

As someone without deep troubleshooting experience, I'll be curious to
see the responses.  The only thing I can help with is the old log
information.  Linux usually rotates the logs.  As I'd imagine you've
seen, you can find compressed versions of the logs, e.g., messages.1,
message.2.gz - 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/1281853909.24518.43.ca...@denise.theartistscloset.com



Re: Corrupted FS every 50 checks

2010-08-15 Thread Bob Proulx
T o n g wrote:
 Bob Proulx wrote:
  Note that if it is set to no on a remote server that you do not have
  console access to then it is possible to get into a state where the
  machine will not reboot on its own because it will be waiting for
  console access to get past the fsck questions.
 
 So remote servers mostly set FSCKFIX to yes?

Most of the time there aren't any problems.  This is something that
only becomes visible when there is a problem that triggers the
interactive fsck.  So actually I think that most of the machines have
the default which is no.  And since problems are rare it isn't a big
deal.  But I guarentee you that the admin will change it after the
second time that it burns them!  :-)

I was burned once by this and so now I always change it.  I find it
hard to believe that it isn't the default.  But it is easily locally
customized.

Bob


signature.asc
Description: Digital signature


Re: SMART configuration

2010-08-15 Thread Bob Proulx
T o n g wrote:
 I noticed that SMART configuration has changed dramatically since last 
 time I looked into it. 
 
 Anyone care to explain how to configure SMART for a simple task as 
 regular selftests on sda please?

Edit /etc/smartd.conf, read the DEVICESCAN comment and then comment
out the first DEVICESCAN line.

  # Most users should comment out DEVICESCAN and explicitly
  # list the devices that they wish to monitor.
  #DEVICESCAN -d removable -n standby ...

Then scroll down to the first hda line, copy it, uncomment it, change
it from hda to sda.  The comments there explain:

  # 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.
  /dev/sda -a -d sat -o on -S on -s (S/../.././02|L/../../6/03)

(Or use whatever schedule seems reasonable to you.  This one seems
pretty good to me.)

Edit /etc/default/smartmontools and set:

  start_smartd=yes

Then restart the daemon.

  # /etc/init.d/smartmontools restart

Bob


signature.asc
Description: Digital signature


wicd refuses to start

2010-08-15 Thread Liviu Andronic
Dear all
After some recent updates, I assume, wicd strangely refuses to start. 
li...@debian-liv:~$ wicd-gtk
Has notifications support True
Loading...
Connecting to daemon...
Connected.
Traceback (most recent call last):
  File /usr/share/wicd/gtk/wicd-client.py, line 1033, in module
main(sys.argv)
  File /usr/share/wicd/gtk/wicd-client.py, line 91, in wrapper
return func(*args, **kwargs)
  File /usr/share/wicd/gtk/wicd-client.py, line 1005, in main
tray_icon = TrayIcon(animate, displaytray=display_app)
  File /usr/share/wicd/gtk/wicd-client.py, line 139, in __init__
self.icon_info = self.TrayConnectionInfo(self, self.tr, animate)
  File /usr/share/wicd/gtk/wicd-client.py, line 198, in __init__
self.update_tray_icon()
  File /usr/share/wicd/gtk/wicd-client.py, line 91, in wrapper
return func(*args, **kwargs)
  File /usr/share/wicd/gtk/wicd-client.py, line 349, in
update_tray_icon self.set_wireless_state(info)
  File /usr/share/wicd/gtk/wicd-client.py, line 91, in wrapper
return func(*args, **kwargs)
  File /usr/share/wicd/gtk/wicd-client.py, line 289, in
set_wireless_state 'network-wireless')
  File /usr/share/wicd/gtk/wicd-client.py, line 233, in
_show_notification self._last_bubble.show()
glib.GError: Unable to connect to server

However, it starts just fine with 
li...@debian-liv:~$ wicd-gtk --no-tray
Has notifications support True
Loading...
Connecting to daemon...
Connected.
/usr/share/wicd/gtk/gui.py:152: GtkWarning: gtk_toolbar_set_icon_size:
assertion `icon_size != GTK_ICON_SIZE_INVALID' failed self.wTree =
gtk.glade.XML(gladefile)

or from root
debian-liv:/home/liviu# wicd-client 
Has notifications support True
Loading...
Connecting to daemon...
Connected.
displaytray True
Done loading.

I'm using wicd 1.7.0 on an outdated Debian squeeze. 

Any ideas on what's going wrong? Regards
Liviu


-- 
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/20100815075229.54f58...@debian-liv



Re: building 2.6.35

2010-08-15 Thread Andrei Popescu
On Jo, 12 aug 10, 11:10:16, Arthur Machlas wrote:
 
 Isn't there a risk in granting user access to src, adm, and such if
 ever your user account is compromised? My uninformed opinion is that
 it's a question of relative risk; the 'risk' involved in building
 kernels as root, versus the risk involved in giving access to these
 dirs and tools should your account become compromised.

If that user account is used to gain root privileges then it doesn't 
really matter, it's not very difficult to trick the user to give out the 
root password (something like a fake 'su' or 'sudo' prompt).

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: Why is troubleshooting Linux so hard?

2010-08-15 Thread Robert Holtzman
On Sun, Aug 15, 2010 at 02:00:52AM -0400, Borden Rhodes wrote:
 Good morning,
 
 I'm going to list some of the frustrations I've been having with 
 troubleshooting Linux's quirks, crashes and problems in hopes that someone 
 may 
 be able to help me (and the community) become better bug reporters and 
 troubleshooters.  I'll make comparisons to Windows only because I am used to 
 fixing the same problems in Windows a certain way - maybe there are analogies 
 in Linux or maybe I'm approaching these problems the wrong way.  I'm not 
 trying to troll or flame-bait.  I'm using Debian Squeeze, by the way.

  ..snip..

That's been my main complaint about Linux ever since I started using it
10 year or more ago (Redhat 6.0). 

-- 
Bob Holtzman
Key ID: 8D549279
If you think you're getting free lunch,
 check the price of the beer


signature.asc
Description: Digital signature


Re: Udev rule for external hard-drive

2010-08-15 Thread Andrei Popescu
On Ma, 10 aug 10, 09:48:35, Brian Troutwine wrote:
 
 I'd like to give the volume a static name so that I can reliably point
 autofs at it. While I realize that I could simply use the entries in
 /dev/disk, I find it difficult to maintain the mental mapping of names
 to device, especially at a glance.

Maybe /dev/disk/by-label/ is good enough.

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: Huawei E220 on NetworkManager

2010-08-15 Thread Andrei Popescu
On Mi, 11 aug 10, 10:28:28, Joao Ferreira gmail wrote:
 Hello,
 
 has anyone out there been able to get NetworkManager to bring up a 3G
 connection on a Huawei E220 (portuguese operator Vodafone).
 
 I have never been able to achieve this. Now I migrated from Lenny to
 Squeeze (fresh install) and still no luck.
 
 I tried a Globetroter 3G modem (portuguese operator TMN) and it works
 just fine on Network Manager...
 
 anyone had any luck with Huawei E220 on Network Manager ?

I haven't tried Network Manager (I prefer wicd), but it works fine with 
the software from https://forge.betavine.net/frs/?group_id=12

Unfortunately the newer version requires NM :( but might be more 
suitable for you.

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: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Merciadri Luca
Camaleón wrote:
 On Sat, 14 Aug 2010 21:00:10 +0200, Merciadri Luca wrote:

   

   

 (...)

   

 (...)

   

 The above path... not sure if it's right.

 Try by manually forcing the full path to java bin:

 ***
 ./eclipse -debug -vm 
 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java
 ***
   
Thanks for the trick. It first gives a box `No exit data available', then

==
Start VM: /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/merciadriluca/eclipse/eclipse
-name Eclipse
--launcher.library
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503/eclipse_1307.so
-startup
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 158007
-product org.eclipse.epp.package.java.product
-debug
-vm /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
==

then

==
JVM terminated. Exit code=1
/usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/merciadriluca/eclipse/eclipse
-name Eclipse
--launcher.library
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503/eclipse_1307.so
-startup
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 158007
-product org.eclipse.epp.package.java.product
-debug
-vm /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar
/home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

==

(quite the same as before).
 Also, run which java and put here the output
==
$ which java
/usr/local/bin/java

merciadril...@merciadriluca-station:/usr/local/bin$ ls -al | grep java
lrwxrwxrwx  1 root staff 59 2010-08-14 15:58 java -
/usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/java
==

I can't understand why it does not work.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: Corrupted FS every 50 checks

2010-08-15 Thread Merciadri Luca
Hanspeter Spalinger wrote:
 On 08/14/2010 09:01 PM, Merciadri Luca wrote:
  Hi,

  I have the fs' checking period set to 50 mounts for now some years. The
  problem is that I always get errors when e2fsck verifies the fs, and
  always on the same: /dev/sdc5. Well, this is where I have all my docs,
  my university stuff, and this is even more annoying. I could do backups,
  but I can't understand why this filesystem is problematic, because I
  don't use it often, at least these times. I always have errors about the
  AucTeX files. Well, auctex is simply an emacs extension for LaTeX, and I
  can't understand why some specific files always cause troubles. I don't
  always get the same errors. This time, it was mainly *things like error
  filesystem Inode has EXTENTS_FL flag set, but not too many.*
  **
  *1) Why are they happening? My disk is not old. (/dev/sdc5 is on another
  disk than the /etc, etc.)*
  *2) Should I think about buying another hdd? I tried with the hdd life
  tools (I can't remember their names) which are bundled with Debian, but
  they don't show any failing thing (they have quite the same score as
  other hdds in my computer).*
  ***

  Thanks.
  *

 Hi,
 Do you actualy FIX those errors? Afaik the fsck at startup does not fix
 all errors (it plays safe). Try run fsck manualy (but make a backup
 first and read the man-page).
Yes, I always fix them. If necessary, I fix them manually.
 I assume you use the other partitions more often, with no error, so i
 don't think your problem is hardware related.
Huh? I can't understand that. Would you mean that when a partition is
not used often, it is more error-prone (subject to errors)?

Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: Corrupted FS every 50 checks

2010-08-15 Thread Merciadri Luca
Bob Proulx wrote:
 Hanspeter Spalinger wrote:
   
 Merciadri Luca wrote:
 
 problem is that I always get errors when e2fsck verifies the fs, and
 always on the same: /dev/sdc5.  ...
 but I can't understand why this filesystem is problematic, because I
 don't use it often, at least these times. I always have errors about the
   
 Do you actualy FIX those errors? Afaik the fsck at startup does not fix
 all errors (it plays safe). Try run fsck manualy (but make a backup
 first and read the man-page).
 

 The control for this is in /etc/default/rcS with the FSCKFIX
 variable.  If it is set to no then no fix happens.  If it is set to
 yes then at boot time fsck is enabled to automatically fix what it
 can.

 In /etc/default/rcS file:
   FSCKFIX=yes

 Note that if it is set to no on a remote server that you do not have
 console access to then it is possible to get into a state where the
 machine will not reboot on its own because it will be waiting for
 console access to get past the fsck questions.

 These are documented in the rcS man page.

   $ man rcS

FSCKFIX
   When the root and all other file systems are checked,
   fsck is invoked with the -a option which means
   autorepair.  If there are major inconsistencies then
   the fsck process will bail out.  The system will print a
   message asking the administrator to repair the file
   system manually and will present a root shell prompt
   (actually a sulogin prompt) on the console.  Setting
   this option to yes causes the fsck commands to be run
   with the -y option instead of the -a option.  This will
   tell fsck always to repair the file systems without
   asking for permission.
   
I just modified /etc/default/rcS consequently. (`FSCKFIX' was set to `no'.)
 I assume you use the other partitions more often, with no error, so i
 don't think your problem is hardware related.
 

 A good diagnosis!  But I would still look to be sure.  :-)
   


-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: Corrupted FS every 50 checks

2010-08-15 Thread Merciadri Luca
Bob Proulx wrote:
 Does your disk support S.M.A.R.T.?

   http://en.wikipedia.org/wiki/S.M.A.R.T.

 Try it and see if the disk drive reports any physical errors.

   $ sudo apt-get install smartmontools

 Here are some example uses:

   $ sudo smartctl -i /dev/sda
   SMART support is: Available - device has SMART capability.
   SMART support is: Enabled

 If smart is available but disabled then you would need to enable it
 before making use of it.

   $ sudo smartctl -s on /dev/sda

 Then check the disk health status.

   $ sudo smartctl -H /dev/sda
   SMART overall-health self-assessment test result: PASSED
   
That's what I was speaking about (smartmontools). Well, no problem, as I
said:

==
# smartctl -H /dev/sdc5
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
==

 You can manually run a selftest like this:

   $ sudo smartctl -t short /dev/sda

 Then wait a couple of minutes for the test to complete and then
 observe the results.

   $ sudo smartctl -l selftest /dev/sda
   
==
# smartctl -l selftest /dev/sdc5
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Short offline   Completed without error   00%
13106 -
==

 I recommend setting up automatic regular selftests by configuring
 smartmontools to run them regularly.
   
I'll make it.
 Hopefully your disk is okay and not reporting physical errors.
   
Yes. But I even ran a longer test months before, and it reported no
error. Weird.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.




signature.asc
Description: OpenPGP digital signature


Re: Corrupted FS every 50 checks

2010-08-15 Thread Merciadri Luca
Henrique de Moraes Holschuh wrote:
 On Sat, 14 Aug 2010, Merciadri Luca wrote:
   
 always on the same: /dev/sdc5. Well, this is where I have all my docs,
 my university stuff, and this is even more annoying. I could do backups,
 

 I sure hope you *DID* extensive backups.  Often.  And stored some of
 them for permanent archival.
   
:)
 but I can't understand why this filesystem is problematic, because I
 

 The typical answer is: because it is always getting corrupted again.
   
But why again?
 always get the same errors. This time, it was mainly *things like error
 filesystem Inode has EXTENTS_FL flag set, but not too many.*
 

 This could mean you've managed to messing with an ext4 filesystem as if
 it were ext3.  That won't corrupt file data, but can cause lots of other
 problems, and could cause data loss if you manage to confuse the kernel
 and the fsck tools enough.  With some luck, it will end up in lost+found
 after the proper fsck.

 I sure hope that's what is happening.
   
Well, I never modify things like the fs structure type, such as ext3 or
ext4. Where could I have modified this? And why does it often happen to
the same files?
 *2) Should I think about buying another hdd? I tried with the hdd life
 

 You should do a 24H memtest86 marathon on that box.
I did it many months ago for another issue, and it went okay.
  And you should make
 sure you're *always* using that filesystem as ext4, since you apparently
 have a part of it using ext4 features.

 If it is a hardware problem, it is a strange one... it should be messing
 with the entire disk, not just a set of files in the same partition. It
 can't be bad magnetic media, as that causes sector read errors, not
 corruption.

 I hope this answer helps you.  I won't be able to help you further on this.
 Maybe someone else can (or has a better idea of what the problem could be).
   
Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Replacing an HDD: will it be labeled as before?

2010-08-15 Thread Merciadri Luca
Hi,

I would like to replace one of my HDDs by another one (a bigger one).
Say that this is /dev/sdc. Then, its structure is defined like this:

/dev/sdc1 (extended)
/dev/sdc5 (ext3)

where

/dev/sdc5 is mounted as my home in /etc/fstab:

==
# cat /etc/fstab | grep merciadriluca
/dev/sdc5   /home/merciadriluca ext3 errors=remount-ro 0 1
==

Say now that I manage to copy my home to the new HDD (in ext3) which
will replace the old one. If I physically put a new HDD at the place of
the old one, will I encounter issues? Everything is done according to
/dev/, so, no UUIDs, and there should be no problem. But will it be set
as /dev/sdc5 automatically? (Sorry for my noobness.)

Thanks,

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: building 2.6.35

2010-08-15 Thread Angus Hedger
Hey.

On Sun, Aug 15, 2010 at 1:29 AM, Stephen Powell zlinux...@wowway.com wrote:
snippy

 I don't think that this is a bug.  I think you're trying to mix and match
 two different ways of doing things.  There are two basic ways of creating
 an out-of-kernel-source-tree module from source: (1) install the kernel
 headers and compile the out-of-kernel-source-tree module from source
 using the kernel headers, and (2) if you have the whole kernel source tree
 installed, compile using the kernel source.  What you're doing is creating
 a kernel header package from the kernel source and then using method (1),
 when you should be using method (2).  I spent the better part of the day
 today playing around with this.  Perhaps the results of my experiment
 will prove instructive in some way.

That makes scene I suppose, shouldn’t need headers if you have the
whole source, I shall have to-do some research into how to build out
of source tree modules against the main source. But at the same time,
with the kernel headers installed, it should build against them,
shouldn’t it? And without fixing that symlink I cant build the vbox
modules via DKMS and the blobs installer fails :/

snippy

 The moral of the story is that you don't need (or shouldn't need)
 kernel header packages if you have the whole kernel source code
 installed.  Note that I didn't use module-assistant or kernel headers.

 --
  .''`.     Stephen Powell
  : :'  :
  `. `'`
   `-


Cheers!

Angus.


--
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/aanlktimwah3fsrwsqygfn1aeppyw8k=sqfjlcszzd...@mail.gmail.com



Re: building 2.6.35

2010-08-15 Thread Angus Hedger
Hey,

Sorry for the double, but forgot something!

On Sun, Aug 15, 2010 at 1:29 AM, Stephen Powell zlinux...@wowway.com wrote:
 snippy
 $ make-kpkg --append-to-version -custom5-686 --revision 2.6.32-18 \
   --initrd --rootcmd fakeroot kernel_image modules_image

Quick question, is there an advantage to building a modules_image .deb
rather than having it build into the kernel?

snippy

 --
  .''`.     Stephen Powell
  : :'  :
  `. `'`
   `-

Regards,

Angus


--
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/aanlkti=6puwpbzgwtocfg_nuibmkujgnklvgwwkvb...@mail.gmail.com



Re: Replacing an HDD: will it be labeled as before?

2010-08-15 Thread Andrei Popescu
On Du, 15 aug 10, 10:55:22, Merciadri Luca wrote:
 Hi,
 
 I would like to replace one of my HDDs by another one (a bigger one).
 Say that this is /dev/sdc. Then, its structure is defined like this:
 
 /dev/sdc1 (extended)
 /dev/sdc5 (ext3)
 
 where
 
 /dev/sdc5 is mounted as my home in /etc/fstab:
 
 ==
 # cat /etc/fstab | grep merciadriluca
 /dev/sdc5   /home/merciadriluca ext3 errors=remount-ro 0 1
 ==
 
 Say now that I manage to copy my home to the new HDD (in ext3) which
 will replace the old one. If I physically put a new HDD at the place of
 the old one, will I encounter issues? Everything is done according to
 /dev/, so, no UUIDs, and there should be no problem. But will it be set
 as /dev/sdc5 automatically? (Sorry for my noobness.)

Only if you're lucky. I would use LABEL= in /etc/fstab and just use the 
same label on the new partition.

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: wicd refuses to start

2010-08-15 Thread Andrei Popescu
On Du, 15 aug 10, 07:52:29, Liviu Andronic wrote:
 Dear all
 After some recent updates, I assume, wicd strangely refuses to start. 
 li...@debian-liv:~$ wicd-gtk

[snip errors]

 However, it starts just fine with 
 li...@debian-liv:~$ wicd-gtk --no-tray
 Has notifications support True
 Loading...
 Connecting to daemon...
 Connected.
 /usr/share/wicd/gtk/gui.py:152: GtkWarning: gtk_toolbar_set_icon_size:
 assertion `icon_size != GTK_ICON_SIZE_INVALID' failed self.wTree =
 gtk.glade.XML(gladefile)
 
 or from root
 debian-liv:/home/liviu# wicd-client 
 Has notifications support True
 Loading...
 Connecting to daemon...
 Connected.
 displaytray True
 Done loading.
 
What Desktop Environment are you using?

 I'm using wicd 1.7.0 on an outdated Debian squeeze. 

I guess you mean updated ;)

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: Why is troubleshooting Linux so hard?

2010-08-15 Thread Boyd Stephen Smith Jr.
In 201008150200.52677.j...@bordenrhodes.com, Borden Rhodes wrote:
1) Is there a way to apply debugging symbols retroactively to a dump? A few
times I've had Linux crash on me and spit out a debugging dump.  I do my
best to install debugging symbols for all 1400 packages I have on my system
(when I can find them) but this requires a huge amount of hard disk space
and, invariably, the odd dump is missing symbols.  Recreating the crash
isn't always possible.  Is there (or could someone invent) a way to save a
dump without the symbols, download the symbol tables and then regenerate
the dump with the symbols so it's useful to developers?

Yes, it is, sometimes.  Ubuntu has a process to do it automatically, that 
mostly gets it right.

Modern versions of strip et. al. allow you to save the debugging information 
to a separate .so that just contains debugging information.  gdb (et. al.) can 
then use the debugging-info only .so to decorate an existing backtrace.

This is actually how a lot of distributions produce separate -dbg or -DEBUG 
packages.

However, this debugging-info only files only match with the *same exact build* 
of the real .so.  Taking a random backtrace, determining which build it came 
from and finding the appropriate -dbg packages is a bit difficult.

Also, things like prelink, that modify existing .so files result in the 
debugging-info only .so not matching.  This might also happen this some types 
of hardening that reduces the impact of heap/stack overflow/underflow attacks.

Compounding this problem is the large number of programs that are being 
written with parts in scripting languages, or otherwise non-C/C++ languages 
where the path from a symbol in a ELF file to the problematic code is not as 
simple.

In short, it can be done in some cases and there are programmers working on 
making backtraces from Joe Sixpack or Jane Boxwine more useful.  It does seem 
to be like there may need to be more people working on this, but it is not 
very sexy work.  Most programmers would rather spend their time improving 
the user experience when things are working; IME, that is where the user 
spends most of their time.

2) I find that the logs contain lots of facts but not a whole lot of useful
information (if any) when something goes wrong.  I've had KDE go
black-screen on me, for example, and force a hard reboot but there's no
mention whatsoever (that I can find) in xorg.log, kdm.log, messages, syslog
or dmesg.  Windows seems to be fairly good at making its last breath a stop
error before it dies which means when I get back into the system (or when
I'm looking at a client's computer days after) I can find that stop error,
look it up and figure out what went wrong.  Are Linux's logs designed for
troubleshooting or only for monitoring?  Are proper troubleshooting logs
kept somewhere else or in a special file? Is there a guide on how to read
Linux's logs so I can make sense out of them like I can Windows' logs?

In the case of a kernel crash, the last breath of the system is unfortunately 
not writing to dmesg/syslog and sync()ing disks.  Depending on the nature of 
the crash, there are some good reasons not to do this, though.  (E.g. is the 
case of a PANIC(), the kernel developer is basically indicating that the 
kernel image has been compromised -- doing FS operations with a compromised 
kernel might cause [more] data loss.)

I think that logs in general are... dropping in quality.  They seem to be less 
focused around failed sanity checks, mis-configuration warnings, and I-was-
here before I called exit() message.  They seem to more filled with I-didn't-
comment-this-out-before-our-release build debugging messages for random 
developers.  This is not true of kernel logs for the most part; I find them 
informative, but it is rarely my kernel that causes me problems.

I speak as someone that has been working as a developer in some capacity for 8 
years.  Take that for what you will.

3) Linux needs better troubleshooting and recovery systems.  The answer I
usually get when I get an unexplained error is to run the program inside a
dbg or with valgrind.  I'm not convinced that this is a practical way to
troubleshoot serious problems (like kernel panics) and it requires a
certain amount of foresight that a problem will occur.  According to this
logic, the only way that someone can produce useful reports and feedback
(or even get a clue as to what happened) on the day-to-day crashes and bugs
is to start Linux and all of its sub process inside valgrind and/or gdb. 
This is obviously not an intended use of these programs.

If we don't know how to reproduce the problem, we can't fix it.  If we do know 
how to reproduce the problem, the foresight needed to use gdb/valgrind is not 
too much more.  They shouldn't be your first tools, but they are necessary.

I've also had gdb/valgrind mask errors, which is truly unfortunate.  Still, if 
you know a way to make it crash every time EXCEPT when in gdb/valgrind, 

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 10:13:27 +0200, Merciadri Luca wrote:

 Camaleón wrote:

(...)

 Try by manually forcing the full path to java bin:

 ***
 ./eclipse -debug -vm
 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java ***
   
 Thanks for the trick. It first gives a box `No exit data available',
 then
 
 ==
 Start VM:
 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java

At least that path looks more normal.

(...)

 -jar
 /home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
 
 Error occurred during initialization of VM
 java/lang/NoClassDefFoundError: java/lang/Object 

It seems failing to load that .jar (is that equinox a plugin you 
can omit just for testing?) :-?

(...)

 (quite the same as before).

Yes, it gets stuck at that point.

 Also, run which java and put here the output
 ==
 $ which java
 /usr/local/bin/java

s...@stt008:~$ which java
/usr/bin/java

 merciadril...@merciadriluca-station:/usr/local/bin$ ls -al | grep java
 lrwxrwxrwx  1 root staff 59 2010-08-14 15:58 java - 
 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/java

s...@stt008:~$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 nov 14  2009 /usr/bin/java - /etc/alternatives/java
 
 I can't understand why it does not work.

Me neither... maybe it's just an Eclipse issue. Can you launch any other 
java application and see if that works?

P.S. Also, consider unistalling Sun's java package (the one downloaded from 
Oracle site) and getting the Sun's java package from Debian non-free 
repo :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.11.35...@gmail.com



Re: Replacing an HDD: will it be labeled as before?

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 10:55:22 +0200, Merciadri Luca wrote:

 I would like to replace one of my HDDs by another one (a bigger one).
 Say that this is /dev/sdc. Then, its structure is defined like this:
 
 /dev/sdc1 (extended)
 /dev/sdc5 (ext3)
 
 where
 
 /dev/sdc5 is mounted as my home in /etc/fstab:
 
 ==
 # cat /etc/fstab | grep merciadriluca /dev/sdc5  
 /home/merciadriluca ext3 errors=remount-ro 0 1 ==
 
 Say now that I manage to copy my home to the new HDD (in ext3) which
 will replace the old one. If I physically put a new HDD at the place of
 the old one, will I encounter issues? 

Most probably, yes. There is a high chance the system detects the new 
device as /dev/sdd. Reusing existing device names is not what I would 
expect as it could overlap the current setup :-/

 Everything is done according to
 /dev/, so, no UUIDs, and there should be no problem. But will it be set
 as /dev/sdc5 automatically? (Sorry for my noobness.)

Should you face problems, just edit the /etc/fstab accordingly and 
you're done. For static mount points, I would go for /dev/disk/by-id or 
/dev/disk/by-uuid, though.

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.12.29...@gmail.com



Re: building 2.6.35

2010-08-15 Thread Stephen Powell
On Sun, 15 Aug 2010 05:27:12 -0400 (EDT), Angus Hedger wrote:
 On Sun, Aug 15, 2010 at 1:29 AM, Stephen Powell wrote:
 ...
 $ make-kpkg --append-to-version -custom5-686 --revision 2.6.32-18 \
   --initrd --rootcmd fakeroot kernel_image modules_image
 ...

 Quick question, is there an advantage to building a modules_image .deb
 rather than having it build into the kernel?

If you copy your module directly into the source tree, then you need
to download a new kernel source tree and unpack it due to kernel
maintenance, you lose your modifications.  By keeping the out-of-kernel-
source-tree modules in a separate directory, /usr/src/modules/...,
you don't lose your modifications.  You download and unpack the
new kernel source, rebuild both packages, and install both packages.
Simple.

P.S. Angus: sorry for the inadvertent private e-mail earlier.
I accidentally clicked on the wrong button.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
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/1095580591.103338.1281876010970.javamail.r...@md01.wow.synacor.com



Re: wicd refuses to start

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 07:52:29 +0100, Liviu Andronic wrote:

 Dear all
 After some recent updates, I assume, wicd strangely refuses to start.
 li...@debian-liv:~$ wicd-gtk

(...)

   File /usr/share/wicd/gtk/wicd-client.py, line 233, in
 _show_notification self._last_bubble.show() glib.GError: Unable to
 connect to server

I think you are facing this bug report:

***
client throws exception with libnotify 0.5.0
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588205
***

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.12.42...@gmail.com



Re: Replacing an HDD: will it be labeled as before?

2010-08-15 Thread Merciadri Luca
Camaleón wrote:
 On Sun, 15 Aug 2010 10:55:22 +0200, Merciadri Luca wrote:

   
 I would like to replace one of my HDDs by another one (a bigger one).
 Say that this is /dev/sdc. Then, its structure is defined like this:

 /dev/sdc1 (extended)
 /dev/sdc5 (ext3)

 where

 /dev/sdc5 is mounted as my home in /etc/fstab:

 ==
 # cat /etc/fstab | grep merciadriluca /dev/sdc5  
 /home/merciadriluca ext3 errors=remount-ro 0 1 ==

 Say now that I manage to copy my home to the new HDD (in ext3) which
 will replace the old one. If I physically put a new HDD at the place of
 the old one, will I encounter issues? 
 

 Most probably, yes. There is a high chance the system detects the new 
 device as /dev/sdd. Reusing existing device names is not what I would 
 expect as it could overlap the current setup :-/
   
Okay. So, there would be no /dev/sdc, but a /dev/sdd?
 Everything is done according to
 /dev/, so, no UUIDs, and there should be no problem. But will it be set
 as /dev/sdc5 automatically? (Sorry for my noobness.)
 

 Should you face problems, just edit the /etc/fstab accordingly and 
 you're done. For static mount points, I would go for /dev/disk/by-id or 
 /dev/disk/by-uuid, though.
   
Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Merciadri Luca
Camaleón wrote:
 On Sun, 15 Aug 2010 10:13:27 +0200, Merciadri Luca wrote:

   
 Camaleón wrote:
 

 (...)

   
 Try by manually forcing the full path to java bin:

 ***
 ./eclipse -debug -vm
 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java ***
   
   
 Thanks for the trick. It first gives a box `No exit data available',
 then

 ==
 Start VM:
 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java
 

 At least that path looks more normal.

 (...)

   
 -jar
 /home/merciadriluca/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

 Error occurred during initialization of VM
 java/lang/NoClassDefFoundError: java/lang/Object 
 

 It seems failing to load that .jar (is that equinox a plugin you 
 can omit just for testing?) :-?
   
I installed eclipse without any additional plugins. It looks like
Equinox (http://en.wikipedia.org/wiki/Equinox_(OSGi)) is mandatory.
 (...)

   
 (quite the same as before).
 

 Yes, it gets stuck at that point.
   
Yes.
 Also, run which java and put here the output
   
 ==
 $ which java
 /usr/local/bin/java
 

 s...@stt008:~$ which java
 /usr/bin/java

   
 merciadril...@merciadriluca-station:/usr/local/bin$ ls -al | grep java
 lrwxrwxrwx  1 root staff 59 2010-08-14 15:58 java - 
 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/java
 

 s...@stt008:~$ ls -l /usr/bin/java
 lrwxrwxrwx 1 root root 22 nov 14  2009 /usr/bin/java - /etc/alternatives/java
  
   
 I can't understand why it does not work.
 

 Me neither... maybe it's just an Eclipse issue. Can you launch any other 
 java application and see if that works?
   
Yes, I can, but the result is negative: no other java app works.
 P.S. Also, consider unistalling Sun's java package (the one downloaded from 
 Oracle site) and getting the Sun's java package from Debian non-free 
 repo :-)
   
# apt-get install sun-java6-plugin sun-java6-jre sun-java6-jdk sun-java6-bin
Reading package lists... Done
Building dependency tree  
Reading state information... Done
sun-java6-jre is already the newest version.
sun-java6-jdk is already the newest version.
sun-java6-bin is already the newest version.

Good news. I looked thoroughly in /usr/lib/jvm, and discovered that
there was also a java-6-sun-1.6.0.20 folder, whose bin/ was containing
java. I managed to make it default:

# update-alternatives --config java

There are 3 alternatives which provide `java'.

  SelectionAlternative
---
  1/usr/bin/gij-4.3
 +2/usr/lib/jvm/java-gcj/jre/bin/java
* 3/usr/lib/jvm/java-6-sun-1.6.0.20/bin/java

and now Eclipse works like a charm. The Sun's version is actually
incompatible in some way with Debian (Lenny, at least). The
java-6-sun-1.6.0.20 was already installed, and comes from the non-free
depos. But it was not recognized (and interpreted) by
update-alternatives. Why?

The problem is that I can't deinstall the other one (I see no way,
either on Google, or here). It is also in /usr/bin/java. Any idea?

Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.






signature.asc
Description: OpenPGP digital signature


Re: building 2.6.35

2010-08-15 Thread Angus Hedger
On Sun, Aug 15, 2010 at 1:40 PM, Stephen Powell zlinux...@wowway.com wrote:
 On Sun, 15 Aug 2010 05:27:12 -0400 (EDT), Angus Hedger wrote:
 On Sun, Aug 15, 2010 at 1:29 AM, Stephen Powell wrote:
 ...
 $ make-kpkg --append-to-version -custom5-686 --revision 2.6.32-18 \
   --initrd --rootcmd fakeroot kernel_image modules_image
 ...

 Quick question, is there an advantage to building a modules_image .deb
 rather than having it build into the kernel?

 If you copy your module directly into the source tree, then you need
 to download a new kernel source tree and unpack it due to kernel
 maintenance, you lose your modifications.  By keeping the out-of-kernel-
 source-tree modules in a separate directory, /usr/src/modules/...,
 you don't lose your modifications.  You download and unpack the
 new kernel source, rebuild both packages, and install both packages.
 Simple.

 P.S. Angus: sorry for the inadvertent private e-mail earlier.
 I accidentally clicked on the wrong button.

 --
  .''`.     Stephen Powell
  : :'  :
  `. `'`
   `-

Hey,

That makes a lot of sense, thanks for that!

Regards,

Angus

ps, Dont worry about it! (I keep almost doing the same thing due to
the daft way gmail handles replying to mailing lists via the web ui)


--
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/aanlkti=wmqte_lh=le4xyjhf=vpc2ni0wthczthgu...@mail.gmail.com



Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 15:03:35 +0200, Merciadri Luca wrote:

 Camaleón wrote:

(...)

 Me neither... maybe it's just an Eclipse issue. Can you launch any
 other java application and see if that works?
   
 Yes, I can, but the result is negative: no other java app works.

Ugh...

 P.S. Also, consider unistalling Sun's java package (the one downloaded
 from Oracle site) and getting the Sun's java package from Debian
 non-free repo :-)
   
 # apt-get install sun-java6-plugin sun-java6-jre sun-java6-jdk
 sun-java6-bin Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 sun-java6-jre is already the newest version. sun-java6-jdk is already
 the newest version. sun-java6-bin is already the newest version.
 
 Good news. I looked thoroughly in /usr/lib/jvm, and discovered that
 there was also a java-6-sun-1.6.0.20 folder, whose bin/ was containing
 java. I managed to make it default:

(...)

Glad you finally got it working :-)

(...)

 and now Eclipse works like a charm. The Sun's version is actually
 incompatible in some way with Debian (Lenny, at least). The
 java-6-sun-1.6.0.20 was already installed, and comes from the non-free
 depos. 

That is what I have, yes.

 But it was not recognized (and interpreted) by
 update-alternatives. Why?

Dunno, I have no problems at all with the Sun's Java version of Debian 
repos, but I only got JRE, not the developem branch (JDK) :-?

 The problem is that I can't deinstall the other one (I see no way,
 either on Google, or here). It is also in /usr/bin/java. Any idea?

This should help, at least for JRE:

***
How do I uninstall Java for Linux?
http://java.com/en/download/help/linux_uninstall.xml#jre
***

It seems that you only have to delete the folder.

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.13.27...@gmail.com



Re: Any package instillation breaks libraries.

2010-08-15 Thread Tzafrir Cohen
On Thu, Aug 12, 2010 at 09:11:12AM -0700, jeremy jozwik wrote:
 I am having a very annoying issue at the moment. any time i install a
 package via apt / synaptic / aptitude my internet connection fails.

Before? After?

Dowloading the packages? Installing them?

 
 this issue is beyond me. but so far i have narrowed it down to the
 shared libraries folders going bad. 

Any specific error message?

 i have a stable backup of my
 system that i have been copying over to my machine each time it fails.
 frist was a full system restore except /home. next i restored only
 /etc /lib /lib32 /lib64 and /usr.
 this latest restore i only copied the libraries in /lib /lib32 /lib64
 and the usr folder libs.
 
 can anyone help me move past this issue. i dont know how installing
 some random package could destroy lib used by the internet connection
 or iceweasel. how can i avoid this issue and still be able to install
 packages?
 
 all packages are being pulled from the debian lenny repository...

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
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/20100815132810.gy17...@pear.tzafrir.org.il



Re: Replacing an HDD: will it be labeled as before?

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 14:42:54 +0200, Merciadri Luca wrote:

 Camaleón wrote:

(...)

 Say now that I manage to copy my home to the new HDD (in ext3) which
 will replace the old one. If I physically put a new HDD at the place
 of the old one, will I encounter issues?
 
 
 Most probably, yes. There is a high chance the system detects the new
 device as /dev/sdd. Reusing existing device names is not what I would
 expect as it could overlap the current setup :-/
   
 Okay. So, there would be no /dev/sdc, but a /dev/sdd?

I can't say for sure. But last time I played with disks (putting new 
ones, removing others...) I get that behaviour, yes.

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.13.43...@gmail.com



Re: Replacing an HDD: will it be labeled as before?

2010-08-15 Thread Merciadri Luca
Camaleón wrote:
 On Sun, 15 Aug 2010 14:42:54 +0200, Merciadri Luca wrote:

   
 Camaleón wrote:
 

 (...)

   
 Say now that I manage to copy my home to the new HDD (in ext3) which
 will replace the old one. If I physically put a new HDD at the place
 of the old one, will I encounter issues?
 
 
 
 Most probably, yes. There is a high chance the system detects the new
 device as /dev/sdd. Reusing existing device names is not what I would
 expect as it could overlap the current setup :-/
   
   
 Okay. So, there would be no /dev/sdc, but a /dev/sdd?
 

 I can't say for sure. But last time I played with disks (putting new 
 ones, removing others...) I get that behaviour, yes
Okay. Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


A rolling stone gathers no moss.



signature.asc
Description: OpenPGP digital signature


kvm virtualization, consistent guest backup

2010-08-15 Thread Martin Kraus
Hello. I have kvm guests running from lvm partitions on the host. Is there a
way to make consistent backups of the guest without shutting them down? 
The major problem I see is that there's no way to freeze a filesystem inside a
guest to make an lvm snapshot from the host. 

Does anyone have any (positive) experience with this setup?

thanks
mk


-- 
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/20100815140026.GD15196@/bin/hostname



Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Merciadri Luca
Camaleón wrote:
 On Sun, 15 Aug 2010 15:03:35 +0200, Merciadri Luca wrote:

   
 Camaleón wrote:
 

 (...)

   
 Me neither... maybe it's just an Eclipse issue. Can you launch any
 other java application and see if that works?
   
   
 Yes, I can, but the result is negative: no other java app works.
 

 Ugh...

   
 P.S. Also, consider unistalling Sun's java package (the one downloaded
 from Oracle site) and getting the Sun's java package from Debian
 non-free repo :-)
   
   
 # apt-get install sun-java6-plugin sun-java6-jre sun-java6-jdk
 sun-java6-bin Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 sun-java6-jre is already the newest version. sun-java6-jdk is already
 the newest version. sun-java6-bin is already the newest version.

 Good news. I looked thoroughly in /usr/lib/jvm, and discovered that
 there was also a java-6-sun-1.6.0.20 folder, whose bin/ was containing
 java. I managed to make it default:
 

 (...)

 Glad you finally got it working :-)

 (...)

   
 and now Eclipse works like a charm. The Sun's version is actually
 incompatible in some way with Debian (Lenny, at least). The
 java-6-sun-1.6.0.20 was already installed, and comes from the non-free
 depos. 
 

 That is what I have, yes.

   
 But it was not recognized (and interpreted) by
 update-alternatives. Why?
 

 Dunno, I have no problems at all with the Sun's Java version of Debian 
 repos, but I only got JRE, not the developem branch (JDK) :-?

   
 The problem is that I can't deinstall the other one (I see no way,
 either on Google, or here). It is also in /usr/bin/java. Any idea?
 

 This should help, at least for JRE:

 ***
 How do I uninstall Java for Linux?
 http://java.com/en/download/help/linux_uninstall.xml#jre
 ***

 It seems that you only have to delete the folder.
   
That's what I thought too. Thanks, then.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.




signature.asc
Description: OpenPGP digital signature


Re: What to put on SSD

2010-08-15 Thread Pasi Oja-Nisula
On Fri, Aug 13, 2010 at 12:02:30PM -0500, Ron Johnson wrote:
 Grumpy Old Man says: sell the SSD and buy more RAM.

Already did. Get more RAM that is. I went from 4 to 8 GB. 16 is max and
I can go to 12 without swapping out existing memory. It's a work
machine, so I can't just sell extra parts away, even if I don't
necessarily need them :-) 

Regarding boot time. It may have gone down a bit, but since I have
some kind of realtek network chip issue which causes a 30-60 s delay at
boot time, it doesn't really make a difference. And since the machine
is on 24/7 and get rebooted maybe 3-4 times a year for upgrades, it's
a non-issue to me anyway.

Pasi


-- 
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/20100815122613.ga10...@localhost



mount USB drive read-write but only got read-only so far

2010-08-15 Thread Adam Hardy

I have a couple of questions about mounting and writing to a USB drive.

I bought a 1Tb Western Digital 'Passport' HDD that powers itself from the USB, 
so just one cable to plug in. I want to use it to back up both my Debian box and 
my girlfriend's Mac which uses Time Machine.


I let the Time Machine back-up use it first and now I'm trying to put my stuff 
on it from Debian, but HAL will only mount it read-only.


First of all, can I use pmount myself to mount it read-write somehow?

From fdisk -l, I see my ext HDD is called /dev/sdc1. But when I do pmount 
/dev/sdc1, I get a directory /media/sdc1 but it's empty. I tried it with sudo 
and same result.


It seems most people have other problems with Time Machine back-ups like just 
reading them at all or creating them, and I haven't found anybody talking about 
what I can do to share the hard drive with one.


And if I can mount it read-write, will it stuff the Time Machine back-up? I 
guess I can experiment, the back-up's not critical to keep at this time.


Thanks in advance
Adam


--
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/4c67f85d.40...@cyberspaceroad.com



Re: mount USB drive read-write but only got read-only so far

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 15:23:25 +0100, Adam Hardy wrote:

(...)

 It seems most people have other problems with Time Machine back-ups like
 just reading them at all or creating them, and I haven't found anybody
 talking about what I can do to share the hard drive with one.
 
 And if I can mount it read-write, will it stuff the Time Machine
 back-up? I guess I can experiment, the back-up's not critical to keep at
 this time.

Why not make 2 partitions of ~500 GiB for each of you? That way things 
wont be messed and you can choose different filesystems and permissions 
for the stored files :-?

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.14.56...@gmail.com



Re: Any package instillation breaks libraries.

2010-08-15 Thread jeremy jozwik
On Sun, Aug 15, 2010 at 6:28 AM, Tzafrir Cohen tzaf...@cohens.org.il wrote:
 Before? After?
 Dowloading the packages? Installing them?

after instillation.

 Any specific error message?

nothing that i can really see. in text. the only reason i know the
network has stopped functioning is my panel weather space displays a
-- and iceweasel cannot connect to any web. i can ping
www.google.com and get responses.


-- 
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/aanlktikzqz_g=q4ff1-kr-dxcxijuzfudgbb3mzrn...@mail.gmail.com



Re: mount USB drive read-write but only got read-only so far

2010-08-15 Thread Adam Hardy

Camaleón on 15/08/10 15:56, wrote:

On Sun, 15 Aug 2010 15:23:25 +0100, Adam Hardy wrote:

(...)


It seems most people have other problems with Time Machine back-ups like
just reading them at all or creating them, and I haven't found anybody
talking about what I can do to share the hard drive with one.

And if I can mount it read-write, will it stuff the Time Machine
back-up? I guess I can experiment, the back-up's not critical to keep at
this time.


Why not make 2 partitions of ~500 GiB for each of you? That way things 
wont be messed and you can choose different filesystems and permissions 
for the stored files :-?


Yes, OK I guess that's the best way.

After thrashing around like a psycho in a straight-jacket for a while, I saw 
this in /var/log/messages which probably explains the problem:


Aug 15 14:38:58 localhost kernel: [174941.037671] hfs: write access to a 
journaled filesystem is not supported, use the force option at your own risk, 
mounting read-only.



--
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/4c680c12.8090...@cyberspaceroad.com



Re: wicd refuses to start

2010-08-15 Thread T o n g
On Sun, 15 Aug 2010 07:52:29 +0100, Liviu Andronic wrote:

 Dear all
 After some recent updates, I assume, wicd strangely refuses to start.
 li...@debian-liv:~$ wicd-gtk 
 [. . .]

Yes, I'm getting that as well. My WM is fluxbox.

 I'm using wicd 1.7.0 on an outdated Debian squeeze.

Debian squeeze as well, but most up to date. 

 However, it starts just fine with
 li...@debian-liv:~$ wicd-gtk --no-tray 
 . . .
 or from root

I've skimmed through the discussions in 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588205
and seems that your solution is most applicable to me. 

Thanks for spending time looking into it.

cheers

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
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/i4926u$ll...@dough.gmane.org



Re: wicd refuses to start

2010-08-15 Thread Liviu Andronic
On Sun, 15 Aug 2010 12:32:52 +0300
Andrei Popescu andreimpope...@gmail.com wrote:
 What Desktop Environment are you using?
 
Xfce, with its xfce4-notifyd. I just went through the bug report
and disabling notification in wicd seems to do the trick. As a
work-around, this is fine with me. 


  I'm using wicd 1.7.0 on an outdated Debian squeeze. 
 
 I guess you mean updated ;)
 
No, I actually meant very outdated. I have ~1300 upstream upgrades
available, enough to consider moving to Xubuntu. :) I think I'm
losing interest in a rolling distro (having previously been on Gentoo):
in many cases I'm simply building from source the packages that I need
to be recent, and that list is relatively small. 

Regards
Liviu


-- 
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/20100815173658.4d940...@debian-liv



Re: Why is troubleshooting Linux so hard?

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 02:00:52 -0400, Borden Rhodes wrote:

 I'm going to list some of the frustrations I've been having with
 troubleshooting Linux's quirks, crashes and problems in hopes that
 someone may be able to help me (and the community) become better bug
 reporters and troubleshooters.  I'll make comparisons to Windows only
 because I am used to fixing the same problems in Windows a certain way -
 maybe there are analogies in Linux or maybe I'm approaching these
 problems the wrong way.  I'm not trying to troll or flame-bait.  I'm
 using Debian Squeeze, by the way.
 
 1) Is there a way to apply debugging symbols retroactively to a dump? 

(...)

Dunno, but in all the time I was using linux, never had to install a -
dbg package to solve 99% of the problems :-)

Anyway, true is that every piece of code (kernel, gnome apps, kde apps, 
mozilla apps...) have their own system for debugging problems.

 2) I find that the logs contain lots of facts but not a whole lot of
 useful information (if any) when something goes wrong.  

(...)

Ugh, in windows is even worst :-(

I find linux logging to be very useful (for finding real problems) and 
highly configurable. Is not uncommon to have a verbose switch available 
for every program that tends to provide very detailed information.

The problem here is knowing what (what program is involved in the 
crash) and so where to look into. Expertise helps here.

 3) Linux needs better troubleshooting and recovery systems.  

Yes, I agree this point can be improved and automated. But -generally 
speaking- I find linux debugging system to be far useful than Windows one.

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.17.03...@gmail.com



konqueror crashing

2010-08-15 Thread Paul Cartwright
not sure what happened, might be the trinity install, but konqueror isn't 
working anymore under gnome or KDE ( but it is working for trinity).
when I run it from a terminal I get this:
$ konqueror
-
It looks like dcopserver is already running. If you are sure
that it is not already running, 
remove /home/pbc/.DCOPserver_paulandcilla.homelinux.org__0
and start dcopserver again.
-

kdeinit: Communication error with launcher. Exiting!
QComboBox::pixmap: (history combo) Index 0 out of range
^C

suggestions?
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


-- 
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/201008151319.35016.deb...@pcartwright.com



Re: wicd refuses to start

2010-08-15 Thread Andrei Popescu
On Du, 15 aug 10, 17:36:58, Liviu Andronic wrote:
   I'm using wicd 1.7.0 on an outdated Debian squeeze. 
  
  I guess you mean updated ;)
  
 No, I actually meant very outdated. I have ~1300 upstream upgrades

Earlier you mentioned an update...

 available, enough to consider moving to Xubuntu. :) I think I'm
 losing interest in a rolling distro (having previously been on Gentoo):
 in many cases I'm simply building from source the packages that I need
 to be recent, and that list is relatively small. 

squeeze is frozen now, until the release only bugfixes will come in and 
after that only security updates.

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: konqueror crashing

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 13:19:34 -0400, Paul Cartwright wrote:

 not sure what happened, might be the trinity install, but konqueror
 isn't working anymore under gnome or KDE ( but it is working for
 trinity). when I run it from a terminal I get this: 
 $ konqueror
 -
 It looks like dcopserver is already running. If you are sure that it is
 not already running,
 remove /home/pbc/.DCOPserver_paulandcilla.homelinux.org__0 and start
 dcopserver again.
 -
 
 kdeinit: Communication error with launcher. Exiting! QComboBox::pixmap:
 (history combo) Index 0 out of range ^C
 
 suggestions?

Did you try to follow the suggested steps?

Greetins,

-- 
Camaleón


-- 
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/pan.2010.08.15.17.25...@gmail.com



Re: building 2.6.35

2010-08-15 Thread Stephen Powell
On Sun, 15 Aug 2010 09:11:21 -0400 (EDT), Angus Hedger wrote:
 Stephen Powell wrote:

 If you copy your module directly into the source tree, then you need
 to download a new kernel source tree and unpack it due to kernel
 maintenance, you lose your modifications.  By keeping the out-of-kernel-
 source-tree modules in a separate directory, /usr/src/modules/...,
 you don't lose your modifications.  You download and unpack the
 new kernel source, rebuild both packages, and install both packages.
 Simple.
 
 That makes a lot of sense, thanks for that!

Official Debian packages designed to be compiled as source and used
as out-of-kernel-source-tree kernel modules are generally packaged
in such a way that they can be installed and used either way,
either by installing kernel headers and compiling using just the
headers, or compiled using a kernel source package.  For example,
see the /usr/share/doc/nvidia-kernel-*source/README.Debian file
in the various nvidia kernel source module packages.  This file
documents both compilation and installation methods and you can
choose the one that suits your particular environment best.

On the other hand, if you are downloading upstream source
directly from the upstream site and following their installation
procedure, they may give you a one size fits all installation
procedure that requires kernel headers.  That's one reason
why it is best to use official Debian packages whenever possible.
The Debian packages have been customized by the Debian package
maintainer to do things the Debian way.  As I say in my kernel-
building web page, there are three ways to do everything:
the right way, the wrong way, and the Debian way!

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
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/1371450646.109819.1281894198479.javamail.r...@md01.wow.synacor.com



Re: konqueror crashing

2010-08-15 Thread Paul Cartwright
On Sun August 15 2010, Camaleón wrote:
  $ konqueror
  -
  It looks like dcopserver is already running. If you are sure that it is
  not already running,
  remove /home/pbc/.DCOPserver_paulandcilla.homelinux.org__0 and start
  dcopserver again.
  -
 
  kdeinit: Communication error with launcher. Exiting! QComboBox::pixmap:
  (history combo) Index 0 out of range ^C
 
  suggestions?

 Did you try to follow the suggested steps?

well, no, dcopserver has been running since:
pbc   9203 1  0 Jun29 ?00:00:55 dcopserver 
[kdeinit] --nosid --suicide  


do I have to log out  back in? restart it? how?

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
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/201008151345.25927.deb...@pcartwright.com



Re: kvm virtualization, consistent guest backup

2010-08-15 Thread Martin Kraus
On Sun, Aug 15, 2010 at 03:50:28PM +, T o n g wrote:
 On Sun, 15 Aug 2010 16:00:26 +0200, Martin Kraus wrote:
 
  Is there a
  way to make consistent backups of the guest without shutting them down?
  The major problem I see is that there's no way to freeze a filesystem
  inside a guest to make an lvm snapshot from the host.
 
 Have you considered making live backups from inside the guest on to USB 
 HDDs since kvm supports them just fine?

The problem isn't where to backup but how. the problem is to get consistent
filesystem, consisten data in the filesystem and who know what other problems.
what I was surprised about is that there is really no documentation or usable
howto besides how to backup your desktop or small bussiness server. 

What I need is to backup several virtual hosts with 20 or so guests with as
little downtime as possible. Simplest way so far is to shutdown the guest,
make a snapshot and start it again and then backup data from that snapshot. 

I would like to find out if there is something more usable than that. If linux
gets used in enterprise environments it has to be able to backup itself
without turning off the guest but I see several problems with that and I can't
find any answers to them.

mk


-- 
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/20100815174849.GF15196@/bin/hostname



Re: building 2.6.35

2010-08-15 Thread Manoj Srivastava
On Sat, Aug 14 2010, Stephen Powell wrote:

 Oops!  I forgot to show the make-kpkg clean step after make
 menuconfig.  I'm not sure if this is still needed anymore, but it's
 good practice.  In real life, I did issue it; but when I composed the
 e-mail, I forgot to document it.

With the new versions of kernel-package in Squeeze, running
 make-kpkg clean should almost never be required (if the upstream
 Makefiles are not borked, as they rarely are).  The new make-kpkg
 starts by removing and re-creating ./debian almost always, so the
 explicit clean is redundant.

manoj
-- 
A kid'll eat the middle of an Oreo, eventually.
Manoj Srivastava sriva...@acm.org http://www.golden-gryphon.com/  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C


-- 
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/87eidzlq3e@anzu.internal.golden-gryphon.com



Re: konqueror crashing

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 13:45:25 -0400, Paul Cartwright wrote:

 On Sun August 15 2010, Camaleón wrote:
  $ konqueror
  -
  It looks like dcopserver is already running. If you are sure that it
  is not already running,
  remove /home/pbc/.DCOPserver_paulandcilla.homelinux.org__0 and start
  dcopserver again.
  -
 
  kdeinit: Communication error with launcher. Exiting!
  QComboBox::pixmap: (history combo) Index 0 out of range ^C
 
  suggestions?

 Did you try to follow the suggested steps?
 
 well, no, dcopserver has been running since: 
 pbc   9203 1  0
 Jun29 ?00:00:55 dcopserver [kdeinit] --nosid --suicide
 
 
 do I have to log out  back in? restart it? how?

Just delete the mentioned file and restart dcopserver to see if you get 
any improvement. How to restart it? Restarting the computer is the safest 
method.

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.18.12...@gmail.com



Re: Connection loss to mounted nfs volume

2010-08-15 Thread Robert Latest
Sorry guys for the incremental mess I made in this mailing list.Must
be a bug in claws-mail's IMAP handling. robert


-- 
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/aanlkti=av=vic71e1lvv4ww=+_aa_xm0xn2fswe5f...@mail.gmail.com



Re: konqueror crashing

2010-08-15 Thread Paul Cartwright
On Sun August 15 2010, Camaleón wrote:
  Did you try to follow the suggested steps?
 
  well, no, dcopserver has been running since:
  pbc       9203     1  0
  Jun29 ?        00:00:55 dcopserver [kdeinit] --nosid --suicide
 
 
  do I have to log out  back in? restart it? how?

 Just delete the mentioned file and restart dcopserver to see if you get
 any improvement. How to restart it? Restarting the computer is the safest
 method.

 Greetings,

thankfully I didn't have to restart the computer:
$ uptime
 14:35:35 up 47 days, 10:29,  4 users,  load average: 1.01, 0.64, 0.54

all it took was deleting that file (ok, I moved it)
mv .DCOPserver_paulandcilla.homelinux.org__0 
.DCOPserver_paulandcilla.homelinux.org__0.orig

and ran konqueror and it worked.
 I had first logged in the guest account using gnome and it also worked, so 
recreating/deleting that file was the answer.
learned something new! I hate just reboot, I'd rather learn WHY..


-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
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/201008151437.59870.deb...@pcartwright.com



Bootable Flag: toggle problem with squeeze

2010-08-15 Thread brownh
I'm doing a fresh install of squeeze from USB key on a disk that had a
unused copy of lenny on it. 

Ran into a problem when manually partitioning the disk. The first
partition I went to create was a /boot primary partition, but I found
that the partitioning utility wouldn't toggle its bootable status. I
see that at one point this was a bug, but my impression is that it was
fixed. 

I gather a solution is to make the /boot partition bootable by running
cfdisk on it. I do Alt-F2 to get ~#, but find that cfdisk it is not an
available command. So how can I run cfdisk on the disk before the
installation finishes and there's a reboot?

Haines Brown  


-- 
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/878w477lxf@teufel.historicalmaterialism.info



mdadm without initramfs

2010-08-15 Thread Elimar Riesebieter
Hi all,

I've set up a new machine with sw raid1. / and /boot are on
seperated arrays. raid1 support is compiled direct into 2.6.35.1.
The machine is only bootable with an initramfs created by the hints
in /usr/share/doc/mdadm/README.upgrading-2.5.3.gz.

How do I set up mdadm to create the root array witout an initramfs?

Booting the sw raid1 setup without an initramfs ended up with an
invalid raid superblock magic on sd[ab]*

The setup was booting ext4 before creating the arrays without an
intramfs.

Thanks for any hints.
Elimar


-- 
  You cannot propel yourself forward by
  patting yourself on the back.


-- 
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/20100815190053.ga4...@gandalf.home.lxtec.de



Transmitting a webcam's flux to the Internet: how?

2010-08-15 Thread Merciadri Luca
Hi,

Many cities/special places, etc., have `live' webcams which allow
Internet users to see these places `live.' This is often achieved thanks
to hosting websites, etc. I'm here asking myself how I could, from a
device (not necessarily a traditional computer), send the webcam flux to
the Internet.

Say that I can capture the flux, in a given format, this flux being
constituted by one image taken every x second(s) (where x  - fluidity
). Then, how could I transmit it to the Internet? How do live webcam
generally work? I did not find anything on the Internet about this. If
one finds a pointer, I'm okay to read more.

Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.







signature.asc
Description: OpenPGP digital signature


Re: wicd refuses to start

2010-08-15 Thread Liviu Andronic
On Sun, 15 Aug 2010 20:21:04 +0300
Andrei Popescu andreimpope...@gmail.com wrote:
 Earlier you mentioned an update...
 
I was referring to a selective update using aptitude. 

  available, enough to consider moving to Xubuntu. :) I think I'm
  losing interest in a rolling distro (having previously been on
  Gentoo): in many cases I'm simply building from source the packages
  that I need to be recent, and that list is relatively small. 
 
 squeeze is frozen now, until the release only bugfixes will come in
 and after that only security updates.
 
Thanks for the info. Regards
Liviu


-- 
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/20100815203525.2f38e...@debian-liv



Re: Transmitting a webcam's flux to the Internet: how?

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 21:18:36 +0200, Merciadri Luca wrote:

 Many cities/special places, etc., have `live' webcams which allow
 Internet users to see these places `live.' This is often achieved thanks
 to hosting websites, etc. I'm here asking myself how I could, from a
 device (not necessarily a traditional computer), send the webcam flux to
 the Internet.

Well, IP cameras usually provide an embedded web server to distribute the 
flux directly or a facility (a client) to send the streaming to an online 
service. Standard (USB) webcams require a bit of manual tweaking.

 Say that I can capture the flux, in a given format, this flux being
 constituted by one image taken every x second(s) (where x  - fluidity
). Then, how could I transmit it to the Internet? How do live webcam
 generally work? I did not find anything on the Internet about this. If
 one finds a pointer, I'm okay to read more.

You can take a look into camstream or webcam-server, both available 
for Lenny :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2010.08.15.19.50...@gmail.com



Re: Transmitting a webcam's flux to the Internet: how?

2010-08-15 Thread Nuno Magalhães
Hi,

You didn't find anything on the Internet?
http://lmgtfy.com/?q=linux+webcam+streaming

I assume your 'device' is running some *nix variant, in which case it
doesn't seem that hard (i've never tried it, i'm just judging by the
search results).

However, snapshots every second are not what i'd call a live feed.
In that case, as a suggestion, just use the same file name for every
snapshot and have an html page with a meta refresh. There are more
elegant ways, of course.

HTH,
Nuno


-- 
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/aanlktimcbgcpvpv4xffjj-jnfw3+wprfyjz72vgik...@mail.gmail.com



Re: building 2.6.35

2010-08-15 Thread Stephen Powell
On Sun, 15 Aug 2010 13:53:41 -0400 (EDT), Manoj Srivastava wrote:
 
 With the new versions of kernel-package in Squeeze, running
 make-kpkg clean should almost never be required (if the upstream
 Makefiles are not borked, as they rarely are).  The new make-kpkg
 starts by removing and re-creating ./debian almost always, so the
 explicit clean is redundant.

That would imply that things like --append-to-version and --revision
must be specified on every invocation, correct?  One cannot, for example,
specify --append-to-version and --revision with the kernel_image
target and then leave them off with a subsequent invocation for the
modules_image target.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1972237850.112409.1281903895526.javamail.r...@md01.wow.synacor.com



DHClient Exit Scripts

2010-08-15 Thread Hal Vaughan
I've been reading the man pages for dhclient, but I'm stuck with one key 
question I've missed.

I have an exit script set up to notify me of the IP address of a particular 
system (on a LAN) whenever the IP address changes.  For now I'm testing, but in 
the future it'll be running where I have no control over DHCP or any servers.  
This system will be just plugged into the power outlet and into a CAT5 cable 
hooked to a hub or switch, so it has to get a dynamic IP address from the DHCP 
and it has to be able to alert me to what the new IP address is.

I know whenever dhclient runs, it runs the exit scripts.  The one issue I'm not 
clear of is whether the exit scripts will be run any time the IP address 
changes, like when a lease expires.  I know it'll run at reboot or if 
networking is restarted, but will the exit scripts be run when the IP address 
is changed by the DHCP?  If it's not, is there any program that runs under 
those conditions?


Thanks!



Hal

--
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/1af890a5-5bf9-46c9-8c4b-b709170dd...@halblog.com



Re: mdadm without initramfs

2010-08-15 Thread Boyd Stephen Smith Jr.
In 20100815190053.ga4...@gandalf.home.lxtec.de, Elimar Riesebieter wrote:
How do I set up mdadm to create the root array witout an initramfs?

You can't.  mdadm is a user-space binary that can't be compiled into the 
kernel images.  Therefore, to run mdadm you need an initramfs, or the file 
system containing '/' must already be mounted by the kernel.

Last I checked, it is possible to have the kernel itself start the root array, 
via a (series of) kernel command-line arguments.  However, this doesn't use 
mdadm or any of its configuration files.

Similarly, mdadm doesn't read the kernel command-line, so it is possible the 
configurations to diverge.  It may be possible to have a GRUB2 hook to 
generate the kernel command-line arguments from the mdadm configuration, but 
I've not seen such a hook.  In the absence of such a hook (or when you are not 
using GRUB2 as your bootloader), you should simply use an initramfs.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


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


  1   2   >