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 12-26-2007, 03:52 PM
Peggysis's Avatar
Peggysis Peggysis is offline
Sage User
 
Join Date: Nov 2005
Posts: 31
New v6.3 instructions?

I see there is a new Linux version available (under "Other Downloads" on the download page). It lists a "tarball" and a "Debian package installer" - wait! Debian?

So, is this in *addition* to Gentoo support (rendering the old instructions, which are *still* using the Gentoo 2006.1 ISO, obsolete), or has SageTV dropped its preference for Gentoo and switched to supporting Debian instead?

I really don't care what flavor of Linux my SageTV server runs, as I don't use it for anything else, but I want to install what SageTV says to install. I also want it to be pretty painless. I do not like having to jump through hoops downloading this package and emerging that package to get it working.

Anyone upgrade to 6.3 yet using the "Debian package installer"? Does this make it easier to install all the dependent software for a vanilla Debian system? Inquiring minds want to know!

-Judy
Reply With Quote
  #2  
Old 12-26-2007, 04:15 PM
ecoolman ecoolman is offline
Sage User
 
Join Date: Mar 2005
Posts: 38
Hi Judy. Installing SageTV on any other distro is relatively painless. Here's the instructions for non-Gentoo:

http://sagetv.com/linuxOEMinstallAdv.html

The debian package should work on most Debian based distributions. Here's the complete list of them here:

http://distrowatch.com/search.php?ca...&status=Active

Most responses to a recent poll showed most Linux sagetv users (myself included) are using Ubuntu, which is also a debian derivative distro:

http://forums.sagetv.com/forums/showthread.php?t=28688

Using Ubuntu Gutsy, the following single command-line should install the SageTV dependencies all at once:

Quote:
sudo apt-get install sun-java6-jre libfaad2-0 libmad0 liblame0
After this, you can simply install the SageTV debian package using the following:

Quote:
sudo gdebi sagetv-server_6.3.5_i386.deb
This will prompt you for the activation key, then you're good to go. You don't need to install IVTV or many other TV tuner drivers as listed in SageTV's instructions, because Ubuntu installs many of them by default. Here's the list supported by Gutsy out of the box:

https://wiki.ubuntu.com/HardwareSupp...entsMultimedia


Eric

Last edited by ecoolman; 12-26-2007 at 04:58 PM.
Reply With Quote
  #3  
Old 12-27-2007, 12:03 PM
Peggysis's Avatar
Peggysis Peggysis is offline
Sage User
 
Join Date: Nov 2005
Posts: 31
Thanks, Eric!

I will try your instructions on Ubuntu, which I've been wanting to try anyway, and post back with details the next time I upgrade. Hopefully, that will be soon.

Thanks again.

-Judy


Quote:
Originally Posted by ecoolman View Post
Hi Judy. Installing SageTV on any other distro is relatively painless. Here's the instructions for non-Gentoo:

[snip!]

Eric
Reply With Quote
  #4  
Old 01-02-2008, 07:50 PM
Peggysis's Avatar
Peggysis Peggysis is offline
Sage User
 
Join Date: Nov 2005
Posts: 31
Success with Ubuntu!

I successfully installed the SageTV Linux Server v6.3 on Ubuntu 7.10 this weekend, and can connect and watch shows from my Windows XP test box. Woopie!

I didn't even have to add anything to the boot scripts, the install package must have done that for me.

However, I typically watch from my HTPC system (which I haven't upgraded yet) and configure/test on the Server. Unlike my Gentoo experience, the linux client was a separate install this time.

No problem, I just followed similar steps for the client (download the tarball and install package, extract, run installer, test). The client runs, but I'm getting a playback exception when I try to watch a show that I'll need to hunt down.

I'm not requesting help right now. I'll want to do my research and set up debugging, but I don't have much time during the week. I'll get back with more info later.

Thanks again for your help, Eric. I promise to include my install notes when I've got it *fully* working. If anyone wants them sooner, and you don't care about watching on the Ubuntu system, let me know, and I'll send them. It really is as easy as Eric said it was.


-Judy
Reply With Quote
  #5  
Old 01-05-2008, 07:32 PM
Peggysis's Avatar
Peggysis Peggysis is offline
Sage User
 
Join Date: Nov 2005
Posts: 31
Installation Notes

Turns out I had some missing libraries. Everything is working great now, and I have a system that can do other things besides SageTV (vmware, perhaps? )

I've formatted my notes into a PDF and attached them. They include configuration as well as installation and debugging information.

I know they're probably a bit detailed for most of the folks here, (sorry, can't help it, I do tech support for a living), but I'm sure someone will find them useful.

