[Bug 382649] Re: package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Brian Heup brianheup at sbcglobal.net
Tue Jun 9 16:51:44 UTC 2009


Yes, I did that as soon as I had installed the OS, as I had figured out
(and posted on Ubuntu forums) that this was an issue.  I doublechecked
it after the mySQL upgrade, and it was still correct.  Maybe it just
needed the reboot to flush out.  I don't know, but as I said, it seems
to be working fine from the command-line and phpMyAdmin at this time.

-----Original Message-----
From: Mathias Gug <mathiaz at ubuntu.com>
Reply-to: Bug 382649 <382649 at bugs.launchpad.net>
To: brianheup at sbcglobal.net
Subject: Re: [Bug 382649] Re: package mysql-server-5.1 5.1.31-1ubuntu2
failed to install/upgrade: subprocess post-installation script	returned
error exit status 1
Date: Tue, 09 Jun 2009 14:14:08 -0000


On Tue, Jun 09, 2009 at 02:53:04AM -0000, Brian Heup wrote:
> Jun  8 15:18:31 server1 mysqld_safe[9743]: 090608 15:18:31 [Warning]
> Can't create test file /data/mysql/server1.lower-test
> Jun  8 15:18:31 server1 mysqld_safe[9743]: 090608 15:18:31 [Warning]
> Can't create test file /data/mysql/server1.lower-test
> Jun  8 15:18:31 server1 mysqld_safe[9743]: 090608 15:18:31  InnoDB:
> Operating system error number 13 in a file operation.
> Jun  8 15:18:31 server1 mysqld_safe[9743]: InnoDB: The error means
> mysqld does not have the access rights to
> Jun  8 15:18:31 server1 mysqld_safe[9743]: InnoDB: the directory.
> Jun  8 15:18:31 server1 mysqld_safe[9743]: InnoDB: File name ./ibdata1
> Jun  8 15:18:31 server1 mysqld_safe[9743]: InnoDB: File operation call:
> 'open'.
> Jun  8 15:18:31 server1 mysqld_safe[9743]: InnoDB: Cannot continue
> operation.

It seems that you're using a non-standard directory (/data/mysql) to
store your MySQL data. This may lead to some issue with the default
mysqld apparmor profile as only /var/lib/mysql/ is supported by default.
Did you update mysqld apparmor profile before the package update?

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/382649
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list