[Freeswitch-users] fs_cli socket connection error

Steven Ayre steveayre at gmail.com
Fri Mar 4 07:28:00 MSK 2011


If you don't know what it's for, you've just broken your fs setup.

The mod_XML_curl module replaces certain bindings with URLs - dialplan, configuration, directory. Any request to access those generates a http request to the URL you give in the config, so that you can build a script that generates the XML dynamically.

Every binding is optional - you do not have to have any of them. The error probably means you had defined a binding but with no URL. Can't say for sure without seeing your old config file though.

I'd suggest you read up on the wiki pages if you haven't already done so - http://wiki.freeswitch.org/wiki/Mod_xml_curl.

If you don't need the module then I'd not bother loading it.

Steve on iPhone

On 4 Mar 2011, at 04:08, deniro <ayhkor at gmail.com> wrote:

> Alright,  I did some googling  around  "[ERR] mod_xml_curl.c:444 Binding has no url "  then
> uncommented below line in conf/autoload_configs/xml_curl.conf.xml
> <param name="gateway-url" value="http://www.freeswitch.org/gateway.xml" bindings="dialplan"/>
> though I don't know what this is for..
> 
> Now I am able to load mod_xml_curl
> no need to re-install everything
> thanks everyone
> deniro--
>  
>  
> On Thu, Mar 3, 2011 at 3:32 AM, Steven Ayre <steveayre at gmail.com> wrote:
> freeswitch at xxx@internal> load mod_xml_curl
> -ERR [module load file routine returned an error]
> 
> There's still an error while loading. You need to look at the logs for
> freeswitch, not the fs_cli ones.
> 
> Either run 'fs_cli -l debug' or do '/log 7' within fs_cli
> 
> -Steve
> 
> On 3 March 2011 00:28, deniro <ayhkor at gmail.com> wrote:
> > ok, I see one under src. I copied that to conf/autoload_configs and looks
> > like I am able to load mod_xml_cdr this way
> > freeswitch at xxxx@internal>
> > load mod_xml_cdr
> > module_exists mod_xml_cdr
> > true
> > same method did not work for mod_xml_curl
> > below is error message after I copied file
> > cp /usr/src/freeswitch-1.0.6/conf/autoload_configs/xml_curl.conf.xml
> > /opt/freeswitch/conf/autoload_configs/xml_curl.conf.xml
> >
> > freeswitch at xxx@internal> load mod_xml_curl
> > [DEBUG] libs/esl/src/esl.c:1140 esl_send() SEND
> > api load mod_xml_curl
> > console_execute: true
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =
> > [api/response]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]
> > = [68]
> > +OK Reloading XML
> > -ERR [module load file routine returned an error]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =
> > [log/data]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]
> > = [63]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =
> > [6]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =
> > [0]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =
> > [mod_enum.c]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =
> > [event_handler]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =
> > [808]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []
> > [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE
> > Event-Name: SOCKET_DATA
> > Content-Type: log/data
> > Content-Length: 63
> > Log-Level: 6
> > Text-Channel: 0
> > Log-File: mod_enum.c
> > Log-Func: event_handler
> > Log-Line: 808
> > User-Data: _undef_
> > 2011-03-02 19:23:34.416231 [INFO] mod_enum.c:808 ENUM Reloaded
> > 2011-03-02 19:23:34.416231 [INFO] mod_enum.c:808 ENUM Reloaded
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =
> > [log/data]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]
> > = [72]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =
> > [3]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =
> > [0]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =
> > [mod_xml_curl.c]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =
> > [do_config]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =
> > [444]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []
> > [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE
> > Event-Name: SOCKET_DATA
> > Content-Type: log/data
> > Content-Length: 72
> > Log-Level: 3
> > Text-Channel: 0
> > Log-File: mod_xml_curl.c
> > Log-Func: do_config
> > Log-Line: 444
> > User-Data: _undef_
> > 2011-03-02 19:23:34.416231 [ERR] mod_xml_curl.c:444 Binding has no url!
> > 2011-03-02 19:23:34.416231 [ERR] mod_xml_curl.c:444 Binding has no url!
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =
> > [log/data]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]
> > = [162]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =
> > [2]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =
> > [0]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =
> > [switch_loadable_module.c]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =
> > [switch_loadable_module_load_file]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =
> > [926]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []
> > [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE
> > Event-Name: SOCKET_DATA
> > Content-Type: log/data
> > Content-Length: 162
> > Log-Level: 2
> > Text-Channel: 0
> > Log-File: switch_loadable_module.c
> > Log-Func: switch_loadable_module_load_file
> > Log-Line: 926
> > User-Data: _undef_
> > 2011-03-02 19:23:34.416231 [CRIT] switch_loadable_module.c:926 Error Loading
> > module /opt/freeswitch/mod/mod_xml_curl.so
> > **Module load routine returned an error**
> > 2011-03-02 19:23:34.416231 [CRIT] switch_loadable_module.c:926 Error Loading
> > module /opt/freeswitch/mod/mod_xml_curl.so
> > **Module load routine returned an error**
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =
> > [log/data]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]
> > = [86]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =
> > [6]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =
> > [0]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =
> > [switch_time.c]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =
> > [switch_load_timezones]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =
> > [950]
> > [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []
> > [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE
> > Event-Name: SOCKET_DATA
> > Content-Type: log/data
> > Content-Length: 86
> > Log-Level: 6
> > Text-Channel: 0
> > Log-File: switch_time.c
> > Log-Func: switch_load_timezones
> > Log-Line: 950
> > User-Data: _undef_
> > 2011-03-02 19:23:34.417121 [INFO] switch_time.c:950 Timezone reloaded 530
> > definitions
> > 2011-03-02 19:23:34.417121 [INFO] switch_time.c:950 Timezone reloaded 530
> > definitions
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Mar 2, 2011 at 6:25 PM, Steven Ayre <steveayre at gmail.com> wrote:
> >>
> >> You need to create its config file. It won't load without it.
> >>
> >> "find . -name xml_cdr.conf"
> >>
> >> Actually it's xml_cdr.conf.xml, all config files will show .conf as
> >> their logical name but on the hard drive they're stored in .conf.xml.
> >> It should be in conf/autoload_configs
> >>
> >> -Steve
> >>
> >>
> >> On 2 March 2011 22:25, deniro <ayhkor at gmail.com> wrote:
> >> > I typed the 4 commands but still unable to load mod_xml_cdr and
> >> > mod_xml_curl
> >> >
> >> >
> >> > 2011-03-02 17:21:32.139672 [ERR] mod_xml_cdr.c:479 Open of xml_cdr.conf
> >> > failed
> >> > /opt# find . -name xml_cdr.conf
> >> > nothing appears
> >> >
> >> > here is errors from fs_cli -d 7
> >> >
> >> > freeswitch at 75.xxx.xxx.xx@internal> load mod_xml_cdr
> >> > [DEBUG] libs/esl/src/esl.c:1063 esl_send() SEND
> >> > api load mod_xml_cdr
> >> > console_execute: true
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Content-Type] =
> >> > [api/response]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Content-Length]
> >> > = [50]
> >> > -ERR [module load file routine returned an error]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Content-Type] =
> >> > [log/data]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Content-Length]
> >> > = [79]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Level]
> >> > =
> >> > [3]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Text-Channel] =
> >> > [0]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-File] =
> >> > [mod_xml_cdr.c]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Func] =
> >> > [mod_xml_cdr_load]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Line] =
> >> > [479]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [User-Data]
> >> > = []
> >> > [DEBUG] libs/esl/src/esl.c:1037 esl_recv_event() RECV MESSAGE
> >> > Event-Name: SOCKET_DATA
> >> > Content-Type: log/data
> >> > Content-Length: 79
> >> > Log-Level: 3
> >> > Text-Channel: 0
> >> > Log-File: mod_xml_cdr.c
> >> > Log-Func: mod_xml_cdr_load
> >> > Log-Line: 479
> >> > User-Data: _undef_
> >> > 2011-03-02 17:21:32.139672 [ERR] mod_xml_cdr.c:479 Open of xml_cdr.conf
> >> > failed
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Content-Type] =
> >> > [log/data]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Content-Length]
> >> > = [161]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Level]
> >> > =
> >> > [2]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER
> >> > [Text-Channel] =
> >> > [0]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-File] =
> >> > [switch_loadable_module.c]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Func] =
> >> > [switch_loadable_module_load_file]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Line] =
> >> > [882]
> >> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [User-Data]
> >> > = []
> >> > [DEBUG] libs/esl/src/esl.c:1037 esl_recv_event() RECV MESSAGE
> >> > Event-Name: SOCKET_DATA
> >> > Content-Type: log/data
> >> > Content-Length: 161
> >> > Log-Level: 2
> >> > Text-Channel: 0
> >> > Log-File: switch_loadable_module.c
> >> > Log-Func: switch_loadable_module_load_file
> >> > Log-Line: 882
> >> > User-Data: _undef_
> >> > 2011-03-02 17:21:32.139672 [CRIT] switch_loadable_module.c:882 Error
> >> > Loading
> >> > module /opt/freeswitch/mod/mod_xml_cdr.so
> >> > **Module load routine returned an error**
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > On Tue, Mar 1, 2011 at 1:11 PM, Anthony Minessale
> >> > <anthony.minessale at gmail.com> wrote:
> >> >>
> >> >> like I said you re-installed with a new version of libcurl but did not
> >> >> fully rebuild.
> >> >> So most of the modules that depend on curl were broken torn between
> >> >> the old and new version it was linked to..
> >> >>
> >> >> had you executed the 4 commands I posted yesterday it would be fine.
> >> >>
> >> >>
> >> >> On Tue, Mar 1, 2011 at 11:02 AM, deniro <ayhkor at gmail.com> wrote:
> >> >> > Thank you all for advice  and direction
> >> >> > Will re-install from scratch at a later time.
> >> >> > deniro--
> >> >> >
> >> >> > On Tue, Mar 1, 2011 at 4:16 AM, Steven Ayre <steveayre at gmail.com>
> >> >> > wrote:
> >> >> >>
> >> >> >> Ok, you really need to pay attention to any log message that logs
> >> >> >> with
> >> >> >> the CRIT (critical) log level - they're really serious errors. You
> >> >> >> should look at adding the critical="true" attribute to all the tags
> >> >> >> in
> >> >> >> modules.conf.xml which you want to be sure are loaded. If a module
> >> >> >> fails to load without that tag FS will continue to run anyway, with
> >> >> >> that tag it'll refuse to start so you'll know instantly something is
> >> >> >> wrong.
> >> >> >>
> >> >> >> Most of your modules aren't loading, because they haven't been
> >> >> >> compiled correctly. Some look like they're missing (no such file or
> >> >> >> directory) and others haven't been built right (undefined symbols).
> >> >> >>
> >> >> >> Here are a few of the important lines from your log:
> >> >> >>
> >> >> >> 2011-02-28 18:12:21.910738 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_event_socket.so
> >> >> >> **/opt/freeswitch/mod/mod_event_socket.so: undefined symbol:
> >> >> >> switch_event_serialize_json**
> >> >> >> 2011-02-28 18:12:21.910789 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_xml_curl.so
> >> >> >> **/opt/freeswitch/mod/mod_xml_curl.so: cannot open shared object
> >> >> >> file:
> >> >> >> No such file or directory**
> >> >> >> 2011-02-28 18:12:21.910813 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_xml_cdr.so
> >> >> >> **/opt/freeswitch/mod/mod_xml_cdr.so: cannot open shared object
> >> >> >> file:
> >> >> >> No such file or directory**
> >> >> >> 2011-02-28 18:12:21.911581 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_commands.so
> >> >> >> **/opt/freeswitch/mod/mod_commands.so: undefined symbol:
> >> >> >> switch_xml_reload**
> >> >> >> 2011-02-28 18:12:21.911709 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_conference.so
> >> >> >> **/opt/freeswitch/mod/mod_conference.so: undefined symbol:
> >> >> >> switch_channel_test_app_flag_key**
> >> >> >> 2011-02-28 18:12:21.911842 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_dptools.so
> >> >> >> **/opt/freeswitch/mod/mod_dptools.so: undefined symbol:
> >> >> >> switch_event_merge**
> >> >> >> 2011-02-28 18:12:21.912264 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_dialplan_xml.so
> >> >> >> **/opt/freeswitch/mod/mod_dialplan_xml.so: undefined symbol:
> >> >> >> switch_xml_std_datetime_check**
> >> >> >> 2011-02-28 18:12:21.912531 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_g723_1.so
> >> >> >> **/opt/freeswitch/mod/mod_g723_1.so: cannot open shared object file:
> >> >> >> No such file or directory**
> >> >> >> 2011-02-28 18:12:21.912573 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_g729.so
> >> >> >> **/opt/freeswitch/mod/mod_g729.so: cannot open shared object file:
> >> >> >> No
> >> >> >> such file or directory**
> >> >> >> 2011-02-28 18:12:21.912609 [CRIT] switch_loadable_module.c:882 Error
> >> >> >> Loading module /opt/freeswitch/mod/mod_amr.so
> >> >> >> **/opt/freeswitch/mod/mod_amr.so: cannot open shared object file: No
> >> >> >> such file or directory**
> >> >> >>
> >> >> >> Important things to note:
> >> >> >> mod_event_socket hasn't loaded because of a undefined symbol, it
> >> >> >> wasn't built correctly
> >> >> >> mod_xml_curl hasn't loaded because it doesn't exist, it was either
> >> >> >> never built or never installed
> >> >> >>
> >> >> >> Something pretty strange has happened. Did you recompile when trying
> >> >> >> to add mod_xml_curl?
> >> >> >>
> >> >> >> I'd suggest you delete all the FS files, including the Git clone,
> >> >> >> make
> >> >> >> a fresh checkout and build it from scratch.
> >> >> >>
> >> >> >> -Steve
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> On 28 February 2011 23:18, deniro <ayhkor at gmail.com> wrote:
> >> >> >> > I put the log in pastebin
> >> >> >> > freeswitch.log only when starting freeswitch (after stop)
> >> >> >> >
> >> >> >> > http://pastebin.freeswitch.org/15502
> >> >> >> > thx
> >> >> >> > deniro
> >> >> >> > On Mon, Feb 28, 2011 at 5:46 PM, Steven Ayre <steveayre at gmail.com>
> >> >> >> > wrote:
> >> >> >> >>
> >> >> >> >> You must check the logfile for when FS starts up - if netstat
> >> >> >> >> shows
> >> >> >> >> nothing for port 8021 then either mod_event_socket isn't being
> >> >> >> >> loaded
> >> >> >> >> or you'll see an error when it tries to load.
> >> >> >> >>
> >> >> >> >> Nothing from netstat means nothing's listening, so trying to
> >> >> >> >> connect
> >> >> >> >> using fs_cli won't do anything.
> >> >> >> >>
> >> >> >> >> -Steve
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> On 28 February 2011 22:40, deniro <ayhkor at gmail.com> wrote:
> >> >> >> >> > 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
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > _______________________________________________
> >> >> >> >> > 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
> >> >> >> >
> >> >> >> >
> >> >> >> > _______________________________________________
> >> >> >> > 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
> >> >> >
> >> >> >
> >> >> > _______________________________________________
> >> >> > 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
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Anthony Minessale II
> >> >>
> >> >> FreeSWITCH http://www.freeswitch.org/
> >> >> ClueCon http://www.cluecon.com/
> >> >> Twitter: http://twitter.com/FreeSWITCH_wire
> >> >>
> >> >> AIM: anthm
> >> >> MSN:anthony_minessale at hotmail.com
> >> >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> >> >> IRC: irc.freenode.net #freeswitch
> >> >>
> >> >> FreeSWITCH Developer Conference
> >> >> sip:888 at conference.freeswitch.org
> >> >> googletalk:conf+888 at conference.freeswitch.org
> >> >> pstn:+19193869900
> >> >>
> >> >> _______________________________________________
> >> >> 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
> >> >
> >> >
> >>
> >> _______________________________________________
> >> 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
> >
> >
> 
> _______________________________________________
> 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/20110304/16325767/attachment-0001.html 


More information about the FreeSWITCH-users mailing list