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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to