Seriously Messed up Installation of Sabnzbd (Essay Warning)

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
Mukish
Newbie
Newbie
Posts: 2
Joined: March 21st, 2012, 11:26 am

Seriously Messed up Installation of Sabnzbd (Essay Warning)

Post by Mukish »

Version: 0.6.15
OS: Ubuntu 11.10
Install-type: Not sure - I used apt-get so I think a linux repositary
Firewall Software: Not a clue - none I assume?
Are you using IPV6? No

Hi Everyone,

I Hope/pray someone can help - I am a "bit" of a linux virgin and have tried to install SabNZBd on my ubuntu 11.10 server with a bit of success. I followed the instructions which seemed to work well and everything worked with the terminal open. I then attempted to start sabnzbd in daemon mode - but was in a rush as I was on my lunch break - I ran the command;

sabnzbdplus -d -f home/mukish/ (or something to that effect)

Now what has happened is - Sabnzbd has started (in daemon mode I assume) and created a config file in /etc/default/ with the name of homemukish.sabnzbd - I then no long could web access (I'm assuming because homemukish was not configured with 0.0.0.0 etc) I used VIM to edit it accordingly - hoping to use webaccess to salvage what I had done.

After making the changes I tried and failed to restart sabnzbd - but /etc/init.d/sabnzbd stop just displayed that it was not running - BUT if I ran the command sabnbzdplus - w3m would open Sabnzbd and display a very barebones text based webpage of sabnzbd.

So I tried to purge sabnzbd - thinking i could reinstall - and I thought that had worked, but sabnzbd is still running with an uptime of 21hours and I have removed manually half the config files because for some stupid reason I thought that would help - I do have them saved with the words BACKUP in front....ARGHHH

Is there a way to stop the daemon process? I'm loath to reformat as I've just finally got my site working front-end wise.

Please any help would be AMAZING and appreciated.

Thanks - Mukish
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Seriously Messed up Installation of Sabnzbd (Essay Warni

Post by sander »

To stop SABnzbd, you could reboot your server.

Or, more clean: find out the process id, like this:

Code: Select all

sander@R540:~$ ps -ef | grep -i sabnzbd
sander    3532  2763  0 07:31 pts/0    00:02:41 /usr/bin/python ./SABnzbd.py
sander   14447 14127  0 18:02 pts/2    00:00:00 grep --color=auto -i sabnzbd
sander@R540:~$
So in my case, SAB's process id is 3532.

Then "kill -9 <userid>" with <userid> filled out. And then run "ps -ef | grep -i sabnzbd" again to make sure SABnzbd is not running anymore.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Seriously Messed up Installation of Sabnzbd (Essay Warni

Post by sander »

After killing SABnzbd, log in as a normal user, and type "sabnzbdplus" to start SABnzbd in your screen. It should start the wizard. If you have no X and thus no real GUI, it is possible to follow the wizard with lynx ...
Mukish
Newbie
Newbie
Posts: 2
Joined: March 21st, 2012, 11:26 am

Re: Seriously Messed up Installation of Sabnzbd (Essay Warni

Post by Mukish »

Thanks sander for your reply - I managed to get the following;


mukish 14637 14540 0 19:36 pts/1 00:00:00 grep --color=auto -i sabnzbd


which is amazing progress already TBH. I tried the command: "kill -9 14637" which doesn't work - I know its a formatting problem but ive tried various combinations - sorry for the handholding - just using VIM of the top of my head is an achievement at the moment!
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Seriously Messed up Installation of Sabnzbd (Essay Warni

Post by sander »

Mukish wrote:Thanks sander for your reply - I managed to get the following;


mukish 14637 14540 0 19:36 pts/1 00:00:00 grep --color=auto -i sabnzbd


which is amazing progress already TBH. I tried the command: "kill -9 14637" which doesn't work - I know its a formatting problem but ive tried various combinations - sorry for the handholding - just using VIM of the top of my head is an achievement at the moment!
Well, no, that is the grep command itself; it will find itself. :P

Are you sure SABnzbd is still running? What happens when you log in as a normal user and just type "sabnzbdplus"?
Post Reply