Spocks complaining “LICENSE ERROR: can not get local host name”. Whats wrong?
Spock needs to know the fully-qualified domain name (FQDN) for your machine in order to verify the license. Some machines are mis-configured so that the system hostname commands do not return information about the domain. For example, if that were the case on this machine, the hostname command would return “quorum” instead of “quorum.tamu.edu”. There are several ways to fix this problem. The best way is to ask your system administrator to fix your system name so that hostname returns the FQDN. Alternately, you can set the “SP_DOMAIN” variable in the $SPOCK/Spockrc file so that it has the correct domain in it. Note that if you’re in a subdomain, you may have to do this. For example we have a chem.tamu.edu subdomain on camups, and for machines in that subdomain, they must set SP_DOMAIN to chem.tamu.edu. Note: some linux boxes have real trouble with this. The best solution so far seems to be to have the FQDN listed as the first entry in /etc/hosts.