[OpenSIPS-Devel] [ opensips-Patches-2731979 ] opensipsctl can't start proxy after crash
SourceForge.net
noreply at sourceforge.net
Sat Apr 4 21:49:59 CEST 2009
Patches item #2731979, was opened at 2009-04-04 22:49
Message generated for change (Tracker Item Submitted) made by ledda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2731979&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ledda (ledda)
Assigned to: Nobody/Anonymous (nobody)
Summary: opensipsctl can't start proxy after crash
Initial Comment:
The way how opensipsctl was checking PID file doesn't allow to start OpenSIPS after crash or hard reboot.
This patch check if there is a process running with the PID specified in pid file. If not, it removes pid file and start opensips.
Also 'restart' feature was broken. It doesn't stop opensips - there was such comment in the code by it doesn't make sense to me.
So I've updated 'restart' command to do 'stop' and 'start'.
Also it fixes small typo in daemonize.c.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2731979&group_id=232389
More information about the Devel
mailing list