[affa] rsync error

Forum dédié à la distribution du même nom et que vous pourrez télécharger sur http://www.contribs.org. La nouvelle version de cette distribution se nomme SME Server

Modérateur: modos Ixus

[affa] rsync error

Messagepar PengouinPdt » 13 Avr 2010 10:31

Bonjour,

Depuis le 7.04, j'ai apparemment un soucis avec Affa.
Le 7, la sauvegarde s'est exécutée jusqu'au démontage du partage Samba distant. Juste avant celui-ci, le log retourne cette erreur :

Error 602 in 'main': rsync failed with status rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (32).

Le job Affa se relance par trois fois, et termine à chaque fois avec la même erreur :

Code: Tout sélectionner
Wed Apr  7 20:00:03[2867]: ##################
Wed Apr  7 20:00:03[2867]: # Affa 2.0.0-rc4 #
Wed Apr  7 20:00:03[2867]: ##################
Wed Apr  7 20:00:03[2867]: Starting job affa4sme2nas scheduled (localhost)
Wed Apr  7 20:00:03[2867]: Description: Sauvegarde de SME vers FreeNAS
Wed Apr  7 20:00:03[2867]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Wed Apr  7 20:00:05[2879]:   ##################
Wed Apr  7 20:00:05[2879]:   # Affa 2.0.0-rc4 #
Wed Apr  7 20:00:05[2879]:   ##################
Wed Apr  7 20:00:05[2879]:   Starting job affa4sme2nas daily (localhost)
Wed Apr  7 20:00:05[2879]:   Description: Sauvegarde de SME vers FreeNAS
Wed Apr  7 20:00:06[2879]:   Shifting backup archives...
Wed Apr  7 20:13:14[2879]:   Completed job 'affa4sme2nas daily (localhost)'
Wed Apr  7 20:13:14[2879]:   Total execution time:  0h13m09s
Wed Apr  7 20:13:14[2879]:   Exiting.
Wed Apr  7 20:13:14[2879]:   .
Wed Apr  7 20:13:14[2867]: signaling pre-backup event on localhost
Wed Apr  7 20:13:15[2867]: Running rsync...
Wed Apr  7 20:45:58[2867]: signaling post-backup event on localhost
Wed Apr  7 20:46:01[2867]: Error 602 in 'main': rsync failed with status rsync error: received SIGUSR1 (code 19) at io.c(1525) [generator=3.0.6].
Wed Apr  7 20:46:01[2867]: Unmounting /mnt/smb/FreeNAS
Wed Apr  7 20:46:01[2867]: Starting re-run 1 of 3 in the background.
Wed Apr  7 20:46:01[2867]: Total execution time:  0h45m58s
Wed Apr  7 20:46:02[2867]: Email sent to ***
Wed Apr  7 20:46:03[2867]: Exiting.
Wed Apr  7 20:46:03[2867]: .
Wed Apr  7 20:46:07[3276]: ##################
Wed Apr  7 20:46:07[3276]: # Affa 2.0.0-rc4 #
Wed Apr  7 20:46:07[3276]: ##################
Wed Apr  7 20:46:07[3276]: Starting job affa4sme2nas scheduled (localhost)
Wed Apr  7 20:46:07[3276]: Description: Sauvegarde de SME vers FreeNAS
Wed Apr  7 20:46:07[3276]: Sleeping 597 seconds. Continuing at 20:56:04
Wed Apr  7 20:56:04[3276]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Wed Apr  7 20:56:06[3276]: signaling pre-backup event on localhost
Wed Apr  7 20:56:08[3276]: Running rsync...
Wed Apr  7 21:13:29[3276]: signaling post-backup event on localhost
Wed Apr  7 21:13:32[3276]: Error 602 in 'main': rsync failed with status rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (32).
Wed Apr  7 21:13:33[3276]: Unmounting /mnt/smb/FreeNAS
Wed Apr  7 21:13:33[3276]: Starting re-run 2 of 3 in the background.
Wed Apr  7 21:13:33[3276]: Total execution time:  0h27m26s
Wed Apr  7 21:13:33[3276]: Email sent to ***
Wed Apr  7 21:13:33[3276]: Exiting.
Wed Apr  7 21:13:33[3276]: .
Wed Apr  7 21:13:37[3581]: ##################
Wed Apr  7 21:13:37[3581]: # Affa 2.0.0-rc4 #
Wed Apr  7 21:13:37[3581]: ##################
Wed Apr  7 21:13:37[3581]: Starting job affa4sme2nas scheduled (localhost)
Wed Apr  7 21:13:37[3581]: Description: Sauvegarde de SME vers FreeNAS
Wed Apr  7 21:13:37[3581]: Sleeping 597 seconds. Continuing at 21:23:34
Wed Apr  7 21:23:35[3581]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Wed Apr  7 21:23:36[3581]: signaling pre-backup event on localhost
Wed Apr  7 21:23:37[3581]: Running rsync...
Wed Apr  7 21:41:08[3581]: signaling post-backup event on localhost
Wed Apr  7 21:41:09[3581]: Error 602 in 'main': rsync failed with status rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (32).
Wed Apr  7 21:41:09[3581]: Unmounting /mnt/smb/FreeNAS
Wed Apr  7 21:41:09[3581]: Starting re-run 3 of 3 in the background.
Wed Apr  7 21:41:09[3581]: Total execution time:  0h27m32s
Wed Apr  7 21:41:09[3581]: Email sent to ***
Wed Apr  7 21:41:09[3581]: Exiting.
Wed Apr  7 21:41:09[3581]: .
Wed Apr  7 21:41:13[3853]: ##################
Wed Apr  7 21:41:13[3853]: # Affa 2.0.0-rc4 #
Wed Apr  7 21:41:13[3853]: ##################
Wed Apr  7 21:41:13[3853]: Starting job affa4sme2nas scheduled (localhost)
Wed Apr  7 21:41:13[3853]: Description: Sauvegarde de SME vers FreeNAS
Wed Apr  7 21:41:13[3853]: Sleeping 597 seconds. Continuing at 21:51:10
Wed Apr  7 21:51:10[3853]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Wed Apr  7 21:51:12[3853]: signaling pre-backup event on localhost
Wed Apr  7 21:51:13[3853]: Running rsync...
Wed Apr  7 22:08:28[3853]: signaling post-backup event on localhost
Wed Apr  7 22:08:31[3853]: Error 602 in 'main': rsync failed with status rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (32).
Wed Apr  7 22:08:32[3853]: Unmounting /mnt/smb/FreeNAS
Wed Apr  7 22:08:32[3853]: Total execution time:  0h27m19s
Wed Apr  7 22:08:32[3853]: Email sent to ***
Wed Apr  7 22:08:32[3853]: Exiting.
Wed Apr  7 22:08:32[3853]: .


