[ opensips-Patches-2731979 ] opensipsctl can't start proxy after crash

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Patches-2731979 ] opensipsctl can't start proxy after crash

SourceForge.net
Patches item #2731979, was opened at 2009-04-04 22:49
Message generated for change (Comment added) made by bogdan_iancu
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: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: ledda (ledda)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
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.

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-05-26 19:47

Message:
Backport to 1.5 done.

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-05-09 10:56

Message:
Hi ledda,

Thanks for the patch - I applied it in a modified version. Please test the
SVN trunk version and let me know if everything is ok. If so, I will
backport the fix to 1.5 version also.

Regards,
Bogdan


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2731979&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel