[Freeswitch-users] fs_cli socket connection error

deniro ayhkor at gmail.com
Mon Feb 28 23:42:49 MSK 2011


Steve
Thanks for the reply
netstat -anlp | grep 8021  is blank (nothing showing up)

/opt/freeswitch/bin/fs_cli -d 7 -H 75.xxx.xxx.xxx -P 8021
[DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration
file is /root/.fs_cli_conf.
[DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration
file is /etc/fs_cli.conf.
[DEBUG] libs/esl/fs_cli.c:1159 main() profile default does not exist using
builtin profile
[DEBUG] libs/esl/fs_cli.c:1188 main() Using profile internal
[75.xxx.xxx.xxx]
[ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection
Error]
yes mod_event_socket is after  mod_xml_curl but I changed the order in
modules.conf.xml
still getting above (restarted freeswitch)

thx
deniro--



On Mon, Feb 28, 2011 at 3:35 AM, Steven Ayre <steveayre at gmail.com> wrote:

> Enable debug logging and you should see an error that'll tell you more.
>
> Is mod_event_socket loading before or after mod_xml_curl? Chances are
> mod_xml_curl is loading first, so it's trying to read
> event_socket.conf.xml and/or acl.conf.xml through xml_curl and either
> getting a different config to your previous local copy or the ACLs are
> different.
>
> What does "netstat -anlp | grep :8021" from the linux cli show you?
> Does it show that freeswitch is actually listening on the port? If it
> is it's probably an ACL problem, if it isn't then it's probably a
> problem with event_socket.conf.xml
>
> -Steve
>
> On 28 February 2011 00:53, deniro <ayhkor at gmail.com> wrote:
> > What would be possible reasons for this and how to resolve?
> > running fs 106 on ubuntu 10.04 server
> >
> > /opt/freeswitch/bin/fs_cli -H xxx.xxx.xxx.xxx -P 8021
> > [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection
> > Error]
> > was working fine before I installed  mod_xml_cdr
> > configure --prefix=/opt/freeswitch --without-libcurl
> > make mod_xml_cdr-install
> > (no errors)
> >
> > in modules.conf.xml
> > <load module="mod_event_socket"/>
> >
> > is there a packaged version of mod_xml_cdr (for fs 1.0.6)?
> >
> > thx
> > deniro--
> > _______________________________________________
> > 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
> >
> >
>
> _______________________________________________
> 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/20110228/478f35d0/attachment.html 


More information about the FreeSWITCH-users mailing list