|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
moving servers..
Hi,
I'm migrating a working 6.3.10 SageTV server from and old power hungry P4 box running Ubuntu 6.10 (32-bit) to a low power athlon64 running Ubuntu 8.04 (64-bit). I have a small window of time tomorrow to do the migration, and I'm hoping to have all my ducks in a row. So, in advance of the move, I've: - rsync'ed the recordings, videos, dvds, etc, and the sagetv installation from the old to the new box - copied over the 32-bit java install from the old box - verified that the client works on the new box, which I assume verifies java, etc, is working. - copied over the firmware files for my nxt2002 based HDTV card - copied over the scripts I use to start and stop sage, and to manage which HDTV card is mapped to /dev/dvbN - copied over the comskip installation, and the scripts I use to manage comskip. What am I forgetting? Will I need to re-register my license? If I do re-register, and some other problem requires me to fall back to the old system, will SageTV still work on it? What is the license keyed to, anyway? If it is the MAC address of the NIC, the old box's primary NIC is a PCI card that I could move along with the tuners if it would simplify my life. Thanks, Drew |
#2
|
||||
|
||||
Just prior to the migration or at a point no more recordings or changes to the environment is taking place you should shut down your original Sage and copy the wiz.bin for use in the new installation. After the new installation is verified working with your tuners then stop Sage and copy this file in place. You will now have your original recordings listed, favorites, etc.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. Last edited by gplasky; 07-18-2008 at 07:39 AM. |
#3
|
||||
|
||||
I don't know exactly how the Linux license activation works, but if the new system doesn't work, you'll need to send an email to SageTV, asking them to reactivate the license.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#4
|
|||
|
|||
Quote:
Thanks, Drew |
#5
|
|||
|
|||
Quote:
Sat 7/19 12:58:06.556 Added:MediaFile[id=319138 FA[BAD AIRING] host=dvr encodedBy=adapter5 Digital TV Tuner format=MPEG2-PS 0:00:00 0 kbps []] Sat 7/19 12:58:06.564 Using internal format detector first... Sat 7/19 12:58:06.568 File Format Parsed-2 /var/media/tv/AskThisOldHouse-TributetoTileExpertJoeFerrante-91282-0.mpg=MPEG2-PS 0:29:59 15288 kbps [#0 Video[MPEG2-Video 29.97003 fps 704x480 4:3 interlaced]#1 Audio[AC3 48000 Hz 2 channels 192 kbps MAIN idx=1 id=bd-81010002]#2 Audio[AC3 48000 Hz 1 channels 96 kbps idx=2 id=bd-82010002]] Do you have any idea what is going on? I thought this might be happening because the hostname / IP of the new server is different, so I temporarily made them the same, restored wiz.bin, and still no joy. Thanks, Drew |
#6
|
||||
|
||||
Make sure you copied wiz.bin to the location where it should be & have stopped the SageTV service process (for lack of a better term) on the Linux system before the copy. See this FAQ topic for info about moving files to a new system:
FAQ: How to move files, change recording dirs, etc. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#7
|
|||
|
|||
Quote:
Wiz.bin and Sage.properties). The new machine is an exact (except for the IP address and hostname) mirror of the old. Is there any logging which can tell me what SageTV thinks is wrong, and why it is throwing away all its information? Drew |
#8
|
||||
|
||||
I don't recommend moving sage.properties to a new PC & that FAQ mentions at least 1 property to use to get recordings recognized in new locations.
If your Favorites are not even appearing in the Favorites Manager menu, then your old wiz.bin is simply not gettting used for some reason. Maybe it thinks the file you copied is corrupt, or sage.proeprties contains the path to the wiz.bin actually being used. You can enable debug logging to get a log. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#9
|
|||
|
|||
Quote:
A big glaring "license problem" printed to a log (or stderr) and exiting would have been much more clear. The fact that the server was still running, and I could access it via the Neilm web server made me think at first that the license was OK. Is there a clear description of what the SageTV licensing scheme considers to be an identical machine? I've read you're only allowed to register a single license 4 times, and I'm now worried what happens when or if I want to upgrade this machine. Thanks for your help. Especially on a Saturday. You're awesome. Drew |
#10
|
||||
|
||||
You should send any license feedback/questions to SageTV.
And, I'm only online this much today because I'm spending my Saturday backing up my main SageTV system & installing my HD PVRs. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#11
|
|||
|
|||
It hung!
After resolving the license problem, and watching a bit of live TV, I figured things were good, and left it for the day. When we tried to watch a recording this morning, via the HD100, the server seemed "hung". On the server, stopsage did not stop sagetv, and I needed to manually kill -9 the java process.
I had left debug_logging=TRUE when trying to diagnose the license problem, so I have fairly complete logs of the hang. Everything looks normal in the logs around the time I left it, up until here: Sat 7/19 15:00:40.782 Wizard DONE saving database info. Sat 7/19 15:00:40.783 sage.ax@127ff0d needs an update in 23:25:57 Sat 7/19 15:00:40.783 sage.ax@d9cbcb needs an update in 4:29:19 Sat 7/19 15:00:40.783 EPG needs an update in 269 minutes Sat 7/19 15:00:40.783 EPG's works is done. Waiting... Sat 7/19 15:00:54.538 CARNY Negative Energy Size: 349 Sat 7/19 15:00:54.539 CARNY Traitors:[] Sat 7/19 15:00:54.540 Scheduler awoken Sat 7/19 15:00:54.541 Carny got a Std job of null Sat 7/19 15:00:54.591 CARNY Processing 142 Agents & 1658 Airs Sat 7/19 15:02:28.841 Ministry is waiting for 180 sec Sat 7/19 15:05:31.134 Ministry is waiting for 180 sec Sat 7/19 15:05:40.535 Seeker awoken Sat 7/19 15:05:40.537 MARK 1 currRecord=null enc=adapter4 clients=[] ir=false Sat 7/19 15:08:31.135 Ministry is waiting for 180 sec Sat 7/19 15:11:31.135 Ministry is waiting for 180 sec Sat 7/19 15:14:31.136 Ministry is waiting for 180 sec These continue every three minutes until the next morning (and nothing is mentioned about the recordings it should have made), until the HD100 connects and I see this: Sun 7/20 9:11:49.992 EventThread-00085c53c609 Hang Detected - hang time = 750 Sun 7/20 9:11:50.742 EventThread-00085c53c609 Hang Detected - hang time = 1500 Sun 7/20 9:11:51.492 EventThread-00085c53c609 Hang Detected - hang time = 2250 <....> Sun 7/20 9:14:59.046 EventThread-00085c53c609 Hang Detected - hang time = 132914 Sun 7/20 9:14:59.100 MiniUI client error:java.net.SocketException: Broken pipe Sun 7/20 9:14:59.101 java.net.SocketException: Broken pipe Sun 7/20 9:14:59.101 at java.net.SocketOutputStream.socketWrite0(Native Method) Sun 7/20 9:14:59.101 at java.net.SocketOutputStream.socketWrite(Unknown Source) Sun 7/20 9:14:59.101 at java.net.SocketOutputStream.write(Unknown Source) Sun 7/20 9:14:59.101 at java.io.BufferedOutputStream.flushBuffer(Unknown Source) Sun 7/20 9:14:59.101 at java.io.BufferedOutputStream.write(Unknown Source) Sun 7/20 9:14:59.101 at java.io.DataOutputStream.write(Unknown Source) Sun 7/20 9:14:59.101 at sage.bk.N(Unknown Source) Sun 7/20 9:14:59.101 at sage.bk.dQ(Unknown Source) Sun 7/20 9:14:59.101 at sage.bk.do(Unknown Source) Sun 7/20 9:14:59.101 at sage.bn.try(Unknown Source) Sun 7/20 9:14:59.101 at sage.bn$1.run(Unknown Source) This repeats a zillion times until I restarted sage. Now things *seem* fine. After restarting Sage, it has made one successful recording, and is working on a second.. I've never had Sage hang on me before. Has anybody else seen a problem like this? This is ubuntu 8.04, 64-bit, 32-bit sun jre 1.6.0_04, and 3 ATSC tuner cards. Thanks, Drew |
#12
|
|||
|
|||
Your java is not the latest of 1.6 versions. I had similar issues and had to revert to 1.5. I have not tested the 1.6.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#13
|
|||
|
|||
Quote:
Can you tell me exactly which java you're using? Thanks, Drew |
#14
|
|||
|
|||
Java Runtime Environment 5.0 Update 16
http://java.sun.com/javase/downloads/index_jdk5.jsp B PS - I never spent much time trying to figure it out, either.
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#15
|
|||
|
|||
Quote:
FWIW, I just started getting my comskip perl script working, and it hung again as soon as I ran the script. My comskip script queries the web server to find the channel a show was recorded on so that it can avoid comskipping PBS shows. I guess hitting the database was enough to kill it... Drew PS, if you care: sub commercial_free { $file=$_[0]; $url="http://127.0.0.1:8080/sage/DetailedInfo?FileName=" . $file; use LWP::UserAgent $ua = LWP::UserAgent->new; $req = HTTP::Request->new(GET => $url); $req->authorization_basic('user', 'pass'); $r = $ua->request($req)->as_string; # Look for a string which identifies a show as commercial free. For # me, I just look for shows recorded on WUNC, my local PBS affiliate $i = index($r, "WUNC"); if ($i > 0) { # print "$file is a PBS show\n"; return 1; } # print "$file is not a PBS show\n"; return 0; } |
#16
|
|||
|
|||
Well, it has been running 24hrs without a hiccup whereas before it was hanging every few hours, so I'm kind of hopeful you nailed it. Thanks again for the help.
Drew |
#17
|
|||
|
|||
The bummer is that I don't know what is causing it. Some of the add-ons are not 1.5 friendly. Glad to help though.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switching Servers | soccerdad | SageTV Media Extender | 3 | 05-25-2008 10:32 PM |
SageTV java issues | jayemdae | SageTV Linux | 3 | 05-20-2007 02:55 PM |
Can you use the Media Extender with 2 seperate servers? | HelixSky | SageTV Media Extender | 1 | 01-18-2006 07:09 AM |
Feature request: A way to switch servers | dadams | SageTV Software | 2 | 01-05-2006 03:25 PM |
Changing servers with the client | dadams | SageTV Software | 3 | 11-07-2005 10:56 AM |