SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-13-2007, 08:10 PM
munch_e_cracker munch_e_cracker is offline
Sage User
 
Join Date: Jan 2007
Posts: 5
Send a message via AIM to munch_e_cracker
Can't start Sage server... java issues?

Hello, I should begin by stating that I am attempting this on a non Gentoo distro. I grabbed the latest Sage server. I got all required dependancies without much issue. I did have an issue when installing my key, namely that java couldn't find an encyption type RSA. It failed to generate the local key but did find the SageTV public key. I was using 1.5.0_10. I downgraded to 1.4 and was able to generate the key without issue. I reinstalled 1.5.0_10 and went to /opt/sagetv/server and executed ./startsage as root. I get the following error:

Changing to SageTV directory /opt/sagetv/server/.
Starting server mode
Unrecognized VM option 'MaxGCPauseMillis=25'
Could not create the Java virtual machine.

If I edit the startsage script and remove that option, the same error occurs only with 'GCTimeRatio=24'. If I remove that option, SageTV will start running as a server seemly okay.

However, when I try and connect an MVP to it, I get the following error in sagetv_0.txt:
Sat 1/13 20:34:53.064 at sage.be$1.run(Unknown Source)
java.net.SocketException: Socket closed
Sat 1/13 20:34:53.066 at java.net.SocketInputStream.read(SocketInputStream.java:162)
Sat 1/13 20:34:53.066 at java.net.SocketInputStream.read(SocketInputStream.java:182)
Sat 1/13 20:34:53.066 at java.io.FilterInputStream.read(FilterInputStream.java:66)
Sat 1/13 20:34:53.066 at sage.be$a.run(Unknown Source)
Sat 1/13 20:36:09.552 Error w/SageTV client connection:java.net.SocketException: Socket closed
Sat 1/13 20:36:09.553 MiniUI ServerSocket died from:java.net.SocketException: Socket closed

The MVP itself will detect my computer and show the SageTV loading screen. This screen will blink off and on (probably as the connection dies and is reestablished.)

Any ideas on what to do here?
Reply With Quote
  #2  
Old 02-17-2007, 06:47 PM
joat joat is offline
Sage User
 
Join Date: Dec 2006
Location: Virginia
Posts: 25
Java path

If you installed JRE in an odd path, you'll need to add /where/ever/you/installed/JRE/bin to the path variable in ~/.bashrc (or whatever rc file you use for your favorite shell). Don't forget that the path ends in "/bin".

- joat
Reply With Quote
  #3  
Old 02-27-2007, 08:43 AM
munch_e_cracker munch_e_cracker is offline
Sage User
 
Join Date: Jan 2007
Posts: 5
Send a message via AIM to munch_e_cracker
I managed to fix it by installing a different version of my distro. I did try a few different PATH's to no avail. I'm not entirely sure what is different this time around, other than the sageserver working without a hitch.
Reply With Quote
  #4  
Old 02-27-2007, 01:27 PM
Oinos's Avatar
Oinos Oinos is offline
Sage User
 
Join Date: Feb 2007
Posts: 11
Just out of curiosity, what distro are you running?
Reply With Quote
  #5  
Old 02-27-2007, 02:13 PM
munch_e_cracker munch_e_cracker is offline
Sage User
 
Join Date: Jan 2007
Posts: 5
Send a message via AIM to munch_e_cracker
The initial problem I had was with Ubuntu 6.06. An upgrade to 6.10 fixed every issue I had with sageserver. Though I'm still fiddling with trying to get sageclient working. Since I'm having difficulty with other TV applications, I'm guessing it isn't a sage specific issue. It seems to have a lot to do with the video overlay, so your milage may vary.
Reply With Quote
  #6  
Old 02-28-2007, 10:26 AM
Arawak's Avatar
Arawak Arawak is offline
Sage User
 
Join Date: Mar 2006
Location: London Ontario, Canada
Posts: 30
Quote:
Originally Posted by munch_e_cracker
Unrecognized VM option 'MaxGCPauseMillis=25'
You are not using the Sun JVM... you might have it installed, but the start script isn't finding it.

Make sure you have all traces of gcj removed from your system.

Arawak
Reply With Quote
  #7  
Old 03-05-2007, 02:56 PM
munch_e_cracker munch_e_cracker is offline
Sage User
 
Join Date: Jan 2007
Posts: 5
Send a message via AIM to munch_e_cracker
I didn't even know there was a GNU compiler for Java! I'll bet that was the conflict.
Reply With Quote
  #8  
Old 03-10-2007, 05:40 PM
jayemdae jayemdae is offline
Sage User
 
Join Date: Sep 2006
Posts: 7
Similar Java issues using JRE 1.5.0

I am getting an error when trying to use keygen.sh with my key saying:

Error with MAC address detection of:java.io.IOException: java.io.IOException: No such file or directory

I don't have gcj installed and have JRE 1.5.0-11 installed with the path in the .bashrc file and and new bash session. Not sure why this is happening.
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


All times are GMT -6. The time now is 04:44 PM.


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