MythTV installation

Discussion and Technical Support for general software applications and utilities including OS related issues.
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: MythTV installation

Post by Ian »

Can you post the output from the following command please

Code: Select all

ps aux | grep mysqld
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: MythTV installation

Post by Ian »

Incase you're wondering, this is the section that is troubling me.......

Is your frontend and the backend on the same machine?

Code: Select all

2011-02-09 22:55:40.687 Empty LocalHostName.
2011-02-09 22:55:40.695 Using localhost value of Neptune
2011-02-09 22:55:40.711 New DB connection, total: 1
2011-02-09 22:55:40.720 Unable to connect to database!
2011-02-09 22:55:40.728 Driver error was [1/2002]:
QMYSQL: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2011-02-09 22:56:14.115 mythbackend version: branches/release-0-23-fixes [24158] www.mythtv.org
2011-02-09 22:56:14.225 Using runtime prefix = /usr
2011-02-09 22:56:14.343 Using configuration directory = /home/mythtv/.mythtv
2011-02-09 22:56:14.459 Empty LocalHostName.
2011-02-09 22:56:14.535 Using localhost value of Neptune
2011-02-09 22:56:14.565 New DB connection, total: 1
2011-02-09 22:56:14.642 Unable to connect to database!
2011-02-09 22:56:14.700 Driver error was [1/2002]:
QMYSQL: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

................................................................................
2011-02-09 22:56:17.316 UPnPautoconf() - No UPnP backends found
2011-02-09 22:56:17.334 No UPnP backends found

No UPnP backends found

Would you like to configure the database connection now? [no]  
[console is not interactive, using default 'no']
2011-02-09 22:56:17.417 Deleting UPnP client...
2011-02-09 22:56:18.128 Failed to init MythContext, exiting.
freddy_boy
Member
Member
Posts: 12
Joined: February 8th, 2011, 1:07 am

Re: MythTV installation

Post by freddy_boy »

fred@Neptune:~$ ps aux | grep mysqld
mysql 1132 0.7 1.1 247776 43756 ? Ssl 17:50 0:46 /usr/sbin/mysqld
fred 10318 0.0 0.0 7628 992 pts/2 S+ 19:39 0:00 grep --color=auto mysqld
fred@Neptune:~$

I am running both the backend setup and frontend from my VNC gnome desktop.
Backend: System - Administration - MythTV Backend Setup
Frontend: Applications - Sound & Video - MythTV Frontend
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: MythTV installation

Post by Ian »

I'm struggling :roll:

Make a note of the date & time and then please restart the backend:

Code: Select all

sudo service mythtv-backend stop
and then

Code: Select all

sudo service mythtv-backend start
Then run through the MythTV Backend Setup again and see whether you see the same errors in the mythbackend log file.
freddy_boy
Member
Member
Posts: 12
Joined: February 8th, 2011, 1:07 am

Re: MythTV installation

Post by freddy_boy »

Here is the updated backend log file. The errors look similar.
Attachments
backend2.log
new backend log
(586.32 KiB) Downloaded 230 times
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: MythTV installation

Post by Ian »

Does it? It looks better to me :?

Have you linked your tuner and video sources together? Step 4 on the MythTV Guide.

Did you try watching live-tv after you restarted the mthtv backend?
freddy_boy
Member
Member
Posts: 12
Joined: February 8th, 2011, 1:07 am

Re: MythTV installation

Post by freddy_boy »

Same results. Yes, I did go through the setup again, but I don't know if I am completing the step you are describing. There seem to be two things to do: 1. Scan for channels and 2. Fetch channels from listings source. When I click on the first link, I go to a second screen and the channels are scanned. It finishes in a few seconds, and I can see all the channels listed. When I click on the second link, I can't tell if anything is happening. I just get a message that it might take a long time. I believe I let it go long enough (more than an hour?), but I can't tell if it finishes. There is no indication that anything is finished. Anyways, I have followed your instruction to leave the input groups to 'generic'. Again, when I finish, I run the mythfilldatabase as prompted. When I run the frontend, no video...
freddy_boy
Member
Member
Posts: 12
Joined: February 8th, 2011, 1:07 am

Re: MythTV installation

Post by freddy_boy »

I attempted to make a recording via the Mythweb interface. I can see all the channels, lineups, etc. When I attempt to make a recording, I always end up with a 1.6 kb file, but I never get an entire recording. When I look in the /var/lib/mythtv/recordings folder, I can see .nuv files being created, but they are all 1.6 kb in size. So it looks like it is trying to do something, but it's not quite there...
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: MythTV installation

Post by Ian »

Ah, ok. Well, sounds like you don't have just the one problem then! :oops:

Let's check your tuner is working properly. Download and install TVTuner and see whether you can watch TV. If you can then we have one less issue to solve :thumbup:
User avatar
pete66
Member
Member
Posts: 14
Joined: January 9th, 2011, 2:56 pm

Re: MythTV installation

Post by pete66 »

@freddy_boy

Are you using ubuntu or mythbuntu? what version are you using?

thanks

Pete.
Case: Antec Three Hundred
Motherboard: Motherboard GA-P55A-UD4P.
Processor: Intel Core i5 750 Processor 2.66 GHz
Memory: Corsair 4GB
Hard Drives: Western Digital Caviar Black 2 TB for OS. 2 * 2TB SAMSUNG HD204UI for movies and music
Post Reply