Linux Server Install Help

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
sobgtp
Newbie
Newbie
Posts: 2
Joined: October 1st, 2011, 10:34 am

Linux Server Install Help

Post by sobgtp »

Hello,

Setting up my media server and I was working on getting sabnzbd up and running however I am running into an issue and I was wondering if someone could assist

Ubuntu 10.04

I understand that I need to update the configuration file /etc/default/sabnzbdplus , I edit the file with my system user i.e. USER:shawn and I have udpated the host and port so that it will run as a service

The name I am setting up the configuration file with is the same user name that I use for the server, however when I attempt to start the service I am given and error message:

Code: Select all

shawn@SERVER:~$ sudo service sabnzbdplus start
/etc/default/sabnzbdplus: 12: USER:shawn: not found
 * SABnzbd+ binary newsgrabber: not configured, aborting. See /etc/default/sabnzbdplus
The contents of my config file are:

Code: Select all

USER:shawn

# [optional] full path to the configuration file of your choice;
#            otherwise, the default location (in $USER's home
#            directory) is used:
CONFIG=

# [optional] hostname/ip and port number to listen on:
HOST=0.0.0.0
PORT=8090
It is probably something simple but every guide that I find simply says update the file and start the service

Thanks
Shawn
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Linux Server Install Help

Post by sander »

Why do you leave "CONFIG=" empty? What if you let that point the existing sabzbnd.ini (in ~/.sabnzbd).

Oh wait: you *can* run sabnzbdplus from the command line, can't you?
sobgtp
Newbie
Newbie
Posts: 2
Joined: October 1st, 2011, 10:34 am

Re: Linux Server Install Help

Post by sobgtp »

I tried pointing to the ~/.sabnzbd/sabnzbd.ini file but that made no difference.

I can not run it from the command prompt, I have the config file updated but every time I attempt to run the application it gives me the user not found error message.
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Linux Server Install Help

Post by sander »

Here's the recipe:

login as shawn
open a terminal, type "sabnzbdplus" + <ENTER>. If the wizard starts, fill out everyting.
Now, check that SABnzbd is running correctly: can you use the webinterface? Does it download?
If so, stop sabnzbdplus.
Edit the sabnzbdplus config file (the one containg USER:shawn), and fill out "CONFIG=/home/shawn/.sabnzbd/sabnzbd.ini". Save the file.
Now start sabnzbdplus via "sudo service sabnzbdplus start"

HTH
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Linux Server Install Help

Post by jcfp »

sobgtp wrote:

Code: Select all

shawn@SERVER:~$ sudo service sabnzbdplus start
/etc/default/sabnzbdplus: 12: USER:shawn: not found
 * SABnzbd+ binary newsgrabber: not configured, aborting. See /etc/default/sabnzbdplus
The contents of my config file are:

Code: Select all

USER:shawn
That semicolon is your problem. Replace with "=" to fix. Setting CONFIG is optional, just as it says; leaving it empty will just use the standard location (perfectly fine for most users).
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Linux Server Install Help

Post by sander »

jcfp wrote:
That semicolon is your problem. Replace with "=" to fix.
Ah, good catch!
Post Reply