View previous topic :: View next topic |
Author |
Message |
anjunod n00b
Joined: 03 Jul 2004 Posts: 11
|
Posted: Mon Oct 17, 2005 12:39 pm Post subject: apache-2.0.54-r31 problem |
|
|
Hello, forum
I've got a crazy problem with apache on a new gentoo box. When starting it with Code: | $> /etc/init.d/apache2 start | or apache rarely writes its PID in /var/run/apache2.pid. When it do it, all is fine: The server answers the queries and i can stop it fine. But more often it does not do that. In that case, the server does not answer the queries and it's of course imposible to stop it without kill or killall.
Any idea?
Thanks a lot for your help
AJ |
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Mon Oct 17, 2005 12:48 pm Post subject: |
|
|
I might be miles off, but after a failed startup, try this..
Code: | cat /proc/sys/kernel/random/entropy_avail |
If that's 0 or otherwise extremely low, that may be your problem. emerge rng-tools if so, and start rngd. |
|
Back to top |
|
|
anjunod n00b
Joined: 03 Jul 2004 Posts: 11
|
Posted: Mon Oct 17, 2005 12:59 pm Post subject: |
|
|
Monkeh wrote: | I might be miles off, but after a failed startup, try this..
Code: | cat /proc/sys/kernel/random/entropy_avail |
If that's 0 or otherwise extremely low, that may be your problem. emerge rng-tools if so, and start rngd. |
You are the best!!
When entropy is at around 20 it wont start cleanly. And for example at around 180 (I launched a compilation) it starts like a charm.
Thanks a lot :)
AJ |
|
Back to top |
|
|
|