Asterisk startup issue

Discussion in 'General' started by pirasath, Jan 11, 2011.

  1. pirasath

    Joined:
    Jan 11, 2011
    Messages:
    1
    Likes Received:
    0
    Hi folks,

    I upgraded from Asterisk 1.4 to 1.6 today according to the guidance at http://www.elastix.org/en/component/kun ... -2510.html

    After the installation when I tried to start the server(amportal start), it gave me the following error.

    Code:
    SETTING FILE PERMISSIONS
    Permissions OK
    
    STARTING ASTERISK
    /usr/sbin/safe_asterisk: line 118:  3713 Segmentation fault      (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}
    Asterisk ended with exit status 139
    Asterisk exited on signal 11.
    Automatically restarting Asterisk.
    mpg123: no process killed
    /usr/sbin/safe_asterisk: line 118:  3745 Segmentation fault      (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}
    Asterisk ended with exit status 139
    Asterisk exited on signal 11.
    Automatically restarting Asterisk.
    mpg123: no process killed
    As I checked the Asterisk log, it is shown

    Code:
    [Jan 11 14:57:21] VERBOSE[3745] config.c:   == Parsing '/etc/asterisk/modules.conf': [Jan 11 14:57:21] VERBOSE[3745] config.c:   == Found
    [Jan 11 14:57:21] NOTICE[3745] loader.c: 159 modules will be loaded.
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'app_dahdiscan.so': /usr/lib64/asterisk/modules/app_dahdiscan.so: undefined symbol: dahdi_chan_name
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'chan_dahdi.so': /usr/lib64/asterisk/modules/chan_dahdi.so: undefined symbol: dahdi_chan_name_len
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'pbx_config.so': /usr/lib64/asterisk/modules/pbx_config.so: undefined symbol: dahdi_chan_name
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'app_dahdiras.so': /usr/lib64/asterisk/modules/app_dahdiras.so: undefined symbol: dahdi_chan_name
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'app_meetme.so': /usr/lib64/asterisk/modules/app_meetme.so: undefined symbol: dahdi_chan_name
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'app_flash.so': /usr/lib64/asterisk/modules/app_flash.so: undefined symbol: dahdi_chan_name
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'app_chanspy.so': /usr/lib64/asterisk/modules/app_chanspy.so: undefined symbol: dahdi_chan_name_len
    [Jan 11 14:57:21] WARNING[3745] loader.c: Error loading module 'app_dahdibarge.so': /usr/lib64/asterisk/modules/app_dahdibarge.so: undefined symbol: dahdi_chan_name
    
    I am wondering why the server is not starting up. Is it due to the previous version of DAHDI drivers?

    Further i did
    to update the /etc/dahdi/system.conf.. still no success..

    I am posting the output of
    too..

    Code:
    [root@elastix ~]# lsmod|grep dahdi
    dahdi_echocan_mg2      39688  0 
    dahdi_dynamic_eth      40488  0 
    dahdi_dynamic          45104  1 dahdi_dynamic_eth
    dahdi_transcode        42372  1 wctc4xxp
    dahdi_vpmadt032_loader   211376  0 
    dahdi_voicebus         72896  3 dahdi_vpmadt032_loader,wctdm24xxp,wcte12xp
    dahdi                 233936  16 rcbfx,r1t1,dahdi_echocan_mg2,rxt1,dahdi_dynamic,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
    crc_ccitt              35265  1 dahdi
    Any help is appreciated.

    Thanks

    Pir
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Unfortunately you will have to either restore the backup image you made before taking that plunge, or recompile libpri, dahdi. dahdi-tools, asterisk and asterisk-addons from scratch, I suggest you use the latest for all and the latest rc for asterisk as it has a horrible bug in the "trunk" version.

    There is as yet no reasonably functional way using the Elastix repositories to go your route, presumably Elastix < 2.0 to asterisk 1.6.?, sorry.
     

Share This Page