<div>I put the log in pastebin</div>
<div>freeswitch.log only when starting freeswitch (after stop) </div>
<div> </div>
<div><a href="http://pastebin.freeswitch.org/15502">http://pastebin.freeswitch.org/15502</a></div>
<div><br>thx</div>
<div>
<div>deniro</div><br></div>
<div class="gmail_quote">On Mon, Feb 28, 2011 at 5:46 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">You must check the logfile for when FS starts up - if netstat shows<br>nothing for port 8021 then either mod_event_socket isn&#39;t being loaded<br>
or you&#39;ll see an error when it tries to load.<br><br>Nothing from netstat means nothing&#39;s listening, so trying to connect<br>using fs_cli won&#39;t do anything.<br><br>-Steve<br>
<div>
<div></div>
<div class="h5"><br><br>On 28 February 2011 22:40, deniro &lt;<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>&gt; wrote:<br>&gt; Checked the log<br>&gt; Nothing is logged when<br>&gt; fs_cli -d 7 -H 75.xxx.xxx.xxx -P 8021<br>
&gt; is issued<br>&gt; /opt/freeswitch/log# tail -f freeswitch.log<br>&gt;<br>&gt; ls -l freeswitch.log<br>&gt; -rwxrwxrwx 1 freeswitch daemon 33018 2011-02-28 17:39 freeswitch.log<br>&gt; thx<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 28, 2011 at 3:59 PM, Peter Olsson<br>
&gt; &lt;<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Check freeswitch.log, it probably reports some problem when loading the<br>&gt;&gt; mod_event_socket module.<br>
&gt;&gt;<br>&gt;&gt; /Peter<br>&gt;&gt; ________________________________________<br>&gt;&gt; Från: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>&gt;&gt; [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] f&amp;#246;r deniro<br>
&gt;&gt; [<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>]<br>&gt;&gt; Skickat: den 28 februari 2011 21:42<br>&gt;&gt; Till: FreeSWITCH Users Help<br>&gt;&gt; Ämne: Re: [Freeswitch-users] fs_cli socket connection error<br>
&gt;&gt;<br>&gt;&gt; Steve<br>&gt;&gt; Thanks for the reply<br>&gt;&gt; netstat -anlp | grep 8021  is blank (nothing showing up)<br>&gt;&gt;<br>&gt;&gt; /opt/freeswitch/bin/fs_cli -d 7 -H 75.xxx.xxx.xxx -P 8021<br>&gt;&gt; [DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration<br>
&gt;&gt; file is /root/.fs_cli_conf.<br>&gt;&gt; [DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration<br>&gt;&gt; file is /etc/fs_cli.conf.<br>&gt;&gt; [DEBUG] libs/esl/fs_cli.c:1159 main() profile default does not exist using<br>
&gt;&gt; builtin profile<br>&gt;&gt; [DEBUG] libs/esl/fs_cli.c:1188 main() Using profile internal<br>&gt;&gt; [75.xxx.xxx.xxx]<br>&gt;&gt; [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection<br>&gt;&gt; Error]<br>
&gt;&gt; yes mod_event_socket is after  mod_xml_curl but I changed the order in<br>&gt;&gt;  modules.conf.xml<br>&gt;&gt; still getting above (restarted freeswitch)<br>&gt;&gt;<br>&gt;&gt; thx<br>&gt;&gt; deniro--<br>&gt;&gt;<br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Mon, Feb 28, 2011 at 3:35 AM, Steven Ayre<br>&gt;&gt; &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&lt;mailto:<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt; Enable debug logging and you should see an error that&#39;ll tell you more.<br>&gt;&gt;<br>&gt;&gt; Is mod_event_socket loading before or after mod_xml_curl? Chances are<br>&gt;&gt; mod_xml_curl is loading first, so it&#39;s trying to read<br>
&gt;&gt; event_socket.conf.xml and/or acl.conf.xml through xml_curl and either<br>&gt;&gt; getting a different config to your previous local copy or the ACLs are<br>&gt;&gt; different.<br>&gt;&gt;<br>&gt;&gt; What does &quot;netstat -anlp | grep :8021&quot; from the linux cli show you?<br>
&gt;&gt; Does it show that freeswitch is actually listening on the port? If it<br>&gt;&gt; is it&#39;s probably an ACL problem, if it isn&#39;t then it&#39;s probably a<br>&gt;&gt; problem with event_socket.conf.xml<br>&gt;&gt;<br>
&gt;&gt; -Steve<br>&gt;&gt;<br>&gt;&gt; On 28 February 2011 00:53, deniro<br>&gt;&gt; &lt;<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>&lt;mailto:<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt; &gt; What would be possible reasons for this and how to resolve?<br>&gt;&gt; &gt; running fs 106 on ubuntu 10.04 server<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; /opt/freeswitch/bin/fs_cli -H xxx.xxx.xxx.xxx -P 8021<br>&gt;&gt; &gt; [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket<br>
&gt;&gt; &gt; Connection<br>&gt;&gt; &gt; Error]<br>&gt;&gt; &gt; was working fine before I installed  mod_xml_cdr<br>&gt;&gt; &gt; configure --prefix=/opt/freeswitch --without-libcurl<br>&gt;&gt; &gt; make mod_xml_cdr-install<br>
&gt;&gt; &gt; (no errors)<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; in modules.conf.xml<br>&gt;&gt; &gt; &lt;load module=&quot;mod_event_socket&quot;/&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; is there a packaged version of mod_xml_cdr (for fs 1.0.6)?<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; thx<br>&gt;&gt; &gt; deniro--<br>&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt; FreeSWITCH-users mailing list<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>&lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>
&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt;<br>&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>&lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>&gt;&gt;<br>&gt;&gt; !DSPAM:4d6c0a1132761029518849!<br>
&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br></div></div></blockquote></div><br>