Web Hosting Talk







View Full Version : mod_alias.c Problem


sanam
03-23-2002, 05:39 AM
Hi, sometimes my apache stops for a short moment maybe a minute or 2 and than everything gets back to normal !

when i checked the error log it gave me :

>> httpd: module "mod_alias.c" could not be loaded, because the dynamic
>> module limit was reached. Please increase DYNAMIC_MODULE_LIMIT and recompile.

could somone please tell me the cause and the solution to how to increase the limit !!

thank youuu , oh and im on a WHM-CPANEL server

bitserve
03-23-2002, 07:31 PM
You'll need to edit your httpd.h file and recompile.

Are you sure that the error message is reported at the same time that you're having problems?

sanam
03-23-2002, 08:10 PM
yes im sure
Do you mean to reinstall apache ?

and what should i do by editing the httpd.h

thank you

sanam
03-23-2002, 08:35 PM
this is the exact lines from my error_log

[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_mime.so uses plain Apa$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_negotiation.so uses pl$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_status.so uses plain A$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_include.so uses plain $
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_autoindex.so uses plai$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_dir.so uses plain Apac$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_cgi.so uses plain Apac$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_asis.so uses plain Apa$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_imap.so uses plain Apa$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_actions.so uses plain $
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_userdir.so uses plain $
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_alias.so uses plain Ap$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_access.so uses plain A$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_auth.so uses plain Apa$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_setenvif.so uses plain$
[Sat Mar 23 09:49:29 2002] [warn] Loaded DSO libexec/mod_attach.so uses plain A$
[Sat Mar 23 09:49:29 2002] [warn] module php4_module is already loaded, skipping
[Sat Mar 23 09:49:29 2002] [warn] module mod_php4.c is already added, skipping
[Sat Mar 23 09:49:29 2002] [notice] Apache/1.3.23 (Unix) mod_bwlimited/1.0 PHP/$
[Sat Mar 23 09:49:29 2002] [notice] Apache/1.3.23 (Unix) mod_bwlimited/1.0 PHP/$
[Sat Mar 23 09:49:29 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/loc$
[Sat Mar 23 09:49:29 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Mar 23 10:59:31 2002] [notice] SIGUSR1 received. Doing graceful restart
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_setenvif.c: not fou$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_auth.c: not found i$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_access.c: not found$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_alias.c: not found $
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_userdir.c: not foun$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_actions.c: not foun$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_imap.c: not found i$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_asis.c: not found i$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_cgi.c: not found in$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_dir.c: not found in$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_autoindex.c: not fo$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_include.c: not foun$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_status.c: not found$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_negotiation.c: not $
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_mime.c: not found i$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_log_config.c: not f$
[Sat Mar 23 10:59:31 2002] [error] Cannot remove module mod_env.c: not found in$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_env.so uses plain Apac$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_log_config.so uses pla$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_mime.so uses plain Apa$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_negotiation.so uses pl$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_status.so uses plain A$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_include.so uses plain $
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_autoindex.so uses plai$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_dir.so uses plain Apac$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_cgi.so uses plain Apac$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_asis.so uses plain Apa$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_imap.so uses plain Apa$
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_actions.so uses plain $
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_userdir.so uses plain $
[Sat Mar 23 10:59:31 2002] [warn] Loaded DSO libexec/mod_alias.so uses plain Ap$
httpd: module "mod_alias.c" could not be loaded, because the dynamic
module limit was reached. Please increase DYNAMIC_MODULE_LIMIT and recompile.

Shyne
03-24-2002, 03:27 AM
In the httpd.h file you'll an entry like this:


/* Max. number of dynamically loaded modules */
#ifndef DYNAMIC_MODULE_LIMIT
#define DYNAMIC_MODULE_LIMIT 64
#endif

Change that number to something like 80.

bitserve
03-25-2002, 01:32 AM
You may want to contact cpanel support desk, because looks like you're having major problems with your apache config.

Sina
03-27-2002, 03:31 AM
sanam,

we took care of it :)
we reinstalled apache