View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: R5A10 mythbackend
PostPosted: Tue Feb 22, 2005 8:08 am 
Offline
Joined: Thu Oct 07, 2004 3:39 am
Posts: 8
Hi

I have Installed KnoppMyth R5A10, too.

It works great!

But mythbackend doesn't start at boot.

I must start it with mythbackend & after the boot.
Why?


Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 11:43 am 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
I also experience this. Initially I thought it was because of a missing log file. I kept getting errors about not being able to access /var/log/mythtv/mythbackend.log. I created the file and then made it writable. The next time I booted mythbackend started up right away. But after that one time, I have had to start it manually. Not sure what to try next.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 2:18 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
check in /etc/rc5.d/ and make sure you have a file like S??myth??backend

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 6:00 pm 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
It is there:

S25mythtv-backend -> ../init.d/mythtv-backend

Plus when I boot I see messages about it starting so I think the problem happens after that. Other ideas or information I can give you?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 8:06 pm 
Offline
Joined: Mon Feb 21, 2005 9:12 am
Posts: 11
Hi I had the same problem a simple
Code:
rm /var/log/mythtv/mythbackend.log

fixed it for me. I've now restarted my machine at least 20 times and it seemes to be working.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 9:53 pm 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
So to fix it you had to remove the log file? But doesn't that give the missing log file error which also prevents the backend from starting?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 10:14 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
At a guess the file had the wrong ownerships or permissions and deleting it lets be be recreated with good ones.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 11:41 pm 
Offline
Joined: Mon Feb 21, 2005 9:12 am
Posts: 11
tjc wrote:
At a guess the file had the wrong ownerships or permissions and deleting it lets be be recreated with good ones.


That was my thoughts also , I tried changing permissions and ownerships to the original file but that still didn't work , messed around with the startup file blahblahblah . After looking through the startup file I noticed it was created after every reboot so in essense removing the original and letting the script take care of it properly seemed only logical .

BTW. This Knoppmyth is great , but getting to understand Debian is well...I wish it were Gentoo :oops: All joking aside great work to all involved.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 3:23 am 
Offline
Joined: Thu Oct 07, 2004 3:39 am
Posts: 8
The script /etc/init.d/mythbackend started with no error.

But the mythbackend Server isn't running...

I think something is wrong with this script...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 3:37 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Perhaps you should take a look at he log to see why the backend is dying? Perhaps starting the backend in and xterm and see what kills it?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 4:44 am 
Offline
Joined: Thu Oct 07, 2004 3:39 am
Posts: 8
OK..

this is written in the log file:
2005-02-23 11:41:06.327 Unable to read configuration file mysql.txt
2005-02-23 11:41:06.331 Could not create ~/.mythtv
2005-02-23 11:41:10.209 Unable to read configuration file mysql.txt
2005-02-23 11:41:10.214 Could not create ~/.mythtv

then I created ~/.mythtv and the log says:
2005-02-23 11:42:05.296 Unable to read configuration file mysql.txt
2005-02-23 11:42:05.302 Could not open settings file /root/.mythtv/mysql.txt for writing


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 7:02 am 
Offline
Joined: Thu Oct 07, 2004 3:39 am
Posts: 8
I do this:

copy /usr/share/mythtv/mysql.txt to /root/.mythtv/mysql.txt

and it works!!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 10:59 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
That is strange, because I thought the backend runs as user mythtv,
so shouldn't it be looking for /home/mythtv/.mythtv/mysql.txt ?

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 8:23 pm 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
I have a /root/.mythtv as well as a /home/mythtv/.mythtv and both directories have a fully accessible mysql.txt file in them. Yet I still receive the following errors in the log file.

Unable to read configuration file mysql.txt
Could not create ~/.mythtv

I can't understand why my machine would act differently. Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 9:43 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
/usr/share/mythtv/mysql.txt

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 0 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu