Serene
07-26-2001, 08:42 AM
in the term ,I changed the localhost in other names ,when reboot linux ,the sendmail and http start aborted,It advise me change /etc/hosts ,I added a item NEWNAME and IP,It is same and linuxconfig act slowly!
does any1 knw how can I correct them?
PLBlaze
07-26-2001, 10:54 AM
You can't just play with localhost names and hope they will work...there's a purpose to it.The loopback interface (lo,127.0.0.1) is bound to locahost as defined in /etc/hosts eg.
127.0.0.1 localhost.localdoamin
and it must exist for proper operations (sendmail for one fails if it's missing)
Just make sure to write the info in my example to /etc/hosts and all should be fine again :) .If you want to define your own hostname then add extra entry to /etc/hosts with ip other than 127.0.0.1... eg.
192.168.0.1 myownhostname.somelocaldomain myboxshortname
Hope this helps.