[error] Cannot remove module mod_perl.c

Spook

Verified User
Joined
Jan 3, 2006
Messages
138
I don't know if this is actually causing any problems but I noticed this while poking around in my logs this morning.

Here's a snip of my /var/log/httpd/error_log file :
Code:
Jan 30 00:00:00 bronze newsyslog[82623]: logfile turned over
[Mon Jan 30 00:00:03 2006] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Jan 30 00:00:03 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 30 00:00:03 2006] [notice] Accept mutex: flock (Default: flock)
[Mon Jan 30 00:30:00 2006] [notice] SIGHUP received.  Attempting to restart
[Mon Jan 30 00:30:00 2006] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Jan 30 00:30:01 2006] [warn] module perl_module is already loaded, skipping
[Mon Jan 30 00:30:01 2006] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Jan 30 00:30:01 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 30 00:30:01 2006] [notice] Accept mutex: flock (Default: flock)
[Mon Jan 30 00:31:00 2006] [notice] caught SIGTERM, shutting down
[Mon Jan 30 00:31:00 2006] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Jan 30 00:31:03 2006] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Jan 30 00:31:03 2006] [warn] module perl_module is already loaded, skipping
[Mon Jan 30 00:31:03 2006] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Jan 30 00:31:03 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 30 00:31:03 2006] [notice] Accept mutex: flock (Default: flock)
[Mon Jan 30 09:45:03 2006] [notice] SIGHUP received.  Attempting to restart
[Mon Jan 30 09:45:03 2006] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Jan 30 09:45:04 2006] [warn] module perl_module is already loaded, skipping
[Mon Jan 30 09:45:04 2006] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Jan 30 09:45:04 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 30 09:45:04 2006] [notice] Accept mutex: flock (Default: flock)
[Mon Jan 30 09:52:57 2006] [notice] SIGHUP received.  Attempting to restart
[Mon Jan 30 09:52:57 2006] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Jan 30 09:52:57 2006] [warn] module perl_module is already loaded, skipping
[Mon Jan 30 09:52:57 2006] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Jan 30 09:52:57 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 30 09:52:57 2006] [notice] Accept mutex: flock (Default: flock)
[Mon Jan 30 10:35:13 2006] [notice] SIGHUP received.  Attempting to restart
[Mon Jan 30 10:35:13 2006] [error] Cannot remove module mod_perl.c: not found in module list
[Mon Jan 30 10:35:13 2006] [warn] module perl_module is already loaded, skipping
[Mon Jan 30 10:35:13 2006] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/4.4.2 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Mon Jan 30 10:35:13 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 30 10:35:13 2006] [notice] Accept mutex: flock (Default: flock)
I don't know if this is particularly tied with FBSD or what-not but figure I would try and cull out 'one more' line that gets added to my log.

The reason for all the restarts in such a short time was me trying out the PHP 'open_basedir' change I read about in another thread.
 
Last edited:
edit http.conf

#<IfDefine HAVE_PERL>
#AddModule mod_perl.c
</IfDefine>

edit

<IfDefine HAVE_PERL>
AddModule mod_perl.c
</IfDefine>
 
Thank you, I un-commented the entry.

I really should study more about apache configuration when I get the time.
 
odd thing is, we had this happen to us today. but we didn't change httpd.conf...

also i noticed apache coredumps twice @ midnight...
 
Back
Top