View Single Post
Old 16th July 2010, 19:33
GaryL GaryL is offline
Junior Member
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ubuntu 10.04 - /etc/init.d/hostname restart - Issue

Hi all,

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
hostname stop/waiting

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, but I've also tried as I thought the issue might be with multiple hyphens, but I still get the same result.

Many Thanks

Last edited by GaryL; 16th July 2010 at 19:37.
Reply With Quote
Sponsored Links