LinHES Forums
http://forum.linhes.org/

MythFrontend also starts if woken up by MythWelcome
http://forum.linhes.org/viewtopic.php?f=25&t=21857
Page 1 of 1

Author:  wulf [ Thu Oct 28, 2010 12:37 am ]
Post subject:  MythFrontend also starts if woken up by MythWelcome

I followed the Gudies under
http://mysettopbox.tv/phpBB2/viewtopic.php?p=130355#130355
and discussed some of mz Problems here
http://mysettopbox.tv/phpBB2/viewtopic.php?t=17366&postdays=0&postorder=asc&start=15&sid=56a564428b00fb3bbfeeda06da181cc3

but now I am near the goal.

Tonight my sytem woke up to record something, but didnt shut down, because mythfrontend was started - what shouldt have happend.

where can I find help?

THX :?:

Author:  tophee [ Thu Oct 28, 2010 2:39 pm ]
Post subject: 

When mythwelcome wakes to record, you should get the mythwelcome screen. Then it should shut down again afterwards. It's the same screen you get when you first exit the frontend.

Author:  wulf [ Fri Oct 29, 2010 11:07 am ]
Post subject: 

tophee wrote:
When mythwelcome wakes to record, you should get the mythwelcome screen. Then it should shut down again afterwards. It's the same screen you get when you first exit the frontend.


Well yes, thats how it should be, but what if my system allways starts with frontend, also if woken up for recording?

Author:  alien [ Sat Oct 30, 2010 9:05 am ]
Post subject: 

wulf wrote:
Well yes, thats how it should be, but what if my system allways starts with frontend, also if woken up for recording?

If you start it manually, do you get two frontends? (ps -ef | grep frontend to see). If so, you need to find what is starting the second one and stop it from starting.

If not, something may be wrong with the sql settings. I had something weird happen once on upgrade with mythwelcome:

http://knoppmyth.net/phpBB2/viewtopic.p ... sql#112662

That was for a different release and a different setting. The one you are interested in is MythShutdownWakeupTime. You can check it with

Code:
mysql -umythtv mythconverg
mysql> select * from settings where value='MythShutdownWakeupTime';
+------------------------+---------------------+----------+
| value                  | data                | hostname |
+------------------------+---------------------+----------+
| MythShutdownWakeupTime | 2010-10-31T09:00:00 | NULL     |
+------------------------+---------------------+----------+
1 row in set (0.00 sec)

mysql>
If you do this after the computer wakes up to record, the time should be within 10 minutes of when it woke up (that's the criteria that mythwelcome uses to determine if it should start the frontend). Also, hostname should be NULL. If it is not, then change it with a command similar to the one in the post referenced above (but change the value to MythShutdownWakeupTime.

Author:  wulf [ Sun Oct 31, 2010 4:05 am ]
Post subject: 

alien wrote:
If you start it manually, do you get two frontends? (ps -ef | grep frontend to see). If so, you need to find what is starting the second one and stop it from starting.


Code:
root      4218  4217  0 09:51 ?        00:00:00 runsv frontend
root      4295  4273  0 09:51 ?        00:00:00 /usr/bin/logger -p local6.info -t mythfrontend
mythtv    5050  4975  0 09:52 ?        00:00:00 /bin/bash /usr/LH/bin/mythfrontend-start
mythtv    5053  5050  4 09:52 ?        00:03:11 mythfrontend --logfile /var/log/mythtv/mythfrontend.log


for me that looks like there are two frontends running - am I right?

Author:  alien [ Sun Oct 31, 2010 7:05 am ]
Post subject: 

That looks okay. mythfrontend_real is just a wrapper script that calls mythfrontend.

Check the sql entry for the wakeup time. Is the hostname NULL?

Author:  cesman [ Sun Oct 31, 2010 11:28 am ]
Post subject: 

With MythWelcome running, press 'i'. Do you see the "Automatically Start Myth Frontend" near the bottom? Is it checked? If so, uncheck it.

Author:  wulf [ Fri Nov 05, 2010 9:23 am ]
Post subject: 

cesman wrote:
With MythWelcome running, press 'i'. Do you see the "Automatically Start Myth Frontend" near the bottom? Is it checked? If so, uncheck it.


OK Thanks, that was checked, and now mythfrontend doesnt start anymore.

So this flag checks if it was started manually or not right?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/