• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Linux Folding Problem

runt

2[H]4U
2FA
Joined
Mar 16, 2000
Messages
2,443
ok, i just got gentoo installed on my new file server and used the script at http://forum.folding-community.org/viewtopic.php?t=2283 to download and install folding at home on it. the problem is that after copying the start/stop/etc script to /etc/init.d and
Code:
running rc-update add folding
default it will not start when the computer starts. is there a trick to get it working that i don't know about?
 
i had that same issue with my gentoo setup... the service was there, it just didn't start, even though it was supposed to. i wrote my own script, though. (heh... didn't know one existed, so i just did it on my own - stage 1 right here) of course, i couldn't figure out a way to resolve the issue. i'm not really sure what half the stuff in the script actually does :)o) but it would run if i did so manually, so i don't think that was the problem. i think the issue may reside with the ownership of the script or something like that... no ideas really.

what i did (may not be practical for headless boxen, but...) i left an insignificant (read: non-root) user logged on on one of the consoles with F@H running. since i'm the only one who uses my computer (except when my brother needs it) it worked. however, i dual boot it with windows XP so it usually sits in windows folding.

good luck and lmk if you figure something out.
 
I have several Morphix systems, and they are based on Debian just as Gentoo is, so this should be the same. I'll just walk you through my setup procedure...

1) Set up fah user ID.
2) su - fah then download and run the finstall script
3) as root, cd /etc/init.d
4) as root, copy folding script over to /etc/init.d directory
5) as root, type update-rc.d folding defaults
6) as root, type ./folding start
7) wait a bit, then run top to make sure folding is running as fah, not root
 
Chugiak said:
I have several Morphix systems, and they are based on Debian just as Gentoo is, so this should be the same. I'll just walk you through my setup procedure...

1) Set up fah user ID.
2) su - fah then download and run the finstall script
3) as root, cd /etc/init.d
4) as root, copy folding script over to /etc/init.d directory
5) as root, type update-rc.d folding defaults
6) as root, type ./folding start
7) wait a bit, then run top to make sure folding is running as fah, not root

i got them running using the directions posted by the script's creator. both my linux boxes run folding at home as root. now i just gotta figure out why i can't get em3 to work anymore

 
To make EM3 work, I set a cronjob to

* * * * * chmod -R 777 /my/fold/dir &

That sets lowest permissions for my all files in folding directory every minute and lets EM3 be able to read the info.
 
I also wind up using superkaramba themes to monitor the progress on my linux boxes. It's not as good as EM3, but it works pretty well.

yoper5.jpg
 
Arkaine23 said:
I also wind up using superkaramba themes to monitor the progress on my linux boxes. It's not as good as EM3, but it works pretty well.

yoper5.jpg

that would work great, but i do not have a single linux computer with x installed. takes up to many resources on my poor slow dual processor systems
 
Arkaine23 said:
To make EM3 work, I set a cronjob to

* * * * * chmod -R 777 /my/fold/dir &

That sets lowest permissions for my all files in folding directory every minute and lets EM3 be able to read the info.

i tried that from the command line and it didn't work, will add it to my crontab and see if that helps
<edit>
added it to the crontab and it works fine now
</edit>
 
Remove the *'s and it'd work from the CLI. The *'s are for setting the schedule and so only work in cron.

And here's how I check progress when in text mode-

#!/bin/sh
$FoldDir=/home/me/fold
more $FoldDir | tail -20


Plop that in an executable text file and stick it in /bin or /usr/local/bin, or any other place where scripts and binaries like to live and name it something intuitive like viewfah. Then use your new viewfah command to see progress anytime you like. Be sure the folddir variable matches your fold directory's real location of course...
 
Back
Top