Home > installation > Cannot install mysql-server (5.5.22) on clean ubuntu 12.04 LTS server

Cannot install mysql-server (5.5.22) on clean ubuntu 12.04 LTS server

May 2Hits:1
Advertisement

I have a clean minimal install of Ubuntu 12.04 LTS server 64-bit (just a root user and nothing alse installed). I tried to install the mysql-server with the following command:

apt-get install mysql-server 

The installation aborts with the following error:

The following NEW packages will be installed:   libdbd-mysql-perl{a} libmysqlclient18{a} mysql-client mysql-client-5.5{a}   mysql-client-core-5.5{a} mysql-common{a} mysql-server mysql-server-5.5{a}   mysql-server-core-5.5{a} 0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 11.7 kB/26.2 MB of archives. After unpacking 94.5 MB will be used. Do you want to continue? [Y/n/?] y Get: 1 http://mirror.eu.oneandone.net/ubuntu/ubuntu/ precise/main mysql-client all 5.5.22-0ubuntu1 [11.7 kB] Fetched 11.7 kB in 0s (567 kB/s) Preconfiguring packages ... Selecting previously unselected package mysql-common. (Reading database ... 54008 files and directories currently installed.) Unpacking mysql-common (from .../mysql-common_5.5.22-0ubuntu1_all.deb) ... Selecting previously unselected package libmysqlclient18. Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.22-0ubuntu1_amd64.deb) ... Selecting previously unselected package libdbd-mysql-perl. Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ... Selecting previously unselected package mysql-client-core-5.5. Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.22-0ubuntu1_amd64.deb) ... Selecting previously unselected package mysql-client-5.5. Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.22-0ubuntu1_amd64.deb) ... Selecting previously unselected package mysql-server-core-5.5. Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.22-0ubuntu1_amd64.deb) ... Processing triggers for man-db ... Setting up mysql-common (5.5.22-0ubuntu1) ... Selecting previously unselected package mysql-server-5.5. (Reading database ... 54189 files and directories currently installed.) Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.22-0ubuntu1_amd64.deb) ... Selecting previously unselected package mysql-client. Unpacking mysql-client (from .../mysql-client_5.5.22-0ubuntu1_all.deb) ... Selecting previously unselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.5.22-0ubuntu1_all.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up libmysqlclient18 (5.5.22-0ubuntu1) ... Setting up libdbd-mysql-perl (4.020-1build2) ... Setting up mysql-client-core-5.5 (5.5.22-0ubuntu1) ... Setting up mysql-client-5.5 (5.5.22-0ubuntu1) ... Setting up mysql-server-core-5.5 (5.5.22-0ubuntu1) ... Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ... 120502 10:17:41 [Note] Plugin 'FEDERATED' is disabled. 120502 10:17:41 InnoDB: The InnoDB memory heap is disabled 120502 10:17:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins 120502 10:17:41 InnoDB: Compressed tables use zlib 1.2.3.4 120502 10:17:41 InnoDB: Initializing buffer pool, size = 128.0M 120502 10:17:41 InnoDB: Completed initialization of buffer pool 120502 10:17:41 InnoDB: highest supported file format is Barracuda. 120502 10:17:41  InnoDB: Waiting for the background threads to start 120502 10:17:42 InnoDB: 1.1.8 started; log sequence number 1595675 120502 10:17:42  InnoDB: Starting shutdown... 120502 10:17:42  InnoDB: Shutdown completed; log sequence number 1595675 start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure):  subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already                                                               Setting up mysql-client (5.5.22-0ubuntu1) ... dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.5; however:   Package mysql-server-5.5 is not configured yet. dpkg: error processing mysql-server (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing:  mysql-server-5.5  mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install.  Trying to recover: Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ... start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.5; however:   Package mysql-server-5.5 is not configured yet. dpkg: error processing mysql-server (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  mysql-server-5.5  mysql-server 

I am completely lost because I have tried everything on the web to solve my problem (clearning the install, reconfiguring with dpkg, manually editing the my.cnf). I also set up a new clean install but nothing helped. What am I doing wrong?

