[Freeswitch-users] Debugging question - silent intialization errors

Brian Foster bdfoster at endigotech.com
Sat Jan 12 22:02:24 MSK 2013


Start freeswitch without -nc you should be able to see all debug. As soon as you Ctrl-C however, freeswitch is no longer running. Take a look at your bin folder, from there ./freeswitch with the correct permissions.

Sent from my iPhone

On Jan 12, 2013, at 12:02 PM, "Phil Quesinberry" <philq at qsystemsengineering.com> wrote:

> This is probably a dumb question but (surprisingly) I really hadn’t run across this problem before and want to make sure I’m prepared to quickly deal with it in the future as I’m certain that it will happen again.
> 
> I was making some edits to the XML dialplan and screwed up the syntax a bit.  Fortunately I had done a reloadxml and saw the “error near line xxxx” message, so I knew where to look in the .fsxml file to find the error and fixed it.  Problem is, when you do a ‘service freeswitch start’ in Linux you don’t get this message, FS never finishes starting up so you can’t get into the CLI to see what’s going on, and it doesn’t show anything in the log file.  The only feedback you get is with a ‘service freeswitch status’ which gives the ‘freeswitch dead but subsys locked’ message.
> 
> Is there a startup option to get it to show initialization errors?  Can I do something like ./freeswitch in the bin directory and get it to send any initialization errors to stdout or some other file that way?
> 
> As always, many grateful thanks for the info.
> 
> Cheers,
> 
> Phil Quesinberry
> 
> Q Systems Engineering, Inc.
> 
> Electronic Controls and Embedded Systems Development
> 
> (410) 969-8002
> 
> http://www.qsystemsengineering.com
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130112/870166d6/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list