[mythtv-users] Mythfrontend will not start
Jack McGee
jack at greendesk.net
Wed Aug 31 16:51:09 UTC 2016
On 08/31/2016 09:26 AM, Bill Meek wrote:
> On 08/31/2016 07:03 AM, Jack McGee wrote:
> ...
>> and on backend:
>> mythuser at amethi:~$ sudo netstat -tnlp | grep :6543
>> [sudo] password for mythuser:
>> tcp 0 0 127.0.0.1:6543 0.0.0.0:* LISTEN
>> 3048/mythbackend
>> tcp6 0 0 ::1:6543 :::* LISTEN 3048/mythbackend
>>
>> and I stopped and restarted backend:
> ...
>> Aug 31 07:01:50 amethi mythbackend: mythbackend[11751]: I CoreContext
>> serverpool.cpp:407 (listen) Listening on TCP 192.168.0.105:65<nn>
>
> The lines from the backend log are good, did the netstat
> *after* the reboot look the same (not listening on the Private
> Network address?)
>
> If it's now listening, then try: systemctl cat mythtv-backend.service
> as I _think_ there are suggested solutions in the comments there.
>
> Or here:
> https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration#Delay_starting_the_backend_until_network_has_initialized
>
>
After restarting backend, the frontend::
mythuser at mythuser-ZBOX-ID84:~$ nmap -p3306,6543 --reason 192.168.0.105
Starting Nmap 7.01 ( https://nmap.org ) at 2016-08-31 11:33 CDT
Nmap scan report for 192.168.0.105
Host is up, received syn-ack (0.00060s latency).
PORT STATE SERVICE REASON
3306/tcp open mysql syn-ack
6543/tcp open mythtv syn-ack
Nmap done: 1 IP address (1 host up) scanned in 13.15 seconds
mythuser at mythuser-ZBOX-ID84:~$ systemctl cat mythtv-backend.service
# /dev/null
mythuser at mythuser-ZBOX-ID84:~$ locate config.xml
/etc/mythtv/config.xml
/home/mythtv/.mythtv/config.xml
/usr/lib/python3/dist-packages/checkbox_support/parsers/tests/fixtures/submission_info_lspci_standard_config.xml
/usr/share/mythtv/config.xml
/usr/share/mythtv/internetcontent/nv_python_libs/configs/XML/bbc_config.xml
/usr/share/mythtv/internetcontent/nv_python_libs/configs/XML/hulu_config.xml
/usr/share/mythtv/internetcontent/nv_python_libs/configs/XML/mashups_config.xml
/usr/share/mythtv/internetcontent/nv_python_libs/configs/XML/pbs_config.xml
/usr/share/mythtv/internetcontent/nv_python_libs/configs/XML/rev3_config.xml
/usr/share/mythtv/internetcontent/nv_python_libs/configs/XML/tedtalks_config.xml
/usr/share/mythtv/internetcontent/nv_python_libs/configs/XML/thewb_config.xml
mythuser at mythuser-ZBOX-ID84:~$ cat /etc/mythtv/config.xml
<Configuration>
<Database>
<PingHost>1</PingHost>
<Host>192.168.0.105</Host>
<UserName>mythtv</UserName>
<Password>Tj4zOBwM</Password>
<DatabaseName>mythconverg</DatabaseName>
<Port>3306</Port>
</Database>
<WakeOnLAN>
<Enabled>0</Enabled>
<SQLReconnectWaitTime>0</SQLReconnectWaitTime>
<SQLConnectRetry>5</SQLConnectRetry>
<Command>echo 'WOLsqlServerCommand not set'</Command>
</WakeOnLAN>
</Configuration>
mythuser at mythuser-ZBOX-ID84:~$ cat /home/mythtv/.mythtv/config.xml
<Configuration>
<Database>
<PingHost>1</PingHost>
<Host>192.168.0.105</Host>
<UserName>mythtv</UserName>
<Password>Tj4zOBwM</Password>
<DatabaseName>mythconverg</DatabaseName>
<Port>3306</Port>
</Database>
<WakeOnLAN>
<Enabled>0</Enabled>
<SQLReconnectWaitTime>0</SQLReconnectWaitTime>
<SQLConnectRetry>5</SQLConnectRetry>
<Command>echo 'WOLsqlServerCommand not set'</Command>
</WakeOnLAN>
</Configuration>
But frontend still does not start.
on the backend, I ran:
mythuser at amethi:/var/log/mythtv$ systemctl cat mythtv-backend.service
# /lib/systemd/system/mythtv-backend.service
[Unit]
Description=MythTV Backend
Documentation=https://www.mythtv.org/wiki/Mythbackend
After=mysqld.service network.target
[Service]
User=mythtv
EnvironmentFile=-/etc/mythtv/additional.args
ExecStart=/usr/bin/mythbackend --quiet --syslog local7 $ADDITIONAL_ARGS
StartLimitBurst=10
StartLimitInterval=10m
Restart=on-failure
RestartSec=1
[Install]
WantedBy=multi-user.target
More information about the mythtv-users
mailing list