From: Matt Harrison <iwasinnamuknow@genestate.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Mythtv problems
Date: Thu, 27 Oct 2011 11:17:14 +0100 [thread overview]
Message-ID: <4EA92FAA.4060300@genestate.com> (raw)
In-Reply-To: <4EA87978.4030402@gmail.com>
On 26/10/2011 22:19, Michael Sullivan wrote:
> On 10/26/11 14:45, Michael Sullivan wrote:
>> On 10/26/11 14:05, Michael Sullivan wrote:
>>> On 10/26/11 14:03, Michael Sullivan wrote:
>>>> On 10/26/11 13:31, Michael Sullivan wrote:
>>>>> On 10/26/11 11:36, Mark Knecht wrote:
>>>>>> On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan<msulli1355@gmail.com> wrote:
>>>>>>> On 10/26/11 11:07, Neil Bothwick wrote:
>>>>>>>> On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:
>>>>>>>>
>>>>>>>>> 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.
>>>>>>>>
>>>>>>>> Mask higher versions in package mask
>>>>>>>>
>>>>>>>>> cat/pkg-version.you.want
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> I did, but as I said there where 350+ of them. And every time I tried
>>>>>>> to emerge anything else, I couldn't because some package I needed was
>>>>>>> listed in package mask. I got the package list that I added to
>>>>>>> package.mask from /var/log/portage-logs for files dated from October 12
>>>>>>> till 24. It was an epic fail. I couldn't even emerge -e world because
>>>>>>> of those stupid masked package versions...
>>>>>>
>>>>>> OK, I haven't used Myth now in over a year so take this with a grain
>>>>>> of salt. From the log file it appears that your client isn't
>>>>>> connecting to the server which likely explains why you don't see the
>>>>>> programs. I wonder if you've tested connecting to mythconverg manually
>>>>>> via a terminal? Maybe something like /etc/my.cnf or one of the Myth
>>>>>> config files got messed up in the update.
>>>>>>
>>>>>> Good luck,
>>>>>> Mark
>>>>>>
>>>>>
>>>>> Mysql on camille is broken:
>>>>>
>>>>> camille ~ # mysql -u root -p
>>>>> mysql: unknown variable 'expire_logs_days=10'
>>>>>
>>>>> I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
>>>> 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
>>>> [27077] www.mythtv.org
>>>> 2011-10-26 13:48:02.094 Using runtime prefix = /usr
>>>> 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
>>>> 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
>>>> 2011-10-26 13:48:02.124 Empty LocalHostName.
>>>> 2011-10-26 13:48:02.124 Using localhost value of camille
>>>> 2011-10-26 13:48:02.176 New DB connection, total: 1
>>>> 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
>>>> localhost
>>>> 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
>>>> 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
>>>> localhost
>>>> 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
>>>> 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
>>>> 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
>>>> 2011-10-26 13:48:02.390 New DB connection, total: 2
>>>> 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
>>>> localhost
>>>> 2011-10-26 13:48:02.426 New DB connection, total: 3
>>>> 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
>>>> localhost
>>>> 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
>>>> 127.0.0.1. Disabling UPnP
>>>> 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
>>>> 2011-10-26 13:48:02.728 Enabled verbose msgs: important general
>>>> 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
>>>> 2011-10-26 13:48:03.773 Connected successfully
>>>> 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
>>>> 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
>>>> timed out after 30000 ms.
>>>> QMutex::unlock: mutex lock failure: Invalid argument
>>>> k that sounds like a config file
>>>>
>>>> It's been up for about 20 minutes and it hasn't crashed. None of the
>>>> things I mentioned before work, but at least it's not crashing, right?
>>>> This is a good step forward...
>>>>> directive. I'll probably do a rebuild of mysql as well...
>>>>
>>>>
>>>> I googled the expire_logs thing and what I found said to comment it out
>>>> and restart mysql. I did that, and now the output of mythbackend says:
>>>>
>>>>
>>>>
>>> I forgot that I was going to post the output of mythbackend to see if
>>> any of the changes provide hints to solving any of my other myth problems:
>>>
>>> michael@camille ~ $ sudo mythbackend
>>> 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
>>> [27077] www.mythtv.org
>>> 2011-10-26 13:48:02.094 Using runtime prefix = /usr
>>> 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
>>> 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
>>> 2011-10-26 13:48:02.124 Empty LocalHostName.
>>> 2011-10-26 13:48:02.124 Using localhost value of camille
>>> 2011-10-26 13:48:02.176 New DB connection, total: 1
>>> 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
>>> localhost
>>> 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
>>> 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
>>> localhost
>>> 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
>>> 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
>>> 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
>>> 2011-10-26 13:48:02.390 New DB connection, total: 2
>>> 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
>>> localhost
>>> 2011-10-26 13:48:02.426 New DB connection, total: 3
>>> 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
>>> localhost
>>> 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
>>> 127.0.0.1. Disabling UPnP
>>> 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
>>> 2011-10-26 13:48:02.728 Enabled verbose msgs: important general
>>> 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
>>> 2011-10-26 13:48:03.773 Connected successfully
>>> 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
>>> 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
>>> timed out after 30000 ms.
>>> QMutex::unlock: mutex lock failure: Invalid argument
>>>
>>
>> I just ran mythfilldatabase to see if everything looked like it usually
>> did. At the end of the run I saw this:
>>
>> 2011-10-26 14:41:39.486 MythContext: Connecting to backend server:
>> 192.168.2.3:6543 (try 1 of 1)
>> 2011-10-26 14:41:39.486 Connection to master server timed out.
>> Either the server is down or the master server settings
>> in mythtv-settings does not contain the proper IP address
>>
>> 2011-10-26 14:41:39.486 Error rescheduling id -1 in
>> ScheduledRecording::signalChange
>> 2011-10-26 14:41:39.487 MythContext: Connecting to backend server:
>> 192.168.2.3:6543 (try 1 of 1)
>> 2011-10-26 14:41:39.487 Connection to master server timed out.
>> Either the server is down or the master server settings
>> in mythtv-settings does not contain the proper IP address
>>
>> 2011-10-26 14:41:39.487 MythContext: Connecting to backend server:
>> 192.168.2.3:6543 (try 1 of 1)
>> 2011-10-26 14:41:39.487 Connection to master server timed out.
>> Either the server is down or the master server settings
>> in mythtv-settings does not contain the proper IP address
>>
>> In mythtv-setup I have:
>>
>> Local Backend (camille) section IP Address 127.0.0.1
>>
>> Master Backend section IP Address 192.168.2.3
>>
>> Is that not correct?
>
>
> I changed Local Backend IP address to 192.168.2.3 and now I have
> everything back except Upcoming Recordings, Program Finder and Program
> Guide. Any thoughts?
>
Does it need a forced mythfilldatabase? If your backend hasn't been well
for a while it's possible the data is all outdated now.
HTH
next prev parent reply other threads:[~2011-10-27 10:19 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 14:23 [gentoo-user] Mythtv problems Michael Sullivan
2011-10-26 14:45 ` [gentoo-user] " Michael Sullivan
2011-10-26 18:20 ` Raffaele BELARDI
2011-10-26 16:07 ` [gentoo-user] " Neil Bothwick
2011-10-26 16:29 ` Michael Sullivan
2011-10-26 16:36 ` Mark Knecht
2011-10-26 18:31 ` Michael Sullivan
2011-10-26 19:03 ` Michael Sullivan
2011-10-26 19:05 ` Michael Sullivan
2011-10-26 19:45 ` Michael Sullivan
2011-10-26 19:51 ` Michael Sullivan
2011-10-26 20:01 ` Michael Sullivan
2011-10-26 21:19 ` Michael Sullivan
2011-10-27 10:17 ` Matt Harrison [this message]
2011-10-27 0:03 ` kashani
2011-10-27 0:15 ` Michael Sullivan
2011-10-26 18:46 ` Neil Bothwick
2011-10-26 20:08 ` Michael Sullivan
2011-10-26 21:25 ` Michael Sullivan
2011-10-26 21:46 ` Michael Schreckenbauer
2011-10-26 21:51 ` Michael Sullivan
2011-10-26 22:06 ` Michael Schreckenbauer
2011-10-26 22:14 ` Michael Sullivan
2011-10-26 22:32 ` Michael Schreckenbauer
2011-10-26 22:42 ` Michael Sullivan
2011-10-26 22:53 ` Michael Schreckenbauer
2011-10-26 22:59 ` Michael Sullivan
2011-10-26 23:08 ` Michael Schreckenbauer
2011-10-26 22:09 ` Michael Schreckenbauer
2011-10-26 22:30 ` Michael Sullivan
2011-10-26 22:36 ` Michael Schreckenbauer
2011-10-26 22:33 ` Michael Sullivan
2011-10-26 22:58 ` Michael Schreckenbauer
2011-10-26 23:10 ` Michael Sullivan
2011-10-26 23:16 ` Michael Schreckenbauer
2011-10-27 1:13 ` [gentoo-user] Mythtv problems [SOLVED] Michael Sullivan
2011-10-27 10:08 ` Michael Schreckenbauer
2011-10-26 22:44 ` [gentoo-user] Mythtv problems Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA92FAA.4060300@genestate.com \
--to=iwasinnamuknow@genestate.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox