Solved

Getting error "Child exited prematurely" during backup of server

Posted on 2008-06-17
2
1,463 Views
Last Modified: 2013-12-15
I have recently started getting a backup failure ("Child exited prematurely") on 1 out of our 6 servers being backed-up by backuppc on a debian Linux server.  Previously this server has been backing up with no problems.

Looking at the error log, there are thousands of lines as follows:

Can't open /var/lib/backuppc/pc/<server>/new//f%2fetc/ for empty output

which I assume are the reason for the "Child exited prematurely" error.   Notice I just put <server> in place of the actual server name that shows up there.  

How can I fix this?

-----------

Here is a bit more directly from the log:

Running: /usr/bin/ssh -q -x -l backuppc postman nice -n 19 sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --ignore-times . /etc/
Xfer PIDs are now 14751
Got remote protocol 29
Xfer PIDs are now 14751,14752
.: md4 doesn't match: will retry in phase 1; file removed
[ skipped 939 lines ]
Can't open /var/lib/backuppc/pc/postman/new//f%2fetc/ for empty output
[ skipped 1 lines ]
Can't open /var/lib/backuppc/pc/postman/new//f%2fetc/ for empty output
[ skipped 1 lines ]
Can't open /var/lib/backuppc/pc/postman/new//f%2fetc/ for empty output
[ skipped 1 lines ]
... and on and on repeated
0
Comment
Question by:mvid
2 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 21805453

Must be a very precocious child {snicker}...


0
 

Accepted Solution

by:
mvid earned 0 total points
ID: 21821469
I may have fixed the problem... at least I'm not getting errors anymore and the backup is working again.  I changed --devices to -D for variables $Conf{RsyncArgs} and $Conf{RsyncRestoreArgs} in file /etc/backuppc/config.pl
I found this suggestion elsewhere but pertaining to an older version of backuppc... so I'm not sure if this is what fixed it, but seeing as I changed nothing else, it must be.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question