Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache-2.0.54-r31 problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
anjunod
n00b
n00b


Joined: 03 Jul 2004
Posts: 11

PostPosted: Mon Oct 17, 2005 12:39 pm    Post subject: apache-2.0.54-r31 problem Reply with quote

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
Code:
apache2ctl start
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
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Mon Oct 17, 2005 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
anjunod
n00b
n00b


Joined: 03 Jul 2004
Posts: 11

PostPosted: Mon Oct 17, 2005 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum