[Bug 728371] Re: MythTV setup failed with "Cannot login"

1 view
Skip to first unread message

Jean-Baptiste Lallement

unread,
Mar 3, 2011, 6:25:11 AM3/3/11
to ubunt...@lists.ubuntu.com
** Attachment added: "syslog"
https://bugs.launchpad.net/bugs/728371/+attachment/1882600/+files/syslog

--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/728371

Title:
MythTV setup failed with "Cannot login"

--
ubuntu-bugs mailing list
ubunt...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Jean-Baptiste Lallement

unread,
Mar 3, 2011, 6:25:11 AM3/3/11
to ubunt...@lists.ubuntu.com
Public bug reported:

Binary package hint: mythtv

ISO Testing: Mythbuntu i386/AMD64 - 20110302

After the installation of a MythTV systemof type Primary Backend w/
Frontend, and a system restart Mythtv setup starts but when clicking
"Finish" on database setup step 2/2, the setup fails with "Cannot login"

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: mythtv-backend 2:0.24.0+fixes.20110214.ad3c81f-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
Date: Thu Mar 3 12:15:35 2011
InstallationMedia: Mythbuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
Installed_mythtv_dbg: 0.0
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mythtv
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mythtv (Ubuntu)
Importance: Undecided
Status: New


** Tags: amd64 apport-bug iso-testing natty

Ubuntu QA Website

unread,
Mar 3, 2011, 6:30:04 AM3/3/11
to ubunt...@lists.ubuntu.com
** Tags added: iso-testing

Jean-Baptiste Lallement

unread,
Mar 3, 2011, 6:26:48 AM3/3/11
to ubunt...@lists.ubuntu.com

Mario Limonciello

unread,
Mar 3, 2011, 10:28:10 AM3/3/11
to ubunt...@lists.ubuntu.com
Thanks for the bug report. It looks like for some reason MySQL failed
to start during install, causing it to not be properly configured.

