<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Anton,</span></div>Have you checked the selinux logs?<div>
Search the list about selinux. A couple months back I posted what I ran into and how to solve it fairly simply.</div><div><br></div><div>Dave.<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 6:23 AM, Duane Larson <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><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><div class="h5">
<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" target="_blank">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" target="_blank">+7 812 601-0666</a><br>
Fax: <a href="tel:%2B7%20812%20601-0593" target="_blank">+7 812 601-0593</a><br><a href="mailto:a.zagorskiy@oyster-telecom.ru" target="_blank">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" target="_blank">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></div></div>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br><font color="#888888">--<br>
</font><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>
<br></blockquote></div><br></div>