Changes between Version 1 and Version 2 of SkandhaInstall


Ignore:
Timestamp:
07/24/06 11:52:46 (12 years ago)
Author:
joshuadf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SkandhaInstall

    v1 v2  
    3838code broke and the first skandha to start up never 
    3939releases the lock. So if you need to run more than 
    40 one skandha do this: 
     40one skandha do this. Unfortunately `tmpwatch` tries 
     41to reap the file, so this needs to be run regularly, 
     42for example from `/etc/cron.daily/`: 
    4143{{{ 
    42 touch /usr/tmp/.kblock  
    43 chmod 000 /usr/tmp/.kblock  
     44#!/bin/sh 
     45chattr -i /var/tmp/.kblock 
     46# touch to avoid tmpwatch reaping 
     47touch /var/tmp/.kblock 
     48# make sure nothing can access the file 
     49chattr +i /var/tmp/.kblock 
    4450}}} 
    45 I haven't seen any ill effects of preventing the lock. 
     51I haven't seen any ill effects of preventing the lock, 
     52it may only do something useful on Irix. 
    4653 
    47 === Getting the files === 
    48 Here's a little script I made to get the skandha tree from Kevin's home 
     54=== Running the server === 
     55The `src/bin/skandha4` file is a script that sets up environment variables;  
     56we need to edit it to include the local libraries: 
     57{{{ 
     58LD_LIBRARY_PATH=\/home/dsg/lib:/usr/local/lib: 
     59export LD_LIBRARY_PATH 
     60LD_RUN_PATH=\/home/dsg/lib:/usr/local/lib: 
     61export LD_RUN_PATH 
     62}}} 
     63 
     64Then start the server with something like: 
     65{{{ 
     66#!/bin/sh 
     67ROOT=$HOME/public_html/dsg-skull/ 
     68GNUTERM=osmesa 
     69GNUTERM_SIZE=512,512 # normal 
     70export ROOT GNUTERM GNUTERM_SIZE 
     71PORT=63070 
     72cd $ROOT 
     73export TMP=$ROOT 
     74/home/dsg/src/bin/skandha4 -t$ROOT/skandha-transcript-devel -p$PORT xdada-server-skull 
     75}}} 
     76 
     77To make sure it works, `telnet localhost 63070` and type `(exit)`. 
     78If it hangs or says `error: unbound function` something is wrong.