← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #78113]: ubuntu 9.04 does not start ..and I have to press Ctrl D.

 

Question #78113 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/78113

actionparsnip proposed the following answer:
You have changed your hostname since install

andy@fileserver:~$ cat /etc/hosts
127.0.0.1	localhost fileserver
127.0.1.1	fileserver

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

andy@fileserver:~$ cat /etc/hostname 
fileserver

See how the hostname is in the file /etc/hostname and is also resolved
in /etc/hosts. This is important and simply changing the content of the
file /etc/hostname is NOT sufficient. Please check both files have a
matching hostname for your system. Yours should read:

andy@fileserver:~$ cat /etc/hosts
127.0.0.1	localhost tulku
127.0.1.1	tulku

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

andy@fileserver:~$ cat /etc/hostname 
tulku

If one is different, then open it with:

gksudo gedit

then save the fie and reboot (necessary)

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.