Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2006 00:00:44 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: MythTV port - status report
Message-ID:  <20061225000044.6670e21f.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20061224230155.fc0a6c6a.torfinn.ingolfsen@broadpark.no>
References:  <20061224230155.fc0a6c6a.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
One more thing:

It seems tha MythTV has ... well, problems to communicate with the
backend. 
Here is one example:
I run mythfilldatabase, and it fetches data and parses it. when it
comes to updating the database, it says that it can't connect to the
backend??  See attached script output (mythfilldatabase.out) for
details. (Note: both backend and database are running, and everything
happens on the same machine. I can manually connect to the database,
both as root and user 'mythtv'). I can even run the status web page (http://mythbackend:6544/) from another machine without problems.

The mythbackend log file shows errors like this:
Mutex unlock failure: Operation not permitted
Mutex unlock failure: Operation not permitted
2006-12-24 23:29:12.951 MainServer::HandleAnnounce Monitor
2006-12-24 23:29:12.952 adding: kg-quiet.kg4.no as a client (events: 1)
Mutex unlock failure: Operation not permitted
Mutex unlock failure: Operation not permitted
Mutex unlock failure: Operation not permitted
Mutex unlock failure: Operation not permitted

So far I haven't figured out what this problem is, and how to fix it.
-- 
Regards,
Torfinn Ingolfsen,
Norway


[-- Attachment #2 --]
Script started on Sun Dec 24 23:27:49 2006
tingo@kg-quiet$ mythfilldatabase
2006-12-24 23:27:55.869 Using runtime prefix = /usr/local
2006-12-24 23:27:55.888 New DB connection, total: 1
2006-12-24 23:27:55.900 Connected to database 'mythconverg' at host: localhost
2006-12-24 23:27:55.914 New DB connection, total: 2
2006-12-24 23:27:55.914 Connected to database 'mythconverg' at host: localhost
2006-12-24 23:27:55.921 Updating source #1 (TV) with grabber tv_grab_no
2006-12-24 23:27:55.923 
2006-12-24 23:27:55.923 Checking day @ offset 0, date: Sun Dec 24 2006
2006-12-24 23:27:55.930 Data refresh needed because no data exists for day @ offset -1 from 6PM - midnight.  Unable to calculate how much we should have for the current day so a refresh is being forced.
2006-12-24 23:27:55.930 Refreshing data for Sun Dec 24 2006
2006-12-24 23:27:55.931 ----------------- Start of XMLTV output -----------------
2006-12-24 23:27:55.931 New DB connection, total: 3
2006-12-24 23:27:55.932 Connected to database 'mythconverg' at host: localhost
fetching channel names: ##################################################
fetching data: ##############################################removing bad characters: '’' at /usr/local/bin/tv_grab_no line 425.
####
2006-12-24 23:28:24.998 ------------------ End of XMLTV output ------------------
2006-12-24 23:28:25.023 New DB connection, total: 4
2006-12-24 23:28:25.024 Connected to database 'mythconverg' at host: localhost
2006-12-24 23:28:25.075 Updating icons for sourceid: 1
2006-12-24 23:28:25.077 New DB connection, total: 5
2006-12-24 23:28:25.077 Connected to database 'mythconverg' at host: localhost
Updated programs: 0  Unchanged programs: 301
2006-12-24 23:28:25.615 
2006-12-24 23:28:25.615 Checking day @ offset 1, date: Mon Dec 25 2006
2006-12-24 23:28:25.615 Refreshing data for Mon Dec 25 2006
2006-12-24 23:28:25.616 ----------------- Start of XMLTV output -----------------
fetching channel names: ##################################################
fetching data: ##################################################
2006-12-24 23:29:03.467 ------------------ End of XMLTV output ------------------
2006-12-24 23:29:03.523 Updating icons for sourceid: 1
removing conflicting program: tcmcn.no The Devil Makes Three 20061225043000-20061225060000
conflicted with             : tcmcn.no Krampetvillingene 20061225050000-20061225053000

Updated programs: 0  Unchanged programs: 307
2006-12-24 23:29:03.982 
2006-12-24 23:29:03.982 Checking day @ offset 2, date: Tue Dec 26 2006
2006-12-24 23:29:03.989 Data is already present for Tue Dec 26 2006, skipping
2006-12-24 23:29:03.989 
2006-12-24 23:29:03.990 Checking day @ offset 3, date: Wed Dec 27 2006
2006-12-24 23:29:03.996 Data is already present for Wed Dec 27 2006, skipping
2006-12-24 23:29:03.997 
2006-12-24 23:29:03.997 Checking day @ offset 4, date: Thu Dec 28 2006
2006-12-24 23:29:04.005 Data is already present for Thu Dec 28 2006, skipping
2006-12-24 23:29:04.005 
2006-12-24 23:29:04.006 Checking day @ offset 5, date: Fri Dec 29 2006
2006-12-24 23:29:04.012 Data is already present for Fri Dec 29 2006, skipping
2006-12-24 23:29:04.012 
2006-12-24 23:29:04.013 Checking day @ offset 6, date: Sat Dec 30 2006
2006-12-24 23:29:04.019 Data is already present for Sat Dec 30 2006, skipping
2006-12-24 23:29:04.047 Data fetching complete.
2006-12-24 23:29:04.049 Adjusting program database end times.
2006-12-24 23:29:04.070     0 replacements made
2006-12-24 23:29:04.071 Marking generic episodes.
2006-12-24 23:29:04.090     Found 0
2006-12-24 23:29:04.091 Marking repeats.
2006-12-24 23:29:04.110     Found 0
2006-12-24 23:29:04.110 Unmarking new episode rebroadcast repeats.
2006-12-24 23:29:04.128     Found 0
2006-12-24 23:29:04.180 Marking episode first showings.
2006-12-24 23:29:05.034     Found 1367
2006-12-24 23:29:05.034 Marking episode last showings.
2006-12-24 23:29:05.929     Found 1367
2006-12-24 23:29:05.935 
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2006-12-24 23:29:05.939 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2006-12-24 23:29:05.947 Using protocol version 30
2006-12-24 23:29:12.950 MythSocket(5a3600:11): readStringList: Error, timeout (quick).
2006-12-24 23:29:12.954 MythSocket(5a3600:-1): writeStringList: Error, called with unconnected socket.
2006-12-24 23:29:12.955 MythSocket(5a3600:-1): readStringList: Error, called with unconnected socket.
2006-12-24 23:29:12.955 Connection to backend server lost
2006-12-24 23:29:12.955 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2006-12-24 23:29:12.957 Using protocol version 30
2006-12-24 23:29:19.957 MythSocket(5a3600:13): readStringList: Error, timeout (quick).
2006-12-24 23:29:19.958 MythSocket(5a3600:-1): writeStringList: Error, invalid string list.
2006-12-24 23:29:19.958 MythSocket(5a3600:-1): readStringList: Error, called with unconnected socket.
2006-12-24 23:29:19.958 Reconnection to backend server failed
2006-12-24 23:29:19.958 Error rescheduling id -1 in ScheduledRecording::signalChange
2006-12-24 23:29:19.959 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2006-12-24 23:29:19.960 Using protocol version 30
2006-12-24 23:29:26.964 MythSocket(5a3600:15): readStringList: Error, timeout (quick).
2006-12-24 23:29:26.965 MythSocket(5a3600:-1): writeStringList: Error, called with unconnected socket.
2006-12-24 23:29:26.965 MythSocket(5a3600:-1): readStringList: Error, called with unconnected socket.
2006-12-24 23:29:26.965 Connection to backend server lost
2006-12-24 23:29:26.965 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2006-12-24 23:29:26.975 Using protocol version 30
2006-12-24 23:29:33.979 MythSocket(5a3600:15): readStringList: Error, timeout (quick).
2006-12-24 23:29:33.980 MythSocket(5a3600:-1): writeStringList: Error, invalid string list.
2006-12-24 23:29:33.980 MythSocket(5a3600:-1): readStringList: Error, called with unconnected socket.
2006-12-24 23:29:33.980 Reconnection to backend server failed
2006-12-24 23:29:33.983 mythfilldatabase run complete.
tingo@kg-quiet$ ^D
Script done on Sun Dec 24 23:29:50 2006

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061225000044.6670e21f.torfinn.ingolfsen>