Hi Jerry,

Make fork= yes that is what it tells, so make it on and my default config is as 
given below which gives me some logs into /var/log/syslog and if I make debug > 
3 i get more logs in the respective location:

debug=3
log_stderror=no
fork=yes

If you make debug=4 or greater than 4 you should probably get logs into 
/var/log/syslog

 
Regards,

Aamir Chougule
Cell: 09167989111



________________________________
 From: Jerry Richards <[email protected]>
To: OpenSIPS users mailling list <[email protected]> 
Sent: Tuesday, 3 July 2012 2:22 AM
Subject: [OpenSIPS-Users] Cannot Start OpenSIPS With Debug Enabled
 

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

Reply via email to