|
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
|
|||
|
|||
I can't get sagetvclient to connect
I'm trying to bring up sagetv for the first time. New computer, ubuntu 9.10. I installed sagetv server via the debian package. It runs, and I can start and stop it with 'sudo /etc/init.d/sagetv start/stop'. It seems to be running. 'ps ax' yields
'6833 pts/0 Sl 0:12 java -Dsage.paths.tools=/opt/sagetv/server -Djava.awt.headless=true -DUSERKEY=S15SF0RQ6JIXME7Y55PUUIJ8AEII5DC0 -Xmx256m -XX:+UseAdaptiveSizePolicy -XX:MaxGCPauseMillis=25 -XX:GCTimeRatio=24 -cp Sage.jar:.:/:JARs/commons-jxpath-1.1.jar:JARs/commons-logging-api.jar:JARs/commons-logging.jar:JARs/jcifs-1.1.6.jar:JARs/mx4j-impl.jar:JARs/mx4j-jmx.jar:JARs/mx4j-remote.jar:JARs/mx4j-tools.jar:JARs/sbbi-jmx-1.0.jar:JARs/sbbi-upnplib-1.0.3.jar SecuredLoader 0 0 x sagetv Sage.properties'I then installed sageclient. When I execute it (cd /opt/sageclient; ./sageclient.sh), it shows a list with a connection to jivo.local (jivo is the name of the computer running both client and server). When I double click that connection, I get a new window with the text 'SageTV Placeshifter is connecting to server: jivo.local. Please wait...'. That window lasts for a few seconds, then goes away, putting me back in the main client.sh window. After looking around this forum, I've set up myself to be the owner of all files in sageclient and sagetv. I've deleted Wiz.bin. It comes back when I restart the server, and there are a few files there called Wiz.bin.corrupt[0-5]. 'cd /var/log; grep -i sagetv *' shows no messages at all, except the one from dpkg saying that it had been installed. BTW, I've got an hdpvr attached via usb, and an hdHomeRun on the network, but I don't know that sage has tried to access either of them yet. What should I try next? Thanks for any help with this! Last edited by loonsailor; 07-11-2009 at 06:56 PM. |
#2
|
|||
|
|||
In poking around a bit more, I find a bunch of error messages in sagetv_0.txt. Here's a sample:
Sat 7/11 17:17:16.316 Error evaluating expression for attribute: default:BASE-85874|AttributeisableOutAnim of java.lang.NullPointerException Sat 7/11 17:17:16.316 Error evaluating expression for attribute: default:BASE-45500|AttributeontShowBack of java.lang.NullPointerException Sat 7/11 17:17:16.316 java.lang.NullPointerException Sat 7/11 17:17:16.316 at sage.a8.<init>(Unknown Source) Sat 7/11 17:17:16.316 at sage.a8.<init>(Unknown Source) Sat 7/11 17:17:16.316 at sage.b1.<init>(Unknown Source) Sat 7/11 17:17:16.318 at sage.UIManager.run(Unknown Source) Sat 7/11 17:17:16.318 at sage.UIManager.case(Unknown Source) Sat 7/11 17:17:16.318 at sage.bk.a(Unknown Source) Sat 7/11 17:17:16.318 at sage.bk.access$700(Unknown Source) Sat 7/11 17:17:16.318 at sage.bk$1.run(Unknown Source) Sat 7/11 17:17:16.318 java.net.SocketException: Socket closed Sat 7/11 17:17:16.319 at java.net.SocketInputStream.read(SocketInputStream.java:162) Sat 7/11 17:17:16.319 at java.net.SocketInputStream.read(SocketInputStream.java:182) Sat 7/11 17:17:16.319 at java.io.FilterInputStream.read(FilterInputStream.java:66) Sat 7/11 17:17:16.319 at sage.bk$a.run(Unknown Source) Sat 7/11 17:17:38.330 Error in MediaServerConnection of :java.io.EOFException Sat 7/11 17:17:38.330 java.io.EOFException Sat 7/11 17:17:38.330 at sage.MediaServer$a.a(Unknown Source) Sat 7/11 17:17:38.331 at sage.MediaServer$a.run(Unknown Source) Sat 7/11 17:17:38.331 at java.lang.Thread.run(Thread.java:619) Sat 7/11 17:17:42.430 Error invoking the method for: default:BASE-44428|Action:"REM Set the global variables for this STV" of java.lang.NullPointerException Sat 7/11 17:17:42.430 java.lang.NullPointerException Sat 7/11 17:17:42.430 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.430 at sage.a8.a(Unknown Source) Sat 7/11 17:17:42.430 at sage.a8.a(Unknown Source) Sat 7/11 17:17:42.431 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.431 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.431 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.431 at sage.UIManager.run(Unknown Source) Sat 7/11 17:17:42.431 at sage.UIManager.case(Unknown Source) Sat 7/11 17:17:42.431 at sage.bk.a(Unknown Source) Sat 7/11 17:17:42.431 at sage.bk.access$700(Unknown Source) Sat 7/11 17:17:42.432 at sage.bk$1.run(Unknown Source) Sat 7/11 17:17:42.432 Error invoking the method for: default:BASE-88606|Action:"REM Startup Apache2 since it fails to start at boot -- for Linux system using NAS" of java.lang.NullPointerException Sat 7/11 17:17:42.432 java.lang.NullPointerException Sat 7/11 17:17:42.432 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.432 at sage.a8.a(Unknown Source) Sat 7/11 17:17:42.433 at sage.a8.a(Unknown Source) Sat 7/11 17:17:42.433 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.433 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.433 at sage.e.a(Unknown Source) Sat 7/11 17:17:42.433 at sage.UIManager.run(Unknown Source) Sat 7/11 17:17:42.433 at sage.UIManager.case(Unknown Source) Sat 7/11 17:17:42.434 at sage.bk.a(Unknown Source) Sat 7/11 17:17:42.434 at sage.bk.access$700(Unknown Source) Sat 7/11 17:17:42.434 at sage.bk$1.run(Unknown Source) Sat 7/11 17:17:42.442 Error evaluating expression for attribute: default:BASE-85874|AttributeisableOutAnim of java.lang.NullPointerException Sat 7/11 17:17:42.443 Error evaluating expression for attribute: default:BASE-45500|AttributeontShowBack of java.lang.NullPointerException Sat 7/11 17:17:42.443 java.lang.NullPointerException Sat 7/11 17:17:42.444 at sage.a8.<init>(Unknown Source) Sat 7/11 17:17:42.444 at sage.a8.<init>(Unknown Source) Sat 7/11 17:17:42.444 at sage.b1.<init>(Unknown Source) Sat 7/11 17:17:42.444 at sage.UIManager.run(Unknown Source) Sat 7/11 17:17:42.444 at sage.UIManager.case(Unknown Source) Sat 7/11 17:17:42.444 at sage.bk.a(Unknown Source) Sat 7/11 17:17:42.444 at sage.bk.access$700(Unknown Source) Sat 7/11 17:17:42.445 at sage.bk$1.run(Unknown Source) Sat 7/11 17:17:42.445 java.net.SocketException: Socket closed Sat 7/11 17:17:42.445 at java.net.SocketInputStream.read(SocketInputStream.java:162) Sat 7/11 17:17:42.446 at java.net.SocketInputStream.read(SocketInputStream.java:182) Sat 7/11 17:17:42.446 at java.io.FilterInputStream.read(FilterInputStream.java:66) Sat 7/11 17:17:42.446 at sage.bk$a.run(Unknown Source) There's lots more like that, but you get the idea. Obviously, java related. Unfortunately, I know nothing about java (now if it was C, or PERL, or even assembler...). Is this something obvious, like a screwed up library path or something? Thanks |
#3
|
|||
|
|||
I took one last stab at it. I removed and reinstalled the server package. Still no joy. When I run sageclient, this is the first few lines that I find in sagetv_0.txt:
Sat 7/11 23:45:18.794 Error with DB file:java.io.IOException: Invalid DB file, only partially saved., attempting to restore backup.Everything up to the 'detect 3' is there from the beginning. The rest (and much more) appears when I run the client and connect. What incredibly stupid thing am I missing? Thanks, once more. |
#4
|
|||
|
|||
Disclaimer: I know nothing about the linux edition of Sage.
I am confused about whether you are trying to connect the client or the placeshifter. The title seems clear to be the client but then a message you get indicates the placeshifter. Have you enabled the server to allow the client or placeshifter to connect? See Setup->Detailed Setup->Server for settings. I would consider the recreation of the wiz.bin file normal. Wiz.bin is needed by Sage to store a lot of information about the shows. The existence of Wiz.bin.corrupt[0-5] does sound like a problem but I have no idea what would cause that. Is the client that you are trying to connect running on the same computer as the Server? This works on Windows and I would expect it to work on linux but may be something that has not been tested.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254. |
#5
|
||||
|
||||
I don't use the Linux version, so I can't offer specific help. However, you could check to make sure that all the needed ports are not being blocked by the router/switch, assuming you are using a router/switch. You could also try using a crossover cable between the server and client to determine if the router/switch is the problem.
Dave |
#6
|
||||
|
||||
You need to be running the 32 bit version of java.
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. |
#7
|
||||
|
||||
I had a similar problem a few months back. I upgraded my linux hardware and sagetv would appear to start, but then I could not connect using a client. It would also keep corrupting my wiz.bin. After a few helpful support emails, I think they had me run "validateKey" or "keygen". But if this is a new install then this is probably not your issue.
I have seen where the placeshifter would not connect when using non sun jdks. I would check to make sure that you have the sun jdk installed and that it is set as your default. ie, if you run Code:
# java -version
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#8
|
|||
|
|||
>java -version
java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode) >uname -a Linux jivo 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux How do I know if it's the 32-bit version of java? I just installed jre6 from synaptics. And, I think that I have a 32-bit OS going, right? BTW, it seems as if placeshifter is the linux client, yes? I did try to connect with a client from a mac, with similar results. Last edited by loonsailor; 07-12-2009 at 10:46 AM. |
#9
|
||||
|
||||
OK. Some basic questions. Have you:
Before starting the server initially you must enter your key by running the keygen script : cd /opt/sagetv/server ./keygen.sh There is no trial version so this must be done. Did you read the SageTV manual? Have you done the initial configuration of Sage including tuners and media directories? Yes-Placeshifter is the Linux client. If you run Placeshifter from a Mac or PC (different downloads) I think you need java installed there. Your errors all seem to be java errors. Go to Sun and download the approprite java for your machine and platform. You should know what version of the linux OS you downloaded and installed. 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. |
#10
|
|||
|
|||
Quote:
I haven't explicitly run keygen.sh, but that's done automatically during a debian install. I did enter my key, and there is a key file there called activkey, and when I say 'validatekey activkey', it seems to work. Anyway, I don't think that the server would be running at all if there was no key in place. I haven't read the whole manual, but I have looked at it. It tells me that all the initial configuration stuff - tuners, etc. - happens in a wizard the first time I run it. Alas, no wizard appears on my linux box. I don't see anything about config files, or creating directories. Am I looking in the wrong manual, or somehow overlooking a chapter? I've loaded the most recent java via synaptics, the ubuntu application loader. When I go to sun, there is a more recent one (1.6.0.14 instead of the installed 1.6.0.13), but because there is no debian installer pkg yet, it will be a pain to install it over the existing one. When I run the java test on my firefox browser, java runs, though it tells me to grab 1.6.0.14. I suppose this could be the problem, but it seems unlikely since I haven't seen any notes about anybody else needing to do this. I downloaded and am running ubuntu 32-bit, unless I screwed up and got the wrong version. If I did, I'm not 100% sure how I'd know. Sigh, this shouldn't be so hard. Especially, since this is the paid version. If I wanted a hobby, I'd be using myth. Thanks again for any help. |
#11
|
||||
|
||||
Quote:
Quote:
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. |
#12
|
||||
|
||||
Quote:
As Gerry said, you should contact support. In my case, when I was seeing corrupt Wiz.bin files, it was key related.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#13
|
|||
|
|||
Well, I uninstalled everything java-related, reinstalled the sun jre, and reinstalled sagetv client and server. It was my last effort before calling it a day. Amazingly, it seems to work now. I don't think I did anything different, but who knows.
Anyway, as I write this it's loading channels and such. Hopefully my next question will be operational, instead of how to get it working! Thanks much! |
#14
|
|||||
|
|||||
My .02 on LoonSailor's issues...
Quote:
Quote:
Quote:
Quote:
Quote:
There must be something that you want that an "appliance" PVR doesn't offer (for me it was non-DRM encumbered recordings and time-shiftable Place Shifting). Incidentally, I suggest you set up a cron job or regular backup system for your critical files (Wiz.bin, Sage.properties, keys, etc) so that you minimize the "hobby-ness" impact of running your own PVR. I have 3 scripts that run (System files, logs, full) that zip and/or tar the appropriate files. Really saves face with the fam when you upgrade/manipulate/tweak/etc and mess up |
#15
|
|||
|
|||
Thanks for the help, everyone!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PC Specs for HD SageTVClient | polen | Hardware Support | 3 | 05-29-2006 11:27 AM |
SageTVClient 2.0 reboots my PC | wazkaren | SageTV Software | 6 | 01-16-2005 10:45 PM |
SageTV and SageTVClient on same PC | gotuitdan | SageTV Beta Test Software | 11 | 11-02-2004 11:11 AM |
SageTVClient 2.0.15 Stutters | Deadbolt | SageTV Beta Test Software | 6 | 04-12-2004 08:31 AM |
IRMan and SageTVClient | dvsing | SageTV Beta Test Software | 1 | 01-29-2004 08:05 PM |