[H-GEN] Problems with Linux boot
Gregory McGarry
g.mcgarry at qut.edu.au
Tue Jul 28 04:23:36 EDT 1998
Craig Eldershaw wrote:
> Find the appropriate script on your system (exact location various with
> type [debian/redhat/etc]) and see if all the lines make sense. For
> that matter, you can probably test them by manually running each of the
> "route ..." and "ifconfig ..." lines manually (in order !) to see which
> one generated the appropriate whinge. Do a "ifconfig eth0 down"
> first. If you cant figure it out from this, then edit the file so that
> every second line of the relevant section contains an echo. Eg.
>
> echo "starting"
> <original line>
> echo "2"
> <next orig line>
> echo "3"
> ...
>
> Then reboot. The error messag will be printed between two numbers,
> which identifies which line is the culprit (this is the systems
> version of the old saying "print* is the best debugging tool ever
> written" :-).
I don't know whether debian/redhat is any different to the rest of the
unix world, but sticking
set -x
is my preferred method.
Regards,
Greg
More information about the General
mailing list