-Judy
Attached Files
File Type: pdf InstallSageOnUbuntu.pdf (11.3 KB, 2290 views)

Last edited by Peggysis; 01-05-2008 at 08:10 PM. Reason: corrected version of PDF
Reply With Quote
  #6  
Old 01-06-2008, 01:38 PM
ecoolman ecoolman is offline
Sage User
 
Join Date: Mar 2005
Posts: 38
Quote:
Originally Posted by Peggysis View Post
I've formatted my notes into a PDF and attached them. They include configuration as well as installation and debugging information.
Hi Judy, thanks for taking the initiative on this! I'm sure a lot of users will find it helpful in the future. Here's a few corrections and considerations:

1) In ubuntu, you don't need to download the tarball. The tarballs are for non-debian based distros like Fedora and Suse (or an alternative for debian users that want more control over where things go).

To make things even easier, when you click the Debian package on the download page, you can tell the browser to open the file with GDebi package installer, and you won't even need to drop to the console, it'll fire up a graphical package installer. The one issue with this though, is that it looks like the installer is hung when it's asking for the activation key. You need to click the 'detailed view' button to see and enter the key at the prompt, then it will continue fine.

2) The debian installer automatically creates all of the required directories and sets their permissions for you. I don't think it goes as far as sharing them through samba though. Sharing isn't required for remote clients and placeshifters, but can be useful for maintenance.

3) You can remove sun-java6-jre from the prerequisites list, I noticed afterwards that the debian package installs the sun-java5-jre automatically.

4) You'll find files much must faster using slocate and it doesn't required root privileges. This took under 2 milliseconds:

Quote:
ecoolman@zd8000:~/sagetv$ time slocate libjawt.so
/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/libjawt.so
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libjawt.so
/usr/lib/jvm/java-7-icedtea/jre/lib/i386/libjawt.so
/opt/java/IBMJava2-142/jre/bin/libjawt.so
/opt/java/ibm-java2-i386-50/jre/bin/libjawt.so

real 0m0.171s
user 0m0.160s
sys 0m0.008s
Reply With Quote
  #7  
Old 01-17-2008, 06:21 PM
rmahlert rmahlert is offline
Sage User
 
Join Date: Sep 2006
Posts: 5
What am I doing wrong.. why won't sage auto run at boot in full screen mode?

Last time I installed the linux version was with the gentoo instructions on the Sage website. I upgraded my system and decided to try the Ubuntu install on this thread.

Maybe my searching on the forum was wrong, but I couldn't find anything.

Thanks,
Rob M
Reply With Quote
  #8  
Old 01-17-2008, 10:24 PM
rz888951 rz888951 is offline
Sage User
 
Join Date: Jun 2007
Posts: 18
Hi Rob,

Can't confirm this works because my linux server is headless in the basement running to my MVPs, but try...

System-->Preferences-->Sessions--><Startup Programs>tab

Add

Name: <whatever you fancy>
Command: /opt/sagetv/client/sageclient.sh -fullscreen 127.0.0.1
Reply With Quote
  #9  
Old 01-28-2008, 10:22 PM
schmots schmots is offline
Sage User
 
Join Date: Sep 2007
Posts: 21
I did an ubuntu install checking your list for requirements.. it works great.. better than great.. even full divx playback on a mvp with only a 500 mhz
Reply With Quote
  #10  
Old 09-05-2009, 01:58 PM
hanki hanki is offline
Sage User
 
Join Date: Nov 2006
Posts: 22
OK I'm Not As Smart

