<---- template headericclude ----->
backuppc keeps telling me: "Unable to read 4 bytes"
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    backuppc keeps telling me: "Unable to read 4 bytes"

    Hi,
    I'm a bit stuck here. I used to have a running backuppc setup for a number of machines, but now it no longer does the job. I tried methods tar and rsync, but neither works.

    Last bad XferLOG for rsync method:

    Code:
     Contents of file /var/lib/BackupPC//pc/dolphin.ssc.kalliance.nl/XferLOG.bad.z, modified 2014-01-13 16:55:29
    
    full backup started for directory / (baseline backup #271)
    Running: /usr/bin/ssh -q -x -l root dolphin.ssc.kalliance.nl /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
    Xfer PIDs are now 12846
    Read EOF: Verbinding is weggevallen
    Tried again: got 0 bytes
    Done: 0 files, 0 bytes
    Got fatal error during xfer (Unable to read 4 bytes)
    Backup aborted (Unable to read 4 bytes)
    Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0)
    Last bad XferLOG for tar method:

    Code:
     Contents of file /var/lib/BackupPC//pc/dolphin.ssc.kalliance.nl/XferLOG.bad.z, modified 2014-01-13 17:19:08 (Extracting only Errors)
    
    Running: /usr/bin/ssh -q -x -n -l root dolphin.ssc.kalliance.nl env LC_ALL=C /bin/gtar -c -v -f - -C / --totals --exclude=./home/martin/.sabnzbd ./home ./etc ./data/Afbeeldingen ./data/Documenten ./data/Muziek
    full backup started for directory /
    Xfer PIDs are now 13321,13320
    Tar exited with error 65280 () status
    tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
    Got fatal error during xfer (No files dumped for share /)
    Backup aborted (No files dumped for share /)
    Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0)
    In my troubleshooting efforts, I renewed all rsa-keys. Here are some details about my setup. To keep it simple, both server and client machines are dolpin.ssc.kalliance.nl

    Details on backuppc user:

    Code:
    -bash-4.2$ id
    UID=991(backuppc) GID=988(backuppc) groepen=988(backuppc)
    -bash-4.2$ pwd
    /var/lib/BackupPC
    -bash-4.2$ df /var/lib/BackupPC/
    Bestandssysteem                  1K-blocks Gebruikt Beschikbaar Geb% Aangekoppeld op
    /dev/mapper/vg_dolphin-lv_backup 384431156 60256836   304623296  17% /var/lib/BackupPC
    -bash-4.2$ hostname
    dolphin.ssc.kalliance.nl
    -bash-4.2$ nslookup dolphin.ssc.kalliance.nl
    Server:		192.168.204.140
    Address:	192.168.204.140#53
    
    Name:	dolphin.ssc.kalliance.nl
    Address: 192.168.204.95
    
    -bash-4.2$ ls -als .ssh/
    totaal 28
    4 drwx------ 2 backuppc backuppc 4096 13 jan 17:04 .
    4 drwxr-x--- 8 backuppc root     4096 13 jan 12:58 ..
    4 -rw------- 1 backuppc backuppc  415 13 jan 16:41 backuppc@dolphin.ssc.kalliance.nl-id_rsa.pub
    4 -rw------- 1 backuppc backuppc 1679 13 jan 16:41 id_rsa
    4 -rw------- 1 backuppc backuppc  415 13 jan 16:41 id_rsa.pub
    4 -rw------- 1 backuppc backuppc  411 13 jan 16:53 known_hosts
    4 -rw------- 1 backuppc backuppc  411 13 jan 16:50 root@dolphin.ssc.kalliance.nl-id_rsa.pub
    -bash-4.2$ ssh -l root dolphin.ssc.kalliance.nl whoami
    root
    -bash-4.2$

    details on root user:
    Code:
    [root@dolphin ~]# [B]id[/ID]
    UID=0(root) GID=0(root) groepen=0(root)
    [root@dolphin ~]# ls -als .ssh/
    totaal 28
    4 drwx------.  2 root root 4096 13 jan 17:34 .
    4 dr-xr-x---. 13 root root 4096 13 jan 11:28 ..
    4 -rw-------   1 root root  415 13 jan 17:33 authorized_keys
    4 -rw-------   1 root root  415 13 jan 17:29 backuppc@dolphin.ssc.kalliance.nl-id_rsa.pub
    4 -rw-------.  1 root root 1675 13 jan 16:39 id_rsa
    4 -rw-------.  1 root root  411 13 jan 16:39 id_rsa.pub
    4 -rw-------.  1 root root 1958 25 mei  2013 known_hosts
    [root@dolphin ~]#
    Any help is appreciated.
    Martin

  2. #2
    Join Date
    Mar 2006
    Posts
    1,803
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)

    Re: backuppc keeps telling me: "Unable to read 4 bytes"

    So you said you had a running backup working, for how long? What changed? Did you upgrade and if so from what to what?

    BackupPC is a complex system to set up and may be beyond the experience of most Fedora users. So I recommend that you post your question to the backuppc-users mailing list at sourceforge.net .

    What are you backing up to, a partition on the server, an attached disk mounted at /var/lib/BackupPC?
    jbkt23
    Thinkpads Depends on era T23 - X2xx
    AMD & Intel Boxes

Similar Threads

  1. Failure of preupgrade f16 to f17 "unable to read package metadata"
    By Witgetsteinsbee in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 17th January 2013, 08:03 PM
  2. Upgrading with netinst CD, "Unable to read package metadata..."
    By KenJackson in forum Installation, Upgrades and Live Media
    Replies: 11
    Last Post: 9th January 2010, 04:30 PM
  3. Error "unable to read group information from repositories..."
    By peter_george in forum Installation, Upgrades and Live Media
    Replies: 8
    Last Post: 15th October 2009, 05:19 AM
  4. Kickstart install error "Unable to read group information from repositories"
    By GGGav in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 21st February 2008, 11:13 AM
  5. Replies: 4
    Last Post: 30th April 2007, 03:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]