Results 1 to 7 of 7

Thread: MySQL stopped after upgrading to karmic koala

  1. #1
    Join Date
    May 2007
    Beans
    29
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Exclamation MySQL stopped after upgrading to karmic koala

    Hi all, I upgraded to karmic koala yesterday using do-release-upgrade.

    During the upgrade, I chose to keep the existing my.cnf configuration... and now mysql does not start anymore. Manually invoking
    /etc/init.d/mysql start
    results in a [[fail]].

    However, /var/log/messages is full of these:
    Code:
    Nov 10 22:07:50 eee-box kernel: [ 6223.686375] type=1503 audit(1257887270.326:66): operation="open" pid=3345 parent=3344 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
    I think this might have something to do with apparmor or similar, however, I have absolutely no idea how to fix it... can anybody help?

    thx, tkhobbes
    My systems and some screenshots: http://www.hobbes.ch/techie.php

  2. #2
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,741

    Re: MySQL stopped after upgrading to karmic koala

    Try restarting mysql and see what messages are posted.

  3. #3
    Join Date
    May 2007
    Beans
    29
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: MySQL stopped after upgrading to karmic koala

    Well - the only thing happens is as follows:
    Code:
    thomas@eee-box:~$ sudo /etc/init.d/mysql start
    [sudo] password for thomas:
     * Starting MySQL database server mysqld                                                                         [fail]
    And then in /var/log/messages, I have like 20 messages such as the ones above in my first post....

    That's all I can find on messages, unfortunately...
    My systems and some screenshots: http://www.hobbes.ch/techie.php

  4. #4
    Join Date
    May 2007
    Beans
    29
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: MySQL stopped after upgrading to karmic koala

    *bump* - anyone?
    My systems and some screenshots: http://www.hobbes.ch/techie.php

  5. #5
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: MySQL stopped after upgrading to karmic koala

    What seems to be the problem? It's started.

  6. #6
    Join Date
    Jul 2005
    Location
    Finland
    Beans
    72
    Distro
    Ubuntu Development Release

    Re: MySQL stopped after upgrading to karmic koala

    Hi,

    That's AppArmor configuration issue. Configure AppArmor to allow the needed paths or disable it for mysql.

    - Tero

    edit:

    To disable apparmor for mysql run $sudo touch /etc/apparmor.d/disable/usr.sbin.mysqld and reload apparmor profiles.
    Last edited by t3r0; November 15th, 2009 at 03:55 PM.

  7. #7
    Join Date
    May 2007
    Beans
    29
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: MySQL stopped after upgrading to karmic koala

    Well - problem seems to be known, here's what I did to solve it finally: http://www.hobbes.ch/2009/11/mysql-s...-after-update/
    My systems and some screenshots: http://www.hobbes.ch/techie.php

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •