Trouble running multiple instances
Forum rules
Help us help you:
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.
-
lockdown571
- Newbie

- Posts: 3
- Joined: July 19th, 2011, 2:20 pm
Trouble running multiple instances
Hello, I'm trying to run two instances of Sabnzbd 0.6.5 on my Windows 7 computer with separate Sabnzbd.ini files. I see there is a "-new" command, and I think there is a way to select a separate ini file using "-f" as seen on this page: http://sabnzbd.wikidot.com/command-line-parameters. However, I'm not really good with the command line. I've tried a number of different combinations but can't get it to work. Can someone show me what the command should look like? Thanks.
Re: Trouble running multiple instances
First a question: why do you want to run multiple instances? I would only advice this if you know what you're doing.
Here's the HOWTO:
Open a terminal / CMD / COMMAND box.
CD to the directory containing SABNZBD.EXE
Type: "SABNZBD.EXE -f sab-instance1.ini" and fill out the wizard.
Open a second terminal, CD to the same directory, and then type "SABNZBD.EXE -f sab-instance2.ini" and fill out the wizard.
If that works, you can start the two instances after a reboot with the same method above (no wizard). Or you can create a shortcut on your desktop
Here's the HOWTO:
Open a terminal / CMD / COMMAND box.
CD to the directory containing SABNZBD.EXE
Type: "SABNZBD.EXE -f sab-instance1.ini" and fill out the wizard.
Open a second terminal, CD to the same directory, and then type "SABNZBD.EXE -f sab-instance2.ini" and fill out the wizard.
If that works, you can start the two instances after a reboot with the same method above (no wizard). Or you can create a shortcut on your desktop
Re: Trouble running multiple instances
use:
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --new -f c:\path\to1\sabnzbd.ini
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --new -f c:\path\to2\sabnzbd.ini
Note the double dash before "new".
Make sure you have different paths for the two instances.
(Use "c:\program files\sabnzbd\sabnzbd.exe" for 32bit Windows.)
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --new -f c:\path\to1\sabnzbd.ini
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --new -f c:\path\to2\sabnzbd.ini
Note the double dash before "new".
Make sure you have different paths for the two instances.
(Use "c:\program files\sabnzbd\sabnzbd.exe" for 32bit Windows.)
-
lockdown571
- Newbie

- Posts: 3
- Joined: July 19th, 2011, 2:20 pm
Re: Trouble running multiple instances
Thanks! Worked perfectly. Fyi, the reason why I want two instances is because I want to use one of them strictly for streaming a la http://forum.xbmc.org/showthread.php?p= ... post759174. One last question, and I know this isn't specific to sabnzbd, but how do you run a command automatically at startup? I'm having a bit of trouble finding a guide.
-
lockdown571
- Newbie

- Posts: 3
- Joined: July 19th, 2011, 2:20 pm
Re: Trouble running multiple instances
Perfect! I can't believe I haven't known about that tool until now. That's extremely useful.
