[Gllug] Problem starting up

Lee Blackwell lee_blackwell at eur.3com.com
Tue Aug 7 23:33:13 UTC 2001


I've had the same problem as I've got 3 different IP's depending on
location.  I've munged rc.local to rewrite the hosts at each startup.  My
hosts file looks like so:


## Auto-generated
127.0.0.1	localhost.localdomain	localhost	localhost.
140.204.x.x	punkey2.eur.3com.com	 punkey2

Sendmail starts up & beaut now.

HTH,

Lee

-- 
Lee Blackwell
Unix Specialist, NCS, 3com IT.
"Marriage - It's so great to find that one special
person you want to annoy for the rest of your life."

On Tue, 7 Aug 2001, Simon Bunker wrote:

>
> That is exactly the problem - and yup - Red Hat 7.1 :o) What is the hosts
> file meant to look like? I think I only changed /etc/hosts - do I need to
> change /etc/hostname too? Or does sendmail have it's own configuration that
> needs to be run?
>
> I did manage to get back in using the "Interactive startup" and just
> turning
> sendmail off when it asked me. I can't be bothered waiting five minutes for
> a timeout! Looks like it's fixable at least, but what needs to be changed
> to
> get it right again?
>
> thanks
>
> Simon
> http://www.rendermania.com/
> UIN 11123737
>
> > There is a problem in your /etc/hosts file, it's not resolving the
> hostname correctly.
> > This would cause lpd to not start and make sendmail take a while to try
> start on bootup. But it wont make the machine totally unbootable, just take
> a little while to get past sendmail.
> > I found that linuxconf had this problem. netcfg also made a lovelly mess
> of my /etc/hosts file on redhat 7.1, I tend to try steer clear of these as
> they have caused me lots headaches in the past, especially when I tried to
> let linuxconf configure apache for me!
> >
> > Brent
> >
> > On Tue, Aug 07, 2001 at 02:31:15AM +0100, Simon Bunker wrote:
> > > Hi all
> > >
> > > Ok I think I've just made a small mistake - hopefully one that can be
> solved
> > > the Linux way - ie not reinstalling the Operating system. I needed to
> change
> > > the name of my computer for some software that needs a host for its
> license,
> > > so I thought this would be fairly simple - changed it in
> linuxconf...and
> > > then something else told me to change it in /etc/hosts which I did.
> > >
> > > However it looks like there are a few other things I should have done.
> At
> > > the moment it halts at starting up the sendmail daemon just after the
> lpd
> > > daemon (which is no problem if that doesn't start - hardly as
> critical).
> > >
> > > Is there any way around this? Is there some way of dropping to a lower
> init
> > > level so these things don't get started and I can get back in? And what
> do I
> > > need to change to get things working again. I haven't really messed
> around
> > > with these sorts of things so it should be an interesting learning
> > > experience.
> > >
> > > Any pointers on where to start and get back going again? Luckily it is
> on
> > > seperate partitions so I could reinstall if I absolutely had to - but I
> > > would obviously prefer not too.
> > >
> > > thanks
> > >
> > > Simon
> > > http://www.rendermania.com/
> > > UIN 11123737
> > >
>
>
> --
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
>


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list