View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Sep 26, 2005 2:11 pm 
Offline
Joined: Tue Aug 16, 2005 12:28 am
Posts: 7
Hey all, I have a problem with LiveTV.
First, mythbackend wouldn't start at all upon boot but I could manually start it and everything went okay ( But really annoying still..)

So, I realized for some reason /var/log/mythtv/mythtvbackend.log didn't have write permissions, changed that, and it started just fine... But:
When I now choose "watch Live TV" I get a black screen but it seems my logs are just fine, it's more like the picture doesn't show up.
(Program info and channel shows up when I change channel..)

So, if I manually do /etc/init.d/mythtv-backend restart (as root) I can watch just fine but when trying as user mythtv I get an error message:
start-stop-daemon: Unable to set initgroups() with gid 1000 (Operation not permitted)

From what I have googled, it seems that user mythtv should be in some init group, probably listed in /etc/group

here's what I have already for group mythtv:
less /etc/group |grep mythtv
cdrom:*:24:mythtv,mythtv
audio:!:29:mythtv,mythtv
video:!:44:mythtv,mythtv
mythtv:x:1000:
mythtv:x:105:

Don't know which is the init group I should add mythtv to, anyone knows?
I also tried to chmod 777 /etc/init.d/mythtv-backend but that didn't change nothing.

Let me know linux gurus out there!

_________________
This is not a funny signature


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 27, 2005 7:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
What does this command print?
Code:
grep mythtv /etc/passwd | wc -l

If the number is "2" like I think it is, you missed a critical bit in the install/upgrade instructions. From: http://www.mysettopbox.tv/doc.html#autoinstall
Quote:
Auto Install

This will automatically perform a complete installation of KnoppMyth. Just provide the requested information in the various dialogs and sit back! Don't create a user called "mythtv", this user has already been created with a password of "mythtv".


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 28, 2005 7:04 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Best to do a fresh install also. Been there, done that mistake. Darn that fine print :)
<ike


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 29, 2005 2:37 pm 
Offline
Joined: Tue Aug 16, 2005 12:28 am
Posts: 7
Yes, the number "2" showed up indeed...
OK, cheers guys, I will probably do a fresh install soon and hopefully get it right!

_________________
This is not a funny signature


Top
 Profile  
 
 Post subject: Same problem with R5D1
PostPosted: Sat Dec 02, 2006 1:48 pm 
Offline
Joined: Thu Dec 08, 2005 12:20 am
Posts: 4
Perhaps I missed something. The Auto-upgrade instructions instruct us:

Don't create a user called "mythtv", this user has already been created with a password of "mythtv".

However, with my R5D1 upgrade, I did not encounter any part of the process that allows me to opt-out of creating a "mythtv" user. The only part relevant to this, I believe, is the part asking you to enter the "mythtv" user password, which I set to "mythtv". Can I opt-out of creating the user by not supplying a password?

Regards.


Top
 Profile  
 
 Post subject: More info
PostPosted: Sat Dec 02, 2006 2:17 pm 
Offline
Joined: Thu Dec 08, 2005 12:20 am
Posts: 4
FYI. I ran:

grep mythtv /etc/passwd |wc -l

and the result was 1, so this means that I haven't created a new mythtv user as I had feared. Still, when I run:

/etc/init.d/mythtv-backend start

I get the initgroups() gid 105 error. More when I solve this.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 03, 2006 1:05 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You've misunderstood the directions. The first stage install or upgrade (running from the CD) prompts you for two sets of user information

1) The username and password for an "extra" user. Use anything other than mythtv here.

2) The password for the root user.

The second stage install/upgrade prompts you for a password for a seperate "mythtv" id for MythWeb access. This _is not_ a console login, it's for the Apache .htaccess setup, and even though the names are the same is seperate from the mythtv user which all the FE and BE applications run under.


Top
 Profile  
 
 Post subject: Re: More info
PostPosted: Fri Jan 05, 2007 9:37 pm 
Offline
Joined: Sat Oct 29, 2005 6:57 am
Posts: 176
sbadelt wrote:
FYI. I ran:

grep mythtv /etc/passwd |wc -l

and the result was 1, so this means that I haven't created a new mythtv user as I had feared. Still, when I run:

/etc/init.d/mythtv-backend start

I get the initgroups() gid 105 error. More when I solve this.



I am having the same problem. Have you had any success?
rkshack


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 25, 2007 10:31 pm 
Offline
Joined: Tue Oct 05, 2004 11:04 pm
Posts: 11
Location: Chicago, IL, USA
Same problem here - only have 1 mythtv user - any update on this?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 26, 2007 7:05 am 
Offline
Joined: Tue Oct 25, 2005 1:22 pm
Posts: 108
Location: USA, New Hampshire
I have always had to be root to do this. Try that out and let us know. be root when you are trying to start or restart the myth back end service.

_________________
Once you go HDTV, you'll never come back!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 26, 2007 9:35 am 
Offline
Joined: Fri Oct 07, 2005 7:18 am
Posts: 77
Location: Dallas, TX
I think this is the issue I'm having that I have ongoing in another thread (http://mysettopbox.tv/phpBB2/viewtopic. ... kend+start which points to http://mysettopbox.tv/phpBB2/viewtopic. ... htvbackend) and I was going to dig into my logs to begin troubleshooting. I will stop there and start here with the permissions on the log file. What I dont understand is why it worked for a day or so and then stopped working...

FYI - I followed the instructions and I dont have a mythtv account (except for mythweb access) so thats definitely not my issue.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 16, 2007 7:06 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
I was able to get this to work in R5F1. I thought I was getting the gid error above, but then I realized you need to run it as a sudo command.

It looks like someone intended to allow the mythtv user to be able to do this because the commands are in /etc/sudoers for mythtv

I am able to restart my slave backends from the master now :)

I issue this command from the master

ssh mythtv@mythtvslave sudo /etc/init.d/mythtv-backend restart

Note that i needed to put passwordless rsa public key in the authorized passwords of the mythtv user on the backend slaves. I also had to edit sshd_config to allow ssh for user mythtv.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 76 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu