Failed to start MySQL database server mysqld on install

Bug #365872 reported by Nigel Banks
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: mysql-server-5.0

Occured while using Synaptic Package Manager on Ubuntu 9.04 i386 (also on amd64) machine to install mysql server and client.

apt-cache policy mysql-server-5.0
mysql-server-5.0:
  Installed: 5.1.30really5.0.75-0ubuntu10
  Candidate: 5.1.30really5.0.75-0ubuntu10
  Version table:
 *** 5.1.30really5.0.75-0ubuntu10 0
        500 http://ca.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

errors below

---------------------------------------------------------

Setting up mysql-server-5.0

*Stopping mysql database server mysqld
...done
*Reloading AppArmor profiles
...done
*Starting MySQL database server mysqld
...fail!

invoke-rc.d initscript mysql, action "start" failed.
dpkg: error processing my sql-server-5.0 (--configure)
subprocess post-installation script killed by signal (interrupt)

E: mysql-server-5.0: subprocess post-installation script killed by signal (Interrupt)
E: mysql-server: dependency problems - leaving unconfigured

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script killed by signal (Interrupt)
MediaBuild: Ubuntu 9.04 "Jaunty Jackalope" - Release i386 (20090420.1)
Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: subprocess post-installation script killed by signal (Interrupt)
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Nigel Banks (nigelbanks35-deactivatedaccount) wrote :
Revision history for this message
Andreas Olsson (andol) wrote :

Are there any entries in /var/log/daemon.log regarding mysql?

Changed in mysql-dfsg-5.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Nigel Banks (nigelbanks35-deactivatedaccount) wrote : Re: [Bug 365872] Re: Failed to start MySQL database server mysqld on install
Download full text (12.7 KiB)

Yes,
$ grep mysql /var/log/daemon.log

Apr 24 01:51:59 HAL mysqld_safe[20541]: PLEASE REMEMBER TO SET A PASSWORD
FOR THE MySQL root USER !
Apr 24 01:51:59 HAL mysqld_safe[20541]: To do so, start the server, then
issue the following commands:
Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysqladmin -u root password
'new-password'
Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysqladmin -u root -h HAL
password 'new-password'
Apr 24 01:51:59 HAL mysqld_safe[20541]:
Apr 24 01:51:59 HAL mysqld_safe[20541]: Alternatively you can run:
Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysql_secure_installation
Apr 24 01:51:59 HAL mysqld_safe[20541]:
Apr 24 01:51:59 HAL mysqld_safe[20541]: which will also give you the option
of removing the test
Apr 24 01:51:59 HAL mysqld_safe[20541]: databases and anonymous user created
by default. This is
Apr 24 01:51:59 HAL mysqld_safe[20541]: strongly recommended for production
servers.
Apr 24 01:51:59 HAL mysqld_safe[20541]:
Apr 24 01:51:59 HAL mysqld_safe[20541]: See the manual for more
instructions.
Apr 24 01:51:59 HAL mysqld_safe[20541]:
Apr 24 01:51:59 HAL mysqld_safe[20541]: Please report any problems with the
/usr/bin/mysqlbug script!
Apr 24 01:51:59 HAL mysqld_safe[20541]:
Apr 24 01:51:59 HAL mysqld_safe[20541]: The latest information about MySQL
is available on the web at
Apr 24 01:51:59 HAL mysqld_safe[20541]: http://www.mysql.com
Apr 24 01:51:59 HAL mysqld_safe[20541]: Support MySQL by buying
support/licenses at http://shop.mysql.com
Apr 24 01:52:11 HAL mysqld_safe[20660]: ERROR: 1046 No database selected
Apr 24 01:52:11 HAL mysqld_safe[20660]: 090424 1:52:11 [ERROR] Aborting
Apr 24 01:52:11 HAL mysqld_safe[20660]:
Apr 24 01:52:11 HAL mysqld_safe[20660]: 090424 1:52:11 [Note]
/usr/sbin/mysqld: Shutdown complete
Apr 24 01:52:11 HAL mysqld_safe[20660]:
Apr 24 01:52:19 HAL mysqld_safe[20838]: started
Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: The first specified data file
./ibdata1 did not exist:
Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: a new database to be created!
Apr 24 01:52:19 HAL mysqld[20841]: 090424 1:52:19 InnoDB: Setting file
./ibdata1 size to 10 MB
Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: Database physically writes the
file full: wait...
Apr 24 01:52:24 HAL mysqld[20841]: 090424 1:52:24 InnoDB: Log file
./ib_logfile0 did not exist: new to be created
Apr 24 01:52:24 HAL mysqld[20841]: InnoDB: Setting log file ./ib_logfile0
size to 5 MB
Apr 24 01:52:24 HAL mysqld[20841]: InnoDB: Database physically writes the
file full: wait...
Apr 24 01:52:29 HAL mysqld[20841]: 090424 1:52:29 InnoDB: Log file
./ib_logfile1 did not exist: new to be created
Apr 24 01:52:29 HAL mysqld[20841]: InnoDB: Setting log file ./ib_logfile1
size to 5 MB
Apr 24 01:52:29 HAL mysqld[20841]: InnoDB: Database physically writes the
file full: wait...
Apr 24 01:52:33 HAL /etc/init.d/mysql[21014]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: ^G/usr/bin/mysqladmin: connect
to server at 'localhost' failed
Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: error: 'Can't connect to local
MySQL server through socket '/var/run/...

Revision history for this message
Andreas Olsson (andol) wrote :

I'm wondering if this might be a duplicate of bug #251160. While the versions differs, the symptoms does look a lot alike...

ignasi (ignasigimeno)
tags: added: amd64
description: updated
Revision history for this message
Vish (vish) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-dfsg-5.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-dfsg-5.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.