Depuis le 8.4, c'est une autre erreur qui s'affiche :

Error 602 in 'main': rsync failed with status rsync error: received SIGUSR1 (code 19) at io.c(1525) [generator=3.0.6].

Le job Affa réagit, de même, en cherchant s'exécuter par trois fois, termine en affichant ladite erreur :

Code: Tout sélectionner
Mon Apr 12 20:00:09[18416]: ##################
Mon Apr 12 20:00:09[18416]: # Affa 2.0.0-rc4 #
Mon Apr 12 20:00:09[18416]: ##################
Mon Apr 12 20:00:09[18416]: Starting job affa4sme2nas scheduled (localhost)
Mon Apr 12 20:00:09[18416]: Description: Sauvegarde de SME vers FreeNAS
Mon Apr 12 20:00:09[18416]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Mon Apr 12 20:00:10[18416]: signaling pre-backup event on localhost
Mon Apr 12 20:00:11[18416]: Running rsync...
Mon Apr 12 20:17:31[18416]: signaling post-backup event on localhost
Mon Apr 12 20:17:34[18416]: Error 602 in 'main': rsync failed with status rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (32).
Mon Apr 12 20:17:35[18416]: Unmounting /mnt/smb/FreeNAS
Mon Apr 12 20:17:35[18416]: Starting re-run 1 of 3 in the background.
Mon Apr 12 20:17:35[18416]: Total execution time:  0h17m26s
Mon Apr 12 20:17:35[18416]: Email sent to ***
Mon Apr 12 20:17:35[18416]: Exiting.
Mon Apr 12 20:17:35[18416]: .
Mon Apr 12 20:17:39[18596]: ##################
Mon Apr 12 20:17:39[18596]: # Affa 2.0.0-rc4 #
Mon Apr 12 20:17:39[18596]: ##################
Mon Apr 12 20:17:39[18596]: Starting job affa4sme2nas scheduled (localhost)
Mon Apr 12 20:17:39[18596]: Description: Sauvegarde de SME vers FreeNAS
Mon Apr 12 20:17:39[18596]: Sleeping 597 seconds. Continuing at 20:27:36
Mon Apr 12 20:27:36[18596]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Mon Apr 12 20:27:38[18596]: signaling pre-backup event on localhost
Mon Apr 12 20:27:40[18596]: Running rsync...
Mon Apr 12 20:45:00[18596]: signaling post-backup event on localhost
Mon Apr 12 20:45:03[18596]: Error 602 in 'main': rsync failed with status rsync error: received SIGUSR1 (code 19) at io.c(1525) [generator=3.0.6].
Mon Apr 12 20:45:03[18596]: Unmounting /mnt/smb/FreeNAS
Mon Apr 12 20:45:03[18596]: Starting re-run 2 of 3 in the background.
Mon Apr 12 20:45:03[18596]: Total execution time:  0h27m24s
Mon Apr 12 20:45:03[18596]: Email sent to ***
Mon Apr 12 20:45:03[18596]: Exiting.
Mon Apr 12 20:45:03[18596]: .
Mon Apr 12 20:45:07[18852]: ##################
Mon Apr 12 20:45:07[18852]: # Affa 2.0.0-rc4 #
Mon Apr 12 20:45:07[18852]: ##################
Mon Apr 12 20:45:07[18852]: Starting job affa4sme2nas scheduled (localhost)
Mon Apr 12 20:45:07[18852]: Description: Sauvegarde de SME vers FreeNAS
Mon Apr 12 20:45:07[18852]: Sleeping 597 seconds. Continuing at 20:55:04
Mon Apr 12 20:55:04[18852]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Mon Apr 12 20:55:06[18852]: signaling pre-backup event on localhost
Mon Apr 12 20:55:08[18852]: Running rsync...
Mon Apr 12 21:12:45[18852]: signaling post-backup event on localhost
Mon Apr 12 21:12:46[18852]: Error 602 in 'main': rsync failed with status rsync error: received SIGUSR1 (code 19) at io.c(1525) [generator=3.0.6].
Mon Apr 12 21:12:46[18852]: Unmounting /mnt/smb/FreeNAS
Mon Apr 12 21:12:46[18852]: Starting re-run 3 of 3 in the background.
Mon Apr 12 21:12:46[18852]: Total execution time:  0h27m39s
Mon Apr 12 21:12:46[18852]: Email sent to ***
Mon Apr 12 21:12:46[18852]: Exiting.
Mon Apr 12 21:12:46[18852]: .
Mon Apr 12 21:12:50[19102]: ##################
Mon Apr 12 21:12:50[19102]: # Affa 2.0.0-rc4 #
Mon Apr 12 21:12:50[19102]: ##################
Mon Apr 12 21:12:50[19102]: Starting job affa4sme2nas scheduled (localhost)
Mon Apr 12 21:12:50[19102]: Description: Sauvegarde de SME vers FreeNAS
Mon Apr 12 21:12:50[19102]: Sleeping 597 seconds. Continuing at 21:22:47
Mon Apr 12 21:22:47[19102]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Mon Apr 12 21:22:49[19102]: signaling pre-backup event on localhost
Mon Apr 12 21:22:50[19102]: Running rsync...
Mon Apr 12 21:40:21[19102]: signaling post-backup event on localhost
Mon Apr 12 21:40:22[19102]: Error 602 in 'main': rsync failed with status rsync error: received SIGUSR1 (code 19) at io.c(1525) [generator=3.0.6].
Mon Apr 12 21:40:22[19102]: Unmounting /mnt/smb/FreeNAS
Mon Apr 12 21:40:22[19102]: Total execution time:  0h27m32s
Mon Apr 12 21:40:22[19102]: Email sent to ***
Mon Apr 12 21:40:22[19102]: Exiting.
Mon Apr 12 21:40:22[19102]: .