I tried the debian package installer with server 6.6.2 and ubuntu 9.04... It never prompted me for the license key. what am i doing wrong?
Reply With Quote
  #11  
Old 09-05-2009, 04:25 PM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
How did you do the install? Should have been something like 'sudo gdebi sage.deb', or you could use dpkg. Is that what you did? What was the result? Is sage running? (You can find out with 'ps ax | grep sage').
Reply With Quote
  #12  
Old 09-05-2009, 08:48 PM
hanki hanki is offline
Sage User
 
Join Date: Nov 2006
Posts: 22
Thanks

Loonsailor. I was an idiot, I didn't see that you had to manually enter the

cd /opt/sagetv/server
./keygen.sh

Another problem now is everytime I shut the server off or add a piece of hardware, I have to reinstall the server.deb I cannot seem to stop sage, where are the directions to shut it down?

H
Reply With Quote
  #13  
Old 09-05-2009, 11:33 PM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
I use the init script to start / stop sage

> sudo /etc/init.d/sagetv start|stop|restart

You can also use /opt/sagetv/server/{startsage,stopsage}. You shouldn't need to reinstall the .deb!
Reply With Quote
  #14  
Old 09-10-2009, 10:22 AM
RocKKer RocKKer is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 196
...and if the init script stop method doesn't stop sagetv, you can always kill the sagetv process using the brute force method. First, check to see if it is running:

ps -ef|grep sagetv

If it is running, then use sagetv's process id in the kill command (ie):

kill -9 20186
(the "-9" is for added effect!)

Then another:
ps -ef|grep sagetv

just to make sure it's killed, after this you should be able to start the sagetv process using the init script method.

(You may have to preface the kill command with sudo, I su to root, so I don't do that.)
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200
Reply With Quote
  #15  
Old 09-10-2009, 01:14 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Try this:

Code:
kill -9 `cat /var/run/sagetv.pid`
B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #16  
Old 09-10-2009, 03:54 PM
RocKKer RocKKer is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 196
yup bcjenkins.....even slickerer!
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200
Reply With Quote
  #17  
Old 10-03-2009, 08:46 AM
Peggysis's Avatar
Peggysis Peggysis is offline
Sage User
 
Join Date: Nov 2005
Posts: 31
Quote:
Originally Posted by RocKKer View Post

kill -9 20186
(the "-9" is for added effect!)
Just to clarify, a -9 signal to the kill command is known as a "sure kill". It forces the process to die without cleaning up, because it cannot be caught.

I do NOT recommend using it unless necessary because of this. I don't know that SageTV would leave resources locked if it is used, but I've seen it happen with other applications. If you routinely use this signal to kill SageTV, and find you cannot get it to restart afterward, this could be the reason...

-Judy
Reply With Quote
  #18  
Old 10-03-2009, 02:50 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
The stopsage script tries to kill it but can time out. If it fails you need run kill -9

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #19  
Old 10-03-2009, 08:30 PM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
True. But 'kill -9' should be a last resort, not normal procedure. In this case, maybe it's OK, but it's just a bad habit to get into.

Much better to use the script (/opt/sagetv/server/stopsage) or the init.d script (/etc/init.d/sagetv stop). If it doesn't work, go for the kill, or maybe even a reboot if things are really messed up.
Reply With Quote
  #20  
Old 10-29-2009, 11:23 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by loonsailor View Post
I use the init script to start / stop sage

> sudo /etc/init.d/sagetv start|stop|restart

You can also use /opt/sagetv/server/{startsage,stopsage}.
I'm running Kubuntu 9.10. I installed SageTV using the deb.
Do I need to manually add a sagetv start command or will the service automatically start when I boot up?
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
Instructions for using the Windows Media Centre Remote in SageTV Mahoney Hardware Support 5 06-16-2011 09:02 AM
SageTV V6.3 is now available for Win/Linux! Narflex Announcements 1 03-07-2008 12:33 PM
instructions for beginners on placeshifter? c309 SageTV Placeshifter 6 08-01-2006 01:44 PM
streamzap setup instructions? philhu Hardware Support 2 03-18-2005 12:26 AM


All times are GMT -6. The time now is 11:50 AM.


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