Project

General

Profile

Actions

Anomalie #3609

closed

galanga ne sauvegarde plus la vm photos

Added by Anonymous almost 6 years ago. Updated about 4 years ago.

Status:
Fermé
Priority:
Normale
Category:
-
Target version:
Start date:
02/21/2019
Due date:
% Done:

0%

Estimated time:
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.

Actions #2

Updated by Quentin Gibeaux almost 6 years ago

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

Actions #3

Updated by Quentin Gibeaux almost 6 years ago

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)
Actions #4

Updated by François Poulain almost 6 years ago

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

Actions #5

Updated by Quentin Gibeaux almost 6 years ago

  • Status changed from Nouveau to Résolu
Actions #6

Updated by Christian P. Momon almost 6 years ago

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.

Actions #7

Updated by Quentin Gibeaux over 5 years ago

  • Status changed from Résolu to Fermé
Actions #8

Updated by Christian P. Momon about 4 years ago

  • Assignee set to François Poulain
Actions

Also available in: Atom PDF