Quelqu'un aurait-il une idée de la raison ?!

Les logs /affa/affa.log n'affichent rien de plus que cela :

Code: Tout sélectionner
Thu Apr  8 11:41:34[START.10898]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=0 --RetryAfter=597
Thu Apr  8 20:00:03[START.15135]: Affa 2.0.0-rc4: Running /sbin/e-smith/affa --watchdog=86400 --run affa4sme2nas
Thu Apr  8 20:18:03[START.15317]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=2 --RetryAfter=597
Thu Apr  8 20:45:33[START.15584]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=1 --RetryAfter=597
Thu Apr  8 21:12:46[START.15820]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=0 --RetryAfter=597
Fri Apr  9 20:00:02[START.26395]: Affa 2.0.0-rc4: Running /sbin/e-smith/affa --watchdog=86400 --run affa4sme2nas
Fri Apr  9 20:17:53[START.26577]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=2 --RetryAfter=597
Fri Apr  9 20:45:51[START.26844]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=1 --RetryAfter=597
Fri Apr  9 21:13:25[START.27078]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=0 --RetryAfter=597
Sat Apr 10 20:00:02[START.6588]: Affa 2.0.0-rc4: Running /sbin/e-smith/affa --watchdog=86400 --run affa4sme2nas
Sat Apr 10 20:18:07[START.6769]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=2 --RetryAfter=597
Sat Apr 10 20:45:47[START.7036]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=1 --RetryAfter=597
Sat Apr 10 21:13:26[START.7270]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=0 --RetryAfter=597Sun Apr 11 05:00:02[START.32097]: Affa 2.0.0-rc4: Running /sbin/e-smith/affa --send-status
Sun Apr 11 05:00:02[32097]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Sun Apr 11 05:00:02[32097]: Unmounting /mnt/smb/FreeNAS
Sun Apr 11 05:00:02[affa4sme2nas.32097]: Mounting 10.133.173.1:/mnt/Datas/SME to /mnt/smb/FreeNAS
Sun Apr 11 05:00:03[affa4sme2nas.32097]: weekly status message sent to ***
Sun Apr 11 05:00:03[affa4sme2nas.32097]: Unmounting /mnt/smb/FreeNAS
Sun Apr 11 05:00:03[affa4sme2nas.32097]: Done.
Sun Apr 11 05:00:03[affa4sme2nas.32097]: Exiting.
Sun Apr 11 05:00:03[affa4sme2nas.32097]: .
Sun Apr 11 20:00:09[START.6204]: Affa 2.0.0-rc4: Running /sbin/e-smith/affa --watchdog=86400 --run affa4sme2nas
Sun Apr 11 20:17:51[START.6384]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=2 --RetryAfter=597
Sun Apr 11 20:45:16[START.6651]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=1 --RetryAfter=597
Sun Apr 11 21:12:48[START.6888]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=0 --RetryAfter=597
Mon Apr 12 20:00:09[START.18416]: Affa 2.0.0-rc4: Running /sbin/e-smith/affa --watchdog=86400 --run affa4sme2nas
Mon Apr 12 20:17:39[START.18596]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=2 --RetryAfter=597
Mon Apr 12 20:45:07[START.18852]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=1 --RetryAfter=597
Mon Apr 12 21:12:50[START.19102]: Affa 2.0.0-rc4: Running /bin/affa --run affa4sme2nas --RetryAttempts=0 --RetryAfter=597


