package mysql-server-5.1 5.1.54-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #799798 reported by Azizur Rahman
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.1 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I tried to move the data directory but it failed so I have removed it (mysql server) then tried to re-install it again.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: mysql-server-5.1 5.1.54-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-10.44-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic i686
Architecture: i386
Date: Mon Jun 20 16:38:39 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: mysql-5.1
Title: package mysql-server-5.1 5.1.54-1ubuntu4 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
Azizur Rahman (azizur) wrote :
description: updated
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Azizur, can you include /var/log/mysql/error.log ? I believe this will give us a clue as to why mysql did not start.

Marking as incomplete pending response.

Changed in mysql-5.1 (Ubuntu):
status: New → Incomplete
Revision history for this message
Azizur Rahman (azizur) wrote :

Sorry Clint,

It was on an a VM so that I just zapped it into trash and got a new VM.

Rather than moving data directory I just mounted my new directory on the default directory and it seems to be working.

Revision history for this message
Ursula Junque (ursinha) wrote :

From log:
Setting up mysql-server-5.1 (5.1.54-1ubuntu4) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in mysql-5.1 (Ubuntu):
importance: Undecided → Medium
Revision history for this message
James Page (james-page) wrote :

As the system experiencing this issue is no longer available marking as 'Invalid' as we won't be able to progress this bug report any further.

Changed in mysql-5.1 (Ubuntu):
status: Incomplete → Invalid
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.