Page 1 of 1

Best way to access WHS Desktop / SABNzbd Interfce

Posted: December 17th, 2011, 8:29 am
by 5aq1b
Hi - i'm having a bit of an issue here and it's something I have come across on the forums before however I just want a clear cut answer on how to solve the issue i'm having :)

The way I access my my WHS desktop is by remote access. VNC if i'm at home, or LogMeIn if I'm at work. So I log in to the desktop using my windows user account and leave it logged in - so everytime I connect remotely to the server, I get my desktop. From there I can obviously access Sickbeard, SAB etc.

Problem is - If i restart the server or log off my user account and log back in - the queue and download history in sab disappears. It's re-appeared once when clicking repair queue however it haasn't reappeared again after that.

Am I doing somehting wrong here? Is it best to leave the server 'logged off' and to access SAB by another means?

Hope my issue makes sense!

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: December 17th, 2011, 8:56 am
by shypike
When you log out, all programs are stopped by Windows.
You can install SABnzbd as a Windows Service, to avoid this issue.
See: http://wiki.sabnzbd.org/how-to-install-on-whs

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: December 17th, 2011, 9:03 am
by 5aq1b
shypike wrote:When you log out, all programs are stopped by Windows.
You can install SABnzbd as a Windows Service, to avoid this issue.
See: http://wiki.sabnzbd.org/how-to-install-on-whs
thanks - however when i installed SABnzbd, i followed the instructions and installed it as a service.

It's set to start automatically.

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: December 17th, 2011, 9:22 am
by shypike
It should not logout then. It doesn't on my WHS box.
Check the Windows event log for clues and also SABnzbd's own logfile.

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: December 17th, 2011, 9:25 am
by 5aq1b
i'll have a look

i've been told it's not recommended that I log into the box this way and instead I should use advanced admin console?

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: December 17th, 2011, 9:29 am
by shypike
It shouldn't matter.
The warning is mainly to prevent you from doing admin tasks that might damage the system.
This is because WHS is not a regular Windows-Server system.
If you just start and stop SABnzbd/SB, it should be quite safe.

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: December 17th, 2011, 9:31 am
by 5aq1b
shypike wrote:It shouldn't matter.
The warning is mainly to prevent you from doing admin tasks that might damage the system.
This is because WHS is not a regular Windows-Server system.
If you just start and stop SABnzbd/SB, it should be quite safe.
thanks - will have a look at the logs tonight :)

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: January 1st, 2012, 12:45 pm
by Cir0
I had the same issue, could be I started the wizard from the installer.

I performed a deinstallation en installed SABnzbd again on a WHS 2011. After the install I am not to start the wizard from another workstation: Internet Explorer cannot display the webpage.

Here is the SABnzbd logging:

Code: Select all

