Joe_H wrote:Okay, heard back on this. Ownership of the directory /usr/local/bin should be root, not '504', launchd will refuse to run anything there otherwise asa security hole. Probable source for this happening was the installer for wireshark.
You will need to change the ownership:
sudo chown root /usr/local/bin
Finish anything you are running from the command line, it will be in the wrong place and possibly with the wrong ownership. How soon launchd will try again to start FAHClient in the background will depend, as far as I recall two instances of FAHClient will not run simultaneously.
Still no luck. I did the following:
- Stopped the client running in the terminal window
- Changed the ownership of /usr/local/bin to root
- Waited - Activity monitor didn't show any folding task starting. The web client page in Safari wouldn't connect, neither would FAHControl
- I rebooted
- The same - still nothing.
- I ran the uninstaller package in /Library/Applications/FAHClient and it uninstalled
- I re-installed it. Seemed to install fine.
- Nothing has changed, I still can't configure it and activity monitor doesn't show any folding related tasks. The system log still shows the same error.
Key info below:
Last login: Mon Apr 20 11:07:57 on console
Mikes-iMac:~ Mike$ sudo ls -l /usr/local
Password:
total 0
-rw-r--r-- 1 root wheel 0 25 Mar 12:13 .com.apple.installer.keep
drwx------ 26 root wheel 832 20 Apr 11:13 bin
drwxr-xr-x 3 root wheel 96 3 May 2019 include
drwxr-xr-x 9 root wheel 288 2 Mar 18:07 lib
drwxr-xr-x 3 root wheel 96 26 Sep 2018 remotedesktop
Mikes-iMac:~ Mike$ sudo ls -l /usr/local/bin
total 22008
-rwxr-xr-x 1 root wheel 9666080 15 Apr 22:45 FAHClient
-rwxr-xr-x 1 root wheel 1548032 15 Apr 22:45 FAHCoreWrapper
-rwxr-xr-x 1 root wheel 80 20 Feb 18:25 VBoxAutostart
-rwxr-xr-x 1 root wheel 82 20 Feb 18:25 VBoxBalloonCtrl
-rwxr-xr-x 1 root wheel 80 20 Feb 18:25 VBoxBugReport
-rwxr-xr-x 1 root wheel 77 20 Feb 18:25 VBoxDTrace
-rwxr-xr-x 1 root wheel 79 20 Feb 18:25 VBoxHeadless
-rwxr-xr-x 1 root wheel 77 20 Feb 18:25 VBoxManage
-rwxr-xr-x 1 root wheel 79 20 Feb 18:25 VBoxVRDP
-rwxr-xr-x 1 root wheel 77 20 Feb 18:25 VirtualBox
-rwxr-xr-x 1 root wheel 115 20 Feb 18:25 VirtualBoxVM
lrwxr-xr-x 1 root wheel 11 11 Jul 2014 capinfos -> ./wireshark
lrwxr-xr-x 1 root wheel 11 11 Jul 2014 dftest -> ./wireshark
Apr 20 11:22:55 Mikes-iMac com.apple.xpc.launchd[1] (org.foldingathome.fahclient[2760]): Could not find and/or execute program specified by service: 2: No such file or directory: /usr/local/bin/FAHClient
Apr 20 11:22:55 Mikes-iMac com.apple.xpc.launchd[1] (org.foldingathome.fahclient[2760]): Service setup event to handle failure and will not launch until it fires.
Apr 20 11:22:55 Mikes-iMac com.apple.xpc.launchd[1] (org.foldingathome.fahclient[2760]): Service exited with abnormal code: 78
Apr 20 11:22:55 Mikes-iMac com.apple.xpc.launchd[1] (org.foldingathome.fahclient): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.