[Freeswitch-users] fs_cli socket connection error

deniro ayhkor at gmail.com
Tue Mar 1 01:40:23 MSK 2011


Checked the log
Nothing is logged when
fs_cli -d 7 -H 75.xxx.xxx.xxx -P 8021
is issued
/opt/freeswitch/log# tail -f freeswitch.log

ls -l freeswitch.log
-rwxrwxrwx 1 freeswitch daemon 33018 2011-02-28 17:39 freeswitch.log
thx



On Mon, Feb 28, 2011 at 3:59 PM, Peter Olsson <
peter.olsson at visionutveckling.se> wrote:

> Check freeswitch.log, it probably reports some problem when loading the
> mod_event_socket module.
>
> /Peter
> ________________________________________
> Från: freeswitch-users-bounces at lists.freeswitch.org [
> freeswitch-users-bounces at lists.freeswitch.org] f&#246;r deniro [
> ayhkor at gmail.com]
> Skickat: den 28 februari 2011 21:42
> Till: FreeSWITCH Users Help
> Ämne: Re: [Freeswitch-users] fs_cli socket connection error
>
> 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<mailto:
> 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<mailto:
> 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<mailto:
> 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<http://www.freeswitch.org/>
> >
> >
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org<mailto:
> 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<http://www.freeswitch.org/>
>
> !DSPAM:4d6c0a1132761029518849!
>
> _______________________________________________
> 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/ba92225b/attachment-0001.html 


More information about the FreeSWITCH-users mailing list