FahCore_a7 won't run under CentOS 6 (glibc issue)

Moderators: Site Moderators, FAHC Science Team

Post Reply
UnstoppableDrew
Posts: 1
Joined: Sun Mar 01, 2020 4:15 am

FahCore_a7 won't run under CentOS 6 (glibc issue)

Post by UnstoppableDrew »

Hi, brand new folder here. I have 2 Linux servers, one running CentOS 7, and the other CentOS 6. The C7 is cranking away, but I've encountered several issues with C6. I wound up only installing fahclient because fahcontrol needed Python 2.7 and only 2.6 is available, but the client installed fine, and after a config file tweak I was able to connect from the control app running on the C7 box. However, the C6 box tries to run cores and fails every time.

Code: Select all

04:06:51:WU00:FS00:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:14400 run:0 clone:241 gen:104 core:0xa7 unit:0x0000007480fccb095dcad993c717af44
04:08:27:WU00:FS00:Downloading core from http://cores.foldingathome.org/v7/lin/64bit/Core_a7.fah
04:08:27:WU00:FS00:Connecting to cores.foldingathome.org:80
04:08:27:WU00:FS00:FahCore a7: Downloading 7.85MiB
04:08:28:WU00:FS00:FahCore a7: Download complete
04:08:28:WU00:FS00:Valid core signature
04:08:28:WARNING:WU00:FS00:FahCore has not changed since last download, aborting core update
04:08:28:WU00:FS00:Starting
04:08:28:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 705 -lifeline 28505 -checkpoint 15 -np 7
04:08:28:WU00:FS00:Started FahCore on PID 28640
04:08:28:WU00:FS00:Core PID:28644
04:08:28:WU00:FS00:FahCore 0xa7 started
04:08:29:WARNING:WU00:FS00:FahCore returned: FAILED_2 (1 = 0x1)
04:08:29:WU00:FS00:Starting
04:08:29:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 705 -lifeline 28505 -checkpoint 15 -np 7
04:08:29:WU00:FS00:Started FahCore on PID 28645
04:08:29:WU00:FS00:Core PID:28649
04:08:29:WU00:FS00:FahCore 0xa7 started
04:08:30:WARNING:WU00:FS00:FahCore returned: FAILED_2 (1 = 0x1)
I've done some searching and didn't find anything definitive, but I did see a suggestion to try running the FahCore_a7 file by hand to see what happens. Before doing that I did a few preliminary inspections and I'm pretty sure I see the problem:

Code: Select all

[root@tomokato Core_a7.fah]# ls -l
total 19412
-rwxr-xr-x 1 fahclient root 19877008 Feb 29 22:44 FahCore_a7
[root@tomokato Core_a7.fah]# file FahCore_a7 
FahCore_a7: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 3.2.0, not stripped
[root@tomokato Core_a7.fah]# ldd FahCore_a7 
./FahCore_a7: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./FahCore_a7)
./FahCore_a7: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by ./FahCore_a7)
./FahCore_a7: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./FahCore_a7)
	linux-vdso.so.1 =>  (0x00007ffcab3f4000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe2de90e000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fe2de70a000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fe2de485000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fe2de0f1000)
	/lib64/ld-linux-x86-64.so.2 (0x0000555d5888e000)
[root@tomokato Core_a7.fah]# rpm -q glibc
glibc-2.12-1.212.el6_10.3.x86_64
glibc-2.12-1.212.el6_10.3.i686
Sure enough, trying to run it gives the same version error.

Code: Select all

[root@tomokato Core_a7.fah]# ./FahCore_a7 
./FahCore_a7: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./FahCore_a7)
./FahCore_a7: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by ./FahCore_a7)
./FahCore_a7: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./FahCore_a7)
Version 2.12 is the latest version available in the CentOS 6 repositories. Is it possible to download an older version of the client built against 2.12? I'd rather not go down the rabbit hole of building glibc, or rebuilding the box as CentOS 7. This server is an old Dell 2950 with a pair of Xeon X5365 for a total of 8 cores @ 3.00 GHz. I know it isn't much, but it's basically just sitting there doing nothing so I was hoping to put it to good use.
jonault
Posts: 216
Joined: Fri Dec 14, 2007 9:53 pm

Re: FahCore_a7 won't run under CentOS 6 (glibc issue)

Post by jonault »

The folding cores aren't built in to the client, the client downloads the appropriate core for the work unit. You can see this happening in the second line of the first CODE block you posted:

Code: Select all

04:08:27:WU00:FS00:Downloading core from http://cores.foldingathome.org/v7/lin/64bit/Core_a7.fah
So an older version of the client wouldn't help you, it would still download the same FahCore_a7 executable & you'd get the same error.
Image
toTOW
Site Moderator
Posts: 6394
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: FahCore_a7 won't run under CentOS 6 (glibc issue)

Post by toTOW »

Messing up with glibc is always complicated, so the easiest fix is to upgrade the whole distribution to something newer.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Post Reply