De fait, je ne sais pas si la sauvegarde est fiable.
Dernière édition par PengouinPdt le 15 Avr 2010 22:12, édité 1 fois au total.
Avatar de l’utilisateur
PengouinPdt
Aspirant
Aspirant
 
Messages: 132
Inscrit le: 07 Oct 2003 00:00

Messagepar PengouinPdt » 15 Avr 2010 09:44

Le log que me retourne le mail d'avertissement est celui-ci, pour cette nuit :

Excerpt from log file /var/log/affa/affa4sme2nas.log:
Affa_2.0.0-rc4:_Running_/sbin/e-smith/affa_--watchdog=86400_--run_affa4sme2nas
Job_configuration:
__AutoUnmount=yes
__AutomountDevice=10.133.173.1:/mnt/Datas/SME
__AutomountPoint=/mnt/smb/FreeNAS
__ChunkSize=921600
__ChunkThresholdSize=2
__ConnectionCheckTimeout=120
__Debug=no
__Description=Sauvegarde_de_SME_vers_FreeNAS
__DiskSpaceWarn=strict
__EmailAddresses=***
__RPMCheck=no
__RetryAfter=600
__RetryAttempts=3
__RetryNotification=yes
__RootDir=/mnt/smb/FreeNAS
__SMEServer=yes
__SambaShare=yes
__TimeSchedule=2000
__Watchdog=yes
__dailyKeep=7
__doneDaily=2010096
__remoteHostName=localhost
__remoteOS=centos
__rsync--inplace=yes
__rsyncCompress=no
__rsyncTimeout=900
__rsyncdMode=no
__rsyncdModule=AFFA
__rsyncdPassword=<not_shown>
__rsyncdUser=affa
__scheduledKeep=1
__sendStatus=weekly
__sshPort=222
__status=enabled
__type=job
##################
#_Affa_2.0.0-rc4_#
##################
Starting_job_affa4sme2nas_scheduled_(localhost)
Description:_Sauvegarde_de_SME_vers_FreeNAS
Check_mounted:_10.133.173.1:/mnt/Datas/SME_/mnt/smb/FreeNAS._Result:_no_
Mounting_10.133.173.1:/mnt/Datas/SME_to_/mnt/smb/FreeNAS
Exec_Out:_exitstatus=0
Exec_Out:_exitstatus=0
Using_link_destination_daily.0
signaling_pre-backup_event_on_localhost
Exec_Out:_exitstatus=0
Running_rsync...
Exec_Out:_io_timeout_after_900_seconds_--_exiting
Exec_Out:_rsync_error:_timeout_in_data_send/receive_(code_30)_at_io.c(200)_[sender=3.0.6]
Exec_Out:_30
Exec_Out:_rsync:_writefd_unbuffered_failed_to_write_31_bytes_to_socket_[generator]:_Broken_pipe_(32)
Exec_Out:_exitstatus=rsync_error:_received_SIGUSR1_(code_19)_at_io.c(1525)_[generator=3.0.6]
signaling_post-backup_event_on_localhost
Exec_Out:_exitstatus=0
Error_602_in_'main':_rsync_failed_with_status_rsync_error:_received_SIGUSR1_(code_19)_at_io.c(1525)_[generator=3.0.6].
Check_mounted:_10.133.173.1:/mnt/Datas/SME_/mnt/smb/FreeNAS._Result:_yes
Unmounting_/mnt/smb/FreeNAS
Exec_Out:_exitstatus=0
Starting_re-run_1_of_3_in_the_background.
Total_execution_time:__0h45m58s


On remarque les deux erreur à la fin de ce log. Mais que puis-je en faire ?
Avatar de l’utilisateur
PengouinPdt
Aspirant
Aspirant
 
Messages: 132
Inscrit le: 07 Oct 2003 00:00


Retour vers E-Smith / SME Server

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 1 invité