njumzs / mythdroid

Automatically exported from code.google.com/p/mythdroid
0 stars 0 forks source link

Mythdroid fails to connect to MDD on my backend #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?
0.5.1

Which version of MDD?
0.5.1

Which version of MythTV were you using? (e.g. mythfrontend --version)
mythbackend --0.24

What steps will reproduce the problem?
1. Installed MDD on my backend 
2. Try using mythdroid to schedule a recording

What is the expected output? What do you see instead?
Expect to schedule a recording - get the following error:

Failed to connect to MDD on 192.168.x.x (which is the IP of the backend)

Please provide any additional information below.

As far as I can tell the MDD install went fine - I did not receive any errors.

Other remote control functions work properly playback on the frontend etc.

Original issue reported on code.google.com by pkey...@gmail.com on 13 Sep 2011 at 2:12

GoogleCodeExporter commented 8 years ago
I can connect but not on port 16546. To stream video for example.

Original comment by McCann....@gmail.com on 14 Sep 2011 at 5:55

GoogleCodeExporter commented 8 years ago
oot@tv:/home/jimb0# cat /tmp/mdd.log 
Wed 14 Sep 01:55:52 - Debug -   Running in frontend/combined mode
Wed 14 Sep 01:55:52 - Debug -   Start LCD server with arguments: 
Wed 14 Sep 01:55:52 - Debug -   Listen on port 6545/tcp
Wed 14 Sep 01:55:52 - Debug -   CMux: running in pid 3402
Wed 14 Sep 01:55:52 - Debug -   Listen on port 16546/tcp
Wed 14 Sep 01:55:52 - Debug -   Connect to real mythlcdserver
Wed 14 Sep 01:55:52 - Debug -   CMux: Listening on 16550
Wed 14 Sep 01:55:55 - Error -   Couldn't connect to mythlcdserver

Original comment by McCann....@gmail.com on 14 Sep 2011 at 5:57

GoogleCodeExporter commented 8 years ago
root@tv:/home/jimb0# mythlcdserver 
MDD: Debug mode is on
2011-09-14 01:57:59.454 Using runtime prefix = /usr
2011-09-14 01:57:59.454 Using configuration directory = /root/.mythtv
2011-09-14 01:57:59.455 Unable to read configuration file mysql.txt
2011-09-14 01:57:59.455 Empty LocalHostName.
2011-09-14 01:57:59.463 New DB connection, total: 1
2011-09-14 01:57:59.468 Unable to connect to database!
2011-09-14 01:57:59.468 Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)

2011-09-14 01:57:59.509 Cannot login to database?

Cannot login to database?

Would you like to configure the database connection now? [no]  MDD: Wed 14 Sep 
01:58:02 - Error -   Couldn't connect to mythlcdserver

Original comment by McCann....@gmail.com on 14 Sep 2011 at 5:58

GoogleCodeExporter commented 8 years ago
The MythTV configuration data in /root/.mythtv is incomplete or incorrect. 
Either fix that (perhaps by running mythfrontend or mythtv-setup as root once) 
or run mdd as a user that has a complete / correct mythtv configuration.

Original comment by foobum on 20 Sep 2011 at 6:25