Page 1 of 1

Reset Sab port to default in terminal?

Posted: April 19th, 2014, 4:41 pm
by zoo_zombie
I'm on Ubuntu 12.04

Can anyone tell me how to reset the Sab port back to its default within terminal?

I originally changed it to a port that I thought I had set up for port forwarding but now I get the messege...
sabnzbdplus 0.7.17




SABnzbd needs a free tcp/ip port for its internal web server.
etc.

Alternatively, how do I completely remove Sab (and the settings I've put in) and just start over fresh?

Thank you in advance and I do apologize for being such a beginner.

Re: Reset Sab port to default in terminal?

Posted: April 19th, 2014, 11:32 pm
by sander
All settings are in:

Code: Select all

~/.sabnzbd/sabnzbd.ini
So you can: stop sabnzbd. then remove that file, and start sabnzbd again.

Or just change the port: it's the first occurence of "port" at the beginning of the line. So:

Code: Select all

grep port ~/.sabnzbd/sabnzbd.ini
https_port = 9090
port = 8080   <<<<<<<<<<<<---------- that one
port = 119
port = 563

Re: Reset Sab port to default in terminal?

Posted: April 20th, 2014, 11:48 am
by zoo_zombie
Awesome!

Thanks Sander!

How do I know if Sab is running?

How do I stop it?

Re: Reset Sab port to default in terminal?

Posted: April 20th, 2014, 11:55 am
by sander

Code: Select all

sander@hpi3:~$ ps -ef | grep -i sabnzbd
sander    7523  2456  0 11:37 pts/16   00:03:04 /usr/bin/python -OO /usr/bin/sabnzbdplus
sander   12770  6751  0 18:54 pts/26   00:00:00 grep --color=auto -i sabnzbd
sander@hpi3:~$ 
... see the line "/usr/bin/python -OO /usr/bin/sabnzbdplus" ... meaning SAB is running.

Re: Reset Sab port to default in terminal?

Posted: April 20th, 2014, 12:20 pm
by zoo_zombie

Code: Select all

woody@Woodys-PC:~$ ps -ef | grep -i sabnzbd
woody     5295  5235  0 12:08 pts/1    00:00:00 grep --color=auto -i sabnzbd
woody@Woodys-PC:~$ 
So Sab is not running?

Re: Reset Sab port to default in terminal?

Posted: April 20th, 2014, 12:27 pm
by sander
zoo_zombie wrote:

Code: Select all

woody@Woodys-PC:~$ ps -ef | grep -i sabnzbd
woody     5295  5235  0 12:08 pts/1    00:00:00 grep --color=auto -i sabnzbd
woody@Woodys-PC:~$ 
So Sab is not running?
Indeed