Can't delete a file sabnzbd has created

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
mmouse
Newbie
Newbie
Posts: 3
Joined: August 5th, 2012, 5:09 pm

Can't delete a file sabnzbd has created

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Help With Categories

Post by shypike »

Cannot just move the __admin__ folder to /var/temp or other location
where it's out of harms way?
mmouse
Newbie
Newbie
Posts: 3
Joined: August 5th, 2012, 5:09 pm

Re: Can't delete a file sabnzbd has created

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Can't delete a file sabnzbd has created

Post by shypike »

No, I mean move the __ADMIN__ folder itself, not what's in it.
mmouse
Newbie
Newbie
Posts: 3
Joined: August 5th, 2012, 5:09 pm

Re: Can't delete a file sabnzbd has created

Post by mmouse »

Yeah that's what I tried.

'mv __ADMIN__ /tmp/'

gives

mv: cannot stat `__ADMIN__/SABnzbd_article_xFqmbU': No such file or directory
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Can't delete a file sabnzbd has created

Post by shypike »

And "sudo rm -f badfile" doesn't help either?
If not, try a consistency check on the file system.
Post Reply