mysql-server-5.0.postinst causes seg fault

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

Bug Description

Running Ubuntu 8.04 LTS Hardy Heron on 2.6.16.38-xenU 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
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ 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 rimuhosting.com 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?

Regards
chuck

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:

http://wiki.xensource.com/xenwiki/XenFaq#head-0c65b14e7ee88a250189f43f83138a3f712d8e4e

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.

Regards
chuck

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