[Bug 373513] Re: mysql fails to install
bettlebrox
mick.timony+ubuntu at gmail.com
Tue Jun 16 01:13:33 BST 2009
Problem solved!
I'd moved /var/lib to /home/var/lib (to save space) and made /var/lib a
symbolic link to that directory. This must have caused a problem with
apparmor, as per the line below:
Jun 15 19:19:02 micks-t400 kernel: [29451.814871] type=1503
audit(1245107942.002:30): operation="inode_create" requested_mask="a::"
denied_mask="a::" fsuid=0 name="/home/var/lib/mysql/micks-t400.lower-test"
pid=1895 profile="/usr/sbin/mysqld"
Copying /home/var/lib back to /var/lib (after removing the symbolic link)
fixed the problem, and mysql installed successfully.
On Mon, Jun 15, 2009 at 6:29 PM, Mathias Gug <mathiaz at ubuntu.com> wrote:
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better.
>
> Could you please provide the following information:
>
> * content of /var/log/daemon.log related to mysql processes:
>
> /var/log/daemon.log
>
> * apparmor audit messages related to mysqld:
>
> /var/log/kern.log
>
> * mysql configuration stripped of private information (such as
> password):
>
> /etc/mysql/my.cnf
>
> * extra mysql configuration from the conf.d directory:
>
> /etc/mysql/conf.d/
>
> ** Changed in: mysql-dfsg-5.0 (Ubuntu)
> Status: New => Incomplete
>
> --
> mysql fails to install
> https://bugs.launchpad.net/bugs/373513
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “mysql-dfsg-5.0” source package in Ubuntu: Incomplete
>
> Bug description:
> Mysql fails to install. This is on a system that was upgraded to jaunty,
> and previously had mysql installed. I renamed the previously existing
> /etc/mysql and /var/lib/mysql which had no affect. Purging the various mysql
> packages failed to resolve this issue also.
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 1
> Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.1
> SourcePackage: mysql-dfsg-5.0
> Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.1 failed to
> install/upgrade: subprocess post-installation script returned error exit
> status 1
> Uname: Linux 2.6.28-11-generic i686
>
--
mysql fails to install
https://bugs.launchpad.net/bugs/373513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list