Here are some potential problems and fixes for RedHat & other
Linux distributions when setting up Simple Grid Protocol 1.03:



1.) "clisp" path problem

Many "clisp" RPM packages for Linux will install clisp in "/usr/bin".
The "Simple Grid Protocol 1.03" lisp programs look for the clisp
interpreter in "/usr/local/bin" which is where it would be if
you built & installed clisp using the source code.

Type "which clisp" at the Linux shell to determine the clisp path.
If it is in "/usr/bin" you will need to login as root and add a
symbolic link "ln -s /usr/bin/clisp /usr/local/bin/clisp".



2.) "xinetd" used instead of "inetd"

RedHat uses the Internet super-server "xinetd" instead of "inetd".
The GRID_HOW_TO was written for "inetd".

You can modify the GRID_HOW_TO for "xinetd" as follows:


Replace Step 5 of "TO SETUP THE TRACKING SERVER" with:

Using your favourite text editor, add the following info to
the "/etc/xinetd.conf" file:

service sgpts
{
     socket_type = stream
     wait = no
     user = grid
     server = /usr/sbin/track.lisp
}

Also, add the following to the top of the "/etc/hosts.allow" file:

track.lisp: ALL


Replace Step 5 of "TO SETUP THE CPU RESOURCE SERVERS" with:

Using your favourite text editor, add the following info to
the "/etc/xinetd.conf" file:

service sgpcs
{
     socket_type = stream
     wait = no
     user = nobody
     server = /usr/sbin/cpurs.lisp
}

Also, add the following to the top of the "/etc/hosts.allow" file:

cpurs.lisp: ALL



3.) File permissions of "/home/grid" directory

The CPU Resource Server runs as the user "nobody" for security
reasons. The file permissions of "/home/grid" must allow user
"nobody" to read the ".dat" files. The correct setting of the
permissions are shown in the new GRID_HOW_TO on our web site.

Here is a summary:

    i) Login as root, set the permissions for the home directory
      "chmod 755 /home/grid".

    ii) Login as grid, type: "chmod 755 *.lisp" and
       type: "chmod 644 *.dat"
