Sabnzbd ending itself if it doesn't have Admin rights

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
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

Version: 0.7.6
OS: Windows 7 Ult x64
Install-type: Windows Installer
Skin (if applicable): smpl skin
Firewall Software: Windows Firewall / Avira (exceptions have been made in both programs)
Are you using IPV6? No
Is the issue reproducible? Yes

Sab will open and wait for about 5 seconds, then shutdown. That's without opening as Admin. If opening as Admin, then it actually works. Adding NZBs requires admin access though (inconvenient when remotely adding NZBs, or turn on by WAN). If I view the sabnzbd.log file, no errors or events are reported.

This only started after my OS HD failed and I decided to start from scratch to cleanup the programs I wasn't using etc. It's the same hardware, same OS, I changed ownership of all previous files I had, and that's it. I imagine I was using an older version of Sabnzbd, but unsure why or how this issue is happening now. Reading the FAQ, this is an issue with Vista but not XP/W7, and also considering I was using Sab previously without issue, why is it now starting?

Appreciate any help.
Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by shypike »

How do you start SABnzbd?
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

Normally I put a shortcut in the startup folder. I'm now forced to right click, run as administrator.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by shypike »

Examine the properties of the shortcut.
Are there any additional parameters after the "SABnzbd.exe" part?
There shouldn't be.
However, possibly you ran it once as an admin and for some reason
the sabnzbd.ini file ended up in the program folder.
Check "c:\program files (x86)\SABnzbd\".
There should not be a sabnzbd.ini file in there. If so, remove it.
(Or copy it, you might need the content.)
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

I'll have to check the extention when iI get home. As for the configuration files, everything is in the correct place (app data folder). several reinstalls and even changing the. ini location didn't help.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by shypike »

Do check for an INI file in the program folder.
Also, are all folders accessible from the current user account?
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

So the .ini is in it's appdata/sabnzbd/sabnzbd.ini location. Nothing in the program folder itself. The startup shortcut has " -b0" at the end.

My user account has full access to the .ini and program folder.
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

Aezrith wrote:So the .ini is in it's appdata/sabnzbd/sabnzbd.ini location. Nothing in the program folder itself. The startup shortcut has " -b0" at the end.

My user account has full access to the .ini and program folder.
I just removed the " -b0" extension, results are the exact same.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by shypike »

Can you get the log file from the profile folder?
Or open a command prompt and start it with:
"c:\program files (x86)\SABnzbd\SABnzbd-console.exe" -l2

(That's minus lowercase-L two)
This should show you where SABnzbd gives up.
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

OK so it displays "Can't write to logfile"

I have access to the logfile and my user account is the owner of the file. hmmm
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

And fixed. Seems "take ownership" doesn't remove or override inherent security from previous OS installs. all my HD's think my previous OS owns it still. Now to change all my drives and remove this "lock" symbol from my folders :/
Aezrith
Newbie
Newbie
Posts: 8
Joined: December 4th, 2012, 9:25 am

Re: Sabnzbd ending itself if it doesn't have Admin rights

Post by Aezrith »

Thanks for the help shypike.
Post Reply