2012-01-01 18:21:33,194::INFO::[sabnzbd:1207] --------------------------------
2012-01-01 18:21:33,194::INFO::[sabnzbd:1208] SABnzbd-service.exe-0.6.14 (rev=5bc41d90085f598b2ea0f54358fc8ed638eef754)
2012-01-01 18:21:33,210::INFO::[sabnzbd:1216] Platform=Windows-Vista-6.1.7601-SP1 (=Vista+ x64) Class=nt
2012-01-01 18:21:33,210::INFO::[sabnzbd:1221] Python-version = 2.5.5 (r255:77872, Jan 31 2010, 15:49:35) [MSC v.1310 32 bit (Intel)]
2012-01-01 18:21:33,210::INFO::[sabnzbd:1222] Arguments = 
2012-01-01 18:21:33,210::INFO::[sabnzbd:1235] Read INI file e:\usenet\sabnzbd.ini
2012-01-01 18:21:33,226::INFO::[__init__:864] Loading data for bookmarks.sab from e:\usenet\admin\bookmarks.sab
2012-01-01 18:21:33,226::INFO::[__init__:864] Loading data for rss_data.sab from e:\usenet\admin\rss_data.sab
2012-01-01 18:21:33,226::INFO::[__init__:864] Loading data for totals9.sab from e:\usenet\admin\totals9.sab
2012-01-01 18:21:33,226::INFO::[__init__:867] e:\usenet\admin\totals9.sab missing, trying old cache
2012-01-01 18:21:33,226::INFO::[__init__:870] e:\usenet\cache\totals9.sab missing
2012-01-01 18:21:33,335::INFO::[postproc:89] Loading postproc queue
2012-01-01 18:21:33,335::INFO::[__init__:864] Loading data for postproc1.sab from e:\usenet\admin\postproc1.sab
2012-01-01 18:21:33,335::INFO::[__init__:864] Loading data for queue9.sab from e:\usenet\admin\queue9.sab
2012-01-01 18:21:33,335::INFO::[__init__:864] Loading data for watched_data.sab from e:\usenet\admin\watched_data.sab
2012-01-01 18:21:33,335::INFO::[downloader:194] Resuming
2012-01-01 18:21:33,335::INFO::[__init__:289] All processes started
2012-01-01 18:21:33,335::INFO::[sabnzbd:331] Web dir is C:\Program Files (x86)\SABnzbd\interfaces\Plush
2012-01-01 18:21:33,335::INFO::[sabnzbd:454] _yenc module... found!
2012-01-01 18:21:33,335::INFO::[sabnzbd:462] par2 binary... found (C:\Program Files (x86)\SABnzbd\win\par2\x64\par2.exe)
2012-01-01 18:21:33,335::INFO::[sabnzbd:467] par2-classic binary... found (C:\Program Files (x86)\SABnzbd\win\par2\par2-classic.exe)
2012-01-01 18:21:33,335::INFO::[sabnzbd:470] unrar binary... found (C:\Program Files (x86)\SABnzbd\win\unrar\x64\UnRAR.exe)
2012-01-01 18:21:33,335::INFO::[sabnzbd:475] unzip binary... found (C:\Program Files (x86)\SABnzbd\win\unzip\unzip.exe)
2012-01-01 18:21:33,335::INFO::[sabnzbd:490] pyOpenSSL... found (True)
2012-01-01 18:21:33,349::INFO::[sabnzbd:1402] Starting web-interface on 172.1.0.132:8080
2012-01-01 18:21:34,365::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus STARTING
2012-01-01 18:21:34,365::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-01-01 18:21:34,473::ERROR::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x0139BB70>>
Traceback (most recent call last):
  File "cherrypy\process\wspbus.pyo", line 147, in publish
  File "cherrypy\_cpserver.pyo", line 90, in start
  File "cherrypy\process\servers.pyo", line 62, in start
  File "cherrypy\process\servers.pyo", line 97, in wait
error: (10049, "Can't assign requested address")

2012-01-01 18:21:34,473::ERROR::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "cherrypy\process\wspbus.pyo", line 184, in start
  File "cherrypy\process\wspbus.pyo", line 147, in publish
  File "cherrypy\_cpserver.pyo", line 90, in start
  File "cherrypy\process\servers.pyo", line 62, in start
  File "cherrypy\process\servers.pyo", line 97, in wait
error: (10049, "Can't assign requested address")

2012-01-01 18:21:34,473::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus STOPPING
2012-01-01 18:21:34,473::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('172.1.0.132', 8080)) already shut down
2012-01-01 18:21:34,473::ERROR::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "cherrypy\process\servers.pyo", line 75, in _start_http_thread
  File "cherrypy\wsgiserver\__init__.pyo", line 1644, in start
error: (10049, "Can't assign requested address")
2012-01-01 18:21:34,473::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus STOPPING
2012-01-01 18:21:34,473::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('172.1.0.132', 8080)) already shut down
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Stopped thread '_TimeoutMonitor'.
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus STOPPED
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus EXITING
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus EXITED
2012-01-01 18:21:34,505::ERROR::[sabnzbd:1420] Failed to start web-interface: 

Traceback (most recent call last):
  File "SABnzbd.pyo", line 1409, in main
  File "cherrypy\process\wspbus.pyo", line 184, in start
  File "cherrypy\process\wspbus.pyo", line 147, in publish
  File "cherrypy\_cpserver.pyo", line 90, in start
  File "cherrypy\process\servers.pyo", line 62, in start
  File "cherrypy\process\servers.pyo", line 97, in wait
error: (10049, "Can't assign requested address")
2012-01-01 18:21:34,505::ERROR::[sabnzbd:301] Failed to start web-interface : 
2012-01-01 18:21:34,505::INFO::[__init__:325] SABnzbd shutting down...
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for bookmarks.sab in e:\usenet\admin\bookmarks.sab
2012-01-01 18:21:34,505::INFO::[urlgrabber:70] URLGrabber shutting down
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for watched_data.sab in e:\usenet\admin\watched_data.sab
2012-01-01 18:21:34,505::INFO::[dirscanner:254] Dirscanner shutting down
2012-01-01 18:21:34,505::INFO::[postproc:83] Saving postproc queue
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for postproc1.sab in e:\usenet\admin\postproc1.sab
2012-01-01 18:21:34,505::INFO::[nzbqueue:167] Saving queue
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for queue9.sab in e:\usenet\admin\queue9.sab
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for rss_data.sab in e:\usenet\admin\rss_data.sab
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for bookmarks.sab in e:\usenet\admin\bookmarks.sab
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for watched_data.sab in e:\usenet\admin\watched_data.sab
2012-01-01 18:21:34,505::INFO::[postproc:83] Saving postproc queue
2012-01-01 18:21:34,505::INFO::[__init__:840] Saving data for postproc1.sab in e:\usenet\admin\postproc1.sab
2012-01-01 18:21:34,505::INFO::[__init__:385] All processes stopped
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Stopped thread '_TimeoutMonitor'.
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus STOPPED
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus EXITING
2012-01-01 18:21:34,505::INFO::[_cplogging:55] [01/Jan/2012:18:21:34] ENGINE Bus EXITED
Content of my asbnzbd.ini

