mysql-server-5.0.postinst causes seg fault

Bug #301104 reported by Niklas Andersson on 2008-11-22
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)

Bug Description

Running Ubuntu 8.04 LTS Hardy Heron on kernel

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

Upgraded to mysql-server-5.0 package 5.0.51a-3ubuntu5.4

Mysqld won't start - results in segfault.

$ sudo sh -x ./mysql-server-5.0.postinst configure
+ . /usr/share/debconf/confmodule
+ [ ! ]
+ [ ]
+ exec /usr/share/debconf/frontend ./mysql-server-5.0.postinst configure
 * Stopping MySQL database server mysqld [ OK ]
./mysql-server-5.0.postinst: line 28: 30580 Segmentation fault $MYSQL_BOOTSTRAP < $tfile
./mysql-server-5.0.postinst: line 258: 30599 Segmentation fault update-rc.d mysql-ndb-mgm defaults 17 23 > /dev/null

The guys at had the issue partly solved

"The error was caused by /lib/tls/i686 I have it removed and mysql now runs successfully. see below

apt-get remove libc6-i686 "

Chuck Short (zulcss) wrote :

Curious can you provide more details.

Is this in a virtual machine?


Changed in mysql-dfsg-5.0:
status: New → Incomplete
AlexF (apf-888-ubuntu) wrote :

I know this is kinda old, but I had the exact same thing happen on a Xen VPS running 8.04.01 LTS as well. Made me flip out when everything stopped working. The answer is here:

Under 4.1 of that FAQ:

"Some modern distributions ship with a 'TLS' version of glibc that is not fully compatible with Xen. To use Xen reliably and with maximum performance you must disable the incompatible glibc. You can easily do this by moving the /lib/tls directory (e.g., mv /lib/tls /lib/tls.disabled).

Alternatively, install a Xen-specific GLIBC, see XenSpecificGlibc."

Not sure if that's a Xen issue or a glibc issue.

Chuck Short (zulcss) wrote :

Not a mysql bug then.


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

Other bug subscribers