[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: redhat linux start question



张少驰 wrote:
> I install Red Hat Linux7.3,it runs ok for days,one day I use showdown to 
> close computer.When I restart my computer,I found my Linux shows:
> Mounting local filesystem         [ok]
> Enabling local filesystem quotas  [ok]
> Enabling swap space               [ok]   
> Init:Entering runlevel:5          [ok]
> Entering non-interactive startup  [ok]
> Setting network parameter         [ok]
> Bringing up interface lo:
>  
> Then Linux can't run any more,I don't know why? Why Linux can't through 
> "Bringing up interface lo" test? How to solve this program?
> Please help!
> Any idea will be appreciated!

You probably have a messed up /etc/hosts file or the
/etc/sysconfig/network-scripts/ifcfg-lo file is messed up.

The first step is to boot the system in single user mode.  At the
boot screen, hit "CTRL-X" when the logo appears, and enter
"linux single" at the "boot: " prompt.  The system will boot up to
a "#" prompt.  Edit the /etc/hosts file and make sure there's
a line that looks like:

	127.0.0.1	localhost	localhost.localdomain

in it.  If it doesn't exist, insert that line and save the file.

Next, go to /etc/sysconfig/network-scripts and verify that you
have an ifcfg-lo file in there.  It should be a symbolic link to
"../networking/ifcfg-lo" (check this by "ls -l ifcfg-lo".  If the
link exists, change to /etc/sysconfig/networking and edit the
ifcfg-lo file.  It should contain this information:

DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

That should do it.  Exit the single user mode by typing in "exit" and
let the system reboot.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-            I'm afraid my karma just ran over your dogma            -
----------------------------------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]