File not found error creating tar.bz2 archive
Kevin Fries
kfries6 at gmail.com
Thu Feb 11 13:49:44 MST 2010
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 <kfries6 at gmail.com> 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 at 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 at 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 <kfries6 at gmail.com> 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 at 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 at 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 - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list