Projet

Général

Profil

Actions

Anomalie #3609

fermé

galanga ne sauvegarde plus la vm photos

Ajouté par Anonyme il y a presque 6 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Catégorie:
-
Version cible:
Début:
21/02/2019
Echéance:
% réalisé:

0%

Temps estimé:
Difficulté:
2 Facile

Description

Depuis un reboot de galanga alors qu'un rsync de backuppc tournait, le backup de la vm photos reste coincé et ne s'effectue pas.
Un strace révèle une inactivité du rsync.

Mis à jour par Quentin Gibeaux il y a presque 6 ans

J'ai tenté hier de forcer un backup incrémentiel ou complet, mais mêmes symptomes.

Mis à jour par Quentin Gibeaux il y a presque 6 ans

Sent exclude: /proc/*
Sent exclude: /sys/*
Sent exclude: /dev/pts/*
Sent exclude: /media/*
Sent exclude: /cdrom/*
Sent exclude: /mnt/*
Sent exclude: /floppy/*
Sent exclude: /tmp/*
Sent exclude: /var/tmp/*
Sent exclude: /var/cache/apt/archives/partial/*
Sent exclude: /var/lib/mysql/*
Sent exclude: /var/lib/backuppc/*
Sent exclude: no_backup
Sent exclude: no_backups
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted by user signal
Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0)

Mis à jour par François Poulain il y a presque 6 ans

"sudo -u backuppc /usr/bin/ssh -q -x -l root photos.cluster.april.org /bin/true" s'exécute donc le soucis n'est pas coté ssh.

(April) root@galanga:/var/lib/backuppc/pc/photos# /usr/share/backuppc/bin/BackupPC_zcat XferLOG.bad.z
ça donne des intuitions :

(April) root@galanga:/var/lib/backuppc/pc/photos# /usr/share/backuppc/bin/BackupPC_zcat XferLOG.bad.z
incr backup started back to 2019-02-16 21:06:23 (backup #323) for directory /
Running: /usr/bin/ssh -q -x -l root photos.cluster.april.org rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive . /
Xfer PIDs are now 28309
Got remote protocol 1819436400
Fatal error (bad version): perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_US:en",
    LC_ALL = (unset),
    LANG = "en_US.UTF-8" 
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Sent exclude: /proc/*
Sent exclude: /sys/*
Sent exclude: /dev/pts/*
Sent exclude: /media/*
Sent exclude: /cdrom/*
Sent exclude: /mnt/*
Sent exclude: /floppy/*
Sent exclude: /tmp/*
Sent exclude: /var/tmp/*
Sent exclude: /var/cache/apt/archives/partial/*
Sent exclude: /var/lib/mysql/*
Sent exclude: /var/lib/backuppc/*
Sent exclude: no_backup
Sent exclude: no_backups
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted by user signal

Du coup sur photos je régénère les locales :

(April) root@photos:/etc[master]# dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_US:en",
    LC_ALL = (unset),
    LANG = "en_US.UTF-8" 
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
  en_US.UTF-8... done
  fr_FR.ISO-8859-1... done
  fr_FR.UTF-8... done
  fr_FR.ISO-8859-15@euro... done
Generation complete.
(April) root@photos:/etc[master*]# git diff
diff --git a/default/locale b/default/locale
index ebd7dd8..ffcbf47 100644
--- a/default/locale
+++ b/default/locale
@@ -1,3 +1,3 @@
 #  File generated by update-locale
-LANG="en_US.UTF-8" 
+LANG=en_US.UTF-8
 LANGUAGE="en_US:en" 
diff --git a/locale.gen b/locale.gen
index 88aa7ae..16cd90d 100644
--- a/locale.gen
+++ b/locale.gen
@@ -154,7 +154,7 @@
 # en_SG.UTF-8 UTF-8
 # en_US ISO-8859-1
 # en_US.ISO-8859-15 ISO-8859-15
-# en_US.UTF-8 UTF-8
+en_US.UTF-8 UTF-8
 # en_ZA ISO-8859-1
 # en_ZA.UTF-8 UTF-8
 # en_ZM UTF-8
@@ -227,9 +227,9 @@
 # fr_CA.UTF-8 UTF-8
 # fr_CH ISO-8859-1
 # fr_CH.UTF-8 UTF-8
-# fr_FR ISO-8859-1
-# fr_FR.UTF-8 UTF-8
-# fr_FR@euro ISO-8859-15
+fr_FR ISO-8859-1
+fr_FR.UTF-8 UTF-8
+fr_FR@euro ISO-8859-15
 # fr_LU ISO-8859-1
 # fr_LU.UTF-8 UTF-8
 # fr_LU@euro ISO-8859-15

Et après test ça fonctionne.

Mis à jour par Quentin Gibeaux il y a presque 6 ans

  • Statut changé de Nouveau à Résolu

Mis à jour par Christian P. Momon il y a presque 6 ans

Ce paquet faisait partie de la mise à jour du début de semaine :

Start-Date: 2019-02-17  00:03:34
Commandline: apt-get dist-upgrade
Upgrade: […] locales:amd64 (2.24-11+deb9u3, 2.24-11+deb9u4), […]

Je confirme avoir rencontré un problème sur la VM photos lors de l'upgrade, vraisemblablement pas correctement clôturé. Maintenant, c'est fait, cool.

Mis à jour par Quentin Gibeaux il y a plus de 5 ans

  • Statut changé de Résolu à Fermé

Mis à jour par Christian P. Momon il y a environ 4 ans

  • Assigné à mis à François Poulain
Actions

Formats disponibles : Atom PDF