All sorted now. Thanks for your help.
It was due to the server not being set up to resolve DNS, stumbled across it whilst trying to ping a domain name in the shell.