only a guess here but how about

127.0.0.1     localhost.localdomain   localhost
192.168.1.1    hongkong.rdc-home.org  hongkong

on two seprate lines?

HTH,

Ian

-----Original Message-----
From: Chris Dickson [mailto:[EMAIL PROTECTED]]
Sent: 24 October 2001 16:26
To: [EMAIL PROTECTED]
Subject: RE: [scottish] Slow Boot


I just tried that and it fixed sendmail but now lpd (I am sharing 2 printers
on a Win2K box) isn't working. it wants the host file to read
127.0.0.1     localhost.localdomain   localhost

where I have changed it to

192.168.1.1    hongkong.rdc-home.org  hongkong

Any ideas?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: 23 October 2001 18:44
To: [EMAIL PROTECTED]
Subject: Re: [scottish] Slow Boot


On Tue, Oct 23, 2001 at 05:33:30PM +0100, Chris Dickson wrote:
> Hi all, when I boot my linux pc it's goes along quite smoothly until it
> tries to start sendmail, which takes ages. Is this supposed to take a long
> time or is it looking for something that isn't there or something which I
> can fix? (it is an old P166 but everything else chuggs along happily at
> boot).

FX: <finger in wind>
It's a DNS problem. Sendmail needs to know about DNS. at least, it needs to
know about the box it's running on.

I suggest that in /etc/hosts on the box you make sure you have a fully
qualified domain name for the host.

ie
192.168.1.1     thisbox.domain.co.uk    thisbox

Other than that, it's time for the magic chicken bones over your zone files
:-)

Andrew

--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com

150 Broomielaw
5 Atlantic Quay
Glasgow
G2 8LU.
Tel:  +44 (0) 141 248 2700.
Fax:  +44 (0)141 221 3217

 This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to
be disclosed to anyone other than the addressee. Unauthorised recipients
are requested to preserve this confidentiality and to advise the sender
immediately of any error in transmission.


--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to