CheapoDepot
March 13th, 2010, 01:49 PM
Linux n00b here. I've been using Mythbuntu 8.10 for about 6 months with no recent problems until now.
Here is my setup. I have a combined frontend/backend server in the basement and xbmc on xbox connecting to server through SMB shares. This has worked great for months without any problems.
All of a sudden, on Wednesday, my xbmc could not find any smb shared folders. I checked the server and using the frontend could not get in. It asked me to select language. The says "No UPnP backends found". The it takes me to Database Configuration page. I keep all the information here the same because that is what was working before. It then gives me this message. "Could not connect to the master backend server -- is it running? Is the IP address set for it in the setup program correct?" Then it keeps repeating.
I checked the /var/log/mythtv/mythbackend.log. The file size has inflated to approx. 600 mb. It keeps repeating the same message over and over.
Cannot login to database?
Would you like to configure the database connection now? [yes]
[console is not interactive, using default 'yes']
Database host name: [192.168.1.104]
[console is not interactive, using default '192.168.1.104']
Should I test connectivity to this host using the ping command? [yes]
[console is not interactive, using default 'yes']
Database non-default port: [0]
[console is not interactive, using default '0']
Database name: [mythconverg]
[console is not interactive, using default 'mythconverg']
Database user name: [mythtv]
[console is not interactive, using default 'mythtv']
Database password: [C1RFOKlE]
[console is not interactive, using default 'C1RFOKlE']
Unique identifier for this machine (if empty, the local host name will be used):
[console is not interactive, using default '']
Would you like to use Wake-On-LAN to retry database connections? [no]
[console is not interactive, using default 'no']
2010-03-13 12:06:28.017 Unable to connect to database!
2010-03-13 12:06:28.040 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user 'mythtv'@'yoda.local' (using password: YES)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2010-03-13 12:06:28.136 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2010-03-13 12:06:28.187 Cannot login to database?
2010-03-13 12:06:28.188 Cannot login to database?192.168.1.104 is the local IP address of the backend/frontend server.
I looked earlier in the log file from wednesday. This is what it says.
2010-03-09 07:24:23.688 Expiring 1113 MBytes for 1011 @ Sat Jan 9 17:30:00 2010 => Unknown
2010-03-09 07:24:23.694 Expiring 1114 MBytes for 1011 @ Sat Jan 9 18:00:00 2010 => Unknown
2010-03-09 07:24:23.696 Expiring 1112 MBytes for 1011 @ Sat Jan 9 18:30:00 2010 => Unknown
2010-03-09 07:24:23.697 Expiring 1113 MBytes for 1011 @ Sat Jan 9 19:00:00 2010 => Unknown
2010-03-09 07:24:23.698 Expiring 1113 MBytes for 1011 @ Sat Jan 9 19:30:00 2010 => Unknown
2010-03-09 07:24:23.698 Expiring 1114 MBytes for 1011 @ Sat Jan 9 20:00:00 2010 => Unknown
2010-03-09 07:24:23.699 Expiring 1113 MBytes for 1011 @ Sat Jan 9 20:30:00 2010 => Unknown
2010-03-09 07:24:23.699 Expiring 1113 MBytes for 1011 @ Sat Jan 9 21:00:00 2010 => Unknown
2010-03-09 07:24:23.702 Expiring 711 MBytes for 1011 @ Sat Jan 9 21:30:00 2010 => Unknown
2010-03-09 07:24:23.706 Expiring 1113 MBytes for 1005 @ Sun Jan 10 19:00:00 2010 => Unknown
2010-03-09 07:24:23.710 Expiring 1114 MBytes for 1005 @ Sun Jan 10 19:30:00 2010 => Unknown
2010-03-09 07:24:23.714 Expiring 1112 MBytes for 1005 @ Sun Jan 10 20:00:00 2010 => Unknown
2010-03-09 07:24:23.718 Expiring 106 MBytes for 1005 @ Sun Jan 10 20:30:00 2010 => Unknown
2010-03-09 07:24:23.696 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109173000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.728 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109180000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.732 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109183000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.736 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109190000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.740 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109193000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.748 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109200000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.756 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109203000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.764 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109210000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.772 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109213000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.780 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110190000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.788 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110193000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.792 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110200000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.796 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110203000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:26:19.433 UPnpMedia: BuildMediaMap VIDEO scan starting in :/mythtv/yoda232/:
2010-03-09 07:26:20.242 UPnpMedia: BuildMediaMap Done. Found 1892 objects
2010-03-09 07:39:23.743 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2010-03-09 07:39:23.749 Expiring 1076 MBytes for 1064 @ Tue Sep 22 21:31:01 2009 => Unknown
2010-03-09 07:39:23.752 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1064_20090922213101.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.752 Expiring 87 MBytes for 1064 @ Tue Sep 22 22:00:00 2009 => Unknown
2010-03-09 07:39:23.760 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1064_20090922220000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.760 Expiring 1113 MBytes for 1011 @ Sat Jan 9 17:30:00 2010 => Unknown
2010-03-09 07:39:23.768 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109173000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.768 Expiring 1114 MBytes for 1011 @ Sat Jan 9 18:00:00 2010 => Unknown
2010-03-09 07:39:23.776 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109180000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.776 Expiring 1112 MBytes for 1011 @ Sat Jan 9 18:30:00 2010 => Unknown
2010-03-09 07:39:23.784 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109183000.mpg. File doesn't exist. Database metadata will not be removed.That repeats as well. I'm assuming that those .mpg files were recorded shows off of cable that I deleted. The thing is, I deleted those files months ago and havent even used cable on the server since then. I did delete them manually by going into the folder in the UBUNTU OS and SHIFT-DEL. I read somewhere that maybe I should have deleted them within MYTHBUNTU interface?
The last thing I can think of is that I have a partition that is seperate from the Mythbuntu OS where I keep all of my media files. My recorded files that I deleted were on this same partition. Well that partition reached 100% storage on Wednesday. Maybe this triggered all of these problems? I've reached 100% before without error and just deleted a few files and it worked fine.
It's a long winded explanation but I figure the more info, the better.
Any help is appreciated. Thanks.
Here is my setup. I have a combined frontend/backend server in the basement and xbmc on xbox connecting to server through SMB shares. This has worked great for months without any problems.
All of a sudden, on Wednesday, my xbmc could not find any smb shared folders. I checked the server and using the frontend could not get in. It asked me to select language. The says "No UPnP backends found". The it takes me to Database Configuration page. I keep all the information here the same because that is what was working before. It then gives me this message. "Could not connect to the master backend server -- is it running? Is the IP address set for it in the setup program correct?" Then it keeps repeating.
I checked the /var/log/mythtv/mythbackend.log. The file size has inflated to approx. 600 mb. It keeps repeating the same message over and over.
Cannot login to database?
Would you like to configure the database connection now? [yes]
[console is not interactive, using default 'yes']
Database host name: [192.168.1.104]
[console is not interactive, using default '192.168.1.104']
Should I test connectivity to this host using the ping command? [yes]
[console is not interactive, using default 'yes']
Database non-default port: [0]
[console is not interactive, using default '0']
Database name: [mythconverg]
[console is not interactive, using default 'mythconverg']
Database user name: [mythtv]
[console is not interactive, using default 'mythtv']
Database password: [C1RFOKlE]
[console is not interactive, using default 'C1RFOKlE']
Unique identifier for this machine (if empty, the local host name will be used):
[console is not interactive, using default '']
Would you like to use Wake-On-LAN to retry database connections? [no]
[console is not interactive, using default 'no']
2010-03-13 12:06:28.017 Unable to connect to database!
2010-03-13 12:06:28.040 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user 'mythtv'@'yoda.local' (using password: YES)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2010-03-13 12:06:28.136 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2010-03-13 12:06:28.187 Cannot login to database?
2010-03-13 12:06:28.188 Cannot login to database?192.168.1.104 is the local IP address of the backend/frontend server.
I looked earlier in the log file from wednesday. This is what it says.
2010-03-09 07:24:23.688 Expiring 1113 MBytes for 1011 @ Sat Jan 9 17:30:00 2010 => Unknown
2010-03-09 07:24:23.694 Expiring 1114 MBytes for 1011 @ Sat Jan 9 18:00:00 2010 => Unknown
2010-03-09 07:24:23.696 Expiring 1112 MBytes for 1011 @ Sat Jan 9 18:30:00 2010 => Unknown
2010-03-09 07:24:23.697 Expiring 1113 MBytes for 1011 @ Sat Jan 9 19:00:00 2010 => Unknown
2010-03-09 07:24:23.698 Expiring 1113 MBytes for 1011 @ Sat Jan 9 19:30:00 2010 => Unknown
2010-03-09 07:24:23.698 Expiring 1114 MBytes for 1011 @ Sat Jan 9 20:00:00 2010 => Unknown
2010-03-09 07:24:23.699 Expiring 1113 MBytes for 1011 @ Sat Jan 9 20:30:00 2010 => Unknown
2010-03-09 07:24:23.699 Expiring 1113 MBytes for 1011 @ Sat Jan 9 21:00:00 2010 => Unknown
2010-03-09 07:24:23.702 Expiring 711 MBytes for 1011 @ Sat Jan 9 21:30:00 2010 => Unknown
2010-03-09 07:24:23.706 Expiring 1113 MBytes for 1005 @ Sun Jan 10 19:00:00 2010 => Unknown
2010-03-09 07:24:23.710 Expiring 1114 MBytes for 1005 @ Sun Jan 10 19:30:00 2010 => Unknown
2010-03-09 07:24:23.714 Expiring 1112 MBytes for 1005 @ Sun Jan 10 20:00:00 2010 => Unknown
2010-03-09 07:24:23.718 Expiring 106 MBytes for 1005 @ Sun Jan 10 20:30:00 2010 => Unknown
2010-03-09 07:24:23.696 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109173000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.728 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109180000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.732 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109183000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.736 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109190000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.740 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109193000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.748 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109200000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.756 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109203000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.764 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109210000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.772 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109213000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.780 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110190000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.788 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110193000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.792 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110200000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:24:23.796 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1005_20100110203000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:26:19.433 UPnpMedia: BuildMediaMap VIDEO scan starting in :/mythtv/yoda232/:
2010-03-09 07:26:20.242 UPnpMedia: BuildMediaMap Done. Found 1892 objects
2010-03-09 07:39:23.743 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2010-03-09 07:39:23.749 Expiring 1076 MBytes for 1064 @ Tue Sep 22 21:31:01 2009 => Unknown
2010-03-09 07:39:23.752 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1064_20090922213101.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.752 Expiring 87 MBytes for 1064 @ Tue Sep 22 22:00:00 2009 => Unknown
2010-03-09 07:39:23.760 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1064_20090922220000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.760 Expiring 1113 MBytes for 1011 @ Sat Jan 9 17:30:00 2010 => Unknown
2010-03-09 07:39:23.768 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109173000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.768 Expiring 1114 MBytes for 1011 @ Sat Jan 9 18:00:00 2010 => Unknown
2010-03-09 07:39:23.776 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109180000.mpg. File doesn't exist. Database metadata will not be removed.
2010-03-09 07:39:23.776 Expiring 1112 MBytes for 1011 @ Sat Jan 9 18:30:00 2010 => Unknown
2010-03-09 07:39:23.784 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/yoda/1011_20100109183000.mpg. File doesn't exist. Database metadata will not be removed.That repeats as well. I'm assuming that those .mpg files were recorded shows off of cable that I deleted. The thing is, I deleted those files months ago and havent even used cable on the server since then. I did delete them manually by going into the folder in the UBUNTU OS and SHIFT-DEL. I read somewhere that maybe I should have deleted them within MYTHBUNTU interface?
The last thing I can think of is that I have a partition that is seperate from the Mythbuntu OS where I keep all of my media files. My recorded files that I deleted were on this same partition. Well that partition reached 100% storage on Wednesday. Maybe this triggered all of these problems? I've reached 100% before without error and just deleted a few files and it worked fine.
It's a long winded explanation but I figure the more info, the better.
Any help is appreciated. Thanks.