Code: Select all

__version__ = 19
[misc]
queue_complete = ""
https_port = 9090
folder_rename = 1
allow_64bit_tools = 1
password_file = ""
rss_rate = 60
https_key = server.key
cleanup_list = ,
cache_limit = ""
ignore_unrar_dates = 0
par_option = ""
web_color = ""
replace_spaces = 0
web_color2 = ""
dirscan_speed = 5
enable_filejoin = 1
create_group_folders = 0
api_key = mykey :)
never_repair = 0
no_penalties = 0
bandwidth_limit = 0
dirscan_dir = ""
disable_api_key = 0
email_to = ,
rss_filenames = 0
password = ""
permissions = ""
auto_disconnect = 1
enable_date_sorting = 0
replace_dots = 0
movie_sort_extra = -cd%1
ionice = ""
enable_unzip = 1
download_free = ""
port = 8080
email_dir = ""
pre_script = None
email_full = 0
log_dir = logs
admin_dir = admin
nzb_backup_dir = ""
tv_sort_countries = 1
date_categories = tv,
ssl_type = v23
sfv_check = 1
date_sort_string = ""
schedlines = ,
host = 172.1.0.132
ignore_samples = 0
enable_tsjoin = 1
auto_browser = 0
pause_on_post_processing = 0
enable_unrar = 1
email_rss = 0
email_account = ""
email_server = ""
allow_streaming = 0
config_lock = 0
api_warnings = 1
tv_sort_string = ""
username = ""
unpack_check = 1
download_dir = Downloads/incomplete
size_limit = ""
enable_par_cleanup = 1
safe_postproc = 1
cache_dir = cache
complete_dir = Downloads/complete
replace_illegal = 1
par2_multicore = 1
warned_old_queue = 0
language = en
check_new_rel = 1
enable_https = 0
no_dupes = 0
top_only = 0
quick_check = 1
movie_sort_string = ""
email_from = ""
movie_extra_folder = 0
email_endjob = 0
tv_categories = ,
pause_on_pwrar = 1
login_realm = SABnzbd
send_group = 0
refresh_rate = 0
movie_categories = movies,
script_dir = ""
email_pwd = ""
ignore_wrong_unrar = 0
nice = ""
enable_movie_sorting = 0
https_cert = server.cert
web_dir2 = ""
fail_on_crc = 0
nzb_key = My key :)
auto_sort = 0
ampm = 0
web_dir = Plush
queue_complete_pers = 0
enable_tv_sorting = 0
folder_max_length = 128
[logging]
log_new = 0
max_log_size = 5242880
log_level = 1
log_backups = 5
enable_cherrypy_logging = 0
[newzbin]
username = ""
bookmark_rate = 60
bookmarks = 0
password = ""
unbookmark = 1
[nzbmatrix]
username = ""
apikey = ""
del_bookmark = 1
[growl]
growl_enable = 1
Troubleshoot:
Allready changed the host from 0.0.0.0 to 172.16.0.132
Tried to connect to ports 8080 and 9090
Restarted SABnzbd service
Restarted WHS
Disabled firewall

A basic portscan indicates no services are listening on ports 8080 and 9090.

What is going wrong?

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: January 1st, 2012, 5:07 pm
by shypike
You're listing two different 172... addresses in your post: 172.1.0.132 and 172.16.0.132
At least one of them must be wrong.

Re: Best way to access WHS Desktop / SABNzbd Interfce

Posted: January 1st, 2012, 7:00 pm
by Cir0
LOL, my bad indeed. :o What a mistake to make!!! ;)
I changed the SABnzbd host IP from 172.1.0.132 to 172.16.0.132 but I still could not connect.

After disabling the firewall I was able to access and start the setup wizard. I will fool around with that later.
(Portscan is now revealing a service at ports 8080 and 9090.)

Also, after logging off from the WHS desktop I am still able to reach the webpage from another machine.