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

Mathias Gug mathiaz at ubuntu.com
Tue Sep 8 21:36:17 BST 2009


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Relevant error message:

/etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See
README.Debian.gz

 * Starting MySQL database server mysqld       fail
invoke-rc.d: initscript mysql, action "start" failed.


Did you delete /etc/mysql/my.cnf? Is this a reinstallation?


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

 * mysqld apparmor profile:

    /etc/apparmor.d/usr.sbin.mysqld

 * list of mysqld apparmor profiles:

    ls -l /etc/apparmor.d/usr.sbin.mysqld*

 * 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/

 * directory listing of mysql datadir (by default /var/lib/mysql):

    ls -l /var/lib/mysql


** Changed in: mysql-dfsg-5.1 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: mysql-dfsg-5.1 (Ubuntu)
       Status: New => Incomplete

-- 
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/411794
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list