package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1024595 reported by johnabdl
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.5 (Ubuntu)
Expired
High
Unassigned

Bug Description

Don't know what else to write.
mysql was hanging on the 12.04 upgrade.

I restarted the upgrade and didn't run into the hang, but don't think mysql was installed.

Still got an error that prompted this bug report.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: mysql-server-5.5 5.5.24-0ubuntu0.12.04.1
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jul 12 07:39:24 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['mysql', 'debian-5.1.flag', 'ibdata1', 'ib_logfile0', 'ib_logfile1', 'mysql_upgrade_info', 'debian-5.5.flag', 'test', 'performance_schema']
SourcePackage: mysql-5.5
Title: package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
johnabdl (johnabdl) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi John, thanks for taking the time to file this bug report. Its hard to know why mysqld failed to start. Can you attach /var/log/mysql* to the bug report so we can look at them and try to determine what went wrong? Thanks!

Changed in mysql-5.5 (Ubuntu):
status: New → Incomplete
importance: Undecided → High
Revision history for this message
johnabdl (johnabdl) wrote : Re: [Bug 1024595] Re: package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Sure. The file 'error.log' is from /var/log/mysql/

I also attached many mysql.log.[x].gz, from /var/log/.
The latest one has to do with the upgrade from 11.10 to 12.04.
The others have to do with an upgrade from 11.04 to 11.10.

Also in /var/log/ are: mysql.err and mysql.log but they're both zero bytes.

mysql.err is listed at Type 'Scala scale'. Scala here is not the
programming language, but a program for generating musical scale and
tuning schemes. Somehow linux, or maybe just nautilus, got cued that
all .err have to do with the Scala program.

I haven't used mysql since long before any of the problems referred to here.

Probably not relevant:
I had lots of trouble in May not getting the gui, starting
spontaneously in Ubuntu 11.04, after upgrade to 11.10 and never
resolved with 11.10, finally resolved after upgrade to 12.04.

Thank you.

On Sat, Jul 14, 2012 at 7:15 PM, Clint Byrum <email address hidden> wrote:
> Hi John, thanks for taking the time to file this bug report. Its hard to
> know why mysqld failed to start. Can you attach /var/log/mysql* to the
> bug report so we can look at them and try to determine what went wrong?
> Thanks!
>
> ** Changed in: mysql-5.5 (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: mysql-5.5 (Ubuntu)
> Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1024595
>
> Title:
> package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to
> install/upgrade: subprocess installed post-installation script
> returned error exit status 1
>
> Status in “mysql-5.5” package in Ubuntu:
> Incomplete
>
> Bug description:
> Don't know what else to write.
> mysql was hanging on the 12.04 upgrade.
>
> I restarted the upgrade and didn't run into the hang, but don't think
> mysql was installed.
>
> Still got an error that prompted this bug report.
>
> ProblemType: Package
> DistroRelease: Ubuntu 12.04
> Package: mysql-server-5.5 5.5.24-0ubuntu0.12.04.1
> ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
> Uname: Linux 3.2.0-26-generic x86_64
> ApportVersion: 2.0.1-0ubuntu8
> Architecture: amd64
> Date: Thu Jul 12 07:39:24 2012
> ErrorMessage: subprocess installed post-installation script returned error exit status 1
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
> Logs.var.log.daemon.log:
>
> MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
> [mysqld_safe]
> syslog
> MySQLVarLibDirListing: ['mysql', 'debian-5.1.flag', 'ibdata1', 'ib_logfile0', 'ib_logfile1', 'mysql_upgrade_info', 'debian-5.5.flag', 'test', 'performance_schema']
> SourcePackage: mysql-5.5
> Title: package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1024595/+subscriptions

Robie Basak (racb)
Changed in mysql-5.5 (Ubuntu):
status: Incomplete → New
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi John thanks for posting all the logs! This is the relevant error from error.log:

120712 5:59:27 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
120712 5:59:27 [ERROR] Do you already have another mysqld server running on port: 3306 ?
120712 5:59:27 [ERROR] Aborting

Can you check /etc/mysql/my.cnf and see if there is a bind or listen address defined that does not exist on your machine. Also make sure there isn't some rogue mysqld running or other process running listening on port 3306 (sudo netstat -tnlp should help with that).

I'll set the bug back to Incomplete. Please let us know what you find.

Changed in mysql-5.5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in mysql-5.5 (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.