<div><font face="verdana,sans-serif">Thanks! </font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif">Now it works.</font></div>
<p><font face="verdana,sans-serif">Regards</font><br></p>
<div class="gmail_quote">2011/3/9 John Khvatov <span dir="ltr"><<a href="mailto:ivaxer@gmail.com">ivaxer@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im"><br>On 09.03.2011, at 21:34, Ovidiu Sas wrote:<br><br>> Run `opensips -h' and check -P option.<br>> That should help you out with setting the pid file.<br><br></div>Yep.<br><br>Toyima, as workaround, add "-P /var/run/opensips.pid" to OPTIONS var in /etc/sysconfig/opensips:<br>
<br>[root@host ~]# cat /etc/sysconfig/opensips<br># Add extra options here<br>OPTIONS="-P /var/run/opensips.pid"<br><br>Then restart opensips service. Pid-file should be created in /var/run/opensips.pid...<br><br>
I'll fix fedora/epel init-script later to fix this issue.<br>
<div class="im"><br>> On Wed, Mar 9, 2011 at 1:19 PM, Toyima Dias <<a href="mailto:toyimads@gmail.com">toyimads@gmail.com</a>> wrote:<br>>> Hello,<br>>><br>>> I can't find the opensips.pid on Red Hat, it is not in the path:<br>
>> /var/run/opensips.pid<br>>><br>>> Has somebody installed OpenSIPS on Red Hat and be able to find the pid of<br>>> the process opensips? i'm trying to monitor the opensips process with<br>>> "monit" and i need the full path of the process id...<br>
>><br>>> Regards!<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>
>><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>
<br></div><font color="#888888">--<br>WBR, John Khvatov<br></font>
<div>
<div></div>
<div class="h5"><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>