Sabnzbdplus not running after install

eldano
Posts: 60
Joined: Fri Dec 17, 2010 2:26 am
Location: The Netherlands

Sabnzbdplus not running after install

Postby eldano » Sun Feb 15, 2015 3:07 am

I installed sabnzbdplus but for some reason the server does not start.
I hope that somebody can help me out as I have no idea how to fix this.
I tried reinstalling the app and rebooting the server.
I've seen on the forum that in case of issues people post the following, so I'll do that as well :).

Code: Select all

$ systemctl status sabnzbd.service sabnzbd.service - SABnzbd Plus server Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; enabled) Active: failed (Result: timeout) since Sun 2015-02-15 10:58:02 CET; 1min 25s ago Process: 7031 ExecStart=/var/hda/web-apps/sabnzbdplus/html/SABnzbd.py --browser 0 --daemon --pid /var/run/sabnzbd/ --config-file /var/hda/web-apps/sabnzbdplus/html/sabnzbd.ini (code=exited, status=0/SUCCESS) Process: 7029 ExecStartPre=/usr/bin/chown -R apache:users /var/run/sabnzbd/ (code=exited, status=0/SUCCESS) Process: 7028 ExecStartPre=/usr/bin/mkdir -p /var/run/sabnzbd/ (code=exited, status=0/SUCCESS) Feb 15 10:56:32 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... Feb 15 10:56:33 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-....Feb 15 10:58:02 localhost.localdomain systemd[1]: sabnzbd.service operation timed ou....Feb 15 10:58:02 localhost.localdomain systemd[1]: Failed to start SABnzbd Plus server. Feb 15 10:58:02 localhost.localdomain systemd[1]: Unit sabnzbd.service entered faile....[eldano@localhost ~]$
Cheers,
Dan

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbdplus not running after install

Postby bigfoot65 » Sun Feb 15, 2015 8:58 am

Unfortunately the error message provides little clue as to the problem. Please post the entries in the app installer log which is located in /var/log/amahi-app-installer.log file.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

eldano
Posts: 60
Joined: Fri Dec 17, 2010 2:26 am
Location: The Netherlands

Re: Sabnzbdplus not running after install

Postby eldano » Sun Feb 22, 2015 2:00 am

Thanks for the quick response.

When I look at that log file I find the following:

Code: Select all

======= app install begin @ 2015-02-15 10:26:19 +0100 ========== Installing app id l87u14kg9n under /var/hda/platform/html/script/.. ENV=production file /var/hda/tmp/amahi-download-cache/6cd46350b435a19de8d53eda35a75e8230f2260e picked up from cache. Your HDA services have been restarted. Your HDA services have been restarted. Configuring Amahi settings Installing sabnzbd.service Reloading systemctl daemon Enabling sabnzbd.service ln -s '/usr/lib/systemd/system/sabnzbd.service' '/etc/systemd/system/multi-user.target.wants/sabnzbd.service' Starting sabnzbd.service Job for sabnzbd.service failed. See 'systemctl status sabnzbd.service' and 'journalctl -xn' for details. App: SABnzbd Plus installed ======= app install end @ 2015-02-15 10:28:01 +0100 ==========
It indicates some status is logged somewhere else.
I did the following:

Code: Select all

[eldano@localhost ~]$ systemctl status sabnzbd.service sabnzbd.service - SABnzbd Plus server Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; enabled) Active: failed (Result: timeout) since Sun 2015-02-22 09:42:36 CET; 31s ago Process: 17614 ExecStart=/var/hda/web-apps/sabnzbdplus/html/SABnzbd.py --browser 0 --daemon --pid /var/run/sabnzbd/ --config-file /var/hda/web-apps/sabnzbdplus/html/sabnzbd.ini (code=exited, status=0/SUCCESS) Process: 17611 ExecStartPre=/usr/bin/chown -R apache:users /var/run/sabnzbd/ (code=exited, status=0/SUCCESS) Process: 17609 ExecStartPre=/usr/bin/mkdir -p /var/run/sabnzbd/ (code=exited, status=0/SUCCESS) Feb 22 09:41:06 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... Feb 22 09:41:06 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-....Feb 22 09:42:36 localhost.localdomain systemd[1]: sabnzbd.service operation timed ou....Feb 22 09:42:36 localhost.localdomain systemd[1]: Failed to start SABnzbd Plus server. Feb 22 09:42:36 localhost.localdomain systemd[1]: Unit sabnzbd.service entered faile....[eldano@localhost ~]$
Journalctl - xn command given the following about sabnzbdplus:

