LINUX.ORG.RU

помогите настроить mythtv


0

0

что-то я запутался

mysql и mythtvbackend запущены # service mysqld status [ OK ] # service mythbackend status mythbackend (pid 4608) запущен...

проблемы с запуском mythtv-setup

$ mythtv-setup 2009-04-26 11:38:09.121 Using runtime prefix = /usr 2009-04-26 11:38:09.185 DPMS is active. 2009-04-26 11:38:09.268 Using localhost value of gingerino 2009-04-26 11:38:09.485 New DB connection, total: 1 2009-04-26 11:38:09.507 Unable to connect to database! 2009-04-26 11:38:09.508 Driver error was [1/1045]: QMYSQL3: Unable to connect Database error was: Access denied for user 'ginger'@'localhost' (using password: YES)

QSqlQuery::exec: database not open QSqlQuery::exec: database not open 2009-04-26 11:38:09.561 DB Error (KickDatabase): Query was: SELECT NULL;

Нутром чую, что надо сперва создать базу. Что посоветуете?

Ответ на: комментарий от elipse

Спасибо. Базу вроде создал

$mysql < /usr/share/mythtv/initialdb/mc.sql

$mysql -u root mythconverg

Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 64728

Server version: 5.0.67 Mandriva Linux - MySQL Standard Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> grant all on mythconverg.* to mythtv@"%" identified by "mythtv";

Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

mysql> grant all on mythconverg.* to mythtv@"192.168.0.%" identified by "mythtv";

Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

mysql> exit

Bye

Далее запускаю mythtv-setup

$ mythtv-setup

2009-04-26 12:17:21.593 Using runtime prefix = /usr

2009-04-26 12:17:21.649 DPMS is active.

2009-04-26 12:17:21.650 Using localhost value of gingerino

2009-04-26 12:17:21.764 New DB connection, total: 1

2009-04-26 12:17:21.770 Connected to database 'mythconverg' at host: localhost

2009-04-26 12:17:21.772 Closing DB connection named 'DBManager0'

2009-04-26 12:17:21.774 Primary screen 0.

2009-04-26 12:17:21.775 Connected to database 'mythconverg' at host: localhost

2009-04-26 12:17:21.777 Using screen 0, 1680x1050 at 0,0

2009-04-26 12:17:21.791 New DB connection, total: 2

2009-04-26 12:17:21.792 Connected to database 'mythconverg' at host: localhost

2009-04-26 12:17:21.794 Current Schema Version: (none)

2009-04-26 12:17:21.796 DataDirectProcessor::FixProgramIDs() -- begin

2009-04-26 12:17:21.797 New DB DataDirect connection

2009-04-26 12:17:21.798 Connected to database 'mythconverg' at host: localhost

2009-04-26 12:17:21.800 DB Error (Fixing program ids in recorded): Query was:

UPDATE recorded SET programid=CONCAT(SUBSTRING(programid, 1, 2), '00', SUBSTRING(programid, 3)) WHERE length(programid) = 12

Driver error was [2/1146]:

QMYSQL3: Unable to execute query

Database error was:

Table 'mythconverg.recorded' doesn't exist

2009-04-26 12:17:21.803 DB Error (Clear setting): Query was:

DELETE FROM settings WHERE value = 'BackupDBLastRunStart' AND hostname is NULL;

Driver error was [2/1146]:

QMYSQL3: Unable to execute query

Database error was:

Table 'mythconverg.settings' doesn't exist

2009-04-26 12:17:21.805 DB Error (SaveSettingOnHost query failure: ): Query was:

INSERT INTO settings (value,data,hostname ) VALUES ( 'BackupDBLastRunStart', '20

09-04-26 12:17:21', NULL );

Driver error was [2/1146]:

QMYSQL3: Unable to execute query

Database error was:

Table 'mythconverg.settings' doesn't exist

2009-04-26 12:17:21.807 DB Error (StorageGroup::StorageGroup()):

Query was:

SELECT DISTINCT dirname FROM storagegroup WHERE groupname = 'DB Backups' AND hostname = 'gingerino'

Driver error was [2/1146]:

QMYSQL3: Unable to execute query

Database error was:

Table 'mythconverg.storagegroup' doesn't exist

2009-04-26 12:17:21.810 New DB connection, total: 3

2009-04-26 12:17:21.811 Connected to database 'mythconverg' at host: localhost

2009-04-26 12:17:21.812 SG(DB Backups) Error: Directory value for Default Storage Group is empty. Using hardcoded default value of '/mnt/store'

2009-04-26 12:17:21.814 SG(DB Backups) Error: FindNextDirMostFree: '/mnt/store' does not exist!

Недопустимая инструкция

gingerino
() автор топика
Ответ на: комментарий от elipse

когдато пробовал, вроде ниче так, но мне больше подошли freevo и xbmc, у мнея нет тюнера. По теме, вот ссылке которые мне помогли в свое время: http://www.thg.ru/desktop/mythtv_i/index.html

http://www.xakep.ru/post/40787/default.asp

http://forum.sat-expert.com/mythtv/

http://www.tux.in.ua/articles/513

http://linuxmce.ru/archives/tag/mythtv

ну и дальше в гугль

Quark_p
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.