<div>And you're positive that the /var/run/opensips directory is owned by the opensips:opensips user and group? All I ever do is</div>
<div> </div>
<div>sudo mkdir /var/run/opensips/<br>sudo chown opensips:opensips /var/run/opensips</div>
<div> </div>
<div>Never had that issue.</div>
<div> </div>
<div>cd /var/run</div>
<div>ls -la</div>
<div>drwxr-xr-x 2 opensips opensips 4096 Feb 24 08:23 opensips</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Thu, Feb 24, 2011 at 3:07 AM, Anton Zagorskiy <span dir="ltr"><<a href="mailto:a.zagorskiy@oyster-telecom.ru">a.zagorskiy@oyster-telecom.ru</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi.<br><br>I've made a user opensips with group opensips and with shell nologin.<br>Also, I've created /var/run/opensips with opensips::opensips and access mode<br>
775<br><br>Next, running openSIPS with -u opensips -g opensips -P<br>/var/run/opensips/opensips.pid<br>And opensips failed to start with:<br><br>ERROR:core:daemonize: unable to create pid file<br>/var/run/opensips/opensips.pid: Permission denied<br>
<br><br>A command "sudo -u opensips touch /var/run/opensips/opensips1.pid" works<br>well.<br><br>What I'm doing wrong?<br><br><br><br>WBR, Anton Zagorskiy<br>VoIP Developer, Oyster Telecom<br>Phone.: <a href="tel:%2B7%20812%20601-0666">+7 812 601-0666</a><br>
Fax: <a href="tel:%2B7%20812%20601-0593">+7 812 601-0593</a><br><a href="mailto:a.zagorskiy@oyster-telecom.ru">a.zagorskiy@oyster-telecom.ru</a><br><a href="http://www.oyster-telecom.ru/" target="_blank">www.oyster-telecom.ru</a><br>
<br><br><br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>