https://issues.apache.org/bugzilla/show_bug.cgi?id=56926
Bug ID: 56926 Summary: Filename causes AH02599 slotmem issue Product: Apache httpd-2 Version: 2.4.10 Hardware: PC OS: Mac OS X 10.4 Status: NEW Severity: normal Priority: P2 Component: mod_slotmem_plain / mod_slotmem_shm Assignee: bugs@httpd.apache.org Reporter: a...@alex.org.uk On upgrading from apache 2.4.7 to 2.4.10 (to avoid BZ56919) I get a new issue where Apache fails to start. This appears to be due to the configuration filename (yes, really). On starting apache2 I see [Mon Sep 08 10:18:03.434505 2014] [ssl:info] [pid 49020] AH01887: Init: Initializing (virtual) servers for SSL [Mon Sep 08 10:18:03.438805 2014] [ssl:info] [pid 49020] AH01876: mod_ssl/2.4.10 compiled against Server: Apache/2.4.10, Library: OpenSSL/1.0.1f [Mon Sep 08 10:18:03.467802 2014] [slotmem_shm:debug] [pid 49021] mod_slotmem_shm.c(334): AH02602: create didn't find /var/run/apache2/slotmem-shm-pf0144ffa.shm in global list [Mon Sep 08 10:18:03.467811 2014] [slotmem_shm:debug] [pid 49021] mod_slotmem_shm.c(344): AH02300: create /var/run/apache2/slotmem-shm-pf0144ffa.shm: 544/7 [Mon Sep 08 10:18:03.467862 2014] [slotmem_shm:debug] [pid 49021] mod_slotmem_shm.c(353): AH02598: apr_shm_attach() succeeded [Mon Sep 08 10:18:03.467904 2014] [proxy:debug] [pid 49021] proxy_util.c(1243): AH02337: re-using shm[0] (0x7f981cacf018) for balancer://rest [Mon Sep 08 10:18:03.467929 2014] [slotmem_shm:debug] [pid 49021] mod_slotmem_shm.c(334): AH02602: create didn't find /var/run/apache2/slotmem-shm-pf0144ffa_rest.shm in global list [Mon Sep 08 10:18:03.467933 2014] [slotmem_shm:debug] [pid 49021] mod_slotmem_shm.c(344): AH02300: create /var/run/apache2/slotmem-shm-pf0144ffa_rest.shm: 608/1 [Mon Sep 08 10:18:03.467952 2014] [slotmem_shm:debug] [pid 49021] mod_slotmem_shm.c(353): AH02598: apr_shm_attach() succeeded [Mon Sep 08 10:18:03.467963 2014] [slotmem_shm:error] [pid 49021] AH02599: existing shared memory for /var/run/apache2/slotmem-shm-pf0144ffa_rest.shm could not be used (failed size check) [Mon Sep 08 10:18:03.467977 2014] [:emerg] [pid 49021] AH00020: Configuration Failed, exiting However, if the config file referring to balancer://rest is renamed from /etc/apache2/sites-enabled/extility-skyline-cp-f1e48937-f534-39a7-80d6-7f9b7f790dc1.conf to /etc/apache2/sites-enabled/extility-skyline-cp-f1e48937-f534-39a7-80d6-7f9b7f790dc.conf or /etc/apache2/sites-enabled/extility-skyline-cp-f1e48937-f534-39a7-80d6-7f9b7f790dc1X.conf or /etc/apache2/sites-enabled/extility-skyline-cp-f1e48937-f534-39a7-80d6-7f9b7f790dc2.conf or indeed anything else it would seem, it works. These are automatically generated filenames (as you can see they include a UUID). I have other files config files in the directory ending with that UUID but renaming them does not seem to permit the original name to be used. This looks vaguely similar to https://issues.apache.org/bugzilla/show_bug.cgi?id=55449 save that I've only got one instance of apache2, and there's only one balancer. This looks a bit like a hash collision on producing the slotmem shm filename or something (perhaps). This must be one of the stranger apache bugs I've seen. Any clues on debugging it further? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org