<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000">
<TITLE>Debugging question - silent intialization errors</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">This is probably a dumb question but</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">(surprisingly)</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">I really hadn</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">t run across this problem before and want to make sure I</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">m prepared to</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">quickly</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">deal with it in the future</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> as I</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">m certain that it will happen again</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">.</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">I w</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">as making some edits to the XML dialplan and</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">screwed up the syntax a bit. Fortunately I had done a reloadxml and saw the</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">error near line xxxx</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">”</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> message, so I knew where to</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> look</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> in the</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">.</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">fsxml</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">file to find the error and fixed it. Problem is, when you</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">do a</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">‘</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">service freeswitch</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">start</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">in Linux</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> you</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">don</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">t get this message, FS never</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">finishes</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> start</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">ing</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">up</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">so</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">you can</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">t get into the CLI</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">to see what</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">s going on, and it doesn</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">t show anything in the log file. </FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">The o</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">nly feedback you get is with a</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">‘</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">service freeswitch status</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> which gives the</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">‘</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">freeswitch dead but subsys locked</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> message.</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Is there a startup option to get it to show initialization errors? Can I do</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">something like</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">./freeswitch in the bin</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> directory and</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">get it to send</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">any</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">initialization</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">errors</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">to stdout or some other file</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">that way?</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">As always,</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">many grateful</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">thanks for the info.</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Cheers,</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><I></I></SPAN><SPAN LANG="en-us"><I></I></SPAN><I><SPAN LANG="en-us"></SPAN></I><I><SPAN LANG="en-us"><FONT FACE="Times New Roman">Phil Quesinberry</FONT></SPAN></I><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Q Systems Engineering, Inc.</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Electronic Controls and Embedded Systems Development</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">(410) 969-8002</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><A HREF="http://www.qsystemsengineering.com"><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><U></U></SPAN><U><SPAN LANG="en-us"></SPAN></U><U><SPAN LANG="en-us"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">htt</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">p://www.qsystemsengineering.com</FONT></SPAN></U><SPAN LANG="en-us"></SPAN></A><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>