|
Technology Forums: FTA, Satellite, Cable, Home Media, Hardware & Computers
|
|
|
|
||||||
| Register | Members List | Search | Search | Today's Posts | Mark Forums Read |
| MythTV Chat 'till you're blue in the face about MythTV |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#11 (permalink) |
|
Super Moderator
|
I just run the backend by using either sudo mythbackend or mythbackend. I am using Ubuntu Dapper Drake by the way. This is what I get from mythbackend.
mandy@linux:~$ mythbackend 2007-02-26 17:24:40.483 Using runtime prefix = /usr 2007-02-26 17:24:41.171 New DB connection, total: 1 2007-02-26 17:24:41.272 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-26 17:24:41.314 Current Schema Version: 1160 Starting up as the master server. 2007-02-26 17:24:41.390 mythbackend: MythBackend started as master server 2007-02-26 17:24:41.474 New DB connection, total: 2 2007-02-26 17:24:41.476 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-26 17:24:41.497 EITHelper: localtime offset 0:00:00 2007-02-26 17:24:41.572 New DB connection, total: 3 2007-02-26 17:24:41.575 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-26 17:24:41.580 New DB connection, total: 4 2007-02-26 17:24:41.582 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-26 17:24:41.595 New DB connection, total: 5 2007-02-26 17:24:41.597 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-26 17:24:41.601 New DB connection, total: 6 2007-02-26 17:24:41.619 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-26 17:24:51.413 mythbackend: Running housekeeping thread 2007-02-26 17:29:14.828 New DB scheduler connection 2007-02-26 17:29:14.830 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-26 17:29:14.839 Main::Starting HttpServer 2007-02-26 17:29:14.878 Main::Registering HttpStatus Extension 2007-02-26 17:29:14.973 mythbackend version: 0.20.20060828-3 www.mythtv.org 2007-02-26 17:29:14.974 Enabled verbose msgs: important general /var/lib/mythtv//nfslockfile.lock: Permission denied Unable to open lockfile! Be sure that '/var/lib/mythtv/' exists and that both the directory and that file are writeable by this user. With Sudo mythbackend I get this mandy@linux:~$ sudo mythbackend Password: 2007-02-27 04:20:34.016 Using runtime prefix = /usr 2007-02-27 04:20:34.574 New DB connection, total: 1 2007-02-27 04:20:34.789 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:34.801 Current Schema Version: 1160 Starting up as the master server. 2007-02-27 04:20:34.922 mythbackend: MythBackend started as master server 2007-02-27 04:20:35.014 New DB connection, total: 2 2007-02-27 04:20:35.017 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:35.034 EITHelper: localtime offset 0:00:00 2007-02-27 04:20:35.127 New DB connection, total: 3 2007-02-27 04:20:35.129 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:35.133 New DB connection, total: 4 2007-02-27 04:20:35.135 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:35.139 New DB connection, total: 5 2007-02-27 04:20:35.144 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:35.148 New DB connection, total: 6 2007-02-27 04:20:35.150 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:44.948 mythbackend: Running housekeeping thread 2007-02-27 04:20:44.982 mythbackend: Running mythfilldatabase 2007-02-27 04:20:44.982 Running mythfilldatabase 2007-02-27 04:20:46.502 Using runtime prefix = /usr 2007-02-27 04:20:46.590 New DB connection, total: 1 2007-02-27 04:20:46.783 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:46.802 mythfilldatabase: Listings Download Started 2007-02-27 04:20:46.805 New DB connection, total: 2 2007-02-27 04:20:46.807 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:46.809 Updating source #1 (Skystar 2) with grabber /bin/true 2007-02-27 04:20:46.810 Source configured with no grabber. Nothing to do. 2007-02-27 04:20:46.845 New DB connection, total: 3 2007-02-27 04:20:46.847 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:46.908 New DB connection, total: 4 2007-02-27 04:20:46.913 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:46.942 New DB connection, total: 5 2007-02-27 04:20:46.944 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:20:46.950 Data fetching complete. 2007-02-27 04:20:46.951 Adjusting program database end times. 2007-02-27 04:20:46.952 0 replacements made 2007-02-27 04:20:46.958 mythfilldatabase: Listings Download Finished 2007-02-27 04:20:46.958 Marking generic episodes. 2007-02-27 04:20:46.960 Found 0 2007-02-27 04:20:46.960 Marking repeats. 2007-02-27 04:20:46.981 Found 0 2007-02-27 04:20:46.981 Unmarking new episode rebroadcast repeats. 2007-02-27 04:20:46.982 Found 0 2007-02-27 04:20:46.983 Marking episode first showings. 2007-02-27 04:20:46.984 Found 0 2007-02-27 04:20:46.984 Marking episode last showings. 2007-02-27 04:20:46.985 Found 0 2007-02-27 04:20:46.990 ================================================== ============= | Attempting to contact the master backend for rescheduling. | | If the master is not running, rescheduling will happen when | | the master backend is restarted. | ================================================== ============= 2007-02-27 04:20:47.014 Connecting to backend server: localhost:6543 (try 1 of 5) 2007-02-27 04:20:47.016 Connection timed out. You probably should modify the Master Server settings in the setup program and set the proper IP address. 2007-02-27 04:20:47.017 Error rescheduling id -1 in ScheduledRecording::signalChange 2007-02-27 04:20:47.017 Connecting to backend server: localhost:6543 (try 1 of 5) 2007-02-27 04:20:47.021 Connection timed out. You probably should modify the Master Server settings in the setup program and set the proper IP address. 2007-02-27 04:20:47.026 mythfilldatabase run complete. 2007-02-27 04:23:41.774 New DB scheduler connection 2007-02-27 04:23:41.776 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-27 04:23:41.783 Main::Starting HttpServer 2007-02-27 04:23:41.803 Main::Registering HttpStatus Extension 2007-02-27 04:23:41.966 mythbackend version: 0.20.20060828-3 www.mythtv.org 2007-02-27 04:23:41.966 Enabled verbose msgs: important general 2007-02-27 04:23:41.991 AutoExpire: Found 1 recorders w/max rate of 138 MiB/min 2007-02-27 04:23:42.079 AutoExpire: Required Free Space: 3.0 GB w/freq: 10 min 2007-02-27 04:23:42.150 mythbackend: MythBackend exiting Segmentation fault Don't know why mythfilldatabase is running should it be?
__________________
TM 1000D Super. SS2 PCI. 1.5M IRTE Camo Dish. Edon 2120 Positioner. 80cm Mesh Dish Motorised. 28E to 30W |
|
|
|
|
|
#12 (permalink) |
|
Member
Join Date: Aug 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hi Jontydog,
mythfilldatabase is used toeither download program listings from the Web, or from EIT data. It should be run. Rather than running the backend from the command line, I would start it instead from the script meant to do this. Code:
sudo /etc/init.d/mythtv-backend start This may stop it core dumping. Cheers Ferg
__________________
Climb up it, kayak down it + make sure it runs on GNU/Linux<br />"cease to exist, giving my goodbye, drive my car into the ocean,<br />you think I'm dead, but i sail away, on a wave of mutilation!" |
|
|
|
|
|
#13 (permalink) |
|
Super Moderator
|
ok tried that but now I get this instead
mandy@linux:~$ sudo /etc/init.d/mythtv-backend start Password: mythbackend already running, use restart instead. mandy@linux:~$ sudo /etc/init.d/mythtv-backend restart Restarting MythTV server: mythbackendNo /usr/bin/mythbackend found running; none killed. . Session management error: Authentication Rejected, reason : None of the authenti cation protocols specified are supported and host-based authentication failed . mandy@linux:~$ sudo /etc/init.d/mythtv-backend start mythbackend already running, use restart instead. mandy@linux:~$ /etc/init.d/mythtv-backend restart chown: changing ownership of `/var/run/mythtv/mythbackend.pid': Operation not pe rmitted chown: changing ownership of `/var/run/mythtv': Operation not permitted mandy@linux:~$ sudo /etc/init.d/mythtv-backend restart Restarting MythTV server: mythbackend. Session management error: Authentication Rejected, reason : None of the authenti cation protocols specified are supported and host-based authentication failed
__________________
TM 1000D Super. SS2 PCI. 1.5M IRTE Camo Dish. Edon 2120 Positioner. 80cm Mesh Dish Motorised. 28E to 30W |
|
|
|
|
|
#14 (permalink) |
|
Member
Join Date: Aug 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
Code:
Hi Jontydog. that actually looks quite positive. Two points: (1) you must be root to run the scripts in /etc/init.d. (2) The error message you are seeing is due to using sudo for starting the script. I would guess it would not happen if you are proper root instead. e.g. It also did the same here. Restart would give an error if ti was not already running. Code:
mandy@linux:~$ sudo /etc/init.d/mythtv-backend restart Restarting MythTV server: mythbackend. Session management error: Authentication Rejected, reason : None of the authenti cation protocols specified are supported and host-based authentication failed Good luck ferg
__________________
Climb up it, kayak down it + make sure it runs on GNU/Linux<br />"cease to exist, giving my goodbye, drive my car into the ocean,<br />you think I'm dead, but i sail away, on a wave of mutilation!" |
|
|
|
|
|
#15 (permalink) |
|
Super Moderator
|
started mythbackend with the script as suggested then did the tail command and it came up with this
mandy@linux:~$ sudo tail -f /var/log/mythtv/mythbackend.log 2007-02-28 14:26:36.037 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:26:36.300 EITHelper: localtime offset 0:00:00 2007-02-28 14:26:36.553 New DB connection, total: 3 2007-02-28 14:26:36.560 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:26:36.636 New DB connection, total: 4 2007-02-28 14:26:36.701 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:26:36.998 New DB connection, total: 5 2007-02-28 14:26:37.072 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:26:37.078 New DB connection, total: 6 2007-02-28 14:26:37.095 Connected to database 'mythconverg' at host: 127.0.0.1 so it seems that the backend is running ok but I am still not sure.
__________________
TM 1000D Super. SS2 PCI. 1.5M IRTE Camo Dish. Edon 2120 Positioner. 80cm Mesh Dish Motorised. 28E to 30W |
|
|
|
|
|
#16 (permalink) |
|
Super Moderator
|
Just ran the backend again and left it running.
mandy@linux:~$ mythbackend 2007-02-28 14:39:52.308 Using runtime prefix = /usr 2007-02-28 14:39:52.370 New DB connection, total: 1 2007-02-28 14:39:52.485 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:39:52.786 Current Schema Version: 1160 Starting up as the master server. 2007-02-28 14:39:53.003 New DB connection, total: 2 2007-02-28 14:39:53.005 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:39:53.011 EITHelper: localtime offset 0:00:00 2007-02-28 14:39:53.274 New DB connection, total: 3 2007-02-28 14:39:53.284 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:39:53.341 New DB connection, total: 4 2007-02-28 14:39:53.349 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:39:53.369 New DB connection, total: 5 2007-02-28 14:39:53.374 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:39:53.378 New DB connection, total: 6 2007-02-28 14:39:53.381 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:49:02.572 New DB scheduler connection 2007-02-28 14:49:02.576 Connected to database 'mythconverg' at host: 127.0.0.1 2007-02-28 14:49:02.642 Main::Starting HttpServer 2007-02-28 14:49:02.727 Main::Registering HttpStatus Extension 2007-02-28 14:49:02.940 mythbackend version: 0.20.20060828-3 www.mythtv.org 2007-02-28 14:49:02.941 Enabled verbose msgs: important general 2007-02-28 14:49:03.110 AutoExpire: Found 1 recorders w/max rate of 138 MiB/min 2007-02-28 14:49:03.114 AutoExpire: Required Free Space: 3.0 GB w/freq: 10 min Segmentation fault
__________________
TM 1000D Super. SS2 PCI. 1.5M IRTE Camo Dish. Edon 2120 Positioner. 80cm Mesh Dish Motorised. 28E to 30W |
|
|
|
|
|
#17 (permalink) |
|
Member
Join Date: Aug 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hi Jontydog.
That looks positive. Don't start it from the command line though. Only start it from the script. You can add that script to the default run levels of Ubuntu, and then the script will always run. Can you connect with Mythfrontend? Cheers Ferg
__________________
Climb up it, kayak down it + make sure it runs on GNU/Linux<br />"cease to exist, giving my goodbye, drive my car into the ocean,<br />you think I'm dead, but i sail away, on a wave of mutilation!" |
|
|
|
|
|
#18 (permalink) | |||
|
Super Moderator
|
Quote:
Quote:
Quote:
2007-03-01 03:01:12.938 Using runtime prefix = /usr 2007-03-01 03:01:14.407 Gnome-Screensaver support enabled 2007-03-01 03:01:14.446 DPMS is active. 2007-03-01 03:01:14.609 New DB connection, total: 1 2007-03-01 03:01:14.674 Connected to database 'mythconverg' at host: 127.0.0.1 2007-03-01 03:01:14.681 Total desktop dim: 1024x768, with 1 screen(s). 2007-03-01 03:01:14.712 Using screen 0, 1024x768 at 0,0 2007-03-01 03:01:15.250 Current Schema Version: 1160 2007-03-01 03:01:15.250 mythfrontend version: 0.20.20060828-3 www.mythtv.org 2007-03-01 03:01:15.251 Enabled verbose msgs: important general 2007-03-01 03:01:20.553 Total desktop dim: 1024x768, with 1 screen(s). 2007-03-01 03:01:20.565 Using screen 0, 1024x768 at 0,0 2007-03-01 03:01:20.576 Switching to square mode (G.A.N.T.) 2007-03-01 03:01:21.005 Using the Qt painter mythtv: could not connect to socket mythtv: No such file or directory lirc_init failed for mythtv, see preceding messages 2007-03-01 03:01:29.432 Joystick disabled. 2007-03-01 03:01:34.922 Loading from: /usr/share/mythtv/themes/G.A.N.T./base.xml2007-03-01 03:01:35.925 Loading from: /usr/share/mythtv/themes/default/base.xml 2007-03-01 03:01:36.594 Registering Internal as a media playback plugin. 2007-03-01 03:02:41.726 New DB connection, total: 2 2007-03-01 03:02:43.820 Connected to database 'mythconverg' at host: 127.0.0.1 2007-03-01 03:02:46.795 Connecting to backend server: localhost:6543 (try 1 of 5) 2007-03-01 03:02:46.796 Connection timed out. You probably should modify the Master Server settings in the setup program and set the proper IP address. 2007-03-01 03:02:52.141 TV: Attempting to change from None to None 2007-03-01 03:02:54.871 Connecting to backend server: localhost:6543 (try 1 of 5) 2007-03-01 03:02:54.872 Connection timed out. You probably should modify the Master Server settings in the setup program and set the proper IP address. so it doesn't look like its connecting
__________________
TM 1000D Super. SS2 PCI. 1.5M IRTE Camo Dish. Edon 2120 Positioner. 80cm Mesh Dish Motorised. 28E to 30W |
|||
|
|
|
|
|
#19 (permalink) |
|
Super Murderator
Join Date: Nov 2005
Location: Brighton
Posts: 10,566
Thanks: 3
Thanked 45 Times in 31 Posts
|
Sorry Jonty, I tweaked two of your posts above to remove the 'strikethrough' effect caused by the square brackets at the end of these lines:
Code:
2007-03-01 03:01:14.681 Total desktop dim: 1024x768, with 1 screen.
__________________
Dreambox 7000, Skystar2 PCI, Skystar USB, Fibo 90cm on Moteck SG2100, Triax TD110 multi-LNB. Sky + ART cards. 45.0°E - 58.0°W |
|
|
|
|
|
#20 (permalink) |
|
Super Moderator
|
wondered why that was happening lol. Gonna sort this bugger out today before work. Uninstalled mysql and mythtv and starting again from scratch. once I have sorted it this out its gonna be VDR for my next project so I can decide which is best
![]()
__________________
TM 1000D Super. SS2 PCI. 1.5M IRTE Camo Dish. Edon 2120 Positioner. 80cm Mesh Dish Motorised. 28E to 30W |
|
|
|