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@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@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@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@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@visionutveckling.se> wrote:
>> >>
>> >> Check freeswitch.log, it probably reports some problem when loading the
>> >> mod_event_socket module.
>> >>
>> >> /Peter
>> >> ________________________________________
>> >> Från: freeswitch-users-bounces@lists.freeswitch.org
>> >> [freeswitch-users-bounces@lists.freeswitch.org] f&#246;r deniro
>> >> [ayhkor@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@gmail.com<mailto:steveayre@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@gmail.com<mailto:ayhkor@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@lists.freeswitch.org<mailto:FreeSWITCH-users@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@lists.freeswitch.org<mailto:FreeSWITCH-users@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org