Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Re: Mythbuntu 9.10 LCDServerHost able to edit in database?

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mtdean at thirdcontact

Nov 6, 2009, 1:41 PM

Post #1 of 5 (529 views)
Permalink
Re: Mythbuntu 9.10 LCDServerHost able to edit in database?

On 11/06/2009 03:57 PM, Douglas Mackay wrote:
> 2009/11/6 Douglas Mackay:
>
>> 2009/11/6 steve.goodey:
>>
>>> I wonder if someone can help me please.
>>>
>>> Can anyone give me a clue about editing the entry LCDServerHost in the
>>> database? From this post
>>>
>>> http://www.gossamer-threads.com/lists/mythtv/users/402902
>>>
>>> I need to change it to 127.0.0.1. I have the userid and password for mysql
>>> but am unable to find the commands to allow editing of the required field,
>>> which does not appear to be editable in mythweb.
>> Thought it only me that had the problem. The LCDServerHost value might
>> not exist in you database (it didn't in mine).
>>
>> In the settings table within the mythconverg database there are three
>> fields :- value, data, hostname so to add the LCDServerHost setting
>> you would create a new row with
>> value=LCDServerHost, data=127.0.0.1, hostname=<think this can be set
>> to null to apply to all hosts or you can specify an individual host>
>>
>> I used phpMyAdmin to insert the value to the settings table however
>> you you should be able use the mysql tools to do the same.
> If you don't have phpMyAdmin installed it's probaly easier just to use
> mysql. The following should work :-
>
> mysql -u mythtv -p
> <enter password>
>
> use mythconverg;
> insert into settings (value,data,hostname) values ('LCDServerHost',
> '127.0.0.1', null);

Or better, use MythXML:

my_host=setyourhostnamehere
my_key=LCDServerHost
my_value=127.0.0.1
wget -O result.xml
"http://localhost:6544/Myth/PutSetting?HostName=${my_host}&Key=${my_key}&Value=${my_value}"

(just change the value for my_host)

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at sky

Nov 6, 2009, 2:10 PM

Post #2 of 5 (507 views)
Permalink
Re: Mythbuntu 9.10 LCDServerHost able to edit in database? [In reply to]

Michael T. Dean wrote:
> On 11/06/2009 03:57 PM, Douglas Mackay wrote:
>> 2009/11/6 Douglas Mackay:
>>
>>> 2009/11/6 steve.goodey:
>>>
>>>> I wonder if someone can help me please.
>>>>
>>>> Can anyone give me a clue about editing the entry LCDServerHost in the
>>>> database? From this post
>>>>
>>>> http://www.gossamer-threads.com/lists/mythtv/users/402902
>>>>
>>>> I need to change it to 127.0.0.1. I have the userid and password
>>>> for mysql
>>>> but am unable to find the commands to allow editing of the required
>>>> field,
>>>> which does not appear to be editable in mythweb.
>>> Thought it only me that had the problem. The LCDServerHost value might
>>> not exist in you database (it didn't in mine).
>>>
>>> In the settings table within the mythconverg database there are three
>>> fields :- value, data, hostname so to add the LCDServerHost setting
>>> you would create a new row with
>>> value=LCDServerHost, data=127.0.0.1, hostname=<think this can be set
>>> to null to apply to all hosts or you can specify an individual host>
>>>
>>> I used phpMyAdmin to insert the value to the settings table however
>>> you you should be able use the mysql tools to do the same.
>> If you don't have phpMyAdmin installed it's probaly easier just to use
>> mysql. The following should work :-
>>
>> mysql -u mythtv -p
>> <enter password>
>>
>> use mythconverg;
>> insert into settings (value,data,hostname) values ('LCDServerHost',
>> '127.0.0.1', null);
>
> Or better, use MythXML:
>
> my_host=setyourhostnamehere
> my_key=LCDServerHost
> my_value=127.0.0.1
> wget -O result.xml
> "http://localhost:6544/Myth/PutSetting?HostName=${my_host}&Key=${my_key}&Value=${my_value}"
>
>
> (just change the value for my_host)
>
> Mike

This looks like a system config issue. mythlcdserver will default to
'localhost' if no LCDServerHost setting is present since that's what 99%
of users will want. So you need to fix you config so localhost resolves
to 127.0.0.1 as I believe it should.

Paul H.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at bektchiev

Nov 6, 2009, 3:31 PM

Post #3 of 5 (503 views)
Permalink
Re: Mythbuntu 9.10 LCDServerHost able to edit in database? [In reply to]

On Fri, Nov 6, 2009 at 2:10 PM, Paul Harrison <mythtv [at] sky> wrote:
> Michael T. Dean wrote:
>> On 11/06/2009 03:57 PM, Douglas Mackay wrote:
>>> 2009/11/6 Douglas Mackay:
>>>
>>>> 2009/11/6  steve.goodey:
>>>>
>>>>> I wonder if someone can help me please.
>>>>>
>>>>> Can anyone give me a clue about editing the entry LCDServerHost in the
>>>>> database? From this post
>>>>>
>>>>> http://www.gossamer-threads.com/lists/mythtv/users/402902
>>>>>
>>>>> I need to change it to 127.0.0.1. I have the userid and password
>>>>> for mysql
>>>>> but am unable to find the commands to allow editing of the required
>>>>> field,
>>>>> which does not appear to be editable in mythweb.
>>>> Thought it only me that had the problem. The LCDServerHost value might
>>>> not exist in you database (it didn't in mine).
>>>>
>>>> In the settings table within the mythconverg database there are three
>>>> fields :- value, data, hostname so to add the LCDServerHost setting
>>>> you would create a new row with
>>>> value=LCDServerHost, data=127.0.0.1, hostname=<think this can be set
>>>> to null to apply to all hosts or you can specify an individual host>
>>>>
>>>> I used phpMyAdmin to insert the value to the settings table however
>>>> you you should be able use the mysql tools to do the same.
>>> If you don't have phpMyAdmin installed it's probaly easier just to use
>>> mysql. The following should work :-
>>>
>>> mysql -u mythtv -p
>>> <enter password>
>>>
>>> use mythconverg;
>>> insert into settings (value,data,hostname) values ('LCDServerHost',
>>> '127.0.0.1', null);
>>
>> Or better, use MythXML:
>>
>> my_host=setyourhostnamehere
>> my_key=LCDServerHost
>> my_value=127.0.0.1
>> wget -O result.xml
>> "http://localhost:6544/Myth/PutSetting?HostName=${my_host}&Key=${my_key}&Value=${my_value}"
>>
>>
>> (just change the value for my_host)
>>
>> Mike
>
> This looks like a system config issue.  mythlcdserver will default to
> 'localhost' if no LCDServerHost setting is present since that's what 99%
> of users will want. So you need to fix you config so localhost resolves
> to 127.0.0.1 as I believe it should.
>
> Paul H.

I'm not sure if this is a bug but with 0.21 I never needed this and
for me localhost resolves to 127.0.0.1 however with 0.22 until I added
the property the frontend could not connect to the local LCDproc
daemon. The backend could still connect and was working properly the
whole time.

--dejan
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


douglas.mackay at gmail

Nov 7, 2009, 2:00 AM

Post #4 of 5 (496 views)
Permalink
Re: Mythbuntu 9.10 LCDServerHost able to edit in database? [In reply to]

2009/11/6 Paul Harrison <mythtv [at] sky>:
> Michael T. Dean wrote:
>> On 11/06/2009 03:57 PM, Douglas Mackay wrote:
>>> 2009/11/6 Douglas Mackay:
>>>
>>>> 2009/11/6  steve.goodey:
>>>>
>>>>> I wonder if someone can help me please.
>>>>>
>>>>> Can anyone give me a clue about editing the entry LCDServerHost in the
>>>>> database? From this post
>>>>>
>>>>> http://www.gossamer-threads.com/lists/mythtv/users/402902
>>>>>
>>>>> I need to change it to 127.0.0.1. I have the userid and password
>>>>> for mysql
>>>>> but am unable to find the commands to allow editing of the required
>>>>> field,
>>>>> which does not appear to be editable in mythweb.
>>>> Thought it only me that had the problem. The LCDServerHost value might
>>>> not exist in you database (it didn't in mine).
>>>>
>>>> In the settings table within the mythconverg database there are three
>>>> fields :- value, data, hostname so to add the LCDServerHost setting
>>>> you would create a new row with
>>>> value=LCDServerHost, data=127.0.0.1, hostname=<think this can be set
>>>> to null to apply to all hosts or you can specify an individual host>
>>>>
>>>> I used phpMyAdmin to insert the value to the settings table however
>>>> you you should be able use the mysql tools to do the same.
>>> If you don't have phpMyAdmin installed it's probaly easier just to use
>>> mysql. The following should work :-
>>>
>>> mysql -u mythtv -p
>>> <enter password>
>>>
>>> use mythconverg;
>>> insert into settings (value,data,hostname) values ('LCDServerHost',
>>> '127.0.0.1', null);
>>
>> Or better, use MythXML:
>>
>> my_host=setyourhostnamehere
>> my_key=LCDServerHost
>> my_value=127.0.0.1
>> wget -O result.xml
>> "http://localhost:6544/Myth/PutSetting?HostName=${my_host}&Key=${my_key}&Value=${my_value}"
>>
>>
>> (just change the value for my_host)
>>
>> Mike
>
> This looks like a system config issue.  mythlcdserver will default to
> 'localhost' if no LCDServerHost setting is present since that's what 99%
> of users will want. So you need to fix you config so localhost resolves
> to 127.0.0.1 as I believe it should.
>

Resolving localhost works fine on my system (I can successfully ping
localhost and http://localhost/mythweb works fine).

There was a discussion on the dev list
http://www.gossamer-threads.com/lists/mythtv/dev/340246 and a fix was
put in mythsocket.cpp - however the fix doesn't appear to work on my
system (Ubuntu 9.10)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


steve.goodey at bt

Nov 9, 2009, 4:27 AM

Post #5 of 5 (446 views)
Permalink
Re: Mythbuntu 9.10 LCDServerHost able to edit in database? [In reply to]

> -----Original Message-----
Various work arounds mentioned.

Thanks everybody for that, all working now after inserting the entry into the database as per the suggestions.

Douglas has raised a ticket:-

http://svn.mythtv.org/trac/ticket/7516

Steve.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.