Code: Select all

Feb 22 09:47:06 localhost.localdomain systemd[1]: Starting SABnzbd Plus server... -- Subject: Unit sabnzbd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit sabnzbd.service has begun starting up. Feb 22 09:47:07 localhost.localdomain systemd[1]: PID file /var/run/sabnzbd/sabnzbd-2591
Cheers,
Dan

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbdplus not running after install

Postby bigfoot65 » Sun Feb 22, 2015 12:32 pm

Have you installed OS updates? Sometimes SABnzbd has issues with the OS is not current on updates. If you have not, recommend you do so, then uninstall, reboot, and reinstall.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

eldano
Posts: 60
Joined: Fri Dec 17, 2010 2:26 am
Location: The Netherlands

Re: Sabnzbdplus not running after install

Postby eldano » Wed Apr 01, 2015 1:43 am

I've just uninstalled sab, rebooted, updated with:

Code: Select all

sudo yum update
And installed sab again:
The same issue persists, sabnzbdplus sever is 'stopped'

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbdplus not running after install

Postby bigfoot65 » Wed Apr 01, 2015 2:37 am

Please check /var/log/amahi-app-installer.log for errors.
Also try entering

Code: Select all

systemctl sabnzbd.service -l
and post results.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

eldano
Posts: 60
Joined: Fri Dec 17, 2010 2:26 am
Location: The Netherlands

Re: Sabnzbdplus not running after install

Postby eldano » Thu Apr 02, 2015 11:40 am

Code: Select all

======= app install begin @ 2015-04-01 10:35:12 +0200 ========== Installing app id l87u14kg9n under /var/hda/platform/html/script/.. ENV=production file /var/hda/tmp/amahi-download-cache/6cd46350b435a19de8d53eda35a75e8230f2260e picked up from cache. Your HDA services have been restarted. Your HDA services have been restarted. Configuring Amahi settings Installing sabnzbd.service Reloading systemctl daemon Enabling sabnzbd.service ln -s '/usr/lib/systemd/system/sabnzbd.service' '/etc/systemd/system/multi-user.target.wants/sabnzbd.service' Starting sabnzbd.service Job for sabnzbd.service failed. See 'systemctl status sabnzbd.service' and 'journalctl -xn' for details. App: SABnzbd Plus installed ======= app install end @ 2015-04-01 10:36:55 +0200 ==========

Code: Select all

[eldano@localhost ~]$ systemctl sabnzbd.service -l systemctl: invalid option -- 'l'
Also I now have an added problem and I expect the yum update command to have done something.
My file transfer speed is very low. So low that I can not stream a 1080 video file and watch it from the Amahi Nas. The transfer rate from the hda while copying a large file is about 700kB/sec. What could have happened?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbdplus not running after install

Postby bigfoot65 » Thu Apr 02, 2015 12:52 pm

Recommend you reboot after installing updates. Especially if it installed a new Kernel.

As for SABnzbd, we need to diagnose this more.

The -l is the lower case L. It should have worked.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

eldano
Posts: 60
Joined: Fri Dec 17, 2010 2:26 am
Location: The Netherlands

Re: Sabnzbdplus not running after install

Postby eldano » Thu Apr 02, 2015 1:07 pm

Thanks for the quick response.

I have rebooted multiple times. This does not solve eigther the speed or sabnzbdplus issue.
Also I have used the 'lower case L'.I coppied in the code I used for your referance.

Code: Select all

systemctl sabnzbd.service -l
Í get:

Code: Select all

$ systemctl sabnzbd.service -l systemctl: invalid option -- 'l'

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbdplus not running after install

Postby bigfoot65 » Thu Apr 02, 2015 2:35 pm

Ok.

Are you doing this as root user?

Not sure why it's not working. Maybe uninstall SABnzbd Plus and then there is some clean up to do.

1. Check that sabnzbd.ini in /var/hda/files/newsgroups is removed.
2. Verify /lib/systemd/system/sabnzbd.service is removed.
3. Reboot
4. Reinstall the app.

As for the slowness, that sounds like a networking issue. Not sure where to begin with that piece.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 5 guests