hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : VPS Tutorials : FIX: For CentOS6/RHEL6 Glibc issue on Xen PV with Newer CPUs
Reply

Forum Jump

FIX: For CentOS6/RHEL6 Glibc issue on Xen PV with Newer CPUs

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-21-2012, 12:52 PM
PCS-Chris PCS-Chris is offline
VPS Guru
 
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 2,986

FIX: For CentOS6/RHEL6 Glibc issue on Xen PV with Newer CPUs


This is a quick/temporary fix for a glibc issue which currently exists when running a CentOS6/RHEL6 Xen PV Guest on Xen 4.1.x (Ours was 4.1.2). It will hopefully be fixed officially in CentOS/RHEL 6.3.

Background:
I moved a customers VPS to a different node yesterday so we could increase the size of their VPS. Once it was moved, the PHP binary wouldn't execute at all and we had errors like this on the console:

Quote:
php[3300] trap invalid opcode ip:7f9018688be0 sp:7fff950449e8 error:0 in ld-2.12.so[7f9018674000+20000]
Reason:

This is related to the AVC extension in newer CPU's such as the Xeon E3 series.

Fix for 64Bit Only (Disclaimer: At your risk, but works for me.):

I took the latest .srpm, added in a Patch (Source Here - Thanks Guys) and created a new glibc RPM. Once installed, this fixed the issue.

Do the following:
Quote:
wget http://smartservermanagement.com/fil...el6.x86_64.rpm
rpm -ivh glibc-2.12-1.47.el6.x86_64.rpm --force
Then make sure you exclude glibc in /etc/yum.conf until CentOS 6.3 is out
Chris


Last edited by PCS-Chris; 01-21-2012 at 12:57 PM.


Sponsored Links
  #2  
Old 04-27-2012, 05:26 PM
FastServ FastServ is offline
Randy
 
Join Date: Aug 2006
Location: Ashburn VA, San Diego CA
Posts: 4,288
Just got hit by this on a XenServer 6.0 E3 based hypervisor with CentOS 6.2. Cpanel installed then all hell broke loose with invalid opcodes, apache dead, all kinds of mess. Reverted back to CentOS 5.x and all is good.

Apparently it's still not fixed...

__________________
Fast Serv Networks, LLC | AS29889 | Fully Managed Cloud, Streaming, Dedicated Servers, Colo by-the-U
Ashburn VA + San Diego CA Datacenters


  #3  
Old 04-27-2012, 07:31 PM
PCS-Chris PCS-Chris is offline
VPS Guru
 
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 2,986
It should be in CentOS 6.3, in the meantime its not difficult to create a RPM with the Patch linked above.

Sponsored Links
  #4  
Old 05-03-2012, 11:06 AM
anthonysomerset anthonysomerset is offline
Newbie
 
Join Date: Sep 2010
Location: London, UK
Posts: 6
yeah i came across this too, i tried building the linked patch into the latest SRPM's from centos but either i did it wrong or theres something else at play as well now.

anyone got any reasonably fool proof instructions for building SRPM's and adding patches?

  #5  
Old 05-08-2012, 12:23 PM
anthonysomerset anthonysomerset is offline
Newbie
 
Join Date: Sep 2010
Location: London, UK
Posts: 6
just to update this, i dont think this is specifically a glibc issue as i succesfully applied the patch this time and still getting similar errors although with cpanel's perl instead of php

looks more like a xen issue with the AVX/AVC extension to us here with centos 6.2

  #6  
Old 05-10-2012, 12:52 PM
Hareth Hareth is offline
Newbie
 
Join Date: Aug 2010
Posts: 15
thank you bro,, keep it up

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenStack + KVM + RHEL6 +ISCSI cloudcom Cloud Hosting 4 11-10-2011 05:13 AM
Xen VPS | 1GB ram 1TB disk VPS | SSD VPS | 75% off 100mbit unmetered BW | CENTOS6! ServerDave VPS Hosting Offers 2 07-26-2011 06:49 PM
Xen Provider with dedicated CPUs Delta223 VPS Hosting 13 08-25-2009 09:33 AM
APF IPT_STATE fix. Problem with newer kernels Steven Hosting Security and Technology Tutorials 2 05-05-2007 05:45 PM
glibc issue in Apache error log, help please... ckissi Hosting Security and Technology 8 09-11-2006 06:01 PM

Related posts from TheWhir.com
Title Type Date Posted
Red Hat Takes Active Role in CentOS Project to Drive New Technology Adoption Web Hosting News 2014-01-08 12:00:22
Dell and Red Hat Partner on OpenStack Private Cloud Solutions Web Hosting News 2013-12-13 16:46:04
Solar VPS Becomes Official Mirror for Centos and Ubuntu Web Hosting News 2013-04-16 11:03:34
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
Web Host ServerPronto Donates Hosting Resources to CentOS Web Hosting News 2012-07-05 14:06:27


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?