Segmentation Fault in Debian Squeeze

I installed asterisk 1.8 in debian squeeze as described here: wiki.asterisk.org/wiki/display/ … FUbuntu%29

But I continued getting an error:

[quote]# asterisk -rvvvv
Asterisk 1.8.4.4-1digium1~squeeze, Copyright © 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
== Parsing ‘/etc/asterisk/extconfig.conf’: == Found
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)[/quote]

So I executed ‘asterisk -cdvvvv’ and I got the following error at the end:

[quote]res_ael_share.so => (share-able code for AEL)
[Jul 10 16:01:17] WARNING[4909]: loader.c:455 load_dynamic_module: Error loading module ‘res_features.so’: /usr/lib/asterisk/modules/res_features.so: undefined symbol: ast_channel_walk_locked
[Jul 10 16:01:17] WARNING[4909]: loader.c:845 load_resource: Module ‘res_features.so’ could not be loaded.
[Jul 10 16:01:17] WARNING[4909]: loader.c:393 load_dynamic_module: Error loading module ‘chan_ooh323.so’: /usr/lib/asterisk/modules/chan_ooh323.so: undefined symbol: ast_rtp_bridge
[Jul 10 16:01:17] WARNING[4909]: loader.c:845 load_resource: Module ‘chan_ooh323.so’ could not be loaded.
[Jul 10 16:01:17] WARNING[4909]: loader.c:455 load_dynamic_module: Error loading module ‘app_setcdruserfield.so’: /usr/lib/asterisk/modules/app_setcdruserfield.so: undefined symbol: ast_register_application
[Jul 10 16:01:17] WARNING[4909]: loader.c:845 load_resource: Module ‘app_setcdruserfield.so’ could not be loaded.
[Jul 10 16:01:17] WARNING[4909]: loader.c:455 load_dynamic_module: Error loading module ‘app_settransfercapability.so’: /usr/lib/asterisk/modules/app_settransfercapability.so: undefined symbol: ast_register_application
[Jul 10 16:01:17] WARNING[4909]: loader.c:845 load_resource: Module ‘app_settransfercapability.so’ could not be loaded.
[Jul 10 16:01:17] WARNING[4909]: loader.c:455 load_dynamic_module: Error loading module ‘app_lookupblacklist.so’: /usr/lib/asterisk/modules/app_lookupblacklist.so: undefined symbol: ast_custom_function_register
[Jul 10 16:01:17] WARNING[4909]: loader.c:845 load_resource: Module ‘app_lookupblacklist.so’ could not be loaded.
Segmentation fault
[/quote]

How to make it work? Help solicited. Thanks!

This can happen if you have old modules in your modules directory.

Otherwise you will need to compile from source and google for “asterisk wiki backtrace”.

Thank you david55 for the response. I deleted all the modules under /usr/lib/asterisk/modules/ directory and it runs.

But when I installed freepbx, asterisk is seen running while freepbx notifies that it is not! hmmmm…