SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-26-2007, 11:05 AM
dpackham dpackham is offline
Sage Advanced User
 
Join Date: May 2006
Posts: 160
Service mode VS Standalone?

what are the benifits or not of running SageTV on a standalone windows XP system in service mode? against just running the service without the service?

The computer is dedicated to SageTV and only serves one MVP and web interface.

I know that I can stop the main GUI with service mode. but is that it? I also know that the web remote does not work in service mode. is there a list that compairs the two modes?

Thanks
Dave P
Reply With Quote
  #2  
Old 11-26-2007, 11:14 AM
Fluffdaddy Fluffdaddy is offline
Sage Icon
 
Join Date: Nov 2003
Location: Philly, Pa
Posts: 1,004
Good questions

I have never used service mode. I always wanted to know the advantages in doing so but never thought to ask.

server feeding
two MVP's
one PC client
Reply With Quote
  #3  
Old 11-26-2007, 11:56 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
If by web remote you mean the remote via Nielms www server, it works in service mode.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #4  
Old 11-26-2007, 12:08 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by dpackham View Post
against just running the service without the service?
I have no idea what you mean by that, but off the top of my head here are some differences between service and non-service modes.
  • If the UI crashes in non-service mode, so does the recording engine. In service mode, UI crashes don't affect the recording engine, so you can experiment freely with UI mods and such with much less risk of losing recordings. (This is probably the main reason for using service mode in my opinion.)
  • If the service does crash, it can restart itself automatically. That's harder to do in non-service mode without looping batch files or something similar.
  • Services start before you log in to Windows. So if your computer reboots for any reason, SageTVService can start recording right away, before you log in.
  • Services can't access mapped drive letters. So if you have recording or import directories on other servers, you'll need to use UNC paths to access them from SageTVService.
__________________
-- Greg
Reply With Quote
  #5  
Old 11-26-2007, 12:28 PM
KrisAcker KrisAcker is offline
Sage User
 
Join Date: Jan 2005
Location: Belgium
Posts: 36
Quote:
Originally Posted by GKusnick View Post
If the service does crash, it can restart itself automatically. That's harder to do in non-service mode without looping batch files or something similar.
If you configure the properties of the service in the Windows interface instead of the Sage interface, you can tell Windows what to do on the "First failure", "Second failure" and "Subsequent failures". As you're talking about a dedicated machine, you could even select "Restart the computer" for the last one.
Reply With Quote
  #6  
Old 11-27-2007, 08:41 AM
dpackham dpackham is offline
Sage Advanced User
 
Join Date: May 2006
Posts: 160
Cool thanks. when its running in service mode i get this error when I try to use the web remote

UI Context: "SAGETV_PROCESS_LOCAL_UI" is not active:
Webserver is running in SageTV Service - no remote control possible
use: /sage/SageCommand?command=<command>&context=<context>

both the frontend and backend are running.

Thanks all for the service info. I think ill keep running in service mode

Dave P
Reply With Quote
  #7  
Old 11-27-2007, 12:57 PM
KrisAcker KrisAcker is offline
Sage User
 
Join Date: Jan 2005
Location: Belgium
Posts: 36
Quote:
Originally Posted by dpackham View Post
Cool thanks. when its running in service mode i get this error when I try to use the web remote

UI Context: "SAGETV_PROCESS_LOCAL_UI" is not active:
Webserver is running in SageTV Service - no remote control possible
use: /sage/SageCommand?command=<command>&context=<context>

both the frontend and backend are running.

Thanks all for the service info. I think ill keep running in service mode

Dave P
That sounds like you're running the webserver in the service instance. For the webremote to have access to the client, it has to run in the client instance. To do this, you have to add the load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer line to the SageClient.properties file instead of the Sage.properties file.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Normal drives suddenly not visible in service mode? ripple SageTV Software 19 03-22-2008 01:53 AM
Service and Standalone mode run concurrently jackmtl71 SageTV Software 8 02-20-2007 06:33 PM
Service mode with MCE problem MantisRay SageTV Software 2 01-21-2007 02:57 PM
No audio or video HairBear SageTV Linux 28 03-17-2006 05:48 PM
Service mode help needed please kkeller20 SageTV Software 2 01-20-2006 02:43 PM


All times are GMT -6. The time now is 10:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.