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 04-11-2011, 10:27 AM
jbmia jbmia is offline
Sage User
 
Join Date: Apr 2009
Posts: 73
64 bit SageTV install on Fedora, can't access SageTV server...

So, I've been running Amahi server on Fedora 12 in 32 bit since approx 11/10 with SageTV sucessfully installed. It was relatively stable. As such I'm familiar with the tar.gz bin install method, install libmad faad2, etc, etc... the ./configure, make, make install.. I'm no linux expert, but I've done it and I've had it working...

So, for reasons beyond the scope of this post, I switched out my old system drive for a new WD Enterprise drive and in the process upgraded to the latest release of Amahi that sits on Fedora 14... since my hardware is all 64 bit, I opted to go with the Fedora 14 64 bit version.. I did check here and saw some posts a few years old, but nothing recent, so I didn't think too much about it...

I then reinstalled SageTV with all it's dependencies the same as before.. though this time I ran into the an issue with the 64bit sun java version.. I killed that directory and installed the 32 bit version in it's place... ran my keygen.sh and had an extender up and running and going through the set up process fairly quickly.. the thing I couldn't do last night was pull up the HDhomerun config... thinking I had to reboot the little bugger, I put it off to this morning... Come to find out this morning, I can no longer access the Sagetv from either of my extenders, a client, or a placeshifter... nada.. the extenders are the most verbose in that they see that the server is running, but they just shut off on attempting to connect to it... client and placeshifter just don't do anything... I've stop and started the server and it reacts normally.. also reran keygen.sh with success...

I checked the sagetv_0.txt and sagetv_1.txt files looking for some logs I could check and came up with a mess of stuff... Here's an excerpt:

