Page 1 of 1

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

Posted: October 7th, 2013, 9:05 am
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

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

Posted: October 7th, 2013, 11:43 am
by sander
What if you type "sabnzbdplus" on the command line?

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

Posted: October 7th, 2013, 2:22 pm
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

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

Posted: October 7th, 2013, 2:35 pm
by sander
What's the output of

Code: Select all

df -h
Post it here.

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

Posted: October 7th, 2013, 3:47 pm
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?

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

Posted: October 7th, 2013, 3:55 pm
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.

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

Posted: October 7th, 2013, 4:10 pm
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?

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

Posted: October 7th, 2013, 4:20 pm
by sander
Do no use "sudo sabnzbdplus" but "sabnzbdplus"; run it as the normal user