Solved

Getting error "Child exited prematurely" during backup of server

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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Suggested Solutions

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

914 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

20 Experts available now in Live!

Get 1:1 Help Now