Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 901170 - (JBPAPP6-1156) Apache with mod_cluster refuses to start (manager.node)
Apache with mod_cluster refuses to start (manager.node)
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: mod_cluster (Show other bugs)
6.0.0
Unspecified Windows
high Severity high
: DR8
: EAP 6.4.0
Assigned To: Jean-Frederic Clere
Michal Karm Babacek
http://jira.jboss.org/jira/browse/JBP...
mod_cluster
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-06 11:58 EST by Michal Karm Babacek
Modified: 2015-03-11 01:18 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Customers have reported that in Windows Server 2008 environments with User Account Control (UAC) enabled, files and directories required for `mod_cluster` are not created. As a result, the Apache httpd process fails to start in JBoss EAP 6 installations that utilize `mod_cluster`. The following error is produced: ---- [Tue Nov 06 07:55:18 2012] [emerg] create_mem_node C:/tmp/jboss-ews-2.0/var/cache/mod_cluster/manager.node failed: Access is denied. Configuration Failed ---- While disabling UAC prevents this issue from occurring, it has been concluded that this issue is caused by a Windows administration error. If the correct path is set in `MemManagerFile`, the issue only presents when user/service permissions are misconfigured. This scenario could most likely occur in Domain Controlled environments where the Domain Administrator must grant the proper Domain permissions so that UAC does not consider `MemManagerFile` as a threat. No further action will be taken on this issue.
Story Points: ---
Clone Of:
Environment:
Windows 2008 R2
Last Closed: 2014-11-06 09:13:48 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker JBPAPP6-1156 Major Closed Apache with mod_cluster refuses to start (manager.node) 2018-03-08 10:55 EST

  None (edit)
Description Michal Karm Babacek 2012-11-06 11:58:00 EST
Workaround Description: Disable UAC
project_key: JBPAPP6

I think we have a similar problem like with:
 * [JBPAPP-7336] Apache with mod_cluster refuses to start (create_mem_node)

With *UAC Enabled*, I am getting this error:
{noformat}
[Tue Nov 06 07:55:18 2012] [emerg] create_mem_node C:/tmp/jboss-ews-2.0/var/cache/mod_cluster/manager.node failed: Access is denied.  
Configuration Failed
{noformat}

 * yes, the permissions are sufficient

Strangely, the files actually *are being created*:
{noformat}
PS C:\tmp\jboss-ews-2.0\var\cache\mod_cluster> ls


    Directory: C:\tmp\jboss-ews-2.0\var\cache\mod_cluster


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---         11/6/2012   7:55 AM      65536 manager.node.nodes
-a---         11/6/2012   7:55 AM          0 manager.node.nodes.lock
{noformat}

With *UAC Disabled*, the problem disappears and Apache starts normally.
Comment 1 Michal Karm Babacek 2012-11-06 11:58:35 EST
Link: Added: This issue is related to JBPAPP-7336
Comment 2 Anne-Louise Tangring 2012-11-13 15:43:44 EST
Docs QE Status: Removed: NEW 
Comment 3 Anne-Louise Tangring 2012-11-14 12:08:30 EST
This issue was marked with priority Major and since only Critical or Blocker issues are considered at this time, the issue is moved to TBD EAP 6. Should this be considered, please contact the EAP PM team.
Comment 4 Jean-frederic Clere 2013-05-22 08:34:02 EDT
Cause: 

On windows UAC prevents to create files and directories (a bit like SELinux), mod_cluster doesn't have any configuration script to configure UAC so it won't be able to create the shared memory associated with files in /var/cache/mod_cluster/

Consequence: 

httpd won't start.

Workaround (if any):

Disable  UAC

Result:
Comment 5 James Livingston 2013-07-03 22:45:58 EDT
What should probably happen is that it doesn't put them in var/cache, but instead uses the Windows API to get a location it can write to under UAC. The C# API is:
  Environment.GetFolderPath(EnvironmentFolders.SpecialFolders.LocalApplicationData)
Comment 8 Michal Karm Babacek 2014-11-06 09:13:48 EST
It has been concluded that this is a Windows administration error now. With a proper path set in MemManagerFile, there is no problem with UAC unless the user running Apache HTTP Server service presents ill configured permissions. This might happen especially in Domain Controlled environments, but it's definitely not our error. Domain Administrator must grant the proper Domain permissions so as UAC won't recognize MemManagerFile as a threat.

Note You need to log in before you can comment on or make changes to this bug.