how are you starting it exactly?
Hey there folks,
Well I finally got my other PC up and running... well kinda. I put RH9.0 on it and its ok, I need more RAM, but I tried to setup my folding to start automatically and it says that there are perm problems with the ttyXXs I first had it on tty12 and figured that maybe there was just somehting funky with putting it on such a high tty so I dropped it to tty6 same thing... Anyone have any ideas on what could be wrong? I would really like to have it pop over to a higher tty!
Thanx,
Ryan
how are you starting it exactly?
Sorry it took me so long to reply but I'm trying to start it by putting the script in /etc/init.d/ directory and then making it executable. Then I ran chkconfig -add folding and it added it to run in run levels 2,3,4 & 5. But it never seems to be running! >
The script is as follows:
Thats it. All I get in the boot log is a permission denied errorCode:#!/bin/sh #chkconfig: 345 99 99 #description: Start | Stop | Restart | (Check the) Status of the FAH Linux console client source /etc/rc.d/init.d/functions FAH="/home/mcdougrs/folding/FAH3Console-Linux.exe" cd /home/mcdougrs/folding/ >/dev/tty6 RETVAL=1 case "$1" in start) echo -n "Starting Folding@Home client ... " su mcdougrs -c "$FAH >/dev/tty6 &" RETVAL=$? ;; stop) echo -n "Stopping Folding@Home's FAH3Console-Linux.exe ... " killproc FAH3Console-Linux.exe RETVAL=$? ;; restart) $0 stop /usr/bin/sleep 1 $0 start RETVAL=$? ;; status) status FAH3Console-Linux.exe RETVAL=$? ;; *) echo "Usage: $0 {start|stop|restart|status}" exit 1 ;; esac exit $RETVAL
hello,
i use crontab to run mine:
make one by doing a crontab -e and then entering soemthing like this.Code:[pbharris@bugs ~]crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.5016 installed on Sat Apr 5 21:30:35 2003) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) 0 * * * * cd /home/pbharris/seti; ./setiathome -nice 19 > /dev/null 2> /dev/null [pbharris@bugs ~]
Code:0 * * * * cd /home/ian/gah; ./gah.exe -nice 19 > /dev/null 2> /dev/null
Bookmarks