Click to See Complete Forum and Search --> : Hostname + sendmail


blingbling!!
02-20-2003, 07:46 AM
Hi People!

I've recently moved up to redhat 8.0, and this has not been without it's problems! One of the main ones i have at the moment is the amount of time it takes to boot up my system. I've changed my computer name from 'localhost.localdomain' (this is the installation default - i couldn't find a way of changing the name at installation time) to 'bluelines', and since then sendmail always takes at least 2 minutes to start during the boot up process. Why??!?! Is there a easy and safe way of fixing this - i'm pretty sure it's somehting to do with the new host name, cos the problem only arose when i changed that.

Ok, thanks already!

Robin

mdwatts
02-20-2003, 07:54 AM
If you are using dhcp, change /etc/hosts to

127.0.0.1 localhost.localdomain localhost <your hostname>

echo $HOSTNAME (to display the hostname)

or if you are using static ip addressing

127.0.0.1 localhost.localdomain localhost

192.168.1.2 <hostname>

Of course change 192.168.1.2 to whatever your static ip address is.

blingbling!!
02-20-2003, 11:41 AM
Thanks once again, Mr. G.

Robin