LinuxMCE Forums
General => Users => Topic started by: kyfalcon on December 14, 2011, 01:17:15 am
-
something is creating many many mythconverg_bac processes which is killing all my harddrives how do I stop it ? What process calls this?
-
ok, so I found that my mythbackend is being killed restarted every minute for some reason and when it is brought back up now it is trying to backup the mythconverg db as you can tell this will bring a system to a crawl in no time. I've got some serious debugging to do :(
-
What is the MythBackend log saying?
-Thom
-
Somehow the database version is not matching now. When I built my .24 version I just copied over the old bin and libs, I think I am going to uninstall myth, and then move the built binaries and libraries to where they go. I think I maybe not everything was copied over. I know this something is out of whack.
-
Hey Thom
Is there a way to disable mythtv without removing it? I want to go to kde and start the back end and front end there. I figure if I can get all that working first, I can then concentrate on the LMCE communication part. I rebuilt the LMCE stuff with the patch you gave me but it seems there is still some miscommunication. I figure if I can get myth working first and eliminate anything on that end, I can then move to the LMCE plug ins.
Thanks
-
Unfortunately, not that I can think of.
-Thom
-
A couple of possibilities for you:
Disable the upstart job that starts mythtv-backend. Upstart has service supervision, so if the backend keeps dying, upstart will restart it (kind of like monit or daemontools).
Rename the mythtv-backend binary. Then you can launch it from a terminal with debugging turned on. I'm not in front of my system right now, so I can't say for certain what the binary is called. I think it's mythtv-backend.
Hope that helps!
/Mike
-
Thanks, I'll give that a try tonight. By the way how do I disable the upstart job.
Its mythbackend by the way.
Kevin
-
Ok, it has to be permissions etc. So what should the permissions and ownership be for the executables, libs and the storage directories for myth? When I run things from kde as root everything works fine, so I am assuming when I built my own that these didn't jive with what happens in LMCE.
-
You can stop an upstart job with:
sudo stop {service name}
Restart it with sudo start {service name}.
To disable it once already stopped, you can either
sudo mv /etc/init/{service}.conf /etc/init/{service}.conf.noexec
or
sudo update-rc.d {service} disable
(doing it again with enable at the end will re-enable it)
Hope that helps!
/Mike
-
Here's the permissions for the binaries in /usr/bin {stock 0.23}
-rwxr-xr-x 1 root root 34632 2010-04-23 22:04 mythavtest
-rwxr-xr-x 1 root root 1433788 2010-04-23 22:04 mythbackend
-rwxr-xr-x 1 root root 588276 2010-04-23 22:04 mythcommflag
-rwxr-xr-x 1 root root 359088 2010-04-23 22:04 mythfilldatabase
lrwxrwxrwx 1 root root 31 2011-10-07 21:46 mythfrontend -> ../share/mythtv/mythfrontend.sh
-rwxr-xr-x 1 root root 2209232 2010-04-23 22:04 mythfrontend.real
-rwxr-xr-x 1 root root 38688 2010-04-23 22:04 mythjobqueue
-rwxr-xr-x 1 root root 227312 2010-04-23 22:04 mythlcdserver
-rwxr-xr-x 1 root root 84164 2010-04-23 22:04 mythreplex
-rwxr-xr-x 1 root root 83764 2010-04-23 22:04 mythshutdown
-rwxr-xr-x 1 root root 359576 2010-04-23 22:04 mythtranscode
-rwxr-xr-x 1 root root 18052 2010-04-23 22:04 mythtvosd
lrwxrwxrwx 1 root root 31 2011-10-07 21:42 mythtv-setup -> ../share/mythtv/mythtv-setup.sh
-rwxr-xr-x 1 root root 363528 2010-04-23 22:04 mythtv-setup.real
-rwxr-xr-x 1 root root 141736 2010-04-23 22:04 mythwelcome
And the running processes...
ps -ef |grep myth
mythtv 1309 1308 0 Dec17 ? 00:01:13 /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log --user mythtv
mythtv 3414 7578 0 23:13 ? 00:00:00 sleep 1
mythtv 7577 1309 0 Dec18 ? 00:00:00 sh -c /usr/pluto/bin/MythTvDailyFillDB.sh >>/var/log/mythtv/mythfilldatabase.log 2>&1
mythtv 7578 7577 0 Dec18 ? 00:10:34 /bin/bash /usr/pluto/bin/MythTvDailyFillDB.sh
And the permissions on /var/log/mythtv
drwxrwsr-x 2 mythtv mythtv 4096 2011-10-08 22:21 mythtv
Hope that helps!
/Mike
-
Yeah thanks, what I found is that when you build and install your own mythtv it puts it into usr/local/bin this caused a problem. Another problem is that I have added so many peripherals to my box that the power supply crapped out, I think this was also part of the problem. I have rebuilt my system so many times in the last 2 weeks, I think I can do it with my eyes closed. last night my wife asked if the girl on the setup was my new mistress and if she had a name :)
I hope to create my own page in the wiki so if anyone else wants to add the ceton card they won't have the same issues as myself.