mythtv-setup probleam
Hej har et problem med mythtv.Jeg køre Mandriva Linux 2009.1 og har installet mythtv fra en pakke.
Jeg har oprettet en mysql bruger 'mythtv' og en database 'mythconverg' via sql scriptet '/usr/share/mythtv/initialdb/mc.sql'
Som har indholdet:
CREATE DATABASE if not exists mythconverg;
GRANT ALL ON mythconverg.* TO mythtv@localhost IDENTIFIED BY "mythtv";
FLUSH PRIVILEGES;
GRANT CREATE TEMPORARY TABLES ON mythconverg.* TO mythtv@localhost IDENTIFIED BY "mythtv";
FLUSH PRIVILEGES;
ALTER DATABASE mythconverg DEFAULT CHARACTER SET latin1;
Derefter køre jeg kommandoen:
mythtv-setup
Resultat:
2010-02-10 12:03:15.095 Using runtime prefix = /usr
2010-02-10 12:03:15.111 DPMS is active.
2010-02-10 12:03:15.112 Using localhost value of myth
2010-02-10 12:03:15.127 New DB connection, total: 1
2010-02-10 12:03:15.138 Connected to database 'mythconverg' at host: localhost
2010-02-10 12:03:15.140 Closing DB connection named 'DBManager0'
2010-02-10 12:03:15.142 Primary screen 0.
2010-02-10 12:03:15.143 Connected to database 'mythconverg' at host: localhost
2010-02-10 12:03:15.145 Using screen 0, 1280x1024 at 0,0
2010-02-10 12:03:15.175 New DB connection, total: 2
2010-02-10 12:03:15.176 Connected to database 'mythconverg' at host: localhost
2010-02-10 12:03:15.178 Current Schema Version: (none)
2010-02-10 12:03:15.180 DataDirectProcessor::FixProgramIDs() -- begin
2010-02-10 12:03:15.182 New DB DataDirect connection
2010-02-10 12:03:15.182 Connected to database 'mythconverg' at host: localhost
2010-02-10 12:03:15.183 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
2010-02-10 12:03:15.186 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
2010-02-10 12:03:15.187 DB Error (SaveSettingOnHost query failure: ):
Query was:
INSERT INTO settings (value,data,hostname ) VALUES ( 'BackupDBLastRunStart', '2010-02-10 12:03:15', NULL );
Driver error was [2/1146]:
QMYSQL3: Unable to execute query
Database error was:
Table 'mythconverg.settings' doesn't exist
2010-02-10 12:03:15.189 DB Error (StorageGroup::StorageGroup()):
Query was:
SELECT DISTINCT dirname FROM storagegroup WHERE groupname = 'DB Backups' AND hostname = 'myth'
Driver error was [2/1146]:
QMYSQL3: Unable to execute query
Database error was:
Table 'mythconverg.storagegroup' doesn't exist
2010-02-10 12:03:15.190 New DB connection, total: 3
2010-02-10 12:03:15.191 Connected to database 'mythconverg' at host: localhost
2010-02-10 12:03:15.193 SG(DB Backups) Error: Directory value for Default Storage Group is empty. Using hardcoded default value of '/mnt/store'
Illegal instruction
Det er så her at jeg har brug for hjælp. Så vidt jeg kan forstå så er problemet at default storage group er tom. Men hvordan sætter jeg den?
Hilsen Klaus