Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84164 - new apache install stops with: [notice] Digest: generating secret for digest authentication
Summary: new apache install stops with: [notice] Digest: generating secret for digest ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 02:19 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2005-03-05 04:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-05 02:19:22 UTC
If you do a new install of apache (2.0.53), and start it, you will see this in the /var/log/apache2/error.log :
[notice] Digest: generating secret for digest authentication ...

This is normal, but it never gets done, and when stopping apache, it says:
 * Stopping apache2 ...
httpd (no pid file) not running    [ok]

It seems like the apache process that generates the digest crashes or something.

If it works for you, please tell me how to debug it.

Reproducible: Always
Steps to Reproduce:
1. emerge =apache-2.0.53 (A new install, no apache may have been installed before, since the digest then would have been generated).
2. /etc/init.d/apache2 start




Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-
r0, 2.6.11-rc5-mm1-testpc i686)
=================================================================
System uname: 2.6.11-rc5-mm1-testpc i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.4-r2 [2.4 (#1, Feb 28 2005, 11:33:28)]
dev-lang/python:     2.4-r2
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.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mmmx -msse -msse2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share
/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mmmx -msse -msse2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gurlinet.dk/gentoo-portage"
USE="x86 acl acpi apache2 apm chroot crypt curl dba dhcp emboss ftp gd gdbm 
gif hardened imap innodb ipv6 jpeg libg++ libwww maildir md5sum mmx mng mppe-
mppc mysql ncurses nls nptl nptlonly pam pdflib perl php pic pie png posix 
python readline session simplexml slp sse sse2 ssl symlink tcpd truetype-fonts 
type1-fonts userlocales vhosts xml xml2 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-05 02:25:59 UTC
Please provide us with the output of "emerge info".

If you wish to debug this you'll need to re-emerge apache, apr and apr-util with USE=debug and FEATURES=nostrip.  Fwiw, apache-2.0.53 works fine for me and has done for others, too.

Dropping severity down to 'normal'.
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-05 02:28:29 UTC
Ahem, I seem to have missed that you posted "emerge info" output. ;)
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-05 03:22:06 UTC
Guess they have been upgrading instead of duing a clean install ;)
Comment 4 Christian Parpart (RETIRED) gentoo-dev 2005-03-05 04:16:53 UTC
Damn! This really JUST means, that your kernel is lagging in random entropy data.
If you to often request bytes from /dev/urandom e.g., you will find that the entropy is not endless. You will need to generate some kernel traffic in order to fill it up again. this may be network traffic (very hot discussed when security comes into mind), any peripheral input devices, or just the following quick command I use to aid here:

find / &> /dev/null

and then just press Control+C when you got what you want (e.g. apache started)
Comment 5 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-05 04:31:13 UTC
You are right, damnit, I should have figured that out myself :P