Bug #332
On Boot mythbackend not available.
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | 12/31/1969 | |
Assignee: | jams | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | 6.00.04 |
Description
On every boot I get a message from mythfrontend that a backend is not available. Once I click OK the frontend continues to load and the backend is available. I think this is some kind of race condition where the backend isn't ready for connections when the frontend loads. Maybe some kind of check in LinHES-run that would look to see if the backend is up and pause for a second or two if it isn't.
History
Updated by brfransen over 15 years ago
Adding sleep 9 just before the $STARTCMD line in LinHES-run did not give me the message. Anything less than 9 did give the message that the backend wasn't available so it does appear to be a race condition.
Updated by mihanson over 15 years ago
Have you tried editing the number of attempts (and time delay between attempts) for mysql on your FE to connect to your BE? See [[http://mysettopbox.tv/phpBB2/viewtopic.php?t=19766|here]].
Updated by brfransen over 15 years ago
I had tried Service Menu > MythTV Configuration > Setup > General > 2nd Page. Check "Enable Database Server Wake Up" before and it didn't work. But you got me thinking and in mythtv-setup General > Backend Wakeup Setting page, Master Backend Delay between wake attempts was set to 0 sec and Wake Attempts was 5. I changed Delay between wake attempts to 5 sec and that fixed it.
I am not sure if these were changed in the R5.5 --> R6 upgrade but if they weren't maybe they should be.
Updated by jams over 15 years ago
For new installs only, the suggestion above has been put in place for mythdb-initial revision 42
Updated by jams almost 13 years ago
- Target version changed from 8.0 to 6.00.04