Originally Posted by GaryL
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?
You can ignore this warning - just run
and you should be fine.