Solved

Getting error "Child exited prematurely" during backup of server

Posted on 2008-06-17
2
1,449 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
Comment Utility

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


0
 

Accepted Solution

by:
mvid earned 0 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now