Fails to start, even after purge and reinstall (Ubuntu)

Get help with all aspects of SABnzbd
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
AlphaWolf
Newbie
Newbie
Posts: 9
Joined: April 12th, 2013, 3:49 pm

Fails to start, even after purge and reinstall (Ubuntu)

Post by AlphaWolf »

Hi everyone,

After my HDD got full it would appear that my config got wiped (the 2 times my config has been wiped my HDD was very close to full (99%+), so I'm assuming it's that). I managed to fix it the first time but I'm unsure how.

I have tried running

Code: Select all

sudo apt-get remove --purge sabnzbdplus
and then renaming ~/.sabnzbd, restarting the system and then running

Code: Select all

sudo apt-get install sabnzbdplus
editing the config file (/etc/defaults/sabnzbd? The one it asks me to edit anyway) with the user to run as (joseph). However, when I run

Code: Select all

sudo service sabnzbdplus start
it fails with:

Code: Select all

* Starting SAB... [fail]
I have checked ~/.sabnzbd for a logs directory and there isn't one. I'm not sure where else to check for logs, if there is anywhere else?

I've exhausted all the things that I can think of, so does anyone have any ideas of what my next move could be?

Thanks,
Joseph Duffy
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Fails to start, even after purge and reinstall (Ubuntu)

Post by sander »

What if you type "sabnzbdplus" on the command line?
AlphaWolf
Newbie
Newbie
Posts: 9
Joined: April 12th, 2013, 3:49 pm

Re: Fails to start, even after purge and reinstall (Ubuntu)

Post by AlphaWolf »

sander wrote:What if you type "sabnzbdplus" on the command line?
Ok, I'm now getting

Code: Select all

Error:
Can't write to logfile
I'm guessing I should try and fix that. Should I make a logs directory somewhere or something?

Thanks for the reply
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Fails to start, even after purge and reinstall (Ubuntu)

Post by sander »

What's the output of

Code: Select all

df -h
Post it here.
AlphaWolf
Newbie
Newbie
Posts: 9
Joined: April 12th, 2013, 3:49 pm

Re: Fails to start, even after purge and reinstall (Ubuntu)

Post by AlphaWolf »

sander wrote:What's the output of

Code: Select all

df -h
Post it here.

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda5        25G   24G     0 100% /
udev            2.0G   12K  2.0G   1% /dev
tmpfs           785M  3.3M  781M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G  4.0K  2.0G   1% /run/shm
/dev/sdb2       2.8T  1.2T  1.7T  41% /media/GeneralMedia
/dev/sda2        60G   11G   50G  18% /temp
/dev/sdc1       1.1T  250G  776G  25% /media/TimeMachine
/dev/sdc2       839G   83G  757G  10% /media/WindowsBackup
The /dev/sda5 has been a lot emptier before and is what currently has SAB on it. I get the same errors when the drive is not full, but that seems to be the trigger for breaking the install?
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Fails to start, even after purge and reinstall (Ubuntu)

Post by sander »

SAB puts it's config and log into ~/.sabnzbd/, which is on your / which is on /dev/sda5, which is ... full.

So solve that first.
AlphaWolf
Newbie
Newbie
Posts: 9
Joined: April 12th, 2013, 3:49 pm

Re: Fails to start, even after purge and reinstall (Ubuntu)

Post by AlphaWolf »

sander wrote:SAB puts it's config and log into ~/.sabnzbd/, which is on your / which is on /dev/sda5, which is ... full.

So solve that first.
I cleared a bit of room and ran sudo sabnzbdplus, which gave me the install screen. After installing it worked correctly, but I still get an error when starting it as a service. Nothing in ~/.sabnzbd/logs/sabnzbd.log (other than the information that shows when I run it as sudo sabnzbdplus, not as a service). Any other places I could find some logs?
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Fails to start, even after purge and reinstall (Ubuntu)

Post by sander »

Do no use "sudo sabnzbdplus" but "sabnzbdplus"; run it as the normal user
Post Reply