"Mon 4/11 11:40:44.337 [main@f42ad0] Unable to load HDHomeRun capture manager: java.lang.UnsatisfiedLinkError: /opt/sagetv/server/libHDHomeRunCapture.so: lib$
Mon 4/11 11:40:44.338 [main@f42ad0] ERROR instantiating HDHomeRun capture manager: java.lang.UnsatisfiedLinkError: /opt/sagetv/server/libHDHomeRunCapture.so$
Mon 4/11 11:40:44.345 [main@f42ad0] detect 3
Mon 4/11 11:40:47.942 [LibraryImporter@15a94f] ERROR loading native library of:java.lang.UnsatisfiedLinkError: /opt/sagetv/server/libImageLoader.so: libz.so$
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] java.lang.UnsatisfiedLinkError: /opt/sagetv/server/libImageLoader.so: libz.so.1: cannot open shared object fi$
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at java.lang.ClassLoader.loadLibrary0(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at java.lang.ClassLoader.loadLibrary(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at java.lang.Runtime.loadLibrary0(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at java.lang.System.loadLibrary(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at sage.media.image.ImageLoader.<clinit>(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at sage.cx.<clinit>(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at sage.au.do(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at sage.ch.mG(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at sage.ch.access$400(Unknown Source)
Mon 4/11 11:40:47.943 [LibraryImporter@15a94f] at sage.ch$1.run(Unknown Source)"

and...

"Mon 4/11 4:48:35.243 [LibraryImporter@c47498] ERROR loading native library of:java.lang.UnsatisfiedLinkError: /opt/sagetv/server/libImageLoader.so: libz.so.$
Mon 4/11 4:48:35.243 [LibraryImporter@c47498] java.lang.UnsatisfiedLinkError: /opt/sagetv/server/libImageLoader.so: libz.so.1: cannot open shared object fil$
Mon 4/11 4:48:35.244 [LibraryImporter@c47498] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
Mon 4/11 4:48:35.245 [LibraryImporter@c47498] at java.lang.ClassLoader.loadLibrary0(Unknown Source)
Mon 4/11 4:48:35.245 [LibraryImporter@c47498] at java.lang.ClassLoader.loadLibrary(Unknown Source)
Mon 4/11 4:48:35.245 [LibraryImporter@c47498] at java.lang.Runtime.loadLibrary0(Unknown Source)
Mon 4/11 4:48:35.245 [LibraryImporter@c47498] at java.lang.System.loadLibrary(Unknown Source)
Mon 4/11 4:48:35.245 [LibraryImporter@c47498] at sage.media.image.ImageLoader.<clinit>(Unknown Source)
Mon 4/11 4:48:35.246 [LibraryImporter@c47498] at sage.cx.<clinit>(Unknown Source)
Mon 4/11 4:48:35.246 [LibraryImporter@c47498] at sage.au.do(Unknown Source)
Mon 4/11 4:48:35.246 [LibraryImporter@c47498] at sage.ch.mG(Unknown Source)
Mon 4/11 4:48:35.246 [LibraryImporter@c47498] at sage.ch.access$400(Unknown Source)
Mon 4/11 4:48:35.246 [LibraryImporter@c47498] at sage.ch$1.run(Unknown Source)
Mon 4/11 4:48:35.247 [LibraryImporter@c47498] at sage.cv$a.run(Unknown Source)"

and...

"Mon 4/11 11:05:13.165 [MediaServerConnection@c47498] Error in MediaServerConnection of :java.io.EOFException
Mon 4/11 11:05:13.165 [MediaServerConnection@c47498] java.io.EOFException
Mon 4/11 11:05:13.165 [MediaServerConnection@c47498] at sage.MediaServer$a.a(Unknown Source)
Mon 4/11 11:05:13.165 [MediaServerConnection@c47498] at sage.MediaServer$a.run(Unknown Source)
Mon 4/11 11:05:13.166 [MediaServerConnection@c47498] at sage.cv$a.run(Unknown Source)
Mon 4/11 11:05:13.644 [MiniUIServerConnection@1b6772a] Error calling finishWatch from VF goodbye:java.lang.NullPointerException
Mon 4/11 11:05:50.730 [MediaServerConnection@c47498] Error in MediaServerConnection of :java.io.EOFException
Mon 4/11 11:05:50.730 [MediaServerConnection@c47498] java.io.EOFException
Mon 4/11 11:05:50.730 [MediaServerConnection@c47498] at sage.MediaServer$a.a(Unknown Source)
Mon 4/11 11:05:50.731 [MediaServerConnection@c47498] at sage.MediaServer$a.run(Unknown Source)
Mon 4/11 11:05:50.731 [MediaServerConnection@c47498] at sage.cv$a.run(Unknown Source)
Mon 4/11 11:05:50.917 [MiniUIServerConnection@1b6772a] Error calling finishWatch from VF goodbye:java.lang.NullPointerException
Mon 4/11 11:05:58.746 [MediaServerConnection@c47498] Error in MediaServerConnection of :java.io.EOFException
Mon 4/11 11:05:58.747 [MediaServerConnection@c47498] java.io.EOFException
Mon 4/11 11:05:58.747 [MediaServerConnection@c47498] at sage.MediaServer$a.a(Unknown Source)
Mon 4/11 11:05:58.747 [MediaServerConnection@c47498] at sage.MediaServer$a.run(Unknown Source)
Mon 4/11 11:05:58.747 [MediaServerConnection@c47498] at sage.cv$a.run(Unknown Source)
Mon 4/11 11:05:58.864 [MiniUIServerConnection@1b6772a] Error calling finishWatch from VF goodbye:java.lang.NullPointerException
Mon 4/11 11:06:29.173 [MediaServerConnection@c47498] Error in MediaServerConnection of :java.io.EOFException
Mon 4/11 11:06:29.174 [MediaServerConnection@c47498] java.io.EOFException
Mon 4/11 11:06:29.174 [MediaServerConnection@c47498] at sage.MediaServer$a.a(Unknown Source)
Mon 4/11 11:06:29.174 [MediaServerConnection@c47498] at sage.MediaServer$a.run(Unknown Source)
Mon 4/11 11:06:29.174 [MediaServerConnection@c47498] at sage.cv$a.run(Unknown Source)
Mon 4/11 11:06:29.280 [MiniUIServerConnection@1b6772a] Error calling finishWatch from VF goodbye:java.lang.NullPointerException
Mon 4/11 11:10:09.145 [MediaServerConnection@1b6772a] Error in MediaServerCon"

So..Looks like somethings up with Java there to me...

But then, here's this:

"alternatives --config java

There are 3 programs which provide 'java'.

Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
*+ 3 /usr/lib/java_sun/jre1.6.0_24/jre/bin/java

Enter to keep the current selection[+], or type selection number:
"
and...

"which java
/usr/lib/java_sun/jre1.6.0_24/bin/java"

.. those look pretty happy to me...

What's strange is, I had a client up and running last night.. and today.. nada... Anybody have any ideas out there?

jbmia
Reply With Quote
  #2  
Old 04-11-2011, 11:38 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Did the IP address of your server change? As long as you have Sun java and the 32 bit installed it should be good to go.

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.
Reply With Quote
  #3  
Old 04-11-2011, 12:02 PM
Qusix Qusix is offline
Sage User
 
Join Date: May 2008
Posts: 66
Did you also install the 32 bit libraries?
__________________
Linux Headless Server
Tuners: HD Homerun, 2 HD-PVR, PVR-150

Clients:
2 HD100 Extenders
1 HD200 Extender
SageTV Client
Reply With Quote
  #4  
Old 04-11-2011, 01:10 PM
jbmia jbmia is offline
Sage User
 
Join Date: Apr 2009
Posts: 73
32 bit libraries... Guess I must have missed something somewhere along the way.. what 32 bit libraries?

I followed the directions provided by Sage and installed the dependencies as I mentioned above.. I installed the 32 bit version of java...

I just did a quick search and see some mention now of the these 32 bit libraries, but didn't see any links or anything... what am I missing?

jbmia
Reply With Quote
  #5  
Old 04-11-2011, 02:04 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
You followed this and looked at the the attached pdf?

linux libraries 32 bit

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.
Reply With Quote
  #6  
Old 04-11-2011, 03:13 PM
jbmia jbmia is offline
Sage User
 
Join Date: Apr 2009
Posts: 73
Hadn't seen that... Probably wouldn't have looked at it either since it's Debian/Ubuntu centric with the deb install method.. Unfortunately, there is no rpm install for Fedora, so I had to go the bin installation method...

With that said, the only thing I see in there that's not relevent to either the Ubuntu or a client install (my clients are separate), that I hadn't done, was the ldd *so dependency check... Here's the results:

"ldd *.so
libDVBCapture.so:
linux-gate.so.1 => (0x00394000)
libNativeCore.so => not found
libc.so.6 => /lib/libc.so.6 (0x0061d000)
/lib/ld-linux.so.2 (0x4ee58000)
libFirewireCapture.so:
linux-gate.so.1 => (0x003be000)
libiec61883.so.0 => not found
libraw1394.so.8 => not found
libavc1394.so.0 => not found
librom1394.so.0 => not found
libc.so.6 => /lib/libc.so.6 (0x008a5000)
/lib/ld-linux.so.2 (0x4ee58000)
libFreetypeFontJNI.so:
linux-gate.so.1 => (0x00303000)
libfreetype.so.6 => not found
libz.so.1 => not found
libc.so.6 => /lib/libc.so.6 (0x008f9000)
/lib/ld-linux.so.2 (0x4ee58000)
libHDHomeRunCapture.so:
linux-gate.so.1 => (0x0075d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0092f000)
libstdc++.so.6 => not found
libNativeCore.so => not found
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0070c000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x4ee58000)
libImageLoader.so:
linux-gate.so.1 => (0x008c4000)
libz.so.1 => not found
libc.so.6 => /lib/libc.so.6 (0x00573000)
/lib/ld-linux.so.2 (0x4ee58000)
libIVTVCapture.so:
linux-gate.so.1 => (0x00ddf000)
libpthread.so.0 => /lib/libpthread.so.0 (0x009c7000)
libc.so.6 => /lib/libc.so.6 (0x00e01000)
/lib/ld-linux.so.2 (0x4ee58000)
libjtux.so:
linux-gate.so.1 => (0x00b0b000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00f4b000)
libc.so.6 => /lib/libc.so.6 (0x00b6c000)
/lib/ld-linux.so.2 (0x4ee58000)
libMpeg2Transcoder.so:
linux-gate.so.1 => (0x0090f000)
libavformat-minimal.so.52 => not found
libavcodec-minimal.so.52 => not found
libavutil-minimal.so.49 => not found
libm.so.6 => /lib/libm.so.6 (0x00c5e000)
libz.so.1 => not found
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x4ee58000)
libMPEGParser.so:
linux-gate.so.1 => (0x00e9a000)
libNativeCore.so => not found
libc.so.6 => /lib/libc.so.6 (0x00bce000)
/lib/ld-linux.so.2 (0x4ee58000)
libNativeCore.so:
linux-gate.so.1 => (0x001e2000)
libc.so.6 => /lib/libc.so.6 (0x00b89000)
/lib/ld-linux.so.2 (0x4ee58000)
libSage.so:
linux-gate.so.1 => (0x00c9d000)
libdl.so.2 => /lib/libdl.so.2 (0x006de000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x4ee58000)
libTSnative.so:
linux-gate.so.1 => (0x0037b000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x4ee58000)"

Got more than a few not founds in there... How do I get these dependencies resolved?

jbmia
Reply With Quote
  #7  
Old 04-13-2011, 07:32 AM
jbmia jbmia is offline
Sage User
 
Join Date: Apr 2009
Posts: 73
Anybody?
Reply With Quote
  #8  
Old 04-13-2011, 09:27 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by jbmia View Post
Anybody?
You need to install 32-bit version of these libraries. I think red hat based distros like FC used to install both 32- and 64- bit versions of libs, but they've stopped installing 32-bit by default since basically nothing needs them anymore (except sagetv ). The non-trivial part comes in mapping the library files to the package names. For example, libz is "zlib". And you want to install zlib.i686. Eg:sudo yum install zlib.i686. (based on FC12, which I happened to have at work).

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #9  
Old 04-15-2011, 05:25 AM
jbmia jbmia is offline
Sage User
 
Join Date: Apr 2009
Posts: 73
Thanks Drew!

That clears up a lot... Do you know of a complete list of these packages? If not, how would you recommend I go translate the libraries I have missing to actual package names so I can perform a "yum install ... " ?

jbmia
Reply With Quote
  #10  
Old 04-15-2011, 05:34 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by jbmia View Post
Thanks Drew!

That clears up a lot... Do you know of a complete list of these packages? If not, how would you recommend I go translate the libraries I have missing to actual package names so I can perform a "yum install ... " ?

jbmia
You might find this post of use: http://forums.sagetv.com/forums/showthread.php?t=45578

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #11  
Old 04-15-2011, 03:16 PM
jbmia jbmia is offline
Sage User
 
Join Date: Apr 2009
Posts: 73
Thanks B!

That appears to have done the trick...

Rather than dissect each piece to see if it was relevant, I just ran the following command per the link you posted.

"yum install cx18-firmware nano samba mt-daapd mercurial kernel-devel ncurses-devel glibc.i686 zlib.i686 wine.i686 lirc gcc make"

I know I already had nano and samba.. lirc wasn't relevant I'm sure and neither was wine and so on.. but it was quick and easy to just do the whole update since it worked for him...

Hope this helps someone else who stumbles across this..

Thanks again.

jbmia
Reply With Quote
  #12  
Old 04-15-2011, 03:18 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
you really only needed to do this:
Code:
sudo yum install glibc.i686 zlib.i686
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving SageTV install to new server heffneil SageTV Software 4 03-31-2011 08:32 AM
HOWTO: SageTV on Fedora 12 64-bit with Comskip & iTunes Server bcjenkins SageTV Customizations 0 11-26-2009 09:06 PM
SageTV STP-HD200 HD Trial version when access to my SageTV server phlucas SageTV Media Extender 4 02-07-2009 11:21 PM
Which OS to install SageTV server on? crarbo1 SageTV Software 13 09-14-2008 09:54 AM
sagetv and fedora core 6 zzmystique SageTV Linux 4 05-25-2007 01:17 PM


All times are GMT -6. The time now is 05:26 PM.


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