<div>Thank you all for advice and direction</div>
<div>Will re-install from scratch at a later time.</div>
<div>deniro--<br><br></div>
<div class="gmail_quote">On Tue, Mar 1, 2011 at 4:16 AM, 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">Ok, you really need to pay attention to any log message that logs with<br>the CRIT (critical) log level - they're really serious errors. You<br>
should look at adding the critical="true" attribute to all the tags in<br>modules.conf.xml which you want to be sure are loaded. If a module<br>fails to load without that tag FS will continue to run anyway, with<br>
that tag it'll refuse to start so you'll know instantly something is<br>wrong.<br><br>Most of your modules aren't loading, because they haven't been<br>compiled correctly. Some look like they're missing (no such file or<br>
directory) and others haven't been built right (undefined symbols).<br><br>Here are a few of the important lines from your log:<br><br>2011-02-28 18:12:21.910738 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_event_socket.so<br>
**/opt/freeswitch/mod/mod_event_socket.so: undefined symbol:<br>switch_event_serialize_json**<br>2011-02-28 18:12:21.910789 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_xml_curl.so<br>
**/opt/freeswitch/mod/mod_xml_curl.so: cannot open shared object file:<br>No such file or directory**<br>2011-02-28 18:12:21.910813 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_xml_cdr.so<br>
**/opt/freeswitch/mod/mod_xml_cdr.so: cannot open shared object file:<br>No such file or directory**<br>2011-02-28 18:12:21.911581 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_commands.so<br>
**/opt/freeswitch/mod/mod_commands.so: undefined symbol: switch_xml_reload**<br>2011-02-28 18:12:21.911709 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_conference.so<br>**/opt/freeswitch/mod/mod_conference.so: undefined symbol:<br>
switch_channel_test_app_flag_key**<br>2011-02-28 18:12:21.911842 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_dptools.so<br>**/opt/freeswitch/mod/mod_dptools.so: undefined symbol: switch_event_merge**<br>
2011-02-28 18:12:21.912264 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_dialplan_xml.so<br>**/opt/freeswitch/mod/mod_dialplan_xml.so: undefined symbol:<br>switch_xml_std_datetime_check**<br>
2011-02-28 18:12:21.912531 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_g723_1.so<br>**/opt/freeswitch/mod/mod_g723_1.so: cannot open shared object file:<br>No such file or directory**<br>
2011-02-28 18:12:21.912573 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_g729.so<br>**/opt/freeswitch/mod/mod_g729.so: cannot open shared object file: No<br>such file or directory**<br>
2011-02-28 18:12:21.912609 [CRIT] switch_loadable_module.c:882 Error<br>Loading module /opt/freeswitch/mod/mod_amr.so<br>**/opt/freeswitch/mod/mod_amr.so: cannot open shared object file: No<br>such file or directory**<br>
<br>Important things to note:<br>mod_event_socket hasn't loaded because of a undefined symbol, it<br>wasn't built correctly<br>mod_xml_curl hasn't loaded because it doesn't exist, it was either<br>never built or never installed<br>
<br>Something pretty strange has happened. Did you recompile when trying<br>to add mod_xml_curl?<br><br>I'd suggest you delete all the FS files, including the Git clone, make<br>a fresh checkout and build it from scratch.<br>
<br>-Steve<br>
<div>
<div></div>
<div class="h5"><br><br><br>On 28 February 2011 23:18, deniro <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>> wrote:<br>> I put the log in pastebin<br>> freeswitch.log only when starting freeswitch (after stop)<br>
><br>> <a href="http://pastebin.freeswitch.org/15502" target="_blank">http://pastebin.freeswitch.org/15502</a><br>> thx<br>> deniro<br>> On Mon, Feb 28, 2011 at 5:46 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>> wrote:<br>
>><br>>> 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>>><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()<br>
>> >> Configuration<br>>> >> file is /root/.fs_cli_conf.<br>>> >> [DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file()<br>>> >> Configuration<br>>> >> file is /etc/fs_cli.conf.<br>
>> >> [DEBUG] libs/esl/fs_cli.c:1159 main() profile default does not exist<br>>> >> 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<br>>> >> 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>>> >> ><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>>> >> ><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>>> >><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>>> >><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>>> >><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>><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>