Unable to start FAHClient

Moderators: Site Moderators, FAHC Science Team

Post Reply
LabNuke
Posts: 7
Joined: Thu Apr 02, 2020 6:31 pm

Unable to start FAHClient

Post by LabNuke »

Fresh install of fahclient/fahcontrol/fahviewer

FAHClient: relocation error: FAHClient: symbol _ZTINSt8ios_base7failureB5cxx11E, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Linux 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Google-foo doesn't find much on this. Any suggestions?

Thanks.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Unable to start FAHClient

Post by PantherX »

Welcome to the F@H Forum LabNuke,

Can you please post your log file. Ensure that you have copied the System configuration which is present at the start of the log file (viewtopic.php?f=106&t=26036).
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
LabNuke
Posts: 7
Joined: Thu Apr 02, 2020 6:31 pm

Re: Unable to start FAHClient

Post by LabNuke »

This is odd - when I go to /var/lib/fahclient - there are no files in that folder. I uninstalled fahclient and then re-run sudo dpkg -i fahclient_7.5.1_amd64.deb.

Code: Select all

Selecting previously unselected package fahclient.
(Reading database ... 252858 files and directories currently installed.)
Preparing to unpack fahclient_7.5.1_amd64.deb ...
usermod: no changes
Unpacking fahclient (7.5.1) ...
Setting up fahclient (7.5.1) ...
 Adding system startup for /etc/init.d/FAHClient ...
   /etc/rc0.d/K20FAHClient -> ../init.d/FAHClient
   /etc/rc1.d/K20FAHClient -> ../init.d/FAHClient
   /etc/rc6.d/K20FAHClient -> ../init.d/FAHClient
   /etc/rc2.d/S20FAHClient -> ../init.d/FAHClient
   /etc/rc3.d/S20FAHClient -> ../init.d/FAHClient
   /etc/rc4.d/S20FAHClient -> ../init.d/FAHClient
   /etc/rc5.d/S20FAHClient -> ../init.d/FAHClient
update-rc.d: warning:  start runlevel arguments (none) do not match FAHClient Default-Start values (2 3 4 5)
update-rc.d: warning:  stop runlevel arguments (none) do not match FAHClient Default-Stop values (0 1 6)
 Enabling system startup links for /etc/init.d/FAHClient ...
 Removing any system startup links for /etc/init.d/FAHClient ...
   /etc/rc0.d/K20FAHClient
   /etc/rc1.d/K20FAHClient
   /etc/rc2.d/S20FAHClient
   /etc/rc3.d/S20FAHClient
   /etc/rc4.d/S20FAHClient
   /etc/rc5.d/S20FAHClient
   /etc/rc6.d/K20FAHClient
 Adding system startup for /etc/init.d/FAHClient ...
   /etc/rc0.d/K20FAHClient -> ../init.d/FAHClient
   /etc/rc1.d/K20FAHClient -> ../init.d/FAHClient
   /etc/rc6.d/K20FAHClient -> ../init.d/FAHClient
   /etc/rc2.d/S20FAHClient -> ../init.d/FAHClient
   /etc/rc3.d/S20FAHClient -> ../init.d/FAHClient
   /etc/rc4.d/S20FAHClient -> ../init.d/FAHClient
   /etc/rc5.d/S20FAHClient -> ../init.d/FAHClient
Starting fahclient ... FAIL
invoke-rc.d: initscript FAHClient, action "start" failed.

The Folding@home client is now installed

You can access the Web interface by going to:

  https://client.foldingathome.org/

in a browser on this computer.

For information about configuring the Folding@home client for 
remote access please see the comments in:

  /etc/fahclient/config.xml


Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Running sudo FAHClient start:

Code: Select all

FAHClient: relocation error: FAHClient: symbol _ZTINSt8ios_base7failureB5cxx11E, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
Thanks for your help.
kostuek
Posts: 32
Joined: Tue Mar 17, 2020 11:03 am

Re: Unable to start FAHClient

Post by kostuek »

Linux 3.13 was released in 2014. Your version of libstdc++ probably can't handle the client anymore. Either try to force a newer version of libstdc++ on your old system, which may cause some other problems, or better yet upgrade your system to a more fresh Ubuntu (which would be a sensible thing to do in general, since 3.13 is probably out of support already).
LabNuke
Posts: 7
Joined: Thu Apr 02, 2020 6:31 pm

Re: Unable to start FAHClient

Post by LabNuke »

Just upgraded kernel -

Linux tpad 4.4.0-148-generic #174~14.04.1-Ubuntu SMP Thu May 9 08:17:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Same results - still no /var/lib/fahclient log files and starting FAHClient gives:

Code: Select all

FAHClient: relocation error: FAHClient: symbol _ZTINSt8ios_base7failureB5cxx11E, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
kostuek
Posts: 32
Joined: Tue Mar 17, 2020 11:03 am

Re: Unable to start FAHClient

Post by kostuek »

You will also need to update libstdc++ library, which is part of GCC as far as I remember.
LabNuke
Posts: 7
Joined: Thu Apr 02, 2020 6:31 pm

Re: Unable to start FAHClient

Post by LabNuke »

I ran a full update/upgrade after kernel upgrade also.

Code: Select all

	libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
	libstdc++.so.6 (libc6) => /usr/lib/i386-linux-gnu/libstdc++.so.6
	libstdc++.so.6 (libc6) => /usr/lib32/libstdc++.so.6

Code: Select all

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep LIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBCXX_DEBUG_MESSAGE_LENGTH
[code]
[/code]
kostuek
Posts: 32
Joined: Tue Mar 17, 2020 11:03 am

Re: Unable to start FAHClient

Post by kostuek »

Well, good news is, your system got a small update. Bad news is, I'm out of ideas, sorry.

Edit: I think what happens is that the client was compiled against a library which had this symbol, but your version of this library doesn't have the same symbol for some reason (some test repository maybe?).
Last edited by kostuek on Mon Apr 06, 2020 4:10 pm, edited 1 time in total.
ipkh
Posts: 175
Joined: Thu Jul 16, 2015 2:03 pm

Re: Unable to start FAHClient

Post by ipkh »

Which version of ubuntu are you running?
Try a dist upgrade to a more modern release?
LabNuke
Posts: 7
Joined: Thu Apr 02, 2020 6:31 pm

Re: Unable to start FAHClient

Post by LabNuke »

Ubuntu 14.04.6 LTS trusty
LabNuke
Posts: 7
Joined: Thu Apr 02, 2020 6:31 pm

Re: Unable to start FAHClient

Post by LabNuke »

Working on upgrading to 16.04 and will try again.
LabNuke
Posts: 7
Joined: Thu Apr 02, 2020 6:31 pm

Re: Unable to start FAHClient

Post by LabNuke »

Upgraded to 18.04LTS - folding is now working. :D
Post Reply