mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #03248
[Bug 657385] Re: mysql failed to configure while upgrading to 10.04
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
According to the log file:
Installing new version of config file /etc/logrotate.d/mysql-server ...
mkdir: cannot create directory `/var/lib/mysql/mysql': No such file or
directory
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit
status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
Does /var/lib/mysql/ exist?
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Importance: Undecided => Medium
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Status: New => Incomplete
--
mysql failed to configure while upgrading to 10.04
https://bugs.launchpad.net/bugs/657385
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
Status in Mythbuntu, Ubuntu derivative focused upon MythTV: New
Status in “mysql-dfsg-5.1” package in Ubuntu: Incomplete
Bug description:
I was upgrading from 9.10 to 10.04 LTS via console. Mysql server failed to be configured because at one point I was asked to use an account called debian-sys-maint, which I don't remember seeing ever. I tried it by entering the password found in /etc/mysql/debian.cnf with no luck. I also tried using root - no luck. Further into the upgrade, I was offered to submit a report, and follow an url to here.
tjk :)
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12.6
ProcVersionSignature: Ubuntu 2.6.31-22.65-server
Uname: Linux 2.6.31-22-server x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Oct 9 10:04:32 2010
ErrorMessage:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Logs.var.log.kern.log:
Oct 9 09:08:20 karma kernel: [59213.435050] type=1503 audit(1286633300.173:25): operation="open" pid=22252 parent=22251 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
Oct 9 09:08:24 karma kernel: [59217.499056] type=1503 audit(1286633304.233:26): operation="open" pid=22269 parent=22268 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
Oct 9 09:08:24 karma kernel: [59218.055767] type=1503 audit(1286633304.793:27): operation="open" pid=22320 parent=22319 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
Oct 9 09:08:24 karma kernel: [59218.072306] type=1503 audit(1286633304.813:28): operation="open" pid=22329 parent=22328 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
[mysqld_safe]
syslog
MySQLConf.etc.mysql.conf.d.mythtv.cnf:
[mysqld]
bind-address=0.0.0.0
MySQLVarLibDirListing: False
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu12.6 failed to install/upgrade:
mtime.conffile..etc.apparmor.d.usr.sbin.mysqld: 2010-02-20T17:04:26.988584