URGENT Help needed

Home » Asterisk Users » URGENT Help needed
Asterisk Users 5 Comments

Hello,

We tried to upgrade our Asterisk from 1.6.2.13 to 1.6.2.14, after trying
to install iksemel (jabber support) and spandsp, but now Asterisk
doesn’t work anymore and we can’t get it to run, althorugh we tried to
remove it completely and reinstall 1.6.2.13.

when trying to start it via /etc/init.d/asterisk start we get the
following error:

Asterisk died with code 1.
Automatically restarting Asterisk.
Asterisk ended with exit status 1

When just trying to run it as asterisk from the command line, we don’t
see the process being active and we get this message when running
asterisk -r, although the file is present:
Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist?)

Any help would be highly appreciated.

Thank you in advance,

Michael

5 thoughts on - URGENT Help needed

  • Do your asterisk logs say anything — /var/log/asterisk/messages or
    full? Also, what happens if you do asterisk -cvvvv this may help you
    figure things out.

    Michael wrote:

  • figure things out.

    Hi,

    These are the “WARNINGS”I found in /var/log/asterisk/messages after
    running the above command:

    [Nov 22 12:10:19] WARNING[2316] udptl.c: T38FaxUdpEC in udptl.conf is no
    longer supported; use the t38pt_udptl configuration option in sip.conf
    instead.
    [Nov 22 12:10:19] WARNING[2316] udptl.c: T38FaxMaxDatagram in udptl.conf
    is no longer supported; value is now supplied by T.38 applications.
    [Nov 22 12:10:19] WARNING[2316] loader.c: Error loading module
    ‘res_config_odbc.so’: /usr/lib/asterisk/modules/res_config_odbc.so:
    undefined symbol: ast_odbc_clear_cache
    [Nov 22 12:10:19] WARNING[2316] res_config_ldap.c: No directory user
    found, anonymous binding as default.
    [Nov 22 12:10:19] ERROR[2316] res_config_ldap.c: No directory URL or
    host found.

    [Nov 22 12:10:19] WARNING[2316] utils.c: trying to reset empty pool
    [Nov 22 12:10:19] WARNING[2316] utils.c: trying to reset empty pool
    [Nov 22 12:10:19] WARNING[2316] utils.c: trying to reset empty pool

    [Nov 22 12:10:19] WARNING[2316] pbx.c: Already have an application ‘SendFAX’
    [Nov 22 12:10:19] WARNING[2316] pbx.c: Already have an application
    ‘ReceiveFAX’

    Thanks,

    Michael

  • Hi Michael,

    With regards the following error:

    ‘res_config_odbc.so’: /usr/lib/asterisk/modules/res_config_odbc.so: undefined symbol: ast_odbc_clear_cache

    You can fix that one by modifying /etc/asterisk/modules.conf and uncommenting the following 2 lines:

    preload => res_odbc.so
    preload => res_config_odbc.so

    That will ensure the odbc resource is available for any other applications that may require it.

    Thanks
    Bruce

  • Thank you Bruce. IT works.

    I also found in FFA manual that SPANDSP and FFA can’t exist
    simultaneously, so since I didn’t succeed to run the RxFAX and TxFAX, I
    went back to FFA and removed the app_fax from the /modules directory and
    now Asterisk works again.