|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
How to gracefully exit sage when the spinning circle appears?
Whenever I muck with a new import or something, I go through a period of crash and burns, where the circle comes up, and the only way to get out is to use the nuclear option. I have to go downstairs and hold the power button on my sage server and reboot the old fashioned way, and it always costs me a wiz or a properties file. I have backups, but why can't Ijust shutdown sage? Why does it have to be a train wreck?
It is just the UI, because the clients all still work, and if I hit the windows buttons on the keyboard, the start menu will briefly flash, but i can't do anything with it. I do run in full screen mode, because i get stuttering without it.
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend 4 Nvidia Shield TVs with Miniclient |
#2
|
||||
|
||||
I've certainly had it happen to me as well on more than one occasion. Once in a while I get lucky enough for an Alt-Tab to work, or even the Windows button (to pop up the Start Menu or the task bar). Sometimes I'm lucky enough to be able to right-click the SageTV Client on the taskbar (assuming I get it to show up) and shut it down that way, but, many times I just have to shut it down hard.
For me, it's the client only. I run server on the same box right now, and it doesn't seem to blip much. Might lose a little of the "hang" consists of a high CPU...but... Sorry, don't have any great answers for ya...maybe someone else has a gem?
__________________
Al Bsharah / Twitter Clients: Two STX-HD100 High-Def Extenders Media Server / NAS: Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total |
#3
|
|||
|
|||
When it happens to me I can usually control-alt-delete and end task on the Sage process, even when the windows button doesn't work. But, I don't run my server in FSE mode. The Wiz.bin file should be being used by the service process (if you're running the service), so ending the Sage process shouldn't harm it, in theory at least.
|
#4
|
||||
|
||||
Oh yeah, you could also do a remote shutdown from another PC that has credentials to do so:
shutdown -m \\pcname -r -f -t 0 -r = reboot -f = force shutdown -t 0 = 0 second delay
__________________
Al Bsharah / Twitter Clients: Two STX-HD100 High-Def Extenders Media Server / NAS: Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total |
#5
|
|||
|
|||
Not running the service at the moment as it may have been causing some other issues. Can't recall what they were though, so maybe I'll use it again.
Addict, your solution could be perfect, but I've never understood much about remote desktop functions. can you give me some more details on the following: I guess I save your text (after I put specifics in) as a bat file and then run it? How do I set up the credentials on the other pc? Can I set it to just kill sage but not reboot? Or, could I set to do a full reboot, not just shutdown? EDIT: never mind, I see the reboot key. duh... What's the purpose of the delay key thanks a bunch, this might help me with some other things as well!
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend 4 Nvidia Shield TVs with Miniclient |
#6
|
||||
|
||||
You can manually type it in a command prompt (Start -> Run -> CMD) if you wish, or create a batch file. Either one is fine.
If you're on a domain, you probably need to be logged in as an administrator of all systems. If not, simply create identical user accounts on both systems (client and remote) and give admin access to them. That should do the trick. I don't know how to remotely kill a process...sorry. The delay is only used if you're remotely shutting down systems that an actual user may be logged into. The delay gives them a warning time to start closing applications before their computer reboots. In this case, there's no end-user so I always give it zero seconds, so it starts the reboot immediately.
__________________
Al Bsharah / Twitter Clients: Two STX-HD100 High-Def Extenders Media Server / NAS: Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total |
#7
|
||||
|
||||
Running in service mode is a must if you're experimenting with unstable UI plugins. That way you can kill the UI without affecting the service or corrupting any files. Better yet, do your UI experimentation on a client and don't roll it out to the server until you've got the kinks out.
Also turn off FSE when doing UI experiments, so you can bring up things like the Start menu and Task Manager in front of Sage when it's stalled. Apart from device driver issues, there shouldn't be a need to do a hard reboot just to kill a balky Sage process.
__________________
-- Greg |
#8
|
|||
|
|||
Quote:
Much better now. |
#9
|
|||
|
|||
I use the Ctrl-Shift-Esc shortcut to bring up the task manager. I then kill sagetv.exe (or sagetvservice.exe) under processes. This works in most of the cases.
|
#10
|
|||
|
|||
I use a software called Keyboard Launchpad to map the WinKey-1 combo to launch pskill.exe (from www.sysinternals.com). Basically, when I press WinKey-1, it kills SageTV.exe and WinKey-2 restarts it.
Gets me out of any troubles without having to reboot my HTPC. Although I haven't had the opportunity to use this a lot lately. |
#11
|
|||
|
|||
awesome suggestions! i can't wait to try them, but then again maybe I can because that will mean it crashed again...
Happy Thanksgiving all!
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend 4 Nvidia Shield TVs with Miniclient |
#12
|
|||
|
|||
EventGhost
All I can say is EVENTGHOST
I have eventghost set up on all my units and the server has EG events setup to start/stop any service (sagetv) or any app I use on the server. EG is very easy to setup and allows me to grab any of my remotes (1 X10 RF remote, 2 hauppauge 45 button remotes and a couple universal remotes), press play, boom video is playing The Network Sender and Network Receiver plugins are great. And when I'm bored, I can always tweak EG's config to add some new action |
#13
|
||||
|
||||
This is by no means "graceful" but it is what I use when all else fails (on my client. You can use a similar technique for your server)
I have a button on my remote called "Reset All" and it is a general purpose "just get me back to the main menu!!!" function, mostly meant for when others are using the system and somehow get stuck. I bind the button (via girder) to a batch file called HTPCReset.bat which does the following: @echo off taskkill /im SagetTVClient.exe /f /t taskkill /im "TheaterTek DVD.exe" /f /t taskkill /im "Meedio.exe" /f /t taskkill /im "Media Center.exe" /f /t C:\Meedio\Meedio Essentially it kills anything HTPC-related that one might be using on my system, and then launches Meedio (my main menu). Works nicely for getting out of a bind and not having to reach for the keyboard. If you were looking for a similar way to gracefully kill Sage, a simple "taskkill" command will do the trick...maybe try it without the "/f (force)" for a more gracefull kill. Also, if your server is locked up, and you can't get at a command prompt, you can run taskkill from another box with something like: taskkill /s mysageserver /im sage* /f |
#14
|
||||
|
||||
Quote:
Have you ever compared the two? |
#15
|
|||
|
|||
I have never compared EventGhost and Girder but many claim EventGhost is easier to use.
IIRC you can use EventGhost and Girder together using the network event sender/reciever functions. I think somone said they are completely compatible. This would make sence as the only payload is the event name. |
#16
|
|||
|
|||
EG is free.
|
#17
|
||||
|
||||
Girder 3.29b (which is what I use) is also free. After that it went pay.
Anyway, I'm building a new HTPC next week. Perhaps I'll check out EventGhost and see if it will replace what I've been doing in Girder. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Video is working, now for sound | otakucode | SageTV Software | 2 | 01-03-2007 05:19 PM |
Sage has experienced a critical error and must close | chadman | SageTV Beta Test Software | 3 | 11-11-2006 02:02 PM |
Windows Login appears after Sage Install. | camus | SageTV Software | 10 | 06-06-2006 09:18 PM |
Sage DVD Player vs. Zoom/TT Players | Jesse | SageTV Software | 47 | 02-17-2006 02:34 PM |
Sage Icon spinning forever - UI locked until killed or server stopped | Omniver | SageTV Software | 4 | 12-02-2005 09:57 AM |