Solved

non-zero return status from tar

Posted on 2008-09-30
3
346 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
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

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

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.
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 locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

815 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

9 Experts available now in Live!

Get 1:1 Help Now