[mythtv-users] Can't run mythtv-setup correct
Michael T. Dean
mtdean at thirdcontact.com
Wed Sep 3 20:01:57 UTC 2008
On 09/03/2008 12:05 PM, Thomas Ungru wrote:
> I've some problems while setting up a mythtv system.
> I've installed Arch Linux with Xfce4. After that I installed mysql and
> mythtv like it is described here:
> http://wiki.archlinux.org/index.php/MythTV_HOWTO
>
> After this I run mythtv-setup:
... <lots of ignorable errors that /probably/ wouldn't appear in output
from a current -fixes build> ...
> mythtv-setup crashed while it is searchin for new TV-channels.
I'm guessing you have a multi-core system... You'll almost always need
to pin mythtv-setup to a single core when doing a channel scan. See
http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html
but adjust for your distro. Basically, you'd launch mythtv-setup with:
taskset -c 0 mythtv-setup
> I started mythtv-setup again, did my adjustments and left the setup up
> with ESC.
> And I got the following output:
>
> bash-3.2# mythtv-setup
> Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
> 2008-08-26 08:55:51.353 Using runtime prefix = /usr, libdir = /usr/lib
> 2008-08-26 08:55:51.379 DPMS is active.
> 2008-08-26 08:55:51.379 Unable to read configuration file mysql.txt
> 2008-08-26 08:55:51.380 Empty LocalHostName.
> 2008-08-26 08:55:51.380 Using localhost value of tungrumythtv
> 2008-08-26 08:55:51.388 New DB connection, total: 1
> 2008-08-26 08:55:51.413 Connected to database 'mythconverg' at host: localhost
> 2008-08-26 08:55:51.414 Closing DB connection named 'DBManager0'
> 2008-08-26 08:55:51.414 Total desktop dim: 1024x768, with 1 screen[s].
> 2008-08-26 08:55:51.415 Connected to database 'mythconverg' at host: localhost
> 2008-08-26 08:55:51.418 Using screen 0, 1024x768 at 0,0
> 2008-08-26 08:55:51.456 New DB connection, total: 2
> 2008-08-26 08:55:51.457 Connected to database 'mythconverg' at host: localhost
> 2008-08-26 08:55:51.459 Current Schema Version: 1214
> 2008-08-26 08:55:51.460 DataDirectProcessor::FixProgramIDs() -- begin
> 2008-08-26 08:55:51.461 New DB DataDirect connection
> 2008-08-26 08:55:51.462 Connected to database 'mythconverg' at host: localhost
> 2008-08-26 08:55:51.465 DataDirectProcessor::FixProgramIDs() -- end
> 2008-08-26 08:55:51.510 Total desktop dim: 1024x768, with 1 screen[s].
> 2008-08-26 08:55:51.513 Using screen 0, 1024x768 at 0,0
> 2008-08-26 08:55:51.525 Switching to square mode (G.A.N.T)
> 2008-08-26 08:55:51.802 Using the Qt painter
> mythtv: could not connect to socket
> mythtv: Datei oder Verzeichnis nicht gefunden
> 2008-08-26 08:55:51.803 lirc_init failed for mythtv, see preceding messages
> 2008-08-26 08:55:51.803 JoystickMenuClient Error: Joystick disabled - Failed to read /root/.mythtv/joystickmenurc
> 2008-08-26 08:55:52.893 Loading from: /usr/share/mythtv/themes/G.A.N.T/base.xml
> 2008-08-26 08:55:52.972 Loading from: /usr/share/mythtv/themes/default/base.xml
> 2008-08-26 08:56:00.962 New DB connection, total: 3
> 2008-08-26 08:56:00.963 Connected to database 'mythconverg' at host: localhost
> 2008-08-26 08:56:44.144 DiSEqCDevTree, Warning: No device tree for cardid 1
> 2008-08-26 08:56:44.151 New DB connection, total: 4
> 2008-08-26 08:56:44.152 Connected to database 'mythconverg' at host: localhost
> 2008-08-26 08:56:44.154 New DB connection, total: 5
> 2008-08-26 08:56:44.157 Connected to database 'mythconverg' at host: localhost
> And here it didn't go on on. I could only close my Terminal.
When you exit mythtv-setup, it shouldn't "go on." After that, you
should start mythbackend, then mythfrontend, then go into mythfrontend
and configure its settings.
> I don't know how to fix this Problem.
> I detect that there was no mysql.txt anythere.
That's not a problem. Really, mysql.txt is deprecated, so not having
one means your system is more up-to-date than 99.999% of users systems
(who still have old garbage from old installs).
> Why not?
> Did I something wrong? Have I to set some user rights?
>
> Sorry for the English and "Thank you"
Looks like you're ready to continue on from here.
However, if it were me (because I'm a bit compulsive), since you've no
data to lose, I would redo the initial setup (pinning mythtv-setup to a
single core). To do so, just log into your mysql database as root and
issue the command, "DROP DATABASE mythconverg;" (no quotes). Then, exit
mysql, and re-run the mc.sql script (
http://mythtv.org/docs/mythtv-HOWTO-6.html#ss6.2 ). Then run
mythtv-setup and configure the system, then exit, then run mythbackend,
then mythfrontend and adjust settings as required.
Mike
More information about the mythtv-users
mailing list