I've been having Mythtv problems for the last two or three days, and everything I've tried to fix it has only made things worse. To start, a little info:
camille ~ # emerge -pv mythtv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-tv/mythtv-0.23.1_p27077 USE="alsa css dbus dvb jack lirc mmx perl python tiff (-altivec) -autostart -debug -directv -faad -fftw -ieee1394 -lcd -pulseaudio -vdpau -xvmc" VIDEO_CARDS="-nvidia -via" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Mythtv has worked on camille since I first installed it in 2005. Mythtv worked the last time I started it (Oct 12), but I restarted it on the 24th and it didn't. When I start mythfrontend, the list of Upcoming Recordings is empty, when I go to Programme Finder it's empty, as is Program Guide. Previously Recorded works fine, as are Current recordings but Watch TV doesn't - it says Please wait... for a long time and then drops me back at the menu screen. Of course by this time mythfrontend is usually griping about not being connected to the backend. I ran mythbackend at the terminal prompt to find out why. Here's what it said: camille ~ # mythbackend 2011-10-26 09:15:05.625 mythbackend version: branches/release-0-23-fixes [27077] www.mythtv.org 2011-10-26 09:15:05.626 Using runtime prefix = /usr 2011-10-26 09:15:05.626 Using configuration directory = /root/.mythtv 2011-10-26 09:15:05.626 Unable to read configuration file mysql.txt 2011-10-26 09:15:05.626 Empty LocalHostName. 2011-10-26 09:15:05.626 Using localhost value of camille 2011-10-26 09:15:05.636 New DB connection, total: 1 2011-10-26 09:15:05.641 Connected to database 'mythconverg' at host: localhost 2011-10-26 09:15:05.641 Closing DB connection named 'DBManager0' 2011-10-26 09:15:05.642 Connected to database 'mythconverg' at host: localhost 2011-10-26 09:15:05.654 Current MythTV Schema Version (DBSchemaVer): 1254 2011-10-26 09:15:05.658 MythBackend: Running as a slave backend. 2011-10-26 09:15:05.673 mythbackend: MythBackend started as a slave backend 2011-10-26 09:15:05.674 New DB connection, total: 2 2011-10-26 09:15:05.675 Connected to database 'mythconverg' at host: localhost 2011-10-26 09:15:05.684 New DB connection, total: 3 2011-10-26 09:15:05.688 Connected to database 'mythconverg' at host: localhost 2011-10-26 09:15:05.796 MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP 2011-10-26 09:15:05.796 Main::Registering HttpStatus Extension 2011-10-26 09:15:05.796 Enabled verbose msgs: important general 2011-10-26 09:15:06.812 Connecting to master server: 192.168.2.3:6543 2011-10-26 09:15:06.813 Connected successfully 2011-10-26 09:15:15.805 mythbackend: Running housekeeping thread 2011-10-26 09:15:36.830 MythSocket(8224ca0:23): readStringList: Error, timed out after 30000 ms. 2011-10-26 09:15:36.831 MainServer, Error: Failed to open master server socket, timeout 2011-10-26 09:15:36.848 adding: camille as a slave backend server 2011-10-26 09:15:36.855 MainServer, Warning: Unknown socket closing MythSocket(0x82000f8) 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing MythSocket(0x82000f8) 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing MythSocket(0x8225ed0) 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing MythSocket(0x82253a0) 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing MythSocket(0x82253a0) 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing MythSocket(0x8224ca0) 2011-10-26 09:15:36.857 MainServer, Warning: Unknown socket closing MythSocket(0x8224ca0) 2011-10-26 09:15:36.871 MythSocket(82000f8:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 24 bytes with 1 errors 2011-10-26 09:15:36.871 MythSocket(8225ed0:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 10 bytes with 1 errors 2011-10-26 09:15:36.871 MythSocket(82253a0:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 24 bytes with 1 errors 2011-10-26 09:15:36.871 MythSocket(8224ca0:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 24 bytes with 1 errors 2011-10-26 09:15:37.840 Connecting to master server: 192.168.2.3:6543 2011-10-26 09:15:37.841 Connected successfully 2011-10-26 09:16:07.841 MythSocket(82031d8:23): readStringList: Error, timed out after 30000 ms. 2011-10-26 09:16:07.841 MainServer, Error: Failed to open master server socket, timeout 2011-10-26 09:16:07.842 adding: camille as a slave backend server 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing MythSocket(0x8203998) 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing MythSocket(0x82029d0) 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing MythSocket(0x82029d0) 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing MythSocket(0x82033f0) 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing MythSocket(0x82033f0) 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing MythSocket(0x8203798) 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing MythSocket(0x8203798) 2011-10-26 09:16:07.844 MainServer::ANN Monitor 2011-10-26 09:16:07.844 adding: camille as a client (events: 0) 2011-10-26 09:16:07.845 MainServer::ANN Monitor 2011-10-26 09:16:07.845 adding: camille as a client (events: 1) 2011-10-26 09:16:07.851 MythSocket(8203998:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 10 bytes with 1 errors 2011-10-26 09:16:07.851 MythSocket(82029d0:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 24 bytes with 1 errors 2011-10-26 09:16:07.851 MythSocket(82033f0:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 24 bytes with 1 errors 2011-10-26 09:16:07.851 MythSocket(8203798:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 24 bytes with 1 errors 2011-10-26 09:16:08.851 Connecting to master server: 192.168.2.3:6543 2011-10-26 09:16:08.851 Connected successfully 2011-10-26 09:16:38.861 MythSocket(8203c90:28): readStringList: Error, timed out after 30000 ms. 2011-10-26 09:16:38.861 MainServer, Error: Failed to open master server socket, timeout 2011-10-26 09:16:38.862 adding: camille as a slave backend server 2011-10-26 09:16:38.862 MainServer, Warning: Unknown socket closing MythSocket(0x8203c90) 2011-10-26 09:16:38.871 MythSocket(8203c90:-1): writeStringList: Error, socket went unconnected. We wrote 0 of 10 bytes with 1 errors 2011-10-26 09:16:39.871 Connecting to master server: 192.168.2.3:6543 2011-10-26 09:16:39.871 Connected successfully 2011-10-26 09:16:58.347 Reloading backend settings 2011-10-26 09:17:09.872 MythSocket(822d050:28): readStringList: Error, timed out after 30000 ms. Segmentation fault At first I thought that sometime that installed since Oct 12 was causing the segfault, so I tried unmerging the 350+ packages that had installed since then and listing them in package.mask, but that blew up in my face because I don't know a command that forces portage to ignore masked packages and install next-highest stable versions. Please help me! -Michael Sullivan-