What happens when you run this command as the backuppc user?
su backuppc
/usr/bin/ssh -q -x -l backuppc localhost /usr/local/bin/rsync --server
--sender -svvlHogDtpre.iLsf
Is there any output? Does it exit immediately?
Craig
On Mon, Jan 29, 2018 at 3:53 AM, RAKOTONDRAINIBE Harimino Lalatiana <
[email protected]> wrote:
> Hi everyone,
>
> After an issues with backuppc v3 , I upgraded to v4.1.4.
>
> The backuppc is installed in freebsd 11.1
>
> All hosts seems to be backuppc well except the localhost.
>
> I did like it was said in the forum so I build rsync-bpc 3.0.9 from
> current git .
>
> In addition to that I run :
>
> /usr/bin/ssh -q -x -l backuppc localhost /usr/local/bin/rsync
>
> Which don't give any output.
>
> I also run the dump manually and the out is :
>
> backuppc@backup:/ % /usr/local/bin/BackupPC_dump -v -i localhost
> Backup type: type = incr, needs_full = 1, needs_incr = 1, lastFullTime =
> 1512601200, opts{f} = , opts{i} = 1, opts{F} =
> cmdSystemOrEval: about to system /sbin/ping -c 1 localhost
> cmdSystemOrEval: about to system /sbin/ping -c 1 localhost
> CheckHostAlive: ran '/sbin/ping -c 1 localhost'; returning 0.020
> XferLOG file /var/db/BackupPC/pc/localhost/XferLOG.153 created 2018-01-29
> 14:47:18
> Backup prep: type = incr, case = 6, inPlace = 1, doDuplicate = 0,
> newBkupNum = 153, newBkupIdx = 3, lastBkupNum = , lastBkupIdx = (FillCycle
> = 0, noFillCnt = 0)
> __bpc_progress_state__ backup share "/"
> Running: /home/backuppc/rsyns-git/rsync-bpc/rsync_bpc --bpc-top-dir
> /var/db/BackupPC --bpc-host-name localhost --bpc-share-name /
> --bpc-bkup-num 153 --bpc-bkup-comp 0 --bpc-bkup-prevnum -1
> --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 530710 --bpc-attrib-new
> --bpc-log-level 5 -e /usr/bin/ssh\ -q\ -x\ -l\ backuppc
> --rsync-path=/usr/local/bin/rsync --super --recursive --protect-args
> --numeric-ids --perms --owner --group -D --times --links --hard-links
> --delete --delete-excluded --partial --log-format=log:\ %o\ %i\ %B\
> %8U,%8G\ %9l\ %f%L --stats -vv --timeout=72000 --exclude=/dev
> --exclude=/media --exclude=/mnt --exclude=/nonexistent --exclude=/proc
> --exclude=/sys --exclude=/tmp --exclude=/usr/src/sys --exclude=/var/run
> --exclude=/var/tmp --exclude=/var/db/BackupPC localhost:/ /
> incr backup started for directory /
> started incr dump, share=/
> Xfer PIDs are now 39051
> xferPids 39051
> This is the rsync child about to exec /home/backuppc/rsyns-git/
> rsync-bpc/rsync_bpc
> cmdExecOrEval: about to exec /home/backuppc/rsyns-git/rsync-bpc/rsync_bpc
> --bpc-top-dir /var/db/BackupPC --bpc-host-name localhost --bpc-share-name /
> --bpc-bkup-num 153 --bpc-bkup-comp 0 --bpc-bkup-prevnum -1
> --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 530710 --bpc-attrib-new
> --bpc-log-level 5 -e /usr/bin/ssh\ -q\ -x\ -l\ backuppc
> --rsync-path=/usr/local/bin/rsync --super --recursive --protect-args
> --numeric-ids --perms --owner --group -D --times --links --hard-links
> --delete --delete-excluded --partial --log-format=log:\ %o\ %i\ %B\
> %8U,%8G\ %9l\ %f%L --stats -vv --timeout=72000 --exclude=/dev
> --exclude=/media --exclude=/mnt --exclude=/nonexistent --exclude=/proc
> --exclude=/sys --exclude=/tmp --exclude=/usr/src/sys --exclude=/var/run
> --exclude=/var/tmp --exclude=/var/db/BackupPC localhost:/ /
> bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles
> = 0
> opening connection using: /usr/bin/ssh -q -x -l backuppc localhost
> /usr/local/bin/rsync --server --sender -svvlHogDtpre.iLsf
> protected args: --timeout=72000 --numeric-ids . /
> rsync_bpc: connection unexpectedly closed (0 bytes received so far)
> [Receiver]
> bpc_sysCall_cleanup: doneInit = 1
> Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal,
> 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 530710 inode
> Parsing done: nFilesTotal = 0
> rsync error: error in rsync protocol data stream (code 12) at io.c(629)
> [Receiver=3.0.9.11]
> rsync_bpc exited with fatal status 12 (3072) (rsync error: error in rsync
> protocol data stream (code 12) at io.c(629) [Receiver=3.0.9.11])
> Xfer PIDs are now
> xferPids
> __bpc_progress_state__ post-cmd
> Executing DumpPostUserCmd: /var/db/BackupPC/mailadmin.sh 0 localhost
> cmdSystemOrEval: about to system /var/db/BackupPC/mailadmin.sh 0 localhost
> send-mail: Cannot open smtp.irenala.edu.mg:25
> Got fatal error during xfer (rsync error: error in rsync protocol data
> stream (code 12) at io.c(629) [Receiver=3.0.9.11])
> cmdSystemOrEval: about to system /sbin/ping -c 1 localhost
> cmdSystemOrEval: about to system /sbin/ping -c 1 localhost
> CheckHostAlive: ran '/sbin/ping -c 1 localhost'; returning 0.070
> Backup aborted (rsync error: error in rsync protocol data stream (code 12)
> at io.c(629) [Receiver=3.0.9.11])
> __bpc_progress_state__ fail cleanup
> BackupFailCleanup: nFilesTotal = 0, type = incr, BackupCase = 6, inPlace =
> 1, lastBkupNum =
> BackupFailCleanup: inPlace with no new files... no cleanup
> __bpc_progress_state__ fsck
> Running BackupPC_refCountUpdate -h localhost -f on localhost
> cmdSystemOrEval: about to system /usr/local/bin/BackupPC_refCountUpdate
> -h localhost -f
> Xfer PIDs are now 39069
> xferPids 39069
> BackupPC_refCountUpdate: host localhost #153: gotFsck = 1, gotDelta = ,
> gotPoolCnt = 1, gotNoPoolCntOk =
> BackupPC_refCountUpdate: processing host localhost #153 (fsck = 1)
> __bpc_progress_state__ refCnt #153
> __bpc_progress_state__ cntUpdate #153
> BackupPC_refCountUpdate: processing host localhost #153 deltaFile
> /var/db/BackupPC/pc/localhost/153/refCnt/poolCntDelta_0_0_0_39069 with
> 510160 entries
> __bpc_progress_state__ rename #153
> BackupPC_refCountUpdate: computing totals for host localhost
> __bpc_progress_state__ sumUpdate 0/128
> __bpc_progress_state__ sumUpdate 8/128
> __bpc_progress_state__ sumUpdate 16/128
> __bpc_progress_state__ sumUpdate 24/128
> __bpc_progress_state__ sumUpdate 32/128
> __bpc_progress_state__ sumUpdate 40/128
> __bpc_progress_state__ sumUpdate 48/128
> __bpc_progress_state__ sumUpdate 56/128
> __bpc_progress_state__ sumUpdate 64/128
> __bpc_progress_state__ sumUpdate 72/128
> __bpc_progress_state__ sumUpdate 80/128
> __bpc_progress_state__ sumUpdate 88/128
> __bpc_progress_state__ sumUpdate 96/128
> __bpc_progress_state__ sumUpdate 104/128
> __bpc_progress_state__ sumUpdate 112/128
> __bpc_progress_state__ sumUpdate 120/128
> __bpc_progress_state__ rename total
> BackupPC_refCountUpdate: host localhost got 0 errors (took 4 secs)
> BackupPC_refCountUpdate total errors: 0
> Xfer PIDs are now
> xferPids
> Finished BackupPC_refCountUpdate (running time: 5 sec)
> Xfer PIDs are now
> xferPids
> dump failed: rsync error: error in rsync protocol data stream (code 12) at
> io.c(629) [Receiver=3.0.9.11]
>
> What can I do to resolve the issue ?
>
> Thank you
>
> Regards
>
> Hari
>
>
>
>
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/