truth be told am not sure what the problem was. Like I mentioned before, there afew steps on the website which weren&#39;t mentioned on the book i.e.<div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14.4px; "><span class="Apple-style-span" style="font-size: 14.4px; ">v<font class="Apple-style-span" color="#FF0000">im /etc/default/opensips</font></span></span></div>

<div><span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14.4px; "><font class="Apple-style-span" color="#FF0000"><span class="Apple-style-span" style="font-size: 14.4px; "></span>RUN_OPENSIPS=yes <br>

</font><ol style="margin-top: 0px; margin-bottom: 0px; "><li><font class="Apple-style-span" color="#FF0000">User to run as</font></li></ol><font class="Apple-style-span" color="#FF0000">USER=opensips <br></font><ol style="margin-top: 0px; margin-bottom: 0px; ">

<li><font class="Apple-style-span" color="#FF0000">Group to run as</font></li></ol><font class="Apple-style-span" color="#FF0000">GROUP=opensips <br></font><ol style="margin-top: 0px; margin-bottom: 0px; "><li><font class="Apple-style-span" color="#FF0000">Amount of memory to allocate for the running OpenSIPS server (in Mb)</font></li>

</ol><font class="Apple-style-span" color="#FF0000">MEMORY=128 <br><br>Change also the file /etc/init.d/opensips: <br><br>vim /etc/init.d/opensips <br><br>Replace the line DAEMON=/usr/sbin/opensips to: <br>DAEMON=/usr/local/sbin/opensips <br>

<br>Give execution permission to the file: <br>chmod +x /etc/init.d/opensips <br><br>create the opensips user: <br>adduser opensips <br><br>Now create the dir: <br>mkdir /var/run/opensips </font></span></div><div><font class="Apple-style-span" face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px;"><font class="Apple-style-span" color="#FF0000"><br>

</font></span></font></div><div><font class="Apple-style-span" color="#FF0000" face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span class="Apple-style-span" style="font-size: 14.4px; "><span class="Apple-style-span" style="font-size: 14.4px; ">vim /usr/local/etc/opensips/opensipsctlrc <br>

</span>PID_FILE=/var/run/opensips/opensips.pid </span></span></font></div><div><font class="Apple-style-span" color="#FF0000" face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>

</span></font></span></font></div><div><font class="Apple-style-span" color="#FF0000" face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2"><span class="Apple-style-span" style="font-size: 10px;"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br>

</span></font></span></font></div><div><font class="Apple-style-span" face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2"><span class="Apple-style-span" style="font-size: 10px;"><font class="Apple-style-span" size="2">I think that the last couple of steps were what made the difference because I kept on getting the &#39;opensips_pid file is missing&#39; error when trying to start/shut down opensips</font></span></font></div>

<div><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 10:57 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

out of curiosity, what was the problem ?<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
James Mbuthia wrote:<br>
</div><div class="im">&gt; Hi Bogdan,<br>
&gt;<br>
&gt; Thanks for your reply.<br>
&gt;<br>
&gt;<br>
&gt;  I got it to work by following the instructions<br>
&gt; on <a href="http://www.voip-info.org/wiki/view/Opensips+Installation,+How+to" target="_blank">http://www.voip-info.org/wiki/view/Opensips+Installation,+How+to</a>.  I&#39;ve<br>
&gt; been using the book, &#39;Building telephony systems with opensips&#39;<br>
&gt; however the installation procedure set out in the book seems to miss<br>
&gt; out some key steps. e.g. The installation procedure on the above<br>
&gt; website seems to be more accurate and will hopefully save people alot<br>
&gt; of time and headache.<br>
&gt;<br>
&gt; james<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Sep 21, 2010 at 10:42 AM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div class="h5">&gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi James,<br>
&gt;<br>
&gt;     Your opensips fails to start (see the signal 2 (INT) received by<br>
&gt;     opensips).<br>
&gt;<br>
&gt;     It is strange as no ERROR is printed.....Please set debug=6 and try to<br>
&gt;     start again - and post the whole output here.<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     James Mbuthia wrote:<br>
&gt;     &gt; Hi,<br>
&gt;     &gt;<br>
&gt;     &gt; Am trying to setup opensips on a centos system and I keep  on<br>
&gt;     running<br>
&gt;     &gt; to the same problem and i have run out of ideas. I get the following<br>
&gt;     &gt; error when trying to start opensips.<br>
&gt;     &gt;<br>
&gt;     &gt; ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS<br>
&gt;     start<br>
&gt;     &gt; failed<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;  When i do a tail /var/log/messages I get the following :<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; Sep 20 15:52:22 CL-T020-483CL opensips: INFO:acc:mod_init:<br>
&gt;     initializing...<br>
&gt;     &gt; Sep 20 15:52:22 CL-T020-483CL opensips: INFO:auth:mod_init:<br>
&gt;     &gt; initializing...<br>
&gt;     &gt; Sep 20 15:52:22 CL-T020-483CL opensips: INFO:auth_db:mod_init:<br>
&gt;     &gt; initializing...<br>
&gt;     &gt; Sep 20 15:52:22 CL-T020-483CL opensips:<br>
&gt;     &gt; INFO:core:probe_max_receive_buffer: using a UDP receive buffer<br>
&gt;     of 255 kb<br>
&gt;     &gt; Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:sig_usr: signal 2<br>
&gt;     &gt; received<br>
&gt;     &gt; Sep 20 16:13:14 CL-T020-483CL last message repeated 2 times<br>
&gt;     &gt; Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:handle_sigs: child<br>
&gt;     &gt; process 5856 exited normally, status=0<br>
&gt;     &gt; Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:handle_sigs: child<br>
&gt;     &gt; process 5857 exited normally, status=0<br>
&gt;     &gt; Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:handle_sigs:<br>
&gt;     &gt; terminating due to SIGCHLD<br>
&gt;     &gt; Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:sig_usr: signal 15<br>
&gt;     &gt; received<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; Does anyone have a clue of whats happening and what I need to do?<br>
&gt;     &gt;<br>
&gt;     &gt; regards,<br>
&gt;     &gt; James<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Users mailing list<br>
</div></div>&gt;     &gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&gt;     &gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     Bogdan-Andrei Iancu<br>
&gt;     OpenSIPS Bootcamp<br>
&gt;     15 - 19 November 2010, Edison, New Jersey, USA<br>
</div>&gt;     <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> &lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
15 - 19 November 2010, Edison, New Jersey, USA<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><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>
</div></div></blockquote></div><br></div>