Ubuntu :: Unable To Delete The Truncated Backup File

Oct 28, 2010

I was doing a big backup system this morning (in Ubuntu 10.10) which was taking some time, when there was an urgent task I needed to see to, so I rashly stopped the backup with CTRL-C. Later I found that this left the recipient directory with an input-output problem, so I could not delete the truncated backup file (or any other file in the directory). I tried all sorts of chmod procedures etc., including using the usually very successful RESCUE CD from a USB pen, but nothing seemed to cure the input-output problem.

In the end, in desperation, I copied all the other files into a new directory, and then deleted the original directory from Windows 7. (I use a multiple boot system.) Windows obviously does not observe the same permissions as Linux, and it obeyed without demure! So all is now well.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Unable To Delete Simple Backup Folder From Trash

Jul 17, 2010

I'm a beginner at backing up my Ubuntu system, but I've set Simple Backup to do a backup once a week. I deleted the oldest of these files, but now it's sitting in my Trash and I can't empty it. I get a permission denied error for the folders within the backup folder in the trash, yet I can't restore the folder either - Ubuntu says it 'failed to determine the original path' for the folder. I've just discovered this in Xubuntu Jaunty, but I'm confident the same will happen in any other WM I choose (I have several installed - I like variety ).

It's not a huge file, but it's hanging out there and I'd like to get it either deleted or restored. Possibly I oughtn't to have deleted it in the first place (it usually lives in /var/backup, which I can't access except as root). The files, which I probably deleted /as/ root, show up in my user trash rather than root's trash. I found the trash in ~/.local/share/Trash/files, but I'm not sure if just deleting them as root would be a good.

View 1 Replies View Related

Red Hat / Fedora :: Error While Compiling With Eclipse - File Truncated

Oct 14, 2010

I get an error while compiling in Eclipse:
*.o: file not recognized: File truncated
I tried to remove all the .obj and .moc folders and make clean but can't solve the problem! Maybe I'm missing something here.

View 2 Replies View Related

Programming :: Ar - .libs/libbfd.a - Error Reading Archive.o - File Truncated

May 30, 2010

So the above is the error message I am receiving when trying to compile (at make stage when error received) binutils 2.20.1. I am compiling in Virtualbox and the base machine is SourceMage 64bit.

View 4 Replies View Related

Ubuntu :: Unable To Delete A File

Feb 6, 2011

My problem is with a file that I can't delete, or move for that matter.

My dad was just randomly saving pictures and deiced he wanted to trash it. I don't know what he did, but in no longer has a file name, just the extension jpeg. Now I tried to right click it and move to the trash, but that option isn't highlighted, same for the rename. When I try to move it, it says the file does not exist. Here is what is says exactly:

Error stating file '/home/ashley/Desktop/Ed/dads files/TV Shows/isis (joanna cameron)/jpeg': No such file or directory

View 1 Replies View Related

Ubuntu :: Unable To Delete Certain File From Wastebasket?

Feb 23, 2011

I have a problem deleting a certian file from a NTFS format 1TB USB HDD.

I attempted to MOVE the file (x.avi) to another directory on the same drive. On the MOVE process I accidently cancelled it. I then COPIED the file to another directory, this copied fine so i just need to delete the original x.avi.note; when I now attempt to move the original x.avi I get an error message: "Error while moving "x.avi". There was an error moving the file into /media/1TB/Movies. More details: Error moving file: Numerical result out of range. (I'm assuming a corrupted file)?

Lastly, every time i attempt to delete x.avi, it puts the file in the wastebasket but doesnt delete it; Every delete attempt makes a new file in the wastebasket (e.g. x, x.1, x.2, x.3, x.5 etc etc).

All other files/folders are fine its just this 1 folder/file.

View 9 Replies View Related

General :: Script To Delete Selected BackupFiles And Restore Selected Backup File?

Jul 18, 2010

i am new to linux and i nid a bash script to Delete selected backup files and also restore selected backup file to a user define directory.

View 3 Replies View Related

Fedora :: Unable To Delete File

Aug 12, 2010

I am not able to delete any file. I am seeing following error when i am trying to delete. "The trash has reached its maximum size! Cleanup the trash manually.".

But Trash is already empty and the file i am trying to delete is only 28bytes.
the folders '~/.local/share/Trash/files' and '~/.local/share/Trash/info' are also empty and there permissions are also correct. file manager is dolphin.

i saw this problem happening after firefox crashed.

I found a file ~/.local/share/Trash/metadata with following content- [Cached] Size=18446744068999530549

After setting SIze=0, i am able to delete files.

View 3 Replies View Related

Ubuntu :: Unable To Delete Folder (.fuse_hidden* File)?

May 30, 2011

I am running the latest version of Ubuntu (Ubuntu 11.04) which i setup as a dual boot OS with Windows XP SP3. I was listening to my MP3s using the Banshee music player on Ubuntu. My MP3s reside on an NTFS drive (which I mounted in Ubuntu to hear the MP3s). Via the Banshee player I deleted all songs from a particular folder and thought nothing of it until I later booted into Windows.

I saw the folder that had the songs I had deleted the songs and and thought I'd delete the folder as well except that I couldn't. It said the file might be corrupted. I logged backed into Ubuntu (Windows XP was shutdown not hibernated as I remember hearing that on Hibernating, you can't properly delete/copy files on Windows partitions). In Ubuntu too, I wasn't able to delete this folder - either via the Folder explorer or via terminal. I see a file named ".fuse_hidden0000041b00000017" along with some other files I had deleted (in Turquoise colour). I didn't see any posts in this forum with a help on resolving this issue

View 2 Replies View Related

Red Hat / Fedora :: Unable To Delete Nippy File

Mar 26, 2009

Somehow I managed to create a file in /some/dir/ called "-v". How can I remove it? I've tried various and many methods... rm, rm *v, moving all files except that one and then issuing rm -rf but the problem is the -v file is being taken for a switch.

View 4 Replies View Related

Server :: Unable To Decompress TGZ Backup File

Jan 3, 2011

I have recently upgraded to Bugzilla3 and I wanted to restore my bugzilla database with my backup but when I attempt to tar -xvvzf file.tgz I get the error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

My script that creates the backup is:
#!/bin/sh
datestr=`date +%m-%d-%Y`
bakdirpart="bugzilla.backup.$datestr"
bakdir="$HOME/$bakdirpart"
mkdir "$bakdir"

(cd /etc; tar cvzf $bakdir/mysql.conf.tgz mysql)
(cd /etc; tar cvzf $bakdir/apache2.conf.tgz apache2)
(cd /usr/share; tar cvzf $bakdir/bzreport.share.tgz bzreport)
(cd /usr/share; tar cvzf $bakdir/bugzilla.share.tgz bugzilla)
(cd /var/lib; tar cvzf $bakdir/mysql.hotdb.tgz mysql)
(cd /var; tar cvzf $bakdir/www.tgz www)
(cd "$HOME"; tar cvf "${bakdir}.tar" "$bakdirpart")

Is there any way to recover my backup copy?

View 7 Replies View Related

CentOS 5 :: Unable To Edit/delete File - Operation Not Permitted

Mar 31, 2011

I'm having a problem where I'm unable to delete a file, even as root. Any attempts to remove or otherwise modify the file result in 'Operation not permitted'.

# rm d91c6a6e_2a2d7_out.xml
rm: remove regular file `d91c6a6e_2a2d7_out.xml'? y
rm: cannot remove `d91c6a6e_2a2d7_out.xml': Operation not permitted

View 3 Replies View Related

Server :: Amanda Unable To Copy Backup File From Holding Disk To Tapes

May 14, 2010

I have some issue with my amanda backup server, which is connecting with Scalar Quantum i500 via FC. I got the error as below 3 days ago.
These dumps were to tape 000289.
*** A TAPE ERROR OCCURRED: [No more writable valid tape found].

Normally I will load the proper tapes and run the amflush to push stuff from the holding disk to tapes manually. However this time amflush in this case did not help, Amanda immediately responded with an out of tape error again.

Meanwhile I got some errors from dmesg as well
st3: Error 18 (sugg. bt 0x0, driver bt 0x0, host bt 0x0).
scsi1 (0,3,0) : reservation conflict

View 8 Replies View Related

Ubuntu :: Delete File - No Right Click Delete Option?

Feb 18, 2010

Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?

View 6 Replies View Related

Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory

Nov 10, 2010

This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:

# delete backups older than 7 days
find /mnt/backup/*  -mtime +7 -exec rm -Rf {} ;

The problem is, every morning I get an email with an error message something like this:

find: `/mnt/backup/subfolder': No such file or directory

View 2 Replies View Related

General :: File Is An Automated Backup Script, Backup.sh?

Sep 13, 2010

Can some one give me a sample of a crontab for backing a directory please, System is Ubuntu 9.04Quote:

#!/bin/bash
# this file is an automated backup script, backup.sh.
# this backs up my domain site.

[code]....

View 7 Replies View Related

Programming :: Rsync In A Backup Script Doesn't Delete-after

Oct 6, 2010

That is the whole script:

Code:
#!/usr/bin/env bash
# backup device for me, m.tornow, probably:
# /dev/sde1

[Code].....

and BU_MOUNTPOINT being the mount-point where a device is being mounted (duh).

View 6 Replies View Related

General :: Using Shell Script Crontab Backup And Delete With Schedule?

Jun 20, 2011

I have a problem need help, I want to do a schedule with using shell script with crontab in linux SuSE SLES 10.

1. I have many server that want to do backup mysql all from that server everyday. I need advice for for write shell script to backup all mysql in different server to server backup everyday and create auto folder as date example 27102009, 28102009..........for a month will has 30 folder in server backup.

2. Also need to write shell script to delete all folder but keep only one week last example from 1 to 30 it will has 30 folder in sever backup but i want to keep only 7 folder last and want to set schedule delete it every saturday night.

3. used that shell script with crontab in linux.

View 3 Replies View Related

Security :: Site Definitely Hacked - Can't Delete Files To Restore Backup

Apr 9, 2010

I've discovered that after restoring my site's backup this has happened to me again. How to delete the hacked /home/crocbits directory so that I can restore the backup under the same username. When I try to delete /home/crocbits I get this message when logged in as root:

[Code]...

View 9 Replies View Related

Programming :: Create/delete Temp/backup Files Through A Shell Script?

Dec 31, 2008

I have a shell script that need to create some files:

1) backup files of user passed in file ( that will be written by this shell ).

2) temp files that the shell will create and later delete/remove.

This shell script will be used from my local dir ( I am not a super or a sysadmin ). Users of this shell will call this script to run on their local files in their respective directories. When my script runs, it errors with the following:

cp: cannot create regular file `./listfile.txt.backup': Permission denied
/home/myUser/tools/myShellScript: line 12: listfile.txt: Permission denied

for the temp I was able to avoid this error by creating the temp file in the /tmp directory. All I want is for this shell script to run, create/modify/backup files in user's local dirs.

The user dir has the following permission:

drwxr-xr-x testDir

the file that needs to be backed-up has:

-rw-r--r-- listfile.txt.

View 7 Replies View Related

Ubuntu :: Recover Brasero Truncated Files?

Nov 22, 2010

I used a bootable usb (Ubuntu 10.10) to backup files from an infected windows machine. I made backup DVD's using Brasero and disabled full windows compatibility when burning them to disc. The really dumb part was I didn't check the DVD's before I reinstalled windows on the drive I was backing up. They were all there, I assumed they were ok. The files on the DVD's (mix of doc, xls, jpg, etc.) won't open in windows or Linux. Anybody know of a way to recover them? From what I've been reading, it seems like I'm screwed, but I thought I'd check with the experts. Is there a specific way Brasero/Linux changes the file, and can that info can be used to change it back? I assume it just cuts the name/header to 64 characters and I'm SOL. I'm going to see what diskdoctor's recovery software can get back from the hard drive.

View 2 Replies View Related

Software :: Scheduling Backup In Crontab When Put This File In Crontab To Schedule The Backup Program It Wont Run?

Apr 9, 2011

I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh

View 1 Replies View Related

Ubuntu :: Files Get Truncated On Write When No Space Left

Aug 3, 2010

If I run low on free space, and I/system need to write something, then the files are just truncated. With no way to revert to their previous content.

First I installed the Windows on the VirtualBox, it sucked up all free space, so I couldn't even login to the system afterwards.

Then I, once again, silently ran out of free space, and my php editor broke. Later I discovered that it tried to write its config files, but failed, truncating them all. I lost a half a year of configurations, custom color scheme and custom code snippets.

Then one day the system just froze. Later I understood, there wasn't enough free space for it to run.

Today I was working on my php script, for like the second day, when, again, free space ran out, so with another file-save, I got a wonderfully impressing blank php-file. It was auto-reloaded from the external change, which was failure to write to file, obviously, so no ctrl-z worked, leaving me with two days work wasted and an urge to hit the monitor

My questions are:
1 How can this be fixed? Besides the obvious awesome fix "watch your free space, buddy".
2 Could somebody explain why these sorts of things happen, just so I know why the ultra-safe and durable 'nix operating system wants to destroy itself sometimes?
3 Anyone else encountered this issue?

View 3 Replies View Related

General :: Mail Subject Getting Truncated

Sep 23, 2010

Here is a script that I use to send mails

Code:
#!/bin/bash
SUBJECT="This server has problem"
TO="308718@CDCTGIMCLSB.localdomain"
cat mail | mail -s ${SUBJECT} ${TO}

I am receiving the mail in mail box of system, but subject line getting truncated to just This instead of This server has problem. Here is mail

[Code]...

View 4 Replies View Related

Security :: Root's .bash_history Has Been Truncated To 0

Feb 9, 2010

I have a recently installed Ubuntu Karmic with standard packages. I enabled automatic security updates and manually updated every package once. I have the root account enabled. At ~1am GMT my .bash_history file for the root account has been truncated to zero. I think the PC may have crashed (no keyboard, mouse, etc, but still some HD activity) at around this time. The disk isn't full, but this is a fresh install, I do not have direct net access (NAT) and I have only visited a limited number of web sites.

View 5 Replies View Related

Ubuntu Networking :: SSL Handshake Failed - Secure Connection Truncated

Jun 16, 2010

I'm having a problem with Subversion. When I try an "svn up" it gives me this error message:
SSL handshake failed: Secure connection truncated
I'm running Ubuntu 10/4 but I also had this problem with 9/10. Does anyone know what this error message means? It appears to be an SSL problem but it's not clear to me what exactly the problem is. I do not have this problem with svn on my other office computer, nor my home computer. FYI, I'm running subversion on the Regina project.

The full error message is this:
Code:
svn up
svn: OPTIONS of '[URL]': SSL handshake failed: Secure connection truncated [URL]. Although I don't think there's anything specific to Regina about this svn problem, as I mentioned, I can "svn up" from home, or from my other office computer.

View 9 Replies View Related

OpenSUSE :: Get Zypper To Show The Full Description Of Packages Rather Than A Truncated Summary?

Jan 10, 2011

How can I get Zypper to show the full description of packages rather than a truncated summary? When I use zypper to list installed packages or search for packages from the command line I would like to see the full detailed description of the packages that are returned in the results. Currently zypper only shows me a truncated summary description.

View 2 Replies View Related

General :: Find Folders With ONLY One Specific File In And Delete File And Folde

Oct 21, 2009

Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.

View 5 Replies View Related

General :: Remove Write-Protected File - Will It Actually Delete The Password File?

Jul 30, 2010

When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?

View 1 Replies View Related

Red Hat / Fedora :: Edit A Text File To Delete All Commas In The File?

Jan 4, 2011

i want to find a command line way to edit a text file to delete all commas in the file. i do not want to replace them w/ anything.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved