SAB plugin not starting

Status
Not open for further replies.

bobbob1016

Explorer
Joined
Mar 26, 2014
Messages
51
I'm unable to start my SAB plugin, but everything else starts fine. I've checked my permissions on the data set, and they're 775 root/wheel now, but were 755, and I'm still getting the same error (from the jail's terminal):

root@sabnzbd_1:/usr/pbi/sabnzbd-amd64/etc/sabnzbd/logs # tail sabnzbd.error.log File "/usr/pbi/sabnzbd-amd64/lib/python2.7/threading.py", line 810, in __boots trap_inner self.run() File "/usr/pbi/sabnzbd-amd64/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/cherrypy/process/servers.py ", line 75, in _start_http_thread self.httpserver.start() File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/cherrypy/wsgiserver/__init_ _.py", line 1644, in start raise socket.error, msg error: [Errno 13] Permission denied

I don't want to just chmod without knowing what I'm chmodding, so any help would be appreciated. I have tried
chmod -R 777-ing the cherrypy, but that didn't work (I have since fixed those permissions via the dataset permissions).
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
chown -R media:media /usr/pbi/sabnzbd-amd64/share/sabnzbd/* /usr/pbi/sabnzbd-amd64/etc/sabnzbd

please don't ever chmod application files.
 

bobbob1016

Explorer
Joined
Mar 26, 2014
Messages
51
Do you mean to do that inside the jail, or outside? It looks like inside but I just want to make sure.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

bobbob1016

Explorer
Joined
Mar 26, 2014
Messages
51
Now I'm getting:
root@sabnzbd_1:/usr/pbi/sabnzbd-amd64/etc/sabnzbd/logs # tail *.log ==> sabnzbd.error.log <== File "/usr/pbi/sabnzbd-amd64/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/pbi/sabnzbd-amd64/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread self.httpserver.start() File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1644, in start raise socket.error, msg error: [Errno 13] Permission denied ==> sabnzbd.log <== IOError: [Errno 13] Permission denied: '/usr/pbi/sabnzbd-amd64/etc/sabnzbd/admin/watched_data.sab' 2014-03-26 05:53:42,200::INFO::[postproc:84] Saving postproc queue 2014-03-26 05:53:42,200::INFO::[__init__:904] Saving data for postproc1.sab in /usr/pbi/sabnzbd-amd64/etc/sabnzbd/admin/postproc1.sa b 2014-03-26 05:53:42,200::ERROR::[__init__:920] Saving /usr/pbi/sabnzbd-amd64/etc/sabnzbd/admin/postproc1.sab failed 2014-03-26 05:53:42,200::INFO::[__init__:921] Traceback: Traceback (most recent call last): File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/sabnzbd/__init__.py", line 907, in save_admin _f = open(path, 'wb') IOError: [Errno 13] Permission denied: '/usr/pbi/sabnzbd-amd64/etc/sabnzbd/admin/postproc1.sab' 2014-03-26 05:53:42,200::INFO::[__init__:426] All processes stopped

Maybe I borked something?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
did you change permission levels in your jail at all? another idea, did you change sabnzbds port?
 

bobbob1016

Explorer
Joined
Mar 26, 2014
Messages
51
Apart from on my Downloads folder (I couldn't access it outside the jail before), none that I recall. I've done one on the data-set in the jail, as I didn't think that would be an issue, but I guess it would be?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
doesn't sound like you did anything that should have screwed t up. in stumped. you could always try a new sabnzbs install.
 

bobbob1016

Explorer
Joined
Mar 26, 2014
Messages
51
Yeah, I was thinking of that. Just a minor irk, is I like having SAB listed above Sickbeard and CouchPotato, any way I can reinstall SAB above Sick and Couch?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I don't know/care about how the plugins order themselves.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'm the same way but about things like file naming, lol
 
Status
Not open for further replies.
Top