Apache log: No slotmem from mod_heartmonitor

This is what i see every time when apache/server restart:

[Sat Jun 06 23:13:58.749120 2015] [lbmethod_heartbeat:notice] [pid 18913] AH02282: No slotmem from mod_heartmonitor

Best thing is i'm not sure why. Try to check httpd.conf but there is nothing and in 00-base.conf is commented out:

#
# This file loads most of the modules included with the Apache HTTP
# Server itself.
#

LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_socache_module modules/mod_authn_socache.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_dbd_module modules/mod_authz_dbd.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cache_module modules/mod_cache.so
LoadModule cache_disk_module modules/mod_cache_disk.so
LoadModule data_module modules/mod_data.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule echo_module modules/mod_echo.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule filter_module modules/mod_filter.so
LoadModule headers_module modules/mod_headers.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule remoteip_module modules/mod_remoteip.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
LoadModule socache_dbm_module modules/mod_socache_dbm.so
LoadModule socache_memcache_module modules/mod_socache_memcache.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule status_module modules/mod_status.so
LoadModule substitute_module modules/mod_substitute.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule version_module modules/mod_version.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so

#LoadModule buffer_module modules/mod_buffer.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule dialup_module modules/mod_dialup.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule request_module modules/mod_request.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule speling_module modules/mod_speling.so

Looking around in files and google didnt help me either. For my understanding this is not an error still it is annoying to see every time i restart the server or apache. Do you have any idea where i should look for this problem.

Status: 
Active

Comments

Howdy -- unfortunately, you don't seem to be seeing a Virtualmin issue there, so there may not be much we can do to assist.

While I haven't run into that, I did some Googling and saw what you did -- that there isn't a clear cause, though it also doesn't sound like an error.

In theory, commenting out the heartmonitor module should prevent that message.

If you still get that notice after disabling the module (you may want to try a "kill -9 httpd" just to be sure Apache is fully killed off), you may want to review the other Apache configs to make sure it's not being loaded anywhere else. You may also want to search for other heartbeat parameters in the config.

However, if that doesn't prevent it either, you may need to file a bug report again that package in CentOS or RHEL.

Diabolico's picture
Submitted by Diabolico on Sat, 06/06/2015 - 17:43

Ok i just want to be sure before i take any new direction is not Vmin/Wmin to somehow call this functions.

The only other thought that came to mind is that you may want to verify that the "mod_slotmem" module is enabled.

Virtualmin doesn't use mod_heartbeat though. Actually I wasn't familiar with it until you brought it up :-)

Diabolico's picture
Submitted by Diabolico on Sat, 06/06/2015 - 18:18

This is what i got:

[root@leeroy ~]# httpd -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
access_compat_module (shared)
actions_module (shared)
alias_module (shared)
allowmethods_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
authn_anon_module (shared)
authn_core_module (shared)
authn_dbd_module (shared)
authn_dbm_module (shared)
authn_file_module (shared)
authn_socache_module (shared)
authz_core_module (shared)
authz_dbd_module (shared)
authz_dbm_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cache_module (shared)
cache_disk_module (shared)
data_module (shared)
dbd_module (shared)
deflate_module (shared)
dir_module (shared)
dumpio_module (shared)
echo_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
info_module (shared)
log_config_module (shared)
logio_module (shared)
mime_magic_module (shared)
mime_module (shared)
negotiation_module (shared)
remoteip_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
slotmem_plain_module (shared)
slotmem_shm_module (shared)
socache_dbm_module (shared)
socache_memcache_module (shared)
socache_shmcb_module (shared)
status_module (shared)
substitute_module (shared)
suexec_module (shared)
unique_id_module (shared)
unixd_module (shared)
userdir_module (shared)
version_module (shared)
vhost_alias_module (shared)
dav_module (shared)
dav_fs_module (shared)
dav_lock_module (shared)
lua_module (shared)
mpm_prefork_module (shared)
proxy_module (shared)
lbmethod_bybusyness_module (shared)
lbmethod_byrequests_module (shared)
lbmethod_bytraffic_module (shared)
lbmethod_heartbeat_module (shared)
proxy_ajp_module (shared)
proxy_balancer_module (shared)
proxy_connect_module (shared)
proxy_express_module (shared)
proxy_fcgi_module (shared)
proxy_fdpass_module (shared)
proxy_ftp_module (shared)
proxy_http_module (shared)
proxy_scgi_module (shared)
ssl_module (shared)
systemd_module (shared)
cgi_module (shared)
fcgid_module (shared)
php5_module (shared)
dav_svn_module (shared)
authz_svn_module (shared)
dontdothat_module (shared)

I see "llbmethod_heartbeat_module" listed in there.

You may want to triple check that there isn't a heartbeat related module that can be disabled somewhere in any of your Apache config files.

Diabolico's picture
Submitted by Diabolico on Tue, 06/09/2015 - 17:59

Ok i check all what i could think, i even did grep to try to find inside files where it could be the link but only what i found it was:

etc/httpd/conf.modules.d/00-base.conf:#LoadModule heartmonitor_module modules/mod_heartmonitor.so
Binary file lib64/httpd/modules/mod_lbmethod_heartbeat.so matches
Binary file lib64/httpd/modules/mod_heartmonitor.so matches

Any idea what to do next?

I'm unfortunately not sure, as that isn't something I've run into, and that's not a module Virtualmin makes use of.

You could always open up a request with CentOS or RHEL, as the users there may be more familiar with the issue you're seeing.

Or you could always start by asking the same question in the Forums here at virtualmin.com, it's possible that another user here has experience with the issue you're seeing.

Diabolico's picture
Submitted by Diabolico on Mon, 06/15/2015 - 12:41

Just to let you know and in case someone else is looking for the same answer - i found from where heartbeat module was called: /etc/httpd/conf.modules.d/00-proxy.conf even i dont know why as in 00-base.conf is commented out and i didnt change anything since the initial installation of Virtualmin.

Virtualmin is installing Apache from your rpm maybe this have something to do with your initial settings because for what i saw this problem is connected only with Virtualmin.

I had same and my install is about a week old, still struggling with some issues, but this one is fixed now thanks to your findings.