I'm pretty new to the site. I was following the "The Perfect Server - Ubuntu 10.04 [ISPConfig 3]"
howto and I've become stuck at Step 7 - Configure The Network.
When I run /etc/init.d/hostname restart
, I get the following message:
Rather than invoking init scripts through /etc/init.d/, use the service utility, e.g. service hostname restart
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart utility, e.g. restart hostname
But when I run either service hostname restart
or restart hostname
I get the response:
restart: Unknown instance:
Any idea what’s gone wrong?
My full hostname is in the following format vm-svr-mail.mydomain.co.uk, but I've also tried mail.mydomain.co.uk as I thought the issue might be with multiple hyphens, but I still get the same result.