RE: File not found error creating tar.bz2 archive

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Fries
Date:  
To: Main PLUG discussion list
Subject: RE: File not found error creating tar.bz2 archive
Ok, remember, in the right location is only half the problem, if your path is set wrong, files in the correct location are still not found.

So, since running without the -j did not change things, assume the problem is in tar. Check the backup directory for a broken symlink.

Kevin

Sent from my Nokia phone
-----Original Message-----
From: Paul Mooring
Sent: 02/11/2010 1:41:51 PM
Subject: Re: File not found error creating tar.bz2 archive

yes, like my reply above shows with or without the j I get an error
saying /backups/bkup/2010-02-11.tar.bz2 is missing and which bzip2,
correctly show /bin/bzip2 exists and is in the proper location.

On Thu, Feb 11, 2010 at 1:38 PM, Kevin Fries <> wrote:
> Even when dropping the -j?  You are perming two actions, one is failing, which one?  Find out by doing the actions seperately.  It will allow you to narrow in on the problem.
>
> Kevin
>
> Sent from my Nokia phone
> -----Original Message-----
> From: Paul Mooring
> Sent:  02/11/2010 1:32:28 PM
> Subject:  Re: File not found error creating tar.bz2 archive
>
> don't think that's it, it consistently tells me it can't find the file
> I'm trying to create:
>
> Thu Feb 11, 01:11 PM
> paul@paulbox:~ $ sudo tar cjpf /backups/bkup/2010-02-11.tar.bz2
> /home/paul/Desktop/
> tar: /backups/bkup/2010-02-11.tar.bz2: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
> tar: Removing leading `/' from member names
> Thu Feb 11, 01:12 PM
> paul@paulbox:~ $ sudo tar cf /backups/bkup/2010-02-11.tar /home/paul/Desktop/
> tar: /backups/bkup/2010-02-11.tar: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
>
>
> On Thu, Feb 11, 2010 at 1:27 PM, Kevin Fries <> wrote:
>> It sounds like it is not finding bzip2 for some reason.  Try creating the tar without compression first.
>>
>> Kevin
>>
>> Sent from my Nokia phone
>> -----Original Message-----
>> From: Paul Mooring
>> Sent:  02/11/2010 1:16:37 PM
>> Subject:  File not found error creating tar.bz2 archive
>>
>> Just like the subject says, this...
>> paul@paulbox:~ $ sudo tar cjpf /backups/bkup/2010-02-11.tar.bz2
>> /home/paul/Desktop/
>> ...gives me this...
>> tar: /backups/bkup/2010-02-11.tar.bz2: Cannot open: No such file or directory
>> tar: Error is not recoverable: exiting now
>> tar: Removing leading `/' from member names
>>
>> I'm running it is as root so I don't think it's permissions but just in case...
>> paul@paulbox:~ $ ls -ld /backups
>> drwxrwxrwx 2 root root 48 Feb 11 13:12 /backups
>>
>> anyone know what I'm doing wrong here?
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss