dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
2778
share rss forum feed


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
reply to Pin

Re: [FP] MstrBlstr

w00t!!!! Getting closer here....

All blades are booting fine now, just still not able to send till we edit the start script, right?
--
Foldinator Project - Team Helix


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
OK, new script is in place.

Reboot one blade and see if we still get the user not found or unknown user foldy error.


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
starting ypbind
root
su: warning: cannot chage directory to /home/foldy: No such file or directory
Starting F@H
foldy
bash-2.05#
--
Foldinator Project - Team Helix


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX

reply to Pin
Ok, i went in and took a peak at the startfah stuff and there are like five of them diff configs... LOL confused me really well...

I gotta run for a bit and will be back later tonight... I will leave the sever running so you can do your thing.

Talk to you later... Thanks for all the help.
--
Foldinator Project - Team Helix

[text was edited by author 2003-03-30 16:20:23]


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
OK

BTW - Did the folding client actually start?


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
I put your scripts on RAIC and I received slightly different errors. Modified the scripts and I get no errors on RAIC, so try to reboot a blade and see if all the errors are gone or if we just get different ones.

oh

startfah.org is the original script
pstartfah is a copy of the script we are testing
pstartfah2 is a copy of the script we are testing

startfah is the live script that su's as foldy
startfah2 is the live script that actually starts FAH3.
--
time nor tide wait for no man...
TEN - Team Endeavor | BOUNCE |RC5


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
starting ypbind
root
su: warning: cannot chage directory to /home/foldy: No such file or directory
Starting F@H
foldy
ect/rc.d/startfah2: cd: /fah/Foldinator1: No such directory or file
PWD = /
End startfah2
/bin/nice: ./FAH3Console-Linux.exe: No such file or directory
bash-2.05#


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
I don't understand the su warning.

The user is "foldy" and not "Foldy" right?

Their is a /home/foldy directory, unless we a having a permission problem of some type.

Going in for a look!
--
time nor tide wait for no man...
TEN - Team Endeavor | BOUNCE |RC5


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
Click for full size
...


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
reply to Pin
Click for full size
Click for full size
.....


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
OK, people. Not to leave you hanging here we are still unable to get the blades to upload work. we are trying numerous configs trying to find the problem... I assure you that we are still working on this as it is very frustrating to be this close and not be able to figure out why something that should work is not working.
--
Foldinator Project - Team Helix


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX

Weeee, ain't this fun...

Ok, I am re-loading a HDD for the server and I may have come across what was wrong with the other install stopping it from doing what it was supposed to do...

Gonna finish this install as fast as I can and run some test and will give a report when done.
--
Foldinator Project - Team Helix

[text was edited by author 2003-04-01 15:16:47]


FKrooG2
Working my way back
Premium
join:2000-09-28
Tha Zone
I need to wipe out my server and reinstall it as well. It has been months since this has been done and with the changes that Pinhead and Starfish have been doing, I feel it would be best....

PinHead,
Have you and Fishie added any other installable option to the newer version of BOUNCE? I still have the yatta document and I know that MySQL, PHP, and phpadmin need to be installed but is anything else needed???
--
Yeshua ( Jesus) was a Torah-observant, synagogue-attending, tallit-wearing Jew who taught the world about the Kingdom of God and then gave His own life in order to afford YOU a place in heaven. Halleluyah! ( Praise the Lord!)


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
FK - you are going to need a whole new kit from starfish. I think almost all of the files and possibly the database has changed. Also, I am not sure if PHP is needed anymore. Starfish will have to answer that one too.

MstrBlstr - I'll cross my fingers.
Installing some of the modules after the fact may have been causing some of the problems.

Are you doing this on a different drive? Say yes!
--
time nor tide wait for no man...
TEN - Team Endeavor | BOUNCE |RC5


FKrooG2
Working my way back
Premium
join:2000-09-28
Tha Zone
said by Pin:
FK - you are going to need a whole new kit from starfish. I think almost all of the files and possibly the database has changed. Also, I am not sure if PHP is needed anymore. Starfish will have to answer that one too.
OH Fishie man!!! Could I get the updates please????

said by Pin:
MstrBlstr - I'll cross my fingers.
Installing some of the modules after the fact may have been causing some of the problems.
Your spot on Pinhead! During one of the installs I had I had to reinstall the NFS again and could not get it to load on startup... Wiped it and everything started again....

said by Pin:
Are you doing this on a different drive? Say yes!
That is very good advice if you got an extra HD. I have an extra HD for the laptop I am using for the BOUNCE server for just this thing...
--
Yeshua ( Jesus) was a Torah-observant, synagogue-attending, tallit-wearing Jew who taught the world about the Kingdom of God and then gave His own life in order to afford YOU a place in heaven. Halleluyah! ( Praise the Lord!)


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
reply to Pin
said by Pin:


Are you doing this on a different drive? Say yes!

LOL... OK if that is what you really wanna hear, than YES!!!

HeeHee

Seriously though, YES....
--
Foldinator Project - Team Helix


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
Click for full size
./ltsp_initilize


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
see


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
While you are doing the rest of the config process.

Tell me if my memory is correct.

We had the client running as root and everything worked fine.

We changed permissions so that KDFold could monitor the blades. And everything worked fine.

Wasn't it when we changed to the -advmethods that the retrieving work started to fail.
--
time nor tide wait for no man...
TEN - Team Endeavor | BOUNCE |RC5


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX

No, it never would retrieve work unless I did it manually... It was sending fine but not retrieveing until you had me install the ypserver and stuff.

The server works fine. Send and recieve and -advmethods. The blades were sending ans recieving(manually) with the -advmethods until I installed the yp stuff.

And I do not have /ect/init.d/nfs
--
Foldinator Project - Team Helix

[text was edited by author 2003-04-02 01:23:10]


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
Click for full size
OK so we must have started using -advmethods and the user name at about the same time.

Screenshot shows that nfs needs to be installed. It is what installs the missing file that ltsp_initialize needs.

2 packages:
nfs-utils
nfs-utils-clients
--
time nor tide wait for no man...
TEN - Team Endeavor | BOUNCE |RC5


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX

Instaled the NFS packages, re ran the ./ltsp_initalize and got no errors this time around...

Now I am here and this is what I have edited in the lts.conf file.

It now reads:

# config file for Linux Terminal Server Project
# Configured for foldyserver
#


[Default]
SERVER = 192.168.1.xx
,DNS_SERVER = 192.168.1.xx
XSERVER = auto
,X_MOUSE_PROTOCOL = "PS/2"
,X_MOUSE_DEVICE = "/dev/psaux"
,X_MOUSE_RESOLUTION = 400
,X_MOUSE_BUTTONS = 3
,USE_XFS = N
,LOCAL_APPS = Y
RUNLEVEL = 3
,RCFILE_01 = folding
,NIS_SERVER = 192.168.1.xx
,NIS_DOMAIN = localdomain

#------------------------------------------------------------------------------
#


What have I missed here and what goes where the bold is?
--
Foldinator Project - Team Helix


[text was edited by author 2003-04-02 16:50:44]


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX

reply to Pin
ect/exports now looks like this:

# /etc/exports - NFS filesystems accessible over the network
## LTS-begin ##

#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Sun Jun 30 01:05:22 EDT 2002 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at »www.ltsp.org
#

/opt/ltsp/i386 192.168.1.x/255.255.255.0(ro,no_root_squash)
/var/opt/ltsp/swapfiles 192.168.1.x/255.255.255.0(rw,no_root_squash)

#
# The following entries need to be uncommented if you want
# Local App support in ltsp
#
/home 192.168.1.x/255.255.255.0(rw,no_root_squash)

## LTS-end ##

--
Foldinator Project - Team Helix

[text was edited by author 2003-04-02 18:01:30]


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
reply to Pin
/ect/hosts.allow

#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

## LTS-begin ##

#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Thu Jul 11 23:17:50 EDT 2002 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at »www.ltsp.org
#

bootpd: 0.0.0.0
in.tftpd: 192.168.1.x
portmap: 192.168.1.x

## LTS-end ##

hosts.deny

all comments
--
Foldinator Project - Team Helix


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
in.tftpd and portmap should match the 1st 3 octets of the network portion of your IP address.

If your IP address was A.B.C.D and your net mask was 255.255.255.0, then A.B.C. would go in place of 192.168.1.

Your done with host.deny, unless you have some type of security problem later down the road.
--
time nor tide wait for no man...
TEN - Team Endeavor | BOUNCE |RC5


Pin
Premium
join:2002-06-19
The Dungeon
reply to Pin
Doh!!

Ok, I see what your doing now. Drop the x.

It should just be 192.168.1. to represent the network portion of your IP.

lts.conf - leave it as folding for now.
What are the , or ; for in lts.conf?
Use # to comment out a line.
XSERVER = N
or else it will try to start the graphic display and cause an error.
Since all of the blade will be working on fah, that should do it. Should you ever want to put some on gah and some on fah or use BOUNCE, then you would need to add host entries like:
[Foldinator1]
RCFILE_01 = startfah
RUNLEVEL = 3

[Foldinator2]
RCFILE_01 = startfah
RUNLEVEL = 3

etc....
--
time nor tide wait for no man...
TEN - Team Endeavor | BOUNCE |RC5


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
said by Pin:
Doh!!

Ok, I see what your doing now. Drop the x.

It should just be 192.168.1. to represent the network portion of your IP.


Ok, I had it as 192.168.1.1 which is my subnet actually I think. So, remove the .1?



What are the , or ; for in lts.conf?


I have no freaking clue they look like little dots and they were already there on some of them. Shouold I remove those?



XSERVER = N
or else it will try to start the graphic display and cause an error.


Ok, will do the instructions did not say that.



Since all of the blade will be working on fah, that should do it. Should you ever want to put some on gah and some on fah or use BOUNCE, then you would need to add host entries like:
[Foldinator1]
RCFILE_01 = startfah
RUNLEVEL = 3

[Foldinator2]
RCFILE_01 = startfah
RUNLEVEL = 3

etc....

Ok on this with the combi client I can specify GAH or FAH with the config file, right? Or am I going to need to create seperate directories for each client like we did before?
--
Foldinator Project - Team Helix


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX

reply to Pin
Ok, here is the fun one... Are you sure you do not want to config all these files for me.

#!/bin/bash
# /opt/ltsp/i386/etc/rc.d/folding
# Script to run the “foldy_folding” script below in the “foldy” account
# when the diskless board starts.
# Author: The Gator
#

if [ -x /home/foldy/bin/foldy_folding ]; then
su - foldy -c /home/foldy/bin/foldy_folding
fi

exit 0
--
Foldinator Project - Team Helix


[text was edited by author 2003-04-02 20:15:40]


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
reply to Pin
Hey, on this one:


# /etc/exports - NFS filesystems accessible over the network
## LTS-begin ##

#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Sun Jun 30 01:05:22 EDT 2002 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at »www.ltsp.org
#

/opt/ltsp/i386 192.168.1.0/255.255.255.0(ro,no_root_squash)
/var/opt/ltsp/swapfiles 192.168.1.0/255.255.255.0(rw,no_root_squash)

#
# The following entries need to be uncommented if you want
# Local App support in ltsp
#
/home 192.168.1.0/255.255.255.0(rw,no_root_squash)

## LTS-end ##


It says 192.168.1.0

I changed them to read 192.168.1.1 was that right? Or should they have stayed 192.168.1.0?
--
Foldinator Project - Team Helix


MstrBlstr0
Premium
join:2001-07-14
Corpus Christi, TX
reply to Pin
Wow now for this one... :D

code:
#!/bin/bash
# /home/foldy/bin/foldy_folding
# Script to start Stanford protein folding client.
# Author: The Gator Edited by: MstrBlstr 4/2/03
#

#
# Edit parameters below as needed for target environment.
# Note: SMP_HOSTS is a list of hostnames separated by spaces.
# Comment out the definition and export of SMP_HOSTS if you do
# not have any dual-processor machines to list.
#
# SMP_HOSTS="foldy01 foldy03 foldy05"
FAH_CLIENT=/usr/bin/FAH3Console
FAH_OPT="-local -advmethods -forceasm -verbosity 9"

#
# End of editable parameters.
#
FAH_HOST=`hostname`
export FAH_CLIENT FAH_OPT FAH_HOST
# export SMP_HOSTS
if [ ! -x $FAH_CLIENT ]; then
echo "Folding program: $FAH_CLIENT not found"
sleep 5
exit 1
fi

# Define function that starts folding, which is passed
# the "machine ID" aka "task number" as its argument.
#
FAH_start() {
#
# Make sure the client directory EXISTS
#
FAH_TASK=$1
FAH_DIR=/home/FAH/`hostname`/task_$FAH_TASK
if [ ! -d $FAH_DIR ]; then
mkdir -p $FAH_DIR
echo "folding: creating directory: $FAH_DIR"
fi
#
# If freshly booted, or there is no existing
# folding client configuration, create a default
# configuration. The if statement ensures that
# if the users has changed his or her config it
# will not be overwritten.
#
FAH_CFG=$FAH_DIR/client.cfg
if [ ! -f $FAH_CFG ]; then
echo "[settings]" >$FAH_CFG
echo "username=TH_Foldinator" >>$FAH_CFG
echo "team=4" >>$FAH_CFG
echo "asknet=no" >>$FAH_CFG
echo "machineid=$FAH_TASK" >>$FAH_CFG
echo >>$FAH_CFG
echo "[http]" >>$FAH_CFG
echo "active=no" >>$FAH_CFG
echo "host=localhost" >>$FAH_CFG
echo "port=8080" >>$FAH_CFG
echo "usepasswd=yes" >>$FAH_CFG
echo >>$FAH_CFG
echo "[clienttype]" >>$FAH_CFG
echo "type=1" >>$FAH_CFG
echo >>$FAH_CFG
echo "[core]" >>$FAH_CFG
echo "priority=0" >>$FAH_CFG
echo "folding: created file: $FAH_CFG"
fi

# Start the folding client
SAVE_DIR=`pwd`
cd $FAH_DIR
nohup $FAH_CLIENT $FAH_OPT >$FAH_DIR/screenlog.txt 2>&1 &
cd $SAVE_DIR
echo "folding: started $FAH_CLIENT, task=$FAH_TASK in directory: $FAH_DIR"
echo
return 0
}
#
# end of FAH_start function.
#

#
# Main code:
#
# Search for hostname of the running system, comparing with the list of dual
# systems in SMP_HOSTS, to decide whether to start ONE copy or TWO.
#
if [ ! -z "$SMP_HOSTS" ]; then
for idx in $SMP_HOSTS; do
if [ "$FAH_HOST" = "$idx" ]; then
# This machine is an SMP (dual processor box), so we call the
# FAH_start function TWICE, once for each CPU.
echo "Running on SMP system"
FAH_start 1
FAH_start 2
sleep 5
exit 0
fi
done
fi
#
# This machine wasn't found in the SMP_HOST list, so we only call
# the FAH_start function ONCE for this machine.
echo "Running on non-SMP system"
FAH_start 1
sleep 5
exit 0
#

--
Foldinator Project - Team Helix