You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Niklas Saers Mailinglistaccount <ni...@saers.com> on 2003/02/22 10:31:09 UTC

[users@httpd] Endless loop

Hi all,

My apache 2.0.44 goes into an endless loop. Could someone please have a
look at this and see if they can figure out why? When I start it with my
regular config-file, I get:

# ps aux | grep http
root   50239  2.1  0.7  9116 7512  ??  Ss   10:21AM   0:00.61 /usr/local/apache2/bin/httpd -k start
www    50240  0.0  0.7  9012 6816  ??  S    10:21AM   0:00.00 /usr/local/apache2/bin/httpd -k start

I can telnet in to port 80 and write as many http-commands I like. It
accepts what I write but never sais anything in return, never closes the
connection. I have had this up for days, and even the CPU time in the "ps aux"
won't change.

Trying with Apache's default config file, I get:
# /usr/local/apache2/bin/httpd -f conf/httpd-alternate.conf
# ps aux | grep http
root   50247  0.0  0.3  4104 3220  ??  Ss   10:24AM   0:00.11 /usr/local/apache2/bin/httpd -f conf/httpd-alternate.conf
www    50248  0.0  0.3  4104 3244  ??  I    10:24AM   0:00.00 /usr/local/apache2/bin/httpd -f conf/httpd-alternate.conf

Same kind of response. So my config seems to be nice, but the binary out
there. I'd like it to be as verbose as it can to help me be able to debug
this, but I haven't found any way to have it more verbose.

When I use the default configuration, this is what comes in my error logs:

[Sat Feb 22 10:24:36 2003] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Feb 22 10:24:36 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache2/bin/suexec)
[Sat Feb 22 10:24:36 2003] [notice] Digest: generating secret for digest authentication ...

These are my compile settings:
# /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.44
Server built:   Feb 18 2003 13:19:31
Server's Module Magic Number: 20020903:0
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_FLOCK_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/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

And these are my compiled in modules:
# /usr/local/apache2/bin/httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_auth_dbm.c
  mod_auth_digest.c
  mod_file_cache.c
  mod_cache.c
  mod_disk_cache.c
  mod_include.c
  mod_log_config.c
  mod_logio.c
  mod_env.c
  mod_mime_magic.c
  mod_cern_meta.c
  mod_expires.c
  mod_headers.c
  mod_usertrack.c
  mod_unique_id.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_dav.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_info.c
  mod_suexec.c
  mod_cgi.c
  mod_cgid.c
  mod_dav_fs.c
  mod_vhost_alias.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c


Thanks in advance

   Niklas Saers

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Endless loop

Posted by Niklas Saers Mailinglistaccount <ni...@saers.com>.
I've narrowed the problem down to the following configure statement:

--enable-auth-digest

Why would this statement make the apache server hang? What should I do to
make it work?

Cheers

   Nik

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Endless loop

Posted by Niklas Saers Mailinglistaccount <ni...@saers.com>.
PS, doing --ensable-ssl=static as discussed in this group did not seem to
resolve the problem.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org