[OpenSIPS-Users] Cannot Start OpenSIPS With Debug Enabled
Jerry Richards
jerry.richards at teotech.com
Mon Jul 2 22:52:06 CEST 2012
I'm having a problem starting opensips with debug enabled (I edited lines in the opensips.cfg file to enable it, as described further below). I'm getting these errors:
[root@ JerryMS-C57 ~]# service opensips start
Not starting : fork=no specified in config file; run /etc/init.d/opensips debug instead
[root@ JerryMS-C57 ~]# /etc/init.d/opensips debug
Not starting : fork=no specified in config file; run /etc/init.d/opensips debug instead
[root@ JerryMS-C57 ~]#
I tried this patch to the /etc/init.d/opensips file, but then it says "Starting opensips: " and hangs there.
# See how we were called.
case "$1" in
start|debug)
# start
start $1
Here's the lines I uncommented in the opensips.cfg file to enable debug:
debug=6
fork=no
log_stderror=yes
Thanks,
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120702/b67f9ffb/attachment-0001.htm>
More information about the Users
mailing list