Solved

non-zero return status from tar

Posted on 2008-09-30
3
361 Views
Last Modified: 2013-12-16
I get a return status of '1' after an apparently successful tar. Does anyone have any idea why? An errno of 1 is 'operation not permitted'. Here are the messages I get when running tar. None appear to imply "operation not permitted":

tar: Removing leading `/' from member names
tar: /var/log/backup/backup.080929: file changed as we read it
tar: /var/run/dbus/system_bus_socket: socket ignored
tar: /var/run/proftpd/proftpd.sock: socket ignored
tar: /var/run/acpid.socket: socket ignored
tar: /dev/gpmctl: socket ignored
tar: /dev/log: socket ignored
tar: Removing leading `/' from hard link targets
0
Comment
Question by:jmarkfoley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Accepted Solution

by:
jools earned 500 total points
ID: 22604184
The error is not zero because of the messages, they look like they are just warnings and can be ignored.

I guess the backup.080920 is your backup log file which is being updated as the backup is progressing.
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 22612532
OK, I'll go with that.
0
 
LVL 7

Expert Comment

by:mchkorg
ID: 22612623
too late, but maybe --ignore-fail-read would avoid your 2nd err msg (file changed while reading)
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

724 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