Page 1 of 1

Can't delete a file sabnzbd has created

Posted: August 5th, 2012, 5:19 pm
by mmouse
Ok I have spent all night trying to obliterate this pesky file but nothing I throw at it works.

setfacl: /media/myraidnumber/Server////Downloads/Incomplete/TVSHOW/__ADMIN__/SABnzbd_article_xFqmbU: No such file or directory

The file/folder in question is in the __ADMIN__/ folder and an 'ls -all' shows me:

Code: Select all

total 20
drwxrwxrwx+ 2 admin root 12288 Aug  5 22:25 .
drwxrwxrwx+ 3 root  root    22 Aug  5 22:25 ..
??????????? ? ?     ?        ?            ? SABnzbd_article_xFqmbU
I can't find anything on google about the ??question marks?? but it suggests to me that it's corrupt. All the command like rm -rf * fail with 'No such file or directory'.

I'm on a debian linux distro and at the moment this one little file is stopping me from setting acl which is having consequences on other services like DLNA. I've stopped SAB from running and tried deleting. The file is on a raid 5 so I can't really take it into my machine and try using a different os to delete. Nor can I use a live cd/usb to boot ubuntu or something because I'm not sure how to mount the raid from there as I can't risk losing any data.

Thanks

Re: Help With Categories

Posted: August 6th, 2012, 12:40 am
by shypike
Cannot just move the __admin__ folder to /var/temp or other location
where it's out of harms way?

Re: Can't delete a file sabnzbd has created

Posted: August 6th, 2012, 3:16 pm
by mmouse
Hi, thanks for the reply.

Whatever I try to do to it (be it copy, move, remove, chmod, chown) I get the following

mv: cannot stat `__ADMIN__/SABnzbd_article_xFqmbU': No such file or directory

Re: Can't delete a file sabnzbd has created

Posted: August 6th, 2012, 4:02 pm
by shypike
No, I mean move the __ADMIN__ folder itself, not what's in it.

Re: Can't delete a file sabnzbd has created

Posted: August 9th, 2012, 12:55 pm
by mmouse
Yeah that's what I tried.

'mv __ADMIN__ /tmp/'

gives

mv: cannot stat `__ADMIN__/SABnzbd_article_xFqmbU': No such file or directory

Re: Can't delete a file sabnzbd has created

Posted: August 9th, 2012, 1:10 pm
by shypike
And "sudo rm -f badfile" doesn't help either?
If not, try a consistency check on the file system.