New information: The file /var/log/upstart/mysql.log contains the following error after the installation:

AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/tunables/global at line 17: Could not open 'tunables/proc' 

Answers

5.5.22-0ubuntu1 is still broken:

https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/973951

Fortunately I didnt have any problem in my installation. First, I got installed "Synaptic package manager" and tried the latest version of mysql ( 5.5.22-0ubuntu1 ) both client and server on laptop. It went smoothly and am now using it for my projects.

Please give a try after installing the synaptic and given version.

Related Articles

  • Cannot install mysql-server (5.5.22) on clean ubuntu 12.04 LTS serverMay 2

    I have a clean minimal install of Ubuntu 12.04 LTS server 64-bit (just a root user and nothing alse installed). I tried to install the mysql-server with the following command: apt-get install mysql-server The installation aborts with the following er

  • hosts/hostname and MySQL prob in "Perfect Setup - Ubuntu 6.06 LTS Server" setupFebruary 19

    I'm trying to follow the step-by-step in "The Perfect Setup - Ubuntu 6.06 LTS Server", but when I get to the "hostname" step, something's not right. I've followed the steps on Page 3 as far as editing /etc/hosts with the static IP addr

  • Installing KVM Guests With virt-install On Ubuntu 12.04 LTS Server

    Installing KVM Guests With virt-install On Ubuntu 12.04 LTS ServerJanuary 3

    Installing KVM Guests With virt-install On Ubuntu 12.04 LTS Server Version 1.0 Author: Falko Timme Follow me on Twitter Unlike virt-manager, virt-install is a command line tool that allows you to create KVM guests on a headless server. You may ask yo

  • How to install Xen (XCP-XAPI) on Ubuntu 12.04 LTS Server?February 20

    How to install Xen (XCP-XAPI) on Ubuntu 12.04 LTS Server in a cross platform approach (Windows and Linux users)? I need a complete and comprehensive guide on the subject covering all steps necessary to have an environment (hypervisor) complete, funct

  • How To Install OpenERP 6 On Ubuntu 10.04 LTS Server

    How To Install OpenERP 6 On Ubuntu 10.04 LTS ServerAugust 4

    How To Install OpenERP 6 On Ubuntu 10.04 LTS Server (This tutorial was originally written by Alan Lord. You can find the original tutorial here: http://www.theopensourcerer.com/2011/04/19/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-1/ ht

  • The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server)

    The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server)March 27

    The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) Version 1.0 Author: Falko Timme This tutorial shows how to set up an Ubuntu Hardy Heron (Ubuntu 8.04 LTS) based server that offers all services needed by ISPs and hosters: Apache web se

  • The Perfect Setup - Ubuntu 6.06 LTS Server and SPAM Virus Filtering

    The Perfect Setup - Ubuntu 6.06 LTS Server and SPAM Virus FilteringJune 12

    Good day all, I just finished setting up a mail server with this HOWTO The Perfect Setup - Ubuntu 6.06 LTS Server again and I realy like it. I am looking for someone that can point me to a good howto to add spam filtering and antivirus scanning. I kn

  • The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake)

    The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake)February 9

    The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) Version 1.1 Author: Falko Timme This is a detailed description about how to set up a Ubuntu 6.06 LTS (Dapper Drake) based server that offers all services needed by ISPs and hosters (web server

  • vtiger CRM 5.02 on Ubuntu 6.06 LTS Server (Dapper Drake)

    vtiger CRM 5.02 on Ubuntu 6.06 LTS Server (Dapper Drake)March 19

    vtiger CRM 5.02 on Ubuntu 6.06 LTS Server (Dapper Drake) Version 1.1 Author: Xam This is a detailed description about how to set up a vtiger CRM 5.02 on an Ubuntu 6.06 LTS (Dapper Drake) based server. vtiger is an Open Source Customer Relationship Ma

  • Help with The Perfect Setup - Ubuntu 6.06 LTS Server

    Help with The Perfect Setup - Ubuntu 6.06 LTS ServerOctober 11

    I have 3 questions about the "The Perfect Setup - Ubuntu 6.06 LTS Server" howto: 1) in /etc/hosts I am not sure what I should fill in this information with....I mean I am sure the first row stays the same and the second row's ipaddress should be

  • Upgrade MySQL 5.5 to 5.6 on Ubuntu 12.04 LTSDecember 21

    I'm trying to upgrade MySQL 5.5 to version 5.6 on my Ubuntu 12.04 LTS server. I've tried the following: apt-get -y remove mysql-server apt-get -y autoremove apt-get -y install software-properties-common add-apt-repository -y ppa:ondrej/mysql-5.6 apt-

  • OpenVZ On Ubuntu 8.04 LTS ServerApril 30

    Hi Falco, I have Installing And Using OpenVZ On Ubuntu 8.04 LTS Server . My Problem is zhe vz guest have no Internet. What must I do, to change this in my network config --------------Solutions------------- Have you tried to set Code: NEIGHBOUR_DEVS=

  • VBoxHeadless - Running Virtual Machines With VirtualBox 4.3 On A Headless Ubuntu 14.04 LTS Server

    VBoxHeadless - Running Virtual Machines With VirtualBox 4.3 On A Headless Ubuntu 14.04 LTS ServerAugust 16

    VBoxHeadless - Running Virtual Machines With VirtualBox 4.3 On A Headless Ubuntu 14.04 LTS Server Version 1.0 Author: Falko Timme, updated by Srijan Kishore This guide explains how you can run virtual machines with VirtualBox 4.3 on a headless Ubuntu

  • On Ubuntu 8.04 LTS Server Setup

    On Ubuntu 8.04 LTS Server SetupApril 22

    Hi gentlemen and ladies, My appreciation to Falko and Till for your help to the Linux world. This is my very 1st post on Linux after I have joined, just a while ago. I have been following on howtoforge for the last 8 months on server and desktop setu

  • Auto Mount USB Drives in Ubuntu 12.04 LTS serverDecember 4

    I have a media server that is made from an AllWell STB-6086 box. I have Ubuntu 12.04 LTS server "non PAE Kernel" installed on the box. As of right now my storage media is composed of 4 1TB external USB drives. I have a USB 2.0 PCI card installed

  • Ubuntu 6.06 LTS Server issues

    Ubuntu 6.06 LTS Server issuesMay 7

    Hello, I installed and configured Ubuntu 6.06 LTS Server + ISPConfig as described in this tutorial and everything is running perfect. I host 4 domains on a single static IP, two of them have 3 mail users, but I have some questions: 1. I need webmail

  • Wifi not working Ubuntu 14.04 LTS ServerMay 10

    I just installed Ubuntu 14.04 LTS Server on my machine. Its network connection will be through wifi. However, my Wifi connection is not working. My /etc/network/interfaces file is: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wl

  • Ubuntu 14.04 LTS server wired connection problemAugust 4

    I have install ubuntu 14.04 LTS server on Dell Poweredge SC1435 which have 3 NIC. I am using dhcp for eth2. I do follow steps to configure the interface, but it failed to get the ip address. Then, I do try the connection using windows and it is succe

  • Setting Up An OpenVPN Server With Authentication Against OpenLDAP On Ubuntu 10.04 LTS

    Setting Up An OpenVPN Server With Authentication Against OpenLDAP On Ubuntu 10.04 LTSOctober 20

    Setting Up An OpenVPN Server With Authentication Against OpenLDAP On Ubuntu 10.04 LTS OpenVPN, or Open Virtual Private Network, is a tool for creating networking "tunnels" between and among groups of computers that are not on the same local netw

  • ubuntu 14.04 LTS server / dovecot / postfix / size attachmentFebruary 13

    I installed/configured at my Ubuntu 14.04 LTS server the mailserver with Postfix and Dovecot. I tried via Roundcube-webmail to send an email with an attachment (size 12mb). But when I click at the send button, I get the message: SMTP-error: Message s

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 1.113 s.