|
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
|
|||
|
|||
Cant Run as a Client (Bad License)
While I have succesfully modifed my startsage file to enable my Linux installation to run as a client (splashscreen shows SageTVclient, locates and tries to connect to my current Windows server) it freezes up and loses the connection.
My sagetvclient file reads as Sun 3/5 0:02:58.038 ERROR loading LinuxInput plugin of:java.lang.UnsatisfiedLinkError: no LinuxInput in java.library.path Sun 3/5 0:03:02.982 Error establishing server connection of:java.io.IOException: BAD_LICENSE Sun 3/5 0:03:08.316 locale = en Sun 3/5 0:03:11.560 Connection lost from: Socket[addr=192.168.0.5/192.168.0.5,port=42024,localport=42344] by:java.net.SocketException: Socket closed Sun 3/5 0:03:11.773 Error establishing server connection of:java.io.IOException: BAD_LICENSE Sun 3/5 0:03:26.807 Error establishing server connection of:java.io.IOException: BAD_LICENSE Sun 3/5 0:03:56.866 Error establishing server connection of:java.io.IOException: BAD_LICENSE Sun 3/5 0:04:01.865 button/power PWRF 00000080 00000001 Sun 3/5 0:04:01.866 Power button has been pressed I have tried everything I could think of, including deleting my activation key and running the keygen script to reactivate my install but have had no success. Ideas or options from those who have had a sucessful client installation? |
#2
|
|||
|
|||
HOw did you succeed to install it as a client?
I did not find any sage.properties reference in the /opt/sagetv/app/startsage script. Install mode is 2 (full) Thanks for your help. Ferdinand
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#3
|
|||
|
|||
Hi Ferdinand, sorry if this reply isnt structured very well, but I have just dislocated my shoulder so it is done left handed and hunt and peck keyboarding only.
Below is my copy of the startsage script that has the text to be altered - I make no guarantees that the modifications described will work - but they should bring up Sage in client mode - but as my post says I continue to have some sort of licensing issue. Ok, well the text in red is what needs to be altered, I have made the changes in both places though the first line altered actually refers to running Sage in headless mode (option 0) - not much use when you want it to be a client . So replace Sage.jar with Sagetvclient.jar and Sage.properties with SageClient.properties. Just be aware that the file is very touchy about how you edit it ( I gave up trying to do it in Nano as I kept putting extra page breaks in by accident) I dont know if you have installed KDE or Gnome on your system so that you can use a better text editor - my reccomendation is xfce simply because it is smaller and takes less time time to emerge (emerge xfce4). You can also start it without the need to edit initrc.config files etc. As you probably have found already you can go back to the shell prompt by hitting the power button when Sagetv has started. At that point you can type startxfce4 and it will just fire up and present you with a slighly easier enviroment to work in. installmode=`cat /opt/sagetv/usr/installmode` userkey=`cat /opt/sagetv/usr/activkey` if [ "$installmode" -eq 0 ]; then echo Starting server mode else ./evilwm & xsetroot -cursor empty.xbm empty.xbm fi alsactl restore # PVR cards modprobe ivtv # A180 card modprobe saa7134-dvb chmod 777 /var/media/videos chmod 777 /var/media/pictures chmod 777 /var/media/music export LD_LIBRARY_PATH=.:lib export LANG=en_US.ISO-8859-1 if [ "$installmode" -eq 0 ]; then /opt/sun-jre-bin/bin/java -Djava.awt.headless=true -DUSERKEY=$userkey -Xmx160m -XX:+UseAdaptiveSizePolicy -XX:MaxGCPauseMillis=25 -XX:GCTimeRatio=24 -cp Sage.jar:jcifs-1.1.6.jar:.:/:$(echo JARs/*.jar | sed 's/ */:/g') SecuredLoader 0 0 x "sagetv /opt/sagetv/usr/Sage.properties" 2>&1 | tee sageout.txt else /opt/sun-jre-bin/bin/java -DUSERKEY=$userkey -Xmx160m -XX:+UseAdaptiveSizePolicy -XX:MaxGCPauseMillis=25 -XX:GCTimeRatio=24 -cp Sage.jar:jcifs-1.1.6.jar:.:/:$(echo JARs/*.jar | sed 's/ */:/g') SecuredLoader 0 0 x "sagetv /opt/sagetv/usr/Sage.properties" 2>&1 | tee sageout.txt fi exit $? |
#4
|
|||
|
|||
I'm toooo stuuupid!!!!!!!!!!!!!!!
what I was searching was further on the right of the sceen!!!!!!!!! I changed it but Xorg does not start any more... I'll investigate! Thanks Ferdinand
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#5
|
|||
|
|||
I'm new to Linux so I did not succeed in installing KDE... so if you can explain ;-)
Thanks for your help Ferdinand
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#6
|
|||
|
|||
It's working but do not change Sage.jar to SageClient. Leave it unchanged.
But now, I have the message : Network licence error when I try to connect to my server. THANKS FOR YOUR HELP!!!
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#7
|
|||
|
|||
Hey Ferdinand, glad you are making progress. I was wondering if you could post your sageout.txt file that will be in your /opt/sagetv/app/ directory so I can compare it to mine below.
Wed 3/8 21:43:37.232 ERROR loading LinuxInput plugin of:java.lang.UnsatisfiedLinkError: no LinuxInput in java.library.path java.lang.UnsatisfiedLinkError: no LinuxInput in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at sage.LinuxInput.<init>(Unknown Source) at sage.EventRouter.ah(Unknown Source) at sage.EventRouter.<init>(Unknown Source) at sage.UIManager.C(Unknown Source) at sage.UIManager.A(Unknown Source) at sage.UIManager.getLocalUI(Unknown Source) at sage.SageTV.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sage.Sage.void(Unknown Source) at sage.Sage.b(Unknown Source) at SecuredLoader.main(SecuredLoader.java:5) Wed 3/8 21:43:42.227 Error establishing server connection of:java.io.IOException: BAD_LICENSE java.io.IOException: BAD_LICENSE at sage.p.aG(Unknown Source) at sage.p.<init>(Unknown Source) at sage.bf.do(Unknown Source) at sage.bf.for(Unknown Source) at sage.SageTV.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sage.Sage.void(Unknown Source) at sage.Sage.b(Unknown Source) at SecuredLoader.main(SecuredLoader.java:5) Wed 3/8 21:43:47.532 locale = en Wed 3/8 21:43:50.780 Connection lost from: Socket[addr=192.168.0.5/192.168.0.5,port=42024,localport=39661] by:java.net.SocketException: Socket closed Wed 3/8 21:43:50.961 Error establishing server connection of:java.io.IOException: BAD_LICENSE java.io.IOException: BAD_LICENSE at sage.p.aG(Unknown Source) at sage.p.<init>(Unknown Source) at sage.bf.do(Unknown Source) at sage.bf.fR(Unknown Source) at sage.bf.access$300(Unknown Source) at sage.bf$2.run(Unknown Source) Wed 3/8 21:43:57.023 button/power PWRF 00000080 00000001 Wed 3/8 21:43:57.024 Power button has been pressed Could not open /dev/i2c/1 |
#8
|
|||
|
|||
here you are:
Tue 3/7 17:17:21.682 Error discovering servers:java.net.SocketTimeoutException: Receive timed out Tue 3/7 17:17:34.299 ERROR loading LinuxInput plugin of:java.lang.UnsatisfiedLinkError: no LinuxInput in java.library.path java.lang.UnsatisfiedLinkError: no LinuxInput in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at sage.LinuxInput.<init>(Unknown Source) at sage.EventRouter.ah(Unknown Source) at sage.EventRouter.<init>(Unknown Source) at sage.UIManager.C(Unknown Source) at sage.UIManager.A(Unknown Source) at sage.UIManager.getLocalUI(Unknown Source) at sage.SageTV.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sage.Sage.void(Unknown Source) at sage.Sage.b(Unknown Source) at SecuredLoader.main(SecuredLoader.java:5) Tue 3/7 17:18:10.362 Error establishing server connection of:java.io.IOException: BAD_LICENSE java.io.IOException: BAD_LICENSE at sage.p.aG(Unknown Source) at sage.p.<init>(Unknown Source) at sage.bf.do(Unknown Source) at sage.bf.for(Unknown Source) at sage.SageTV.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sage.Sage.void(Unknown Source) at sage.Sage.b(Unknown Source) at SecuredLoader.main(SecuredLoader.java:5) Tue 3/7 17:18:21.992 Error establishing server connection of:java.io.IOException: BAD_LICENSE java.io.IOException: BAD_LICENSE at sage.p.aG(Unknown Source) at sage.p.<init>(Unknown Source) at sage.bf.do(Unknown Source) at sage.bf.for(Unknown Source) at sage.SageTV.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sage.Sage.void(Unknown Source) at sage.Sage.b(Unknown Source) at SecuredLoader.main(SecuredLoader.java:5) Mon 3/13 19:13:33.058 Error establishing server connection of:java.io.IOException: BAD_LICENSE java.io.IOException: BAD_LICENSE at sage.p.aG(Unknown Source) at sage.p.<init>(Unknown Source) at sage.bf.do(Unknown Source) at sage.bf.for(Unknown Source) at sage.SageTV.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sage.Sage.void(Unknown Source) at sage.Sage.b(Unknown Source) at SecuredLoader.main(SecuredLoader.java:5)
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#9
|
||||
|
||||
I think you would have to supply the log files from both sides (client & server) to get a better idea of what is happening. (set the property: debug_logging=TRUE)
- 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. |
#10
|
|||
|
|||
Here are the log files.
Thanks for your help.
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#11
|
|||
|
|||
Did those files help you?
Thanks Ferdinand
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#12
|
|||
|
|||
Hi Ferdinand
It seems that the Sage Team are busy wih other things at the moment, doesn't it. When I had a look at your files I did notice that you are running Sagetv version V4.1.9.80. As the Linux version has not been updated for a while (still at 4.16) there may be an issue that a Sage client and a Sage server have to be the same version to work. So you may have to roll back to sagetv 4.16 on your windows machine. regards Les |
#13
|
|||
|
|||
I'll give a try! Did you solve your issue that way?
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#14
|
||||
|
||||
Those server logs indicate the first SageTV Client connection works, but the second one fails due to license re-use. You're not trying to use 2 separate Linux clients to connect that each use the same key are you? Have you tried it with just one client connecting from Linux?
__________________
Jeffrey Kardatzke Founder of SageTV |
#15
|
|||
|
|||
I've been getting the same results for the past couple of months. Trying to connect a single linux client will always result in a BAD_LICENSE in the linux log and a "Client License Piracy" in the windows server log.
Doing the reverse and changing the startup script back and four windows clients can connect happily to the linux server with no complaints about any license problem. I've experiminted with having the windows server in service mode and back, upgrading/downgrading, wiping out properties files, redownloading the ISO and still receive the license error. |
#16
|
|||
|
|||
I have to echo Panzers comments - I have tried everything to get this to work over the last few months and am starting to seriously doubt the ability of the Linux version to work as a Client which is why I purchased it.
In my case there can be no question of having more than one Linux client attempting to connect as I have gone to the step of setting up a seperate network of just a Windows server and a Linux client machine to test this and have continued to experiance the "Bad License" issue. |
#17
|
|||
|
|||
I only use 1 linux client. I am using 1 windows client & 1 MVP. But actually, they are not used together.
Thanks Ferdinand
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
#18
|
||||
|
||||
What's the modified startsage script that you're trying to use? Maybe you didn't edit that right (I don't think we've posted info on how to do it, did we?)
The main thing to change is where it says: "sagetv Sage.properties" instead it should say "sagetvclient SageClient.properties" (the properties file name doesn't really matter though)
__________________
Jeffrey Kardatzke Founder of SageTV |
#19
|
||||
|
||||
That's in the Linux FAQs, but now I noticed that post #3 above mentions changing 'sage.jar', instead of 'sagetv'. Could that be the problem in this thread?
- 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. |
#20
|
|||
|
|||
sorry for the delay but here's my startsage script.
Thanks for your support... Ferdinand
__________________
My config: AMD athlon64 3200+ / 1 GB RAM / MSI K8N Neo4 / ATI X800 PRO / Technotrend Budget C-1500 / 300GB SATA HD / Win Vista Ultimate |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|