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

Re: httpd not running after reboot



On Wednesday 13 February 2002 05:43 pm, Robert M. Riches Jr. wrote:
> > From: Mark Arrasmith <arrasmith@math.twsu.edu>
> > Date: Wed, 13 Feb 2002 17:05:21 -0600
> >
> > I have an old AS/200 running RedHat 7.1 as an apache, MySQL, and PHP
> > server. After reboot I can't get apache to start.  I keep getting errors
> > like . . .
> >
> > alpha_fp_emul: Invalid FP insn 0x4f938 at 0x2000110dc78
> >
> > in messages.  But, if I start up XFree, apache will then start running.
>
> Seeding the random number generator sounds like something I had
> to do to get an X server to start up in a reasonable time.  One
> option to fill the entropy pool (input to the random number
> generator) is to chatter on the keyboard or move the mouse around
> a bunch.  Another option is to invoke startx in background, then
> cause a bunch of disk I/O.  In my case, I cat files from /usr/bin
> to /dev/null until I see /tmp/.X11-unix/X$dispnum in existence.
>
> Unfortunately, it doesn't seem this is likely to have anything to
> do with the problem described above with FP emulation and apache.

Actually you've helped with the problem a lot.  I decided to do some 
experiments on when apache will run and when it will not run after a reboot.

Trial One:
1) reboot.
2) apache will not start ( the above alpha_fp_emul error shows up )
3) start X and then close X
4) apache will now start

Trial Two:
1) reboot
2) apache will not start ( the above error again )
3) run " find -name just_start_will_you " from /
4) apache will now start

It seems lots of disk I/O gets apache to start.  One other strange thing was 
MySQL would crash with an unaligned trap when apache would attempt to start 
and fail.  Once I did the " find " from above all those problems seem to stop.

So you can see why I was guessing that it might be the same thing.  I'm 
really needing an automatic solution because this is a server I don't sit in 
front of.  Anything else I could try?  Anything during the boot process I 
could throw in?  Would recompiling apache, etc., help?

- mark arrasmith

-- 
Lawyer's Rule:
	When the law is against you, argue the facts.
	When the facts are against you, argue the law.
	When both are against you, call the other lawyer names.





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