WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] mysql

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] mysql
From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
Date: Fri, 26 Aug 2005 10:40:18 +0700
Delivery-date: Fri, 26 Aug 2005 03:38:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <430DF078.5070509@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E1E8KJ6-0002QN-63@host-192-168-0-1-bcn-london> <430DF078.5070509@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
Steven Yelton wrote:

I just installed the latest mysql packages on a non xen server and had the same problem. I copied the start script from another installation and it worked. (A diff showed no differences, a co-worker told me the script was haunted). Can you run 'mysqld_safe' from the command line successfully?

Here is my init.d script that worked:
http://dropoff.org/29rc/mysql

"Haunted script" ? :))
I don't know what your environment is, but if You're using RHEL4, FC3,
CentOS, or something newer, the bundled MySQL (or to be specific :
MySQL's BDB engine) requires glibc to have NPTL support. Removing
/lib/tls effectively disables NPTL, which results in MySQL failed to start.

You can work around this problem by adding "skip-bdb" to your
/etc/my.cnf, or /var/lib/mysql/my.cnf, or any other config file and
startup script that MySQL reads during startup.

A better solution, in my oppinion, is to use Xen-specific glibc
<http://wiki.xensource.com/xenwiki/XenSpecificGlibc>. This will solve
MySQL, DB4, and other problems caused by NPTL glibc.

Regards,

Fajar


Mark Olliver wrote:

Hi,

Just want to do a quick check before I spend hours debugging a problem. I have xen running and on the virtual server I have just installed the latest rpm from Centos (the guest and main os) from mysqld. When I went to start it, it fall over and give no error.

Any ideas, do I need to do anything extra for the xen platform, I presume not

Mark




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>