[mythtv-users] Starting mythfrontend with systemd?

Ian Evans dheianevans at gmail.com
Fri Oct 6 04:53:43 UTC 2017


On Thu, Oct 5, 2017 at 11:35 PM, Ian Evans <dheianevans at gmail.com> wrote:

> On Thu, Oct 5, 2017 at 10:54 PM, Bill Meek <keemllib at gmail.com> wrote:
>
>> On 10/05/2017 09:49 PM, Ian Evans wrote:
>> ...
>>
>>>
>>> Bill:
>>>
>>> Your version of the systemd file worked, well, the first time The
>>> "Attempting to connect" came up briefly, the progress bar got about a
>>> third
>>> of the way across and then the menu screem.
>>>
>>> Waited a few minutes and rebooted to see if it would start again. This
>>> time
>>> the progress bar went all the way across and failed.
>>>
>>
>> Did you change/add the Type=notify line in mythtv-backend.service and do a
>> daemon-reload?
>>
>>
> Yes to the type=notify,
>
> By daemon-reload do you mean I have to do the systemctl enable? Or does
> rebooting (which I did) do the daemon-reload?
>

After Googling the systemd daemon reload, I did that. So with the only
addition to my backend service being Type=notify, the backend (which was
working fine) now seems to be going crazy.

The frontend loads and then every few minutes tosses a lost connection
mythcontext message. So, like right now I'm recording Seth Myers and so far
it's about 6 different files as the backend keeps failing. A lot of
connection closed messages in the mythbackend log.

Oct  6 00:50:28 buster mythbackend: mythbackend[6757]: I TVRecEvent
tv_rec.cpp:1625 (HandlePendingRecordings) TVRec[8]: ASK_RECORDING 8 0 0 0
Oct  6 00:50:28 buster mythbackend: mythbackend[6757]: I TVRecEvent
tv_rec.cpp:1625 (HandlePendingRecordings) TVRec[9]: ASK_RECORDING 9 0 0 0
Oct  6 00:50:28 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:50:28 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1dd3900) as
a client (events: 0)
Oct  6 00:50:28 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:50:28 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1b77d60) as
a client (events: 1)
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: I CoreContext
scheduler.cpp:734 (UpdateRecStatus) Updating status for "Late Night With
Seth Meyers":"Kerry Washington; Method Man; New Politics; Gene Hoglan" on
cardid [7] (Tuning => Recording)
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: I TVRecEvent
tv_rec.cpp:4247 (TuningNewRecorder) TVRec[7]: rec->GetPathname():
'/xmas2tb/recordings/2021_20171006045000.ts'
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: I TVRecEvent
tv_rec.cpp:4279 (TuningNewRecorder) TVRec[7]: TuningNewRecorder -
CreateRecorder()
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: E TVRecEvent
recorders/recorderbase.cpp:232 (SetStrOption) RecBase[7](10305A8C-0):
SetStrOption(...recordingtype): Option not in profile.
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1b2fca0) as
a client (events: 0)
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:50:30 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1bf9060) as
a client (events: 1)
Oct  6 00:50:32 buster mythbackend: mythbackend[6757]: I
MythSocketThread(93) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1b2fca0) 'buster' disconnected
Oct  6 00:50:32 buster mythbackend: mythbackend[6757]: I
MythSocketThread(95) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1bf9060) 'buster' disconnected
Oct  6 00:50:37 buster mythbackend: mythbackend[6757]: I
MythSocketThread(83) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1b4ac10) 'buster' disconnected
Oct  6 00:50:37 buster mythbackend: mythbackend[6757]: I
MythSocketThread(85) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1b39a10) 'buster' disconnected
Oct  6 00:51:04 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:51:04 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1b505e0) as
a client (events: 0)
Oct  6 00:51:04 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:51:04 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1b29930) as
a client (events: 1)
Oct  6 00:51:06 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:51:06 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1b4aca0) as
a client (events: 0)
Oct  6 00:51:06 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:51:06 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1dc7800) as
a client (events: 1)
Oct  6 00:51:06 buster mythbackend: mythbackend[6757]: I
MythSocketThread(77) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1b505e0) 'buster' disconnected
Oct  6 00:51:06 buster mythbackend: mythbackend[6757]: I
MythSocketThread(84) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1b29930) 'buster' disconnected
Oct  6 00:51:09 buster mythbackend: mythbackend[6757]: I
MythSocketThread(93) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1b4aca0) 'buster' disconnected
Oct  6 00:51:09 buster mythbackend: mythbackend[6757]: I
MythSocketThread(95) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1dc7800) 'buster' disconnected
Oct  6 00:51:36 buster mythbackend: mythbackend[6757]: N Expire
autoexpire.cpp:251 (CalcParams) AutoExpire: CalcParams(): Max required Free
Space: 5.0 GB w/freq: 14 min
Oct  6 00:51:38 buster mythbackend: mythbackend[6757]: I
MythSocketThread(61) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1dd3900) 'buster' disconnected
Oct  6 00:51:38 buster mythbackend: mythbackend[6757]: I
MythSocketThread(80) mainserver.cpp:7643 (connectionClosed) Monitor
sock(1b77d60) 'buster' disconnected
Oct  6 00:51:40 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:51:40 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1b3f620) as
a client (events: 0)
Oct  6 00:51:40 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Oct  6 00:51:40 buster mythbackend: mythbackend[6757]: I ProcessRequest
mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(1dd3900) as
a client (events: 1)
ia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171006/4dc6670b/attachment.html>


More information about the mythtv-users mailing list