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:
Chris