Mar 3 11:04:30 ubuntu ubiquity: Rather than invoking init scripts through /etc/init.d, use the service(8)
Mar 3 11:04:30 ubuntu ubiquity: utility, e.g. service mysql stop
Mar 3 11:04:30 ubuntu ubiquity:
Mar 3 11:04:30 ubuntu ubiquity: Since the script you are attempting to invoke has been converted to an
Mar 3 11:04:30 ubuntu ubiquity: Upstart job, you may also use the stop(8) utility, e.g. stop mysql
Mar 3 11:04:58 ubuntu ubiquity: Rather than invoking init scripts through /etc/init.d, use the service(8)
Mar 3 11:04:58 ubuntu ubiquity: utility, e.g. service mysql start
Mar 3 11:04:58 ubuntu ubiquity:
Mar 3 11:04:58 ubuntu ubiquity: Since the script you are attempting to invoke has been converted to an
Mar 3 11:04:58 ubuntu ubiquity: Upstart job, you may also use the start(8) utility, e.g. start mysql
Mar 3 11:04:59 ubuntu ubiquity: mysql start/running, process 9378
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9398]: Upgrading MySQL tables if necessary.
Mar 3 11:04:59 ubuntu kernel: [ 347.323752] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.324870] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.325538] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.326484] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.327078] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.331348] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.332049] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.336594] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.337399] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu kernel: [ 347.337823] non-accessible hardlink creation was attempted by: mysqld (fsuid 102)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: Looking for 'mysql' as: /usr/bin/mysql
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--host=localhost' '--socket=/var/run/mysqld/mysqld.sock' '--host=localhost' '--socket=/var/run/mysqld/mysqld.sock'
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--host=localhost' '--socket=/var/run/mysqld/mysqld.sock' '--host=localhost' '--socket=/var/run/mysqld/mysqld.sock'
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.columns_priv OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.db OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.event OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.func OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.general_log
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: Error : You can't use locks with log tables.
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: status : OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.help_category OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.help_keyword OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.help_relation OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.help_topic OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.host OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.ndb_binlog_index OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.plugin OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.proc OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.procs_priv OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.servers OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.slow_log
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: Error : You can't use locks with log tables.
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: status : OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.tables_priv OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.time_zone OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.time_zone_leap_second OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.time_zone_name OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.time_zone_transition OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.time_zone_transition_type OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: mysql.user OK
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: Running 'mysql_fix_privilege_tables'...
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 126: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 134: Error on rename of './mysql/tables_priv.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 143: Error on rename of './mysql/tables_priv.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 162: Error on rename of './mysql/columns_priv.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 172: Error on rename of './mysql/columns_priv.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 224: Error on rename of './mysql/user.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 227: Error on rename of './mysql/db.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 228: Error on rename of './mysql/host.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 229: Error on rename of './mysql/user.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 230: Error on rename of './mysql/func.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 234: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 238: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 263: Error on rename of './mysql/db.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 268: Error on rename of './mysql/db.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 282: Error on rename of './mysql/host.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 286: Error on rename of './mysql/host.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 300: Error on rename of './mysql/func.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 302: Error on rename of './mysql/func.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 311: Error on rename of './mysql/general_log.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 322: Error on rename of './mysql/slow_log.CSV' to './mysql/#sql2-24a2-5.CSV' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 346: Error on rename of './mysql/db.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 349: Error on rename of './mysql/host.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 352: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 358: Error on rename of './mysql/db.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 361: Error on rename of './mysql/host.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 364: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 381: Error on rename of './mysql/db.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 384: Error on rename of './mysql/host.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 387: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 393: Error on rename of './mysql/db.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 396: Error on rename of './mysql/host.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 399: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 402: Error on rename of './mysql/db.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 405: Error on rename of './mysql/host.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 427: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 436: Error on rename of './mysql/procs_priv.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 440: Error on rename of './mysql/procs_priv.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 444: Error on rename of './mysql/procs_priv.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 452: Error on rename of './mysql/procs_priv.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 460: Error on rename of './mysql/proc.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 507: Error on rename of './mysql/proc.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 509: Error on rename of './mysql/proc.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 519: Error on rename of './mysql/proc.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 534: Error on rename of './mysql/proc.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 549: Error on rename of './mysql/proc.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 566: Error on rename of './mysql/proc.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 576: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 581: Error on rename of './mysql/db.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 586: Error on rename of './mysql/event.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 1068 (42000) at line 587: Multiple primary key defined
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 591: Error on rename of './mysql/event.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 625: Error on rename of './mysql/event.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 627: Error on rename of './mysql/event.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 630: Error on rename of './mysql/event.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 638: Error on rename of './mysql/event.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 644: Error on rename of './mysql/event.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 650: Error on rename of './mysql/event.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 655: Error on rename of './mysql/event.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 666: Error on rename of './mysql/user.MYI' to './mysql/#sql2-24a2-5.MYI' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 669: Error on rename of './mysql/host.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: ERROR 7 (HY000) at line 672: Error on rename of './mysql/db.frm' to './mysql/#sql2-24a2-5.frm' (Errcode: 1)
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9401]: FATAL ERROR: Upgrade failed
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9414]: Checking for insecure root accounts.
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9418]: WARNING: mysql.user contains 3 root accounts without password!
Mar 3 11:04:59 ubuntu /etc/mysql/debian-start[9419]: Triggering myisam-recover for all MyISAM tables
Mar 3 11:05:00 ubuntu ubiquity: Cannot find /proc/version - is /proc mounted?
Mar 3 11:05:00 ubuntu ubiquity: ERROR
Mar 3 11:05:00 ubuntu ubiquity: 2002 (HY000)
Mar 3 11:05:00 ubuntu ubiquity: : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Mar 3 11:05:01 ubuntu ubiquity: ERROR
Mar 3 11:05:01 ubuntu ubiquity: 2005 (HY000)
Mar 3 11:05:01 ubuntu ubiquity: : Unknown MySQL server host '"localhost"' (1)
Mar 3 11:05:01 ubuntu ubiquity: ERROR
Mar 3 11:05:01 ubuntu ubiquity: 2005 (HY000)
Mar 3 11:05:01 ubuntu ubiquity: : Unknown MySQL server host '"localhost"' (1)
Mar 3 11:05:01 ubuntu ubiquity: ERROR
Mar 3 11:05:01 ubuntu ubiquity: 2005 (HY000)
Mar 3 11:05:01 ubuntu ubiquity: : Unknown MySQL server host '"localhost"' (1)
Mar 3 11:05:01 ubuntu ubiquity: ERROR
Mar 3 11:05:01 ubuntu ubiquity: 2005 (HY000)
Mar 3 11:05:01 ubuntu ubiquity: : Unknown MySQL server host '"localhost"' (1)
Mar 3 11:05:01 ubuntu ubiquity: Failed to create or modify database (incorrect admin username/password?)
Mar 3 11:05:01 ubuntu ubiquity: Try:
Mar 3 11:05:01 ubuntu ubiquity: sudo dpkg-reconfigure mythtv-database
Mar 3 11:05:01 ubuntu ubiquity: #007
Mar 3 11:05:01 ubuntu ubiquity: mysqladmin
Mar 3 11:05:01 ubuntu ubiquity: :
Mar 3 11:05:01 ubuntu ubiquity: connect to server at 'localhost' failed
Mar 3 11:05:01 ubuntu ubiquity: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Mar 3 11:05:01 ubuntu ubiquity:
Mar 3 11:05:01 ubuntu ubiquity: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Mar 3 11:05:01 ubuntu plugininstall.py: log-output -t ubiquity chroot /target mysqladmin --defaults-file=/etc/mysql/debian.cnf shutdown

