<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Corosync?focusedCommentId=21463891#comment-21463891">Corosync</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~staskobzar">Stas Kobzar</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>If you are running Asterisk with a different user than corosync (not root), you need to enable access for your user.<br/>
For example for user asterisk, create file: <em>/etc/corosync/uidgid.d/asterisk</em><br/>
With following content:<br/>
<em>uidgid {</em><br/>
<em> uid: asterisk</em><br/>
<em> gid: asterisk</em><br/>
<em>}</em></p>
<p>Otherwise Asterisk will complain: res_corosync.c:626 load_module: Failed to initialize cfg (100)</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Corosync?focusedCommentId=21463891#comment-21463891">View Online</a>
|
<a id="reply-21463891" href="https://wiki.asterisk.org/wiki/display/AST/Corosync?replyToComment=21463891#comment-21463891">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>