[OpenSIPS-Users] opensips.pid on Red Hat

Toyima Dias toyimads at gmail.com
Thu Mar 10 09:27:50 CET 2011


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110310/bcf25bcc/attachment.htm>


More information about the Users mailing list