sabnzbd/admin/totals9.sab failed

Support for the Debian/Ubuntu package, created by JCFP.
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
FPSNige
Newbie
Newbie
Posts: 5
Joined: November 11th, 2012, 3:10 pm

sabnzbd/admin/totals9.sab failed

Post by FPSNige »

Hi all, Im having some problems with SAB as documented in the subject.

It all started out fine. Using supernews with sickbeard scanning my existing folders.

Then after dicking about with Couchpotato which I got as far as git clone, when trying to execute python Couchpotato.py it hung in the terminal. I eventually rebooted the server and since Ive been having problems.

first: 2012-11-11 19:31:57,180::ERROR::[__init__:812] Failure in tempfile.mkstemp

Which is odd as it does it it /home/USER/Downloads/incomplete and also /dev/sdb1 which is an NTFS partition that I have r/w working seeming perfectly under fuse. Both drives are far from being full.

Sickbeard seems to be parsing the info again after several restarts and "doing" folder changes but after they complete they always finish with a red skull now, being a convertee from bittorrent (likely at the wrong time, but I wont get into the politics) this is all new to me. But the downloads were completing how you'd expect earlier tonight.

Heres a pastebin of current errors:
http://pastebin.com/e63bCrKw
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd/admin/totals9.sab failed

Post by shypike »

Cannot tell with so little info, but it looks like you
don't give SABnzbd a writeable folder to do its work in.
How do you start it?
FPSNige
Newbie
Newbie
Posts: 5
Joined: November 11th, 2012, 3:10 pm

Re: sabnzbd/admin/totals9.sab failed

Post by FPSNige »

Many thanks for the reply. Ill try to be more comprehensive.

Basically its running on a Ubuntu 12.10 minimal server. I used GIT to grab SAB and moved it to /home/nigel/.sabnzbd. I then edited /etc/default/sabnzdplus adding only the username "nigel" that I want it to run under. I then ran rc-update so she starts at boot and all seemed well.

I have sab writing its temp files to an NTFS drive which the same user has full read/write access too (I just double checked and created a folder through the terminal in the dir successfully). But to test I also had sab writing to /home/nigel/Downloads/incomplete with the same issue.

I have however rm /sabnzbd/admin/totals9.sab and that issue is now seeming resolved. I do however continue to get:

Code: Select all

2012-11-12 18:15:33,132	ERROR:	Failure in tempfile.mkstemp
Which will error over and over again.

Ive also restarted sab with sudo command to be sure:

Code: Select all

nigel@server:~/.sabnzbd/logs$ sudo service sabnzbdplus stop
 * Stopping SABnzbd+ binary newsgrabber                                             [ OK ]
nigel@server:~/.sabnzbd/logs$ sudo service sabnzbdplus start
 * Starting SABnzbd+ binary newsgrabber                                             [ OK ]

Yet the same tempfile.mkstemp error continues.

FWIW Sickbeard is struggling to communicate with sab aswell:

Code: Select all

2012-11-11 19:15:17.380108 SEARCHQUEUE-BACKLOG-75682 :: Unknown failure sending NZB to sab. Return text is: 
Be this as it may, Ive still managed to shift over a hundred gig through the night.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd/admin/totals9.sab failed

Post by shypike »

First of all, don't put the sources in ~/.sabnzbd because that's also the default location for the administration.
You don't want to mix code and data.
If you want to use sources, I doubt that it's a good idea to use the package script.
The package script assumes that the sources have been tweaked to support usage in a package.
It's better to create your own startup script containing e.g.

Code: Select all

python -OO ~/sabnzbd/SABnzbd.py --daemon -f ~/usenet/
FPSNige
Newbie
Newbie
Posts: 5
Joined: November 11th, 2012, 3:10 pm

Re: sabnzbd/admin/totals9.sab failed

Post by FPSNige »

So, what your really saying is, I shouldnt be launching it with sudo?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd/admin/totals9.sab failed

Post by shypike »

You can, but normally it's not needed.
It depends on whether or not your access rights and ownerships are OK.
It's up to you really.
You have to be aware that when using sudo the value of ~ may be undefined (or wrong), so use full paths.
You definitely need sudo when you want to run SABnzbd's web server on a port lower than 1024.
FPSNige
Newbie
Newbie
Posts: 5
Joined: November 11th, 2012, 3:10 pm

Re: sabnzbd/admin/totals9.sab failed

Post by FPSNige »

She's running at 9090.

But, further tinkering seems to track it down to sickbeard. When Sickbeard isnt running the error goes away. Ive just re cloned from the git and started again. Im getting something wrong somewhere as its back. Gonna play with the autoProcessTV.cfg a little as I suspects its that.
FPSNige
Newbie
Newbie
Posts: 5
Joined: November 11th, 2012, 3:10 pm

Re: sabnzbd/admin/totals9.sab failed

Post by FPSNige »

Im not entirely sure what I did wrong. But likely due to me trying to make it all secure and completely locked down before I even used it.

But, I removed sab completely and sickbeard. started all from scratch and its working a dream.

Many thanks for the support!
Post Reply