View previous topic :: View next topic |
Author |
Message |
CodAv Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 May 2004 Posts: 170 Location: Essen, Germany
|
Posted: Wed Mar 29, 2006 10:57 pm Post subject: Apache server runs only once per system boot [SOLVED] |
|
|
Hi,,
after many, many other weird Gentoo problems, there is another one which I never had before and I cannot explain. Simply, on two servers with a nearly identical software configuration (basic Stage3 installation with some minor updates), apache2 will only run once. Then, no matter how you restart it (reload, restart, stop/start), it won't run anymore. Reloading it, the running handler threads go defunct. Stopping and restarting it, the main thread spawns and hangs, no errors in the logfiles. Have to kill it with "kill -9". This is the output of "ps auxf" after doing an "/etc/init.d/apache2 reload":
Code: | root 6360 0.0 0.3 13808 6856 ? Ss Mar29 0:00 /usr/sbin/apache2 -D DEFAU[cut long cmd line]
apache 6429 0.0 0.0 0 0 ? Z Mar29 0:08 \_ [apache2] <defunct>
apache 6431 0.1 0.0 0 0 ? Z Mar29 0:13 \_ [apache2] <defunct> |
If I reboot the machine, apache comes up and runs perfectly, until I restart it. As one of the servers will act as a mass hosting machine, this behaviour is inacceptable - I would have to restart the server multiple times an hour. Anyone there who has a similar or the same problem?
Additional info:
net-www/apache-2.0.55-r1, compiled with USE flags "apache2 ssl threads", the problem remains even without the "threads" or "ssl" flags.
dev-lang/php-4.4.2, compiled with USE flags "apache2 berkdb bzip2 cli crypt ctype curl exif expat fastbuild force-cgi-redirect ftp gd gdbm ipv6 memlimit mysql ncurses nls pcre posix readline session sharedext sockets spell ssl threads tokenizer truetype xml xsl zlib", the problem remains without php.
I suspect glibc to be the source of those problems, as these two machines are the first I compiled with the "nptl" USE flag. But before taking hours of compiling, I'll ask the community if this problem could be caused by other things. I have glibc-2.3.6-r3 installed. _________________ Debian is available in three different versions: rusty, stale and broken.
Last edited by CodAv on Wed Mar 29, 2006 11:43 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
badchien Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CodAv Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 May 2004 Posts: 170 Location: Essen, Germany
|
Posted: Wed Mar 29, 2006 11:44 pm Post subject: |
|
|
That's it... installed rng-tools-2, and now it starts as intended. Thanks, you saved me a lot of unnecessary compile time! ![Smile :)](images/smiles/icon_smile.gif) _________________ Debian is available in three different versions: rusty, stale and broken. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|