Page 1 of 1

Unable to start FAHClient

Posted: Thu Apr 02, 2020 6:37 pm
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.

Re: Unable to start FAHClient

Posted: Sat Apr 04, 2020 11:57 pm
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).

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 10:44 am
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.

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 12:53 pm
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).

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 1:56 pm
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

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 2:33 pm
by kostuek
You will also need to update libstdc++ library, which is part of GCC as far as I remember.

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 2:44 pm
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]

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 3:30 pm
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?).

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 4:00 pm
by ipkh
Which version of ubuntu are you running?
Try a dist upgrade to a more modern release?

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 4:15 pm
by LabNuke
Ubuntu 14.04.6 LTS trusty

Re: Unable to start FAHClient

Posted: Mon Apr 06, 2020 6:04 pm
by LabNuke
Working on upgrading to 16.04 and will try again.

Re: Unable to start FAHClient

Posted: Mon Apr 13, 2020 4:04 pm
by LabNuke
Upgraded to 18.04LTS - folding is now working. :D