[Bug 394360] Re: chown: cannot access `/var/run/mysqld': No such file or directory ERROR: 1146 Table 'mysql.user' doesn't exist 090701 18:45:55 [ERROR] Aborting 090701 18:45:55 [Note] /usr/sbin/mysqld: Shutdown complete * Reloading AppArmor profiles ... [ OK ] * Starting MySQL database server mysqld [fail] invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script returned error exit status 1 Setting up libhtml-template-perl (2.9-1) ... dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.0; however: Package mysql-server-5.0 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Processing triggers for libc6 ... ldconfig deferred processing now taking place Errors were encountered while processing: mysql-server-5.0 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)

Mathias Gug mathiaz at ubuntu.com
Tue Sep 8 05:49:23 BST 2009


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.0 (Ubuntu)
   Importance: Undecided => Medium

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

-- 
chown: cannot access `/var/run/mysqld': No such file or directory ERROR: 1146  Table 'mysql.user' doesn't exist 090701 18:45:55 [ERROR] Aborting  090701 18:45:55 [Note] /usr/sbin/mysqld: Shutdown complete   * Reloading AppArmor profiles ...                                                                                                                    [ OK ]   * Starting MySQL database server mysqld                                                                                                              [fail]  invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.0 (--configure):  subprocess post-installation script returned error exit status 1 Setting up libhtml-template-perl (2.9-1) ... dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.0; however:   Package mysql-server-5.0 is not configured yet. dpkg: error processing mysql-server (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Processing triggers for libc6 ... ldconfig deferred processing now taking place Errors were encountered while processing:  mysql-server-5.0  mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)
https://bugs.launchpad.net/bugs/394360
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