First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 107449
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 102587
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gerardo Arceri <elfarto@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107449 depends on: Show dependency tree
Bug 107449 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-27 13:56 0000
After upgrading to  the new apache-2.0.54-r31 ebuild, sometimes after a apache
restart o stop/start only one apache process is brought up and the server opens
por 80 but doesn't serve any content at all, this situation last about 2 minutes
or longer sometimes. looking at /var/log/apache2/error_log we see that apache is
stuck generating the secret for digest auth.
[Tue Sep 27 16:56:56 2005] [notice] caught SIGTERM, shutting down
[Tue Sep 27 16:56:57 2005] [notice] Digest: generating secret for digest
authentication ...
[Tue Sep 27 17:00:36 2005] [notice] Digest: done
[Tue Sep 27 17:00:36 2005] [notice] Apache configured -- resuming normal operations

As you can note it took almost 4 minutes to generate the secret, i guess that
something is wrong , googling around i found this link.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36478
it says that apache should be compiled with --with-random=/dev/urandom which i
see it's included in the ebuild.
Commenting out the
LoadModule auth_digest_module    modules/mod_auth_digest.so
line in httpd.conf solves the problem and apache comes up instantly.



Reproducible: Sometimes
Steps to Reproduce:
1.Start Apache
2.Restart Apache
3.try to access any page or a simple GET / HTTP/1.0 on a telnet localhost 80

Actual Results:  
The server answers no requests until the:
[notice] Digest: done
appears in the log file, sometimes it takes 10 seconds sometimes it takes 5 minutes

Expected Results:  
The server should be answering requests ASAP

Apache has been compiled with the following command line
EXTRA_ECONF="--with-devrandom=/dev/urandom" USE="mpm-prefork no-suexec" emerge 
  apache

# apache2 -V
Server version: Apache/2.0.54
Server built:   Sep 27 2005 16:53:57
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/sbin/suexec2"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

#emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts clearpasswd crypt cups curl
eds emboss encode foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imlib innodb
jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl ogg
oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl
tcpd truetype truetype-fonts type1-fonts vorbis vpopmail xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Jakub Moc (RETIRED) 2005-09-27 14:34:40 0000 -------

*** This bug has been marked as a duplicate of 102587 ***

First Last Prev Next    No search results available      Search page      Enter new bug