On Tue, May 09, 2006 at 10:04:34PM -0400, Chris Palmer wrote:
> From: "Dr. David Johnson" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 09, 2006 9:43 PM
> 
> > Hi, I've installed OBSD 3.9 on a PIII, 700 MHz, 128 MB RAM.
> > I tried doing some things to get Folding at Home client running,
> > and it WAS at one point, but apparently I messed up something
> > because every time I try to start the program I get a message
> > something like:
> > ksh:   ./FAH3Console-LinuxB.exe: Operation not permitted
> > 
> > Now, I have made sure the perms are ok, I've used chown for
> > ownership, chmod for making it executable, and I have made
> > sure about the folder I'm trying to execute this from to be in the
> > PATH. Is there something else that could cause this error?
> > 
> > Any input appreciated, thanks x10e6
> > 
> > David
> 
> Did you follow the instructions listed here?
> 
> "How to Set Up [EMAIL PROTECTED] on OpenBSD"
> 
> http://schnarff.com/fah.html

that also works with FAH4Colsole-Linux.exe (as opposed to version 3).

I set up a user, _fah:
phreke:~% grep _fah /etc/passwd 
_fah:*:550:550:Folding at Home Client:/var/empty:/sbin/nologin
phreke:~% grep _fah /etc/group 
_fah:*:550:
phreke:~% 

the brandelf script is in /var/fah:

phreke:~% ls -F /var/fah                           
FAH4Console-Linux.exe      FahCore_7a.exe             queue.dat
FAHlog-Prev.txt            FahCore_82.exe             tinker.log
FAHlog.txt                 MyFolding.html             unitinfo.txt
FahCore_65.exe             brandelf                   work/
FahCore_78.exe             client.cfg
FahCore_79.exe             machinedependent.dat
phreke:~% 
phreke:~% cat /var/fah/brandelf 
#!/bin/sh

/usr/bin/elf2olf -v -o linux $3

exit 0
phreke:~% 

I start [EMAIL PROTECTED] from /etc/rc.local with:

if [ X"$fah" == X"YES" ]; then
        echo -n ' [EMAIL PROTECTED]'
        cd /var/fah && sudo -u _fah env PATH=. FAH4Console-Linux.exe -freeBSD \
         > /dev/null 2>&1 &
fi

-- 
<[EMAIL PROTECTED]>

Reply via email to