Thanks Michael! FreeSWITCH.Managed.dll loads successfully without tinkering. Tks for the patch! Of course after adding the LD lib path. Thank you very much! Also saw you updated the BUG on Jira.. Thanks again great work! Only other thing to note is "languages/mod_managed" still needs to be manually added to modules.conf at this point. Perhaps a patch with this commented out by default would be a good idea for the future. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Giagnocavo Sent: Tuesday, January 20, 2009 5:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] mod_managed failing to load on CentOS 5.2 OK, I just checked in a fix that should make it load, or at least print a helpful exception. However, you will need the freeswitch/mod folder in the LD path, so: export LD_LIBRARY_PATH=/usr/local/freeswitch/mod or edit the ld configs. -Michael From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Giagnocavo Sent: Thursday, January 15, 2009 4:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] mod_managed failing to load on CentOS 5.2 Last time I tried it I actually built from a snapshot, which should be less stable. It was on CentOS 5.2, however. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Adam Long Sent: Thursday, January 15, 2009 4:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] mod_managed failing to load on CentOS 5.2 OK yah i'm experiencing exact same problem here CentOS 5.2 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 athlon i386 GNU/Linux I too have no problems at all on Windows. I'm going to try a Suse or Ubuntu prebuilt/packaged with Mono 2 I suspect it may be kernel/mono incompatibility. Did you compile mono from tarbal? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim B Sent: Thursday, January 15, 2009 6:18 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] mod_managed failing to load on CentOS 5.2 I changed the filename of the dll to FreeSWITCH.Managed.dll then tried to restart. FS now no longer starts. Says mono error.... with a dump. I don't have the exact message because I am not on location with the machine. I know it does compile, load and execute on a windows machine. Just not on Centos.
From: freeswitch-users-request@lists.freeswitch.org Subject: Freeswitch-users Digest, Vol 31, Issue 77 To: freeswitch-users@lists.freeswitch.org Date: Thu, 15 Jan 2009 00:20:53 -0800
Send Freeswitch-users mailing list submissions to freeswitch-users@lists.freeswitch.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-request@lists.freeswitch.org
You can reach the person managing the list at freeswitch-users-owner@lists.freeswitch.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeswitch-users digest..."
Today's Topics:
1. mod_managed failing to load on CentOS 5.2 (Tim B) 2. Re: Using mod_managed Linux/Mono 2.02 (Michael Giagnocavo) 3. zapata.conf immediate=yes in Asterisk - Freeswitch equivalent? (Scott Ellis) 4. Country specific tones - how to contribute? (Scott Ellis) 5. Re: Country specific tones - how to contribute? (Jason White) 6. Changes in PlayAndGetDigits (Juan Backson) 7. Re: OpenZAP parse error [-3012] [Q931E_INVALID_CRV] (Peter P GMX)
----------------------------------------------------------------------
Message: 1 Date: Wed, 14 Jan 2009 20:13:27 -0500 From: Tim B <timb0311@hotmail.com> Subject: [Freeswitch-users] mod_managed failing to load on CentOS 5.2 To: <freeswitch-users@lists.freeswitch.org> Message-ID: <BAY117-W5065D9F4AAF59BB1B86359DED70@phx.gbl> Content-Type: text/plain; charset="windows-1252"
Got mod_managed compiled and installed. Now it isn't loading. See below...
1) Donwloaded fresh from SVN
2) Compiled... and installed.. OK [root@phone2 mod_managed]# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig [root@phone2 mod_managed]# make [root@phone2 mod_managed]# make install
3) Added to modules.conf.xml : <load module="mod_managed"/>
4) Started freeswitch from command line ... Error: 2009-01-14 20:01:42 [ERR] mod_managed.cpp:220 loadRuntime() mono_domain_assembly_open failed. 2009-01-14 20:01:42 [CRIT] switch_loadable_module.c:839 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_managed.so **Module load routine returned an error**
5) I know mono2 is working because I compiled and executed a helloworld test class on machine.
Any ideas?
_________________________________________________________________ Windows Live?: Keep your life in sync.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_0120 09