1 |
>>>>>>>> On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote: |
2 |
>>>>>>>> |
3 |
>>>>>>>>> At first I thought that sometime that installed since Oct 12 was causing |
4 |
>>>>>>>>> the segfault, so I tried unmerging the 350+ packages that had installed |
5 |
>>>>>>>>> since then and listing them in package.mask, but that blew up in my face |
6 |
>>>>>>>>> because I don't know a command that forces portage to ignore masked |
7 |
>>>>>>>>> packages and install next-highest stable versions. |
8 |
>>>>>>>> |
9 |
>>>>>>>> Mask higher versions in package mask |
10 |
>>>>>>>> |
11 |
>>>>>>>>> cat/pkg-version.you.want |
12 |
>>>>>>>> |
13 |
>>>>>>>> |
14 |
>>>>>>> |
15 |
>>>>>>> I did, but as I said there where 350+ of them. And every time I tried |
16 |
>>>>>>> to emerge anything else, I couldn't because some package I needed was |
17 |
>>>>>>> listed in package mask. I got the package list that I added to |
18 |
>>>>>>> package.mask from /var/log/portage-logs for files dated from October 12 |
19 |
>>>>>>> till 24. It was an epic fail. I couldn't even emerge -e world because |
20 |
>>>>>>> of those stupid masked package versions... |
21 |
>>>>>> |
22 |
>>>>>> OK, I haven't used Myth now in over a year so take this with a grain |
23 |
>>>>>> of salt. From the log file it appears that your client isn't |
24 |
>>>>>> connecting to the server which likely explains why you don't see the |
25 |
>>>>>> programs. I wonder if you've tested connecting to mythconverg manually |
26 |
>>>>>> via a terminal? Maybe something like /etc/my.cnf or one of the Myth |
27 |
>>>>>> config files got messed up in the update. |
28 |
>>>>>> |
29 |
>>>>>> Good luck, |
30 |
>>>>>> Mark |
31 |
>>>>>> |
32 |
>>>>> |
33 |
>>>>> Mysql on camille is broken: |
34 |
>>>>> |
35 |
>>>>> camille ~ # mysql -u root -p |
36 |
>>>>> mysql: unknown variable 'expire_logs_days=10' |
37 |
>>>>> |
38 |
>>>>> I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend |
39 |
>>>> 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes |
40 |
>>>> [27077] www.mythtv.org |
41 |
>>>> 2011-10-26 13:48:02.094 Using runtime prefix = /usr |
42 |
>>>> 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv |
43 |
>>>> 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt |
44 |
>>>> 2011-10-26 13:48:02.124 Empty LocalHostName. |
45 |
>>>> 2011-10-26 13:48:02.124 Using localhost value of camille |
46 |
>>>> 2011-10-26 13:48:02.176 New DB connection, total: 1 |
47 |
>>>> 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host: |
48 |
>>>> localhost |
49 |
>>>> 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0' |
50 |
>>>> 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host: |
51 |
>>>> localhost |
52 |
>>>> 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254 |
53 |
>>>> 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend. |
54 |
>>>> 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend |
55 |
>>>> 2011-10-26 13:48:02.390 New DB connection, total: 2 |
56 |
>>>> 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host: |
57 |
>>>> localhost |
58 |
>>>> 2011-10-26 13:48:02.426 New DB connection, total: 3 |
59 |
>>>> 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host: |
60 |
>>>> localhost |
61 |
>>>> 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified - |
62 |
>>>> 127.0.0.1. Disabling UPnP |
63 |
>>>> 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension |
64 |
>>>> 2011-10-26 13:48:02.728 Enabled verbose msgs: important general |
65 |
>>>> 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543 |
66 |
>>>> 2011-10-26 13:48:03.773 Connected successfully |
67 |
>>>> 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread |
68 |
>>>> 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error, |
69 |
>>>> timed out after 30000 ms. |
70 |
>>>> QMutex::unlock: mutex lock failure: Invalid argument |
71 |
>>>> k that sounds like a config file |
72 |
>>>> |
73 |
>>>> It's been up for about 20 minutes and it hasn't crashed. None of the |
74 |
>>>> things I mentioned before work, but at least it's not crashing, right? |
75 |
>>>> This is a good step forward... |
76 |
>>>>> directive. I'll probably do a rebuild of mysql as well... |
77 |
>>>> |
78 |
>>>> |
79 |
>>>> I googled the expire_logs thing and what I found said to comment it out |
80 |
>>>> and restart mysql. I did that, and now the output of mythbackend says: |
81 |
>>>> |
82 |
>>>> |
83 |
>>>> |
84 |
>>> I forgot that I was going to post the output of mythbackend to see if |
85 |
>>> any of the changes provide hints to solving any of my other myth problems: |
86 |
>>> |
87 |
>>> michael@camille ~ $ sudo mythbackend |
88 |
>>> 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes |
89 |
>>> [27077] www.mythtv.org |
90 |
>>> 2011-10-26 13:48:02.094 Using runtime prefix = /usr |
91 |
>>> 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv |
92 |
>>> 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt |
93 |
>>> 2011-10-26 13:48:02.124 Empty LocalHostName. |
94 |
>>> 2011-10-26 13:48:02.124 Using localhost value of camille |
95 |
>>> 2011-10-26 13:48:02.176 New DB connection, total: 1 |
96 |
>>> 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host: |
97 |
>>> localhost |
98 |
>>> 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0' |
99 |
>>> 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host: |
100 |
>>> localhost |
101 |
>>> 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254 |
102 |
>>> 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend. |
103 |
>>> 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend |
104 |
>>> 2011-10-26 13:48:02.390 New DB connection, total: 2 |
105 |
>>> 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host: |
106 |
>>> localhost |
107 |
>>> 2011-10-26 13:48:02.426 New DB connection, total: 3 |
108 |
>>> 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host: |
109 |
>>> localhost |
110 |
>>> 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified - |
111 |
>>> 127.0.0.1. Disabling UPnP |
112 |
>>> 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension |
113 |
>>> 2011-10-26 13:48:02.728 Enabled verbose msgs: important general |
114 |
>>> 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543 |
115 |
>>> 2011-10-26 13:48:03.773 Connected successfully |
116 |
>>> 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread |
117 |
>>> 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error, |
118 |
>>> timed out after 30000 ms. |
119 |
>>> QMutex::unlock: mutex lock failure: Invalid argument |
120 |
>>> |
121 |
>> |
122 |
>> I just ran mythfilldatabase to see if everything looked like it usually |
123 |
>> did. At the end of the run I saw this: |
124 |
>> |
125 |
>> 2011-10-26 14:41:39.486 MythContext: Connecting to backend server: |
126 |
>> 192.168.2.3:6543 (try 1 of 1) |
127 |
>> 2011-10-26 14:41:39.486 Connection to master server timed out. |
128 |
>> Either the server is down or the master server settings |
129 |
>> in mythtv-settings does not contain the proper IP address |
130 |
>> |
131 |
>> 2011-10-26 14:41:39.486 Error rescheduling id -1 in |
132 |
>> ScheduledRecording::signalChange |
133 |
>> 2011-10-26 14:41:39.487 MythContext: Connecting to backend server: |
134 |
>> 192.168.2.3:6543 (try 1 of 1) |
135 |
>> 2011-10-26 14:41:39.487 Connection to master server timed out. |
136 |
>> Either the server is down or the master server settings |
137 |
>> in mythtv-settings does not contain the proper IP address |
138 |
>> |
139 |
>> 2011-10-26 14:41:39.487 MythContext: Connecting to backend server: |
140 |
>> 192.168.2.3:6543 (try 1 of 1) |
141 |
>> 2011-10-26 14:41:39.487 Connection to master server timed out. |
142 |
>> Either the server is down or the master server settings |
143 |
>> in mythtv-settings does not contain the proper IP address |
144 |
>> |
145 |
>> In mythtv-setup I have: |
146 |
>> |
147 |
>> Local Backend (camille) section IP Address 127.0.0.1 |
148 |
>> |
149 |
>> Master Backend section IP Address 192.168.2.3 |
150 |
>> |
151 |
>> Is that not correct? |
152 |
> |
153 |
> |
154 |
> |
155 |
> When I try to exit mythtv-setup, it tells me |
156 |
> |
157 |
> Unable to create "/mnt/store/.test" - directory is not writeable? |
158 |
> |
159 |
> But it is: |
160 |
> mythtv@camille /mnt/store $ touch .test |
161 |
> mythtv@camille /mnt/store $ ls .test |
162 |
> .test |
163 |
> |
164 |
> mythtv@camille ~ $ ls -l /mnt |
165 |
> . |
166 |
> . |
167 |
> . |
168 |
> drwxr-xr-x 2 mythtv users 49152 Oct 26 14:49 store |
169 |
> |
170 |
> What exactly is going on here? Why does it think the directory is not |
171 |
> writeable? |
172 |
|
173 |
|
174 |
It wasn't writeable because I was running mythtv-setup as user michael. |
175 |
When I logged in as root and ran mythtv-setup I didn't get that error... |