Help new to Linux and made a mistake with installing...

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
PC_Arcade
Newbie
Newbie
Posts: 6
Joined: July 17th, 2019, 1:28 pm

Help new to Linux and made a mistake with installing...

Post by PC_Arcade »

I followed this guide at linuxbabe.assuming (wrongly it would work on ubuntu server 18.04.

I attempted to remove it (sudo apt remove sabnzbdplus) and reinstall using the correct procedure shown on the SABnzb siute

But now when I attempt to start sabnzbd as a service I get : Job for sabnzbdplus.service failed because the control process exited with error code.
See "systemctl status sabnzbdplus.service" and "journalctl -xe" for details.
and systemctl status shows:

Code: Select all

 sabnzbdplus.service - LSB: SABnzbd+ binary newsgrabber
   Loaded: loaded (/etc/init.d/sabnzbdplus; generated)
   Active: failed (Result: exit-code) since Wed 2019-07-17 18:33:04 UTC; 30s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 15333 ExecStart=/etc/init.d/sabnzbdplus start (code=exited, status=2)

Jul 17 18:33:03 pca_server systemd[1]: Starting LSB: SABnzbd+ binary newsgrabber...
Jul 17 18:33:03 pca_server sabnzbdplus[15333]:  * Starting SABnzbd+ binary newsgrabber
Jul 17 18:33:04 pca_server sabnzbdplus[15333]:    ...fail!
Jul 17 18:33:04 pca_server systemd[1]: sabnzbdplus.service: Control process exited, code=exited status=2
Jul 17 18:33:04 pca_server systemd[1]: sabnzbdplus.service: Failed with result 'exit-code'.
Jul 17 18:33:04 pca_server systemd[1]: Failed to start LSB: SABnzbd+ binary newsgrabber.
if start sabnzbplus I get no error, but when I browse to the ubuntu machines ip (192.168.0.5:8080) no web page shows just "Firefox can’t establish a connection to the server at 192.168.0.5:8080."

I'm new to Linux and don't know how to get out of the mess I've made! please help!
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Help new to Linux and made a mistake with installing...

Post by sander »

start SAB like this:

Code: Select all

sabnzbdplus -s 0.0.0.0
... then you can access it from other devices on your LAN
PC_Arcade
Newbie
Newbie
Posts: 6
Joined: July 17th, 2019, 1:28 pm

Re: Help new to Linux and made a mistake with installing...

Post by PC_Arcade »

Still not working, plus Ideally I'd like to get it working as a service
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Help new to Linux and made a mistake with installing...

Post by sander »

PC_Arcade wrote: July 17th, 2019, 2:41 pm Still not working
If you don't give details, I can't help you
PC_Arcade wrote: July 17th, 2019, 2:41 pm plus Ideally I'd like to get it working as a service
First things first.
PC_Arcade
Newbie
Newbie
Posts: 6
Joined: July 17th, 2019, 1:28 pm

Re: Help new to Linux and made a mistake with installing...

Post by PC_Arcade »

Same as before, on my windows machine I browse to 192.168.0.5:8080 and ge
t: Unable to connect

Firefox can’t establish a connection to the server at 192.168.0.5:8080. after starting with sabnzbdplus -s 0.0.0.0

does this help (from journalctl -xe:


Jul 17 19:55:43 pca_server systemd-resolved[1103]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level U
Jul 17 19:55:43 pca_server rpc.mountd[1455]: can't get hostname of 192.168.0.100
PC_Arcade
Newbie
Newbie
Posts: 6
Joined: July 17th, 2019, 1:28 pm

Re: Help new to Linux and made a mistake with installing...

Post by PC_Arcade »

I've got the first bit working!!!

I started with sabnzbdplus -s 192.168.0.5 and it works!

I noticed in the startup it was attempting to start the server on 192.168.0.100 (presumably as the Linux box is headless, the ip is being read from the box I'm sshing in from)

SO part one done!! :)

I've just tried again and it's working as a service too! :)
Post Reply