| Linode Forum https://forum.linode.com/ |
|
| hostname issue https://forum.linode.com/viewtopic.php?f=19&t=7386 |
Page 1 of 1 |
| Author: | k7faq [ Sat Jul 09, 2011 10:49 pm ] |
| Post subject: | hostname issue |
Someone offer some insight as how to resolve this? Code: /bin/hostname --fqdn results in Code: hostname: Name or service not known this is noticed in just deploying an Ubuntu 10.04 new Server config Code: root@fms:~# hostname Thanks Steven[/code] |
|
| Author: | Zr40 [ Sat Jul 09, 2011 11:23 pm ] |
| Post subject: | |
Did you add the IP and FQDN to /etc/hosts? |
|
| Author: | k7faq [ Sun Jul 10, 2011 1:25 am ] |
| Post subject: | |
Yes, thank you. Following is the contents of the /etc/hosts. I found performing the exact same set of actions on a Debian 6 everything works just fine. I am not sure what the issue is but seems to be specific to the Ubuntu 10.04 config here # cat /etc/hosts 96.126.120.146 fms.csr-az.com 127.0.0.1 localhost.localdomain localhost |
|
| Author: | obs [ Sun Jul 10, 2011 6:36 am ] |
| Post subject: | |
/etc/hosts should have Code: yourip yourfqdn yourhostname /etc/hostname should have Code: yourhostname Once done you can either reboot or run Code: start hostname |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|