<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
getting [emerg] create_mem_node /etc/httpd/logs/manager.node failed: Permission denied Configuration Failed when starting apache on rhel 6 after mod_cluster is added
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/claudianus">Claudianus Adjai</a> in <i>Clustering Development</i> - <a href="https://community.jboss.org/message/778630#778630">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p><span style="font-size: 14pt;">Hello all -</span></p><p><span style="font-size: 14pt;">I am getting the following error when I try to start apache on rhel 6.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt;">[emerg] create_mem_node /etc/httpd/logs/manager.node failed: Permission denied</span></p><p><span style="font-size: 14pt;">Configuration Failed</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt;">Note that apache was working fine before I uploaded mod_cluster modules and configured it. I also had mod_jk configured and working with apache before this, which I disabled. </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt;">I am trying to run apache with mod_cluster 1.2.0.Final on rhel 6 x64.</span></p><p><span style="font-size: 14pt;">I am also starting apache as root (starting it as a regular user causes permission denied error).</span></p><p><span style="font-size: 14pt;">Finally, note that I tried to run it both with SELinux enabled and disabled and the outcome seems to be the same.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt;">My mod_cluster conf looks like below</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><em style="font-size: 14pt;">LoadModule slotmem_module modules/mod_slotmem.so</em></p><p><em style="font-size: 14pt;">LoadModule manager_module modules/mod_manager.so</em></p><p><em style="font-size: 14pt;">LoadModule proxy_cluster_module modules/mod_proxy_cluster.so</em></p><p><em style="font-size: 14pt;">LoadModule advertise_module modules/mod_advertise.so</em></p><p>     </p><p><em style="font-size: 14pt;">#Listen 192.168.10.91:8008</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><em style="font-size: 14pt;"><VirtualHost 192.168.10.91:8008></em></p><p><em style="font-size: 14pt;">    <Directory /></em></p><p><em style="font-size: 14pt;">        Order deny,allow</em></p><p><em style="font-size: 14pt;">        Deny from all</em></p><p><em style="font-size: 14pt;">    Allow from 127.0.0.1</em></p><p><em style="font-size: 14pt;">    Allow from 192.168.10.</em></p><p><em style="font-size: 14pt;">    </Directory></em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><em style="font-size: 14pt;">    <Location /mod_cluster-manager></em></p><p><em style="font-size: 14pt;">        SetHandler mod_cluster-manager</em></p><p><em style="font-size: 14pt;">        Order deny,allow</em></p><p><em style="font-size: 14pt;">    Deny from all</em></p><p><em style="font-size: 14pt;">    Allow from 127.0.0.1</em></p><p><em style="font-size: 14pt;">        Allow from 192.168.10.</em></p><p><em style="font-size: 14pt;">    </Location></em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>          </p><p><em style="font-size: 14pt;">          ManagerBalancerName mycluster</em></p><p><em style="font-size: 14pt;">      KeepAliveTimeout 60</em></p><p><em style="font-size: 14pt;">      MaxKeepAliveRequests 0</em></p><p><em style="font-size: 14pt;">          ServerAdvertise On</em></p><p><em style="font-size: 14pt;">      EnableMCPMReceive</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><em style="font-size: 14pt;"></VirtualHost></em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt;">I commented out the Listen directive because I put it in the main http.conf file (having it in this file does not change the outcome) and the above mod_cluster.conf file is located under my /etc/http/conf.d/ folder.</span></p><p><span style="font-size: 14pt;">I also saw that there is a bug related to this error but under Windows OS.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt;">What am I missing?</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt;">Thanks</span></p><p><span style="font-size: 14pt;">C<br/></span></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/778630#778630">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Clustering Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2103">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>