Mario Limonciello

unread,
Mar 3, 2011, 10:29:02 AM3/3/11
to ubunt...@lists.ubuntu.com
This is suspected to be caused by apparmour, which might make it a
duplicate of
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/727478

** Changed in: mythtv (Ubuntu)
Status: New => Confirmed

** Changed in: mythtv (Ubuntu)
Importance: Undecided => Critical

** Package changed: mythtv (Ubuntu) => mythbuntu-live-autostart (Ubuntu)

** Changed in: mythbuntu-live-autostart (Ubuntu)
Milestone: None => ubuntu-11.04-beta-1

Mario Limonciello

unread,
Mar 3, 2011, 9:54:08 PM3/3/11
to ubunt...@lists.ubuntu.com
The non accessible hardlink errors go away if you run

sysctl -w kernel.yama.protected_nonaccess_hardlinks=0

Before the myth-install-type page. Doesn't fix the second set of
problems though.

Mario Limonciello

unread,
Mar 4, 2011, 1:46:22 AM3/4/11
to ubunt...@lists.ubuntu.com
So there's two distinct problems happening here. The first is fixed by
the solution in comment #5. This may not be the proper solution, but
it's functional for now.

The second is caused by upstart growing support to manage chroot jobs.
The chroot job gets invoked in this case with mysqld.sock outside the
chroot. This means that dpkg-reconfigure mythtv-database doesn't have
access to it.

Launchpad Bug Tracker

unread,
Mar 4, 2011, 1:45:47 AM3/4/11
to ubunt...@lists.ubuntu.com
** Branch linked: lp:~mythbuntu-dev/mythbuntu/mythbuntu-live-autostart

Launchpad Bug Tracker

unread,
Mar 4, 2011, 1:50:12 AM3/4/11
to ubunt...@lists.ubuntu.com
This bug was fixed in the package mythbuntu-live-autostart -
0.54-0ubuntu1

---------------
mythbuntu-live-autostart (0.54-0ubuntu1) natty; urgency=low

* Fix spawning mysql in the install time chroot (LP: #728371)
- The first fix turns off a kernel security feature for hardlinks
temporarily, preventing a barage of errors as mysql is bootstrapped
- The second stops the upstart job being managed from the chroot.
- It's respawned manually in the chroot so processes in the chroot can
still access it.
-- Mario Limonciello <Mario_Li...@Dell.com> Fri, 04 Mar 2011 00:47:39 -0600

** Changed in: mythbuntu-live-autostart (Ubuntu)

Status: Confirmed => Fix Released

Reply all
Reply to author
Forward
0 new messages