8) Start the daemon, and test it
Start the daemon by invoking the boot script:
IRIX: /etc/init.d/rush start
LINUX: /etc/rc.d/init.d/rush start
Then ping the daemon to see if it's running:
% set path = ( /usr/local/rush/bin $path )
% rush -ping
imac: RUSHD 102.31h PID=7166 Boot=10/15/00,03:25:49 Online, 0 jobs, 0 procs
Possible errors:
- libstdc++.so.5: cannot open shared object file
(Linux specific) You are probably trying to use rush's 'redhat9' distribution on
RHE4 (Redhat Enterprise 4) or FC4 (Fedora Core 4), or some similar distro.
If so, be sure to install the 'compatibilitiy libraries'. For RHE4/FC4, install
compat-libstdc++-33-3.2.3-47.3.i386.rpm from the CDROM.
- rresvport(): Permission denied
For example:
% rush -ping +any -t 5
rodin: rush: rresvport(): Permission denied
bacon: rush: rresvport(): Permission denied
..then check the SUID bit on the rush(1) binary, and make sure the owner is root:
chmod 4755 /usr/local/rush/bin/rush
chown 0.0 /usr/local/rush/bin/rush
- Connection refused or other such errors..
Check the daemon logs for problems, eg:
tail -f /usr/local/rush/var/rushd.log
To test if the daemon is working, you can run this test submit script,
just to verify jobs can be started, listed, and dumped:
/usr/local/rush/examples/test-submit
To submit a real job, similar to what TDs use, you can run
this test which includes
complete instructions for someone who has never used rush before.
9) (OPTIONAL) Setup accounting log rotations.
Make a crontab entry that runs on a nightly basis that rotates out
the cpu accounting information. The simplest would be:
0 0 * * * /bin/mv /usr/local/rush/var/cpu.acct /usr/local/rush/var/Ocpu.acct
You may want to then push the rotated file through an accounting filter
to keep tabs on cpu usage for the network. This is left as an exercise
to the reader.
10) (OPTIONAL) Security issues.
11) That's it.
Once you have things working on the first machine, then you can easily install
Rush on the rest of the machines using the Network Install
instructions below.