<HTML>
<HEAD>
<TITLE>Re: [OpenSIPS-Users] opensips.pid on Red Hat</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>For opensip-cp install on centos 5, here are the packages I installed (using yum):<BR>
<BR>
php<BR>
php-mysql<BR>
php-xmlrpc<BR>
php-pear-MDB2<BR>
php-pear-Log<BR>
php-pear-MDB2-Driver-mysql<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'><FONT FACE="Optima, Times New Roman">Sven Schulz<BR>
Penn State University<BR>
Telecommunications and Network Services<BR>
814.865.6116<BR>
sip:<a href="sven@psu.edu">sven@psu.edu</a><BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<BR>
On 3/10/11 5:12 AM, "Toyima Dias" <<a href="toyimads@gmail.com">toyimads@gmail.com</a>> wrote:<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Verdana, Helvetica, Arial">Just one more thing friends, <BR>
When i try to install MDB2, i got following errors <BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial">/#pear install MDB2<BR>
Skipping package "pear/MDB2", already installed as version 2.4.1<BR>
No valid packages found<BR>
install failed<BR>
The same with "pear install MDB2#mysql" and "pear install log"<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
2011/3/10 Toyima Dias <<a href="toyimads@gmail.com">toyimads@gmail.com</a>><BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Verdana, Helvetica, Arial">Thanks! <BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial">Now it works.<BR>
Regards<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">2011/3/9 John Khvatov <<a href="ivaxer@gmail.com">ivaxer@gmail.com</a>> <BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><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>
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>
<BR>
> On Wed, Mar 9, 2011 at 1:19 PM, Toyima Dias <<a href="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="Users@lists.opensips.org">Users@lists.opensips.org</a><BR>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><BR>
>><BR>
>><BR>
><BR>
> _______________________________________________<BR>
> Users mailing list<BR>
> <a href="Users@lists.opensips.org">Users@lists.opensips.org</a><BR>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><BR>
<BR>
<FONT COLOR="#888888">--<BR>
WBR, John Khvatov<BR>
</FONT><BR>
<BR>
_______________________________________________<BR>
Users mailing list<BR>
<a href="Users@lists.opensips.org">Users@lists.opensips.org</a><BR>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Users mailing list<BR>
<a href="Users@lists.opensips.org">Users@lists.opensips.org</a><BR>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>