Are there any other messages before the CRIT lines? More context would be useful. It could be that it's loading, but failing to load a dependancy or config file. -Steve On 26 March 2011 19:23, mazilo <Nabble@slickdeals.endjunk.com> wrote:
With FreeSWITCH Version 1.0.head (git-9795dd2 2011-03-26 11-07-34 -0500) and many versions before, I noticed (but forgot to report) the following error messages if I enable some of the modules, i.e. mod_erlang_event, mod_lcr, etc., even though I have successfully cross compiled the modules and installed. I don't know if this has anything to do with a cross compilation. 2011-03-26 14:32:36.251260 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/lib/freeswitch/mod_erlang_event.so **Unknown error** 2011-03-26 14:32:43.288400 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/lib/freeswitch/mod_lcr.so **Module load routine returned an error**
I have both modules compiled and installed as seen below. The corrupted section header size trailing message returned by file utility is harmless, AFAICT. Otherwise, the /usr/bin/freeswitch and among other programs listed below, i.e. busybox and dropbear, won't even run. root@DockStar:/# ls -l /usr/lib/freeswitch/mod_erlang_event.so /usr/lib/freeswitch/mod_lcr.so -rwxr-xr-x 1 root root 58794 Mar 26 14:00 /usr/lib/freeswitch/mod_erlang_event.so -rwxr-xr-x 1 root root 39814 Mar 26 14:00 /usr/lib/freeswitch/mod_lcr.so root@DockStar:/# file /usr/lib/freeswitch/mod_erlang_event.so /usr/lib/freeswitch/mod_lcr.so /usr/lib/freeswitch/mod_sofia.so /bin/busybox /usr/sbin/dropbear /usr/bin/freeswitch /usr/lib/freeswitch/mod_erlang_event.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, corrupted section header size /usr/lib/freeswitch/mod_lcr.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, corrupted section header size /usr/lib/freeswitch/mod_sofia.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, corrupted section header size /bin/busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), corrupted section header size /usr/sbin/dropbear: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), corrupted section header size /usr/bin/freeswitch: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), corrupted section header size root@DockStar:/#
----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/CRIT-switch-loadable-module-c-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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