[mythtv-users] BE3 - Issues with installation and database

Barry Martin barry3martin at gmail.com
Sun May 26 17:50:20 UTC 2019


Bill and Stephen:

Hey neat! Got a second forum e-mail this morning! (Usually just the one 
at 7 a.m. CTZ [Iowa/Chicago])

Do have Backend 3 (the one we’re working on) plugged in to the network 
and BE2 unplugged because of the previous screw up on BE1 when I was 
trying to configure the system before asking for help.


Bill:

No need to guess what config.xml is in play. Just look at the log output.
A line containing this will give you the answer:

    So I'm not quite doing the easy way but works:


    barry at Backend-3:~$ cat /var/log/mythtv/mythbackend.log | grep -i
    directory


    And extracting I see “Using configuration directory =
    /home/mythtv/.mythtv” so looks like the other config.xml’s are ignored.


    And of course my “for what’s it’s worth here’s more probably useless
    info”:


    May 26 09:50:32 Backend-3 mythbackend: mythbackend[1986]: N
    thread_unknown mythdirs.cpp:205 (InitializeMythDirs) Using
    configuration directory = /home/mythtv/.mythtv

    May 26 09:50:33 Backend-3 mythbackend: mythbackend[2041]: N
    thread_unknown mythdirs.cpp:205 (InitializeMythDirs) Using
    configuration directory = /home/mythtv/.mythtv

    May 26 09:50:35 Backend-3 mythbackend: mythbackend[2056]: N
    thread_unknown mythdirs.cpp:205 (InitializeMythDirs) Using
    configuration directory = /home/mythtv/.mythtv

    May 26 09:50:37 Backend-3 mythbackend: mythbackend[2062]: N
    thread_unknown mythdirs.cpp:205 (InitializeMythDirs) Using
    configuration directory = /home/mythtv/.mythtv

    May 26 09:50:39 Backend-3 mythbackend: mythbackend[2068]: N
    thread_unknown mythdirs.cpp:205 (InitializeMythDirs) Using
    configuration directory = /home/mythtv/.mythtv

    May 26 09:50:40 Backend-3 mythbackend: mythbackend[2074]: N
    thread_unknown mythdirs.cpp:205 (InitializeMythDirs) Using
    configuration directory = /home/mythtv/.mythtv


    File has a ton more at the top but if thiis tells anything should be
    sufficient. I noticed the times: groups of 10 per request. Previous
    group 09:01. Guessing ten tries before times out. Also noted the
    number in square brackets increments. I have the feeling you are
    more interested in the Notification comment, but probably already
    know it exists because of some other problem.


    Since you guys can’t see what I see here I try to provide info.


//home/barry//.mythtv/config.xml and//home/mythtv//.mythtv/config.xml
should be symbolic links to /etc/mythtv/config.xml. You can check
that with:

      ls -ld//etc/mythtv/config.xml /home//{mythtv,barry}/.mythtv/config.xml


    barry at Backend-3:~$ ls -ld /etc/mythtv/config.xml
    /home/{mythtv,barry}/.mythtv/config.xml

    -rw-rw---- 1 mythtv mythtv 454 May 20 15:03 /etc/mythtv/config.xml

    -rw-r--r-- 1 barry barry 487 May 20 15:04 /home/barry/.mythtv/config.xml

    lrwxrwxrwx 1 root root 22 May 12 17:59
    /home/mythtv/.mythtv/config.xml -> /etc/mythtv/config.xml

    barry at Backend-3:~$


    Bet that also shows some other potentially important permission
    information!

That's likely your case and in the above output is wrong. Change
the Host IP address to localhost, as mentioned before.

Be sure to read this:https://www.mythtv.org/wiki/Config.xml#Troubleshooting

    Will. Had been avoiding getting help by Google as it may screw up
    stuff you and Stephen have been correcting. This is more specific.


    OK, so just changing /home/mythtv/.mythtv/config.xml from
    <Host>192.168.0.3</Host> to using 127.0.0.1….

    Same as with 192.168.0.3: goes to Country/Language page, then scoots
    back to terminal.


    Try <Host>localhost</Host>…. same (Country/language)…


    Reboot with <Host>localhost</Host>….. same


https://www.mythtv.org/wiki/Config.xml#Troubleshooting


  Troubleshooting

<snip>

diff ~mythtv/.mythtv/config.xml ~/.mythtv/config.xml	

    diff ~mythtv/.mythtv/config.xml ~/.mythtv/config.xml


    Well, something to try:


    barry at Backend-3:~$ diff ~mythtv/.mythtv/config.xml ~/.mythtv/config.xml

    4c4

    < <Host>localhost</Host>

    ---

     > <Host>192.168.0.3</Host>

    15a16

     > <LocalHostName></LocalHostName>

    17d17

    <




    ~mythtv/.mythtv/config.xml has <Host>localhost</Host>


    ~/.mythtv/config.xml has Host>192.168.0.3</Host>

    so we'll edit that puppy...



    mythtv-setup

    Ummmm.... screen flashed, didn't have time to see anything then back
    to the usual Terminal windows and closed.


    That didn't quite work as thought it would.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190526/ea3084c3/attachment.html>


More information about the mythtv-users mailing list