View Full Version : Trying to delete F@H
eyelikeart
Nov 20, 2003, 01:11 AM
I have the Terminal client on my iMac. I'm trying to delete it from my hard drive, as I don't run it anymore, and it keeps coming up as "in use." I've checked Terminal, and don't see it showing up there.
Any thoughts?
Rower_CPU
Nov 20, 2003, 01:27 AM
When you say "checked" are you running the 'top' command and looking for FAHcore or OSX-3.24 or something?
You can kill a process by typing 'kill' and then the process number you see to the left of it in top.
For example:
kill 242
After that, you should be able to trash it.
But that begs the question, why? ;)
mc68k
Nov 20, 2003, 02:58 AM
is it a normal install or a script install?
eyelikeart
Nov 20, 2003, 10:44 AM
Originally posted by mc68k
is it a normal install or a script install?
I used the script install from some months back.
eyelikeart
Nov 20, 2003, 10:57 AM
Originally posted by Rower_CPU
But that begs the question, why? ;)
I haven't run it in a long while, or so I didn't think. I checked the files in the F@H folder, and they're updated thru today actually. I wanted to start over with it, and reinstall.
Rower_CPU
Nov 20, 2003, 12:13 PM
Cool, just checking. ;)
If you did mc68k's script install, you might be able to just type 'rid' and have F@H clean itself out.
eyelikeart
Nov 20, 2003, 12:29 PM
just type "rid" in terminal?
it'll know exactly what that means?
Rower_CPU
Nov 20, 2003, 12:57 PM
Yeah, the script adds that command to your aliases and will remove F@H for you. You might need to type 'stop' first, to quit the process.
eyelikeart
Nov 20, 2003, 01:39 PM
Last login: Thu Nov 20 10:24:10 on ttyp1
Welcome to Darwin!
[eyelikeart:~] frank% stop
stop: Too few arguments.
[eyelikeart:~] frank% rid
rid: Command not found.
[eyelikeart:~] frank%
So now what? Could I just reinstall & have it replace whatever is there?
mc68k
Nov 20, 2003, 01:41 PM
yeah, reinstall and do the rid command
that will get rid of everything
thats prob the easiest way
bousozoku
Nov 20, 2003, 02:26 PM
This may be another case of bash being in charge, don't you think?
That's the second time I've seen stop used in something other than to stop folding.
mc68k
Nov 20, 2003, 02:36 PM
***** why did Apple have to change the default shell to a scripting shell? :mad:
oh well…
vannote
Nov 20, 2003, 03:22 PM
Originally posted by mc68k
***** why did Apple have to change the default shell to a scripting shell? :mad:
oh well…
They probably changed it out of popular demand. bash is king outside of the OS X world. Have to keep all those Linux converts happy.
Just as a heads up, as I mentioned in another thread, stop is also a csh and tcsh built-in for job control.
mc68k
Nov 20, 2003, 03:28 PM
yeah i guess i should change that
G4scott
Nov 30, 2003, 05:12 PM
So, is there any way to actually remove everything with a command, or does it have to be removed manually (if I installed it from the script.)
I can delete the FAH folder in my home directory but what about the crontab that starts it up at startup?
mc68k
Dec 1, 2003, 03:43 PM
Originally posted by G4scott
So, is there any way to actually remove everything with a command, or does it have to be removed manually (if I installed it from the script.)
I can delete the FAH folder in my home directory but what about the crontab that starts it up at startup? the rid script/command basically deletes some dot-files in your home dir, removes the F@H dir, removes the crontab, and kills the running folding processes
if u wanted to do it manually, it's just some kill, rm, and crontab -r commands
G4scott
Dec 6, 2003, 01:51 AM
Originally posted by mc68k
the rid script/command basically deletes some dot-files in your home dir, removes the F@H dir, removes the crontab, and kills the running folding processes
if u wanted to do it manually, it's just some kill, rm, and crontab -r commands
I try the rid command, and it says "tcsh: rid: command not found"
mc68k
Dec 6, 2003, 11:18 PM
something is not right. either:
it didnt install
it is installed but doesnt have an alias refernce
open a terminal and see if u have a .login filecat loginand if so...what does it say
jimjiminyjim
Jul 18, 2004, 07:26 PM
I'm not the original poster, but I found this thread helpful until it came to its current end....
I installed your script about a week ago. Since then the dnetc process has shown in the activity monitor. I have not gained any results yet. I am familiar with pretty well the entire UI of OS X, but no next to nothing of unix/terminal.
I would like either:
to know how to tell how far along a work unit is (monitor its progress)
make sure specs such as name, team number, etc. are correct
or: to completely remove all traces of the console version and the script version, and to install nFoldMan, as I am much more confortable with graphical interfaces.
jbeetz
Jul 19, 2004, 04:45 PM
you might want to cd ~ first to make sure you're in your user directory. is that a typo or isn't it "cat .login"?
mc68k
Jul 20, 2004, 02:22 PM
I'm not the original poster, but I found this thread helpful until it came to its current end....
I installed your script about a week ago. Since then the dnetc process has shown in the activity monitor. I have not gained any results yet. I am familiar with pretty well the entire UI of OS X, but no next to nothing of unix/terminal.
I would like either:
to know how to tell how far along a work unit is (monitor its progress)
make sure specs such as name, team number, etc. are correct
or: to completely remove all traces of the console version and the script version, and to install nFoldMan, as I am much more confortable with graphical interfaces.dnetc is the distributed.net client for RC5-72-- not folding@home. u must have DLed the wrong thing from my site
i don't have an "easy" way to deinstall this, so u'll have to do it manually. but it is only a couple commands in the Terminal:
rm -r ~/Documents/.dnetc
crontab -r
just download the right setup this time ;)
jimjiminyjim
Jul 20, 2004, 09:22 PM
Right... now folding.
Thanks!
jimjiminyjim
Jul 20, 2004, 09:50 PM
errr... now I'm looking and when I type "work" it comes back with F@H2 "no such file or directory" (Process 1 is working fine though).
Is that just carry over from the DP script, and I can just ignore it, or could I get more WU out of the script if I did anything about this?
mc68k
Jul 21, 2004, 12:52 AM
errr... now I'm looking and when I type "work" it comes back with F@H2 "no such file or directory" (Process 1 is working fine though).
Is that just carry over from the DP script, and I can just ignore it, or could I get more WU out of the script if I did anything about this?
did u install the DP or SP script?
Dreadnought
Jul 21, 2004, 04:36 PM
I have the same with my G3 B&W after installing the single processor script from you mc68k. Installed it again (after getting rid of it) but the same story. I think it is something in X.3. In X.2 this was't happening!
jimjiminyjim
Jul 21, 2004, 07:04 PM
It is definitely the Single Processor script.
jimjiminyjim
Jul 21, 2004, 07:07 PM
Here is the text that is displayed:
Process 1
Protein: p212_villinURE212
Completed 95000 out of 500000 steps (19%)
Completed 100000 out of 500000 steps (20%)
Completed 105000 out of 500000 steps (21%)
Completed 110000 out of 500000 steps (22%)
Completed 115000 out of 500000 steps (23%)
-rw-r--r-- 1 jiminy staff 0 20 Jul 20:17 wudata_01.arc
-rw-r--r-- 1 jiminy staff 741900 21 Jul 16:57 wudata_01CP.arc
Process 2
tcsh: /Users/jiminy/F@H2/work/: No such file or directory.
mc68k
Jul 22, 2004, 01:48 AM
looks like i left in the DP code in the work script
i can fix this tonight
i'm taking a unix system admin class this summer, so i might try some new stuff i learned soon
Vlade
Jul 22, 2004, 10:59 AM
i'm taking a unix system admin class this summer, so i might try some new stuff i learned soon
Thats cool. I am currently working on wrapping your scripts into a Cocoa Application, and I have it all done, except I am having this problem, can you help (just reply on this forum so you don't have to sign up)
http://www.idevgames.com/forum/showthread.php?t=6563
Thanks
mc68k
Jul 22, 2004, 01:45 PM
i took out the DP work code in the SP script
thanks for those who brought it to my attention :)
jimjiminyjim
Jul 22, 2004, 11:03 PM
No problem... if you're bored, here's some other code that I wonder about. This of course, is likely to be something *I* did, not your script... but perhaps you could suggest how to remedy the problem?
Thanks, Jim.
This is the code on restart:
[02:59:48] - Ask before connecting: No
[02:59:48] - User name: jimjiminyjim (Team 3446)
[02:59:48] - User ID = 6658F5667DDE689
[02:59:48] - Machine ID: 1
[02:59:48]
A potential conflict was detected:
Process 204 is currently running and may also be a client with Mach. ID 1.
Program will now exit. Upon restart, this check will not be done --
you may wish to check that no client is currently running in
/Users/jiminy/F@H1 before restarting.
logout
[Process completed]
jbeetz
Jul 23, 2004, 05:08 PM
No problem... if you're bored, here's some other code that I wonder about. This of course, is likely to be something *I* did, not your script... but perhaps you could suggest how to remedy the problem?
Thanks, Jim.
This is the code on restart:
[02:59:48] - Ask before connecting: No
[02:59:48] - User name: jimjiminyjim (Team 3446)
[02:59:48] - User ID = 6658F5667DDE689
[02:59:48] - Machine ID: 1
[02:59:48]
A potential conflict was detected:
Process 204 is currently running and may also be a client with Mach. ID 1.
Program will now exit. Upon restart, this check will not be done --
you may wish to check that no client is currently running in
/Users/jiminy/F@H1 before restarting.
logout
[Process completed]
I wonder if the DP code in the SP script setup a DP crontab... if you go to the terminal and type
crontab -l
what does it say?
jimjiminyjim
Jul 23, 2004, 05:33 PM
[Jim-Applebys-Computer:~] jiminy% crontab -l
@reboot cd ~/F@H1; ./fah4 -local -advmethods &
jimjiminyjim
Aug 6, 2004, 08:04 PM
Mc68k... if you're still reading this thread, here's another error:
A potential conflict was detected:
Process 172 is currently running and may also be a client with Mach. ID 1.
Program will now exit. Upon restart, this check will not be done --
you may wish to check that no client is currently running in
/Users/jiminy/F@H1 before restarting.
logout
[Process completed]
Any thoughts?
Thanks.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.