6) Start the daemon, and test it
Start the daemon by invoking the boot script:
/System/Library/StartupItems/Rush/Rush start
UPDATE -- OSX 10.2 users: if you get an error 'RUSHSERVER: unbound variable',
then edit the /etc/hostconfig and add a line that reads 'RUSHSERVER=-YES-', then
re-execute the above daemon start script.
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
If you get an error:
% rush -ping +any -t 5
rodin: rush: rresvport(): Permission denied
bacon: rush: rresvport(): Permission denied
..then you probably forgot the tar 'p' flag when you extracted the software in step #1!
Set the permissions manually on the rush and rushd files:
chmod 4755 /usr/local/rush/bin/{rush,rushd}
chown 0:0 /usr/local/rush/bin/{rush,rushd}
If you get a different error, 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.