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