Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 16:50:31 -0400 (EDT)
From:      Adam <bsdx@looksharp.net>
To:        ports@freebsd.org
Cc:        hetzel@westbend.net
Subject:   problem with apache modular, doesnt seem to be the conf
Message-ID:  <Pine.BSF.4.21.0008081632140.77892-100000@turtle.looksharp.net>

next in thread | raw e-mail | index | archive | help
Hi, I'm asking here because the freebsd apache port is modular and I was
hoping someone might have some pointers for me for what is going on.  I'd
rather use the port because its convenient and I can handle it myself and
dont have to bother anyone else if I want something compiled manually if I
cant figure it out.  Anyways, recently I was cleaning up logfiles and may
have done something in the configuration to cause this but I cant find out
what, and the apache website doesnt seem to know where to lead me.  If
this is not the best place to ask, please let me know what is.  

We are using the freebsd apache13 port and mod_php4 and this was working
fine until the other day.  Yesterday I noticed it was exiting on restart
(either apachectl restart or kill -hup from newsyslog).  I rotate the logs
every 6 hours, so this isnt very fun to deal with 4 times a day.  I get
these errors whenever I start, stop, or restart the server:

/usr/local/sbin/apachectl start: httpd started
# [Tue Aug  8 16:41:32 2000] [error] Cannot remove module
mod_setenvif.c: not found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_auth.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_access.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_alias.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_userdir.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_actions.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_imap.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_asis.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_cgi.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_dir.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module
mod_autoindex.c: not found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_include.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_status.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module
mod_negotiation.c: not found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_mime.c: not
found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module
mod_log_config.c: not found in module list
[Tue Aug  8 16:41:32 2000] [error] Cannot remove module mod_env.c: not
found in module list
[Tue Aug  8 16:41:33 2000] [notice] Apache/1.3.12 (Unix) PHP/4.0.1pl2
configured -- resuming normal operations

If my DYNAMIC_MODULE_LIMIT (hard-compiled in apache) is 64, the following
happens on the first restart.  If I change it to 128 and drop in the new
httpd, it happens on the 4th or 5th restart:

same errors from above
...
[Tue Aug  8 16:42:39 2000] [error] Cannot remove module
mod_log_config.c: not found in module list
[Tue Aug  8 16:42:39 2000] [error] Cannot remove module mod_env.c: not
found in module list
httpd: module "mod_expires.c" could not be loaded, because the dynamic
module limit was reached. Please increase DYNAMIC_MODULE_LIMIT and
recompile.

And apache dies.  
I tried taking the standard httpd.conf and adding in my local changes for
documentroot etc, but the problem still occurs.  The only discrepancy I
can see between the AddModule and LoadModule sections is AddModule
mod_so.c.  I dont know if it is supposed to have a .so to go with it, but
I dont.  None of these AddModule or LoadModule lines are listed in the out
of box apache install httpf.conf default so I just copied them from my
previous httpd.conf.  I have attached my conf, if it would help.  Please,
if anyone knows how to help me please let me know, I dont want to try
removing the whole apache and mod_php4 ports unless its
suggested.  Thanks.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008081632140.77892-100000>