[OpenSIPS-Users] opensips.pid on Red Hat

Sven Schulz svens at psu.edu
Thu Mar 10 15:23:21 CET 2011


For opensip-cp install on centos 5, here are the packages I installed (using
yum):

php
php-mysql
php-xmlrpc
php-pear-MDB2
php-pear-Log
php-pear-MDB2-Driver-mysql


Sven Schulz
Penn State University
Telecommunications and Network Services
814.865.6116
sip:sven at psu.edu



On 3/10/11 5:12 AM, "Toyima Dias" <toyimads at gmail.com> wrote:

> Just one more thing friends,
> When i try to install MDB2, i got following errors
> 
> /#pear install MDB2
> Skipping package "pear/MDB2", already installed as version 2.4.1
> No valid packages found
> install failed
> The same with "pear install MDB2#mysql" and "pear install log"
> 
>  
> 2011/3/10 Toyima Dias <toyimads at gmail.com>
>> Thanks! 
>>  
>> Now it works.
>> Regards
>> 2011/3/9 John Khvatov <ivaxer at gmail.com>
>> 
>>> 
>>> On 09.03.2011, at 21:34, Ovidiu Sas wrote:
>>> 
>>>> > Run `opensips -h' and check -P option.
>>>> > That should help you out with setting the pid file.
>>> 
>>> Yep.
>>> 
>>> Toyima, as workaround, add "-P /var/run/opensips.pid" to OPTIONS var in
>>> /etc/sysconfig/opensips:
>>> 
>>> [root at host ~]# cat /etc/sysconfig/opensips
>>> # Add extra options here
>>> OPTIONS="-P /var/run/opensips.pid"
>>> 
>>> Then restart opensips service. Pid-file should be created in
>>> /var/run/opensips.pid...
>>> 
>>> I'll fix fedora/epel init-script later to fix this issue.
>>> 
>>>> > On Wed, Mar 9, 2011 at 1:19 PM, Toyima Dias <toyimads at gmail.com> wrote:
>>>>> >> Hello,
>>>>> >>
>>>>> >> I can't find the opensips.pid on Red Hat, it is not in the path:
>>>>> >> /var/run/opensips.pid
>>>>> >>
>>>>> >> Has somebody installed OpenSIPS on Red Hat and be able to find the pid
of
>>>>> >> the process opensips? i'm trying to monitor the opensips process with
>>>>> >> "monit" and i need the full path of the process id...
>>>>> >>
>>>>> >> Regards!
>>>>> >>
>>>>> >> _______________________________________________
>>>>> >> Users mailing list
>>>>> >> Users at lists.opensips.org
>>>>> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>> >>
>>>>> >>
>>>> >
>>>> > _______________________________________________
>>>> > Users mailing list
>>>> > Users at lists.opensips.org
>>>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> 
>>> --
>>> WBR, John Khvatov
>>> 
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110310/e1eef9b0/attachment-0001.htm>


More information about the Users mailing list