PDA

View Full Version : [error] Cannot remove module mod_perl.c



Spook
01-30-2006, 08:05 AM
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 :

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.

bigboy
02-03-2006, 08:26 PM
edit http.conf

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

edit

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

Spook
02-04-2006, 06:55 AM
Thank you, I un-commented the entry.

I really should study more about apache configuration when I get the time.

Invader Zim
03-05-2006, 07:20 AM
odd thing is, we had this happen to us today. but we didn't change httpd.conf...

also i noticed apache coredumps twice @ midnight...

bigboy
03-06-2006, 05:10 PM
http://help.directadmin.com/item.php?id=95

An issue with php/apache is causing apache not to start in FreeBSD. It segfaults and core dumps, logged in the /var/log/httpd/error_log.

Try removing --with-openssl from your configure.php file and recompile php.