Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-06-2007, 08:16 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
Backups (tar and gzip) fail due to auditd -- please help

I have a regular backup that runs every 4 or 5 days. Essentially it tars up everything into multiple tar files. I then tar the tar files and gzip them. After gzipping them, I copy off the file to a NAS drive. This was working great until a couple of days ago. Now, either when the backup is gzipping or copying the file to the NAS drive it fails. The script completes, as it updates an "elapsed_time.txt" file; however, the backup is missing.

I believe that the failure occurs during the mv command where I move the backup from the temp location to the NAS drive.

The only hints I can find as to what may be the cause is this line in my /var/log/messages (actually, this message is repeated 10-50 times):

kernel: audit(1194392290.234:89): REJECTING access to capability 'sys_resource' (syslog-ng(2347) profile /sbin/syslog-ng active /sbin/syslog-ng)

I have also seen the following:
auditd[1921]: Audit daemon has no space left on logging partition

I tried clearing up log files, but I can't seem to fix the issue.

I disabled auditd during the backup, but it didn't make a difference:

I am running:
OpenSuse 10.2

Thanks in advance.
Old 11-07-2007, 01:08 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
If you have an out of space problem then it may not be only triggered by an increase in log space usage. You are creating a lot of huge temporary files and the out of space condition could be caused by different files on different backup attempts.

I think that you should look for an out of space condition on several partitions. Check the partition where /tmp resides. Check the partition where you are creating the tarballs. Check the NAS partition. Also recheck the partition where the log files reside.

You can check the amount of available space with the df command:

Steve Stites


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
When to use tar , gzip and tar+gzip ? tofee Linux - Newbie 4 03-31-2006 06:59 AM
tar and gzip c0c0deuz Linux - General 2 10-31-2002 04:04 PM
gzip-1.2.4.tar Install ljc Linux - General 3 01-20-2002 10:44 PM
dd, tar and gzip nabil Linux - General 3 01-18-2002 05:51 PM
Need Serious Help With Tar And Gzip!! Please! rootlinux Linux - General 2 12-16-2001 02:39 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration