<div dir="ltr"><div>Official packaging for centos uses specs and init-scripts from packaging/fedora.</div><div>You may also use our official builds from <a href="http://yum.opensips.org">http://yum.opensips.org</a> .</div>If you mean centos6, start/stop commands are /etc/init.d/opensips start and /etc/init.d/opensips stop .<div>If you have centos7, start/stop commands are systemctl start opensips and systemctl stop opensips .<br><div class="gmail_extra"><br><div class="gmail_quote">2016-07-14 16:38 GMT+03:00 Ramachandran, Agalya (Contractor) <span dir="ltr"><<a href="mailto:Agalya_Ramachandran@comcast.com" target="_blank">Agalya_Ramachandran@comcast.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span style="color:blue">Hi team,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:blue">I have a query regarding opensips init script.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue">After installing opensips, right now am using “<b>opensipsctl start/stop”</b> to start and stop the service.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue">We are using centos for our project. My query is for centos we should use init script from
<i>packaging/fedora</i> or <i>packaging/rpm</i>?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue">I have placed the init script in /etc/init.d/opensips and changed the location to /usr/local/sbin and tried to start, but it didn’t.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">It says” PID file /var/run/opensips.pid not readable (yet?) after start”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue">Which is the right command to start opensips ? Is it using
<b>opensipsctl start/stop</b> or <b>/etc/init.d/opensips start/stop</b>?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue">And how to configure the right init script for centos and what should be done for make it working?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue">Please clarify me. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:blue">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:blue">Agalya<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<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" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>