[Asterisk-Users] Asterisk Crashes after update

Scott Brown sbrown at andersonis.com
Sun Jul 24 15:38:52 MST 2005


Thanks Brian:

Sorry for the late reply.  That was helpful.  Problem solved.

Scott

At 10:43 PM 7/10/2005, you wrote:
>You might want to recompile the res_config_mysql or configure
>res_config_odbc which works via myodbc and is just as good!
>
>/b
>---
>Anakin: "You're either with me, or you're my enemy."
>Obi-Wan: "Only a Sith could be an absolutist."
>
>On Jul 7, 2005, at 2:46 PM, sbrown at andersonis.com wrote:
>
>>After doing an update from SUSE 9.2 to 9.3 and Checking out the
>>latest from CVS, Asterisk crashes on startup with an apparent MySQL
>>(res_config_register) error:
>># asterisk -vvvgc > asterisk_startup_error1.log
>>asterisk: symbol lookup error:
>>/usr/lib/asterisk/modules/res_config_mysql.so: un
>>            defined symbol: ast_cust_config_register
>>The log is shown below.  I've seen the posts from
>>1/25/05 and several more recent ones regarding this
>>same issue or a similar one with the
>>ast_cust_config_register being undefined, however
>>reverting to that build of 1/24/05 does not solve the
>>problem in my case.
>>Is there another issue with mySQL that may cause this
>>problem?  I'm using SUSE 9.3 on an Athlon 64 with 64
>>bit release 2.6 of Linux.  I've made sure that all the
>>ODBC and MySQL modules for SUSE 9.3 are installed.
>>I'm a rank noob with * and would appreciate any help.
>>Thanks!!!!!!!!!!!!!!!
>>Log Pasted below for more info:
>>[0;37;40m
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/asterisk.conf': Found
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/extconfig.conf': Found
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/asterisk.conf': Found
>>Asterisk CVS-HEAD, Copyright (C) 1999 - 2005 Digium.
>>Written by Mark Spencer <markster at digium.com>
>>====================================================================== ===
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/logger.conf': Found
>>Asterisk Event Logger Started
>>/var/log/asterisk/event_log
>>Asterisk Dynamic Loader loading preload modules:
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/modules.conf': Found
>>[1;30;40m  == [0;37;40mManager registered action
>>Ping
>>[1;30;40m  == [0;37;40mManager registered action
>>Events
>>[1;30;40m  == [0;37;40mManager registered action
>>Logoff
>>[1;30;40m  == [0;37;40mManager registered action
>>Hangup
>>[1;30;40m  == [0;37;40mManager registered action
>>Status
>>[1;30;40m  == [0;37;40mManager registered action
>>Setvar
>>[1;30;40m  == [0;37;40mManager registered action
>>Getvar
>>[1;30;40m  == [0;37;40mManager registered action
>>Redirect
>>[1;30;40m  == [0;37;40mManager registered action
>>Originate
>>[1;30;40m  == [0;37;40mManager registered action
>>Command
>>[1;30;40m  == [0;37;40mManager registered action
>>ExtensionState
>>[1;30;40m  == [0;37;40mManager registered action
>>AbsoluteTimeout
>>[1;30;40m  == [0;37;40mManager registered action
>>MailboxStatus
>>[1;30;40m  == [0;37;40mManager registered action
>>MailboxCount
>>[1;30;40m  == [0;37;40mManager registered action
>>ListCommands
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/manager.conf': Found
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/cdr.conf': Not found (No such file or
>>directory)
>>Jul  6 21:32:24 [1;33;40mNOTICE[0;37;40m[8492]:
>>[1;37;40mcdr.c[0;37;40m:[1;37;40m1162[0;37;40m
>>[1;37;40mdo_reload[0;37;40m: CDR simple logging
>>enabled.
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/rtp.conf': Found
>>[1;30;40m  == [0;37;40mRTP Allocating from port
>>range 10000 -> 20000
>>Asterisk PBX Core Initializing
>>Registering builtin applications:
>>[1;30;40m [0;37;40m[AbsoluteTimeout]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mAbsoluteTimeout[0;37;40m'
>>[1;30;40m [0;37;40m[Answer]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mAnswer[0;37;40m'
>>[1;30;40m [0;37;40m[BackGround]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mBackGround[0;37;40m'
>>[1;30;40m [0;37;40m[Busy]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mBusy[0;37;40m'
>>[1;30;40m [0;37;40m[Congestion]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mCongestion[0;37;40m'
>>[1;30;40m [0;37;40m[DigitTimeout]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mDigitTimeout[0;37;40m'
>>[1;30;40m [0;37;40m[Goto]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mGoto[0;37;40m'
>>[1;30;40m [0;37;40m[GotoIf]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mGotoIf[0;37;40m'
>>[1;30;40m [0;37;40m[GotoIfTime]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mGotoIfTime[0;37;40m'
>>[1;30;40m [0;37;40m[ExecIfTime]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mExecIfTime[0;37;40m'
>>[1;30;40m [0;37;40m[Hangup]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mHangup[0;37;40m'
>>[1;30;40m [0;37;40m[NoOp]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mNoOp[0;37;40m'
>>[1;30;40m [0;37;40m[Prefix]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mPrefix[0;37;40m'
>>[1;30;40m [0;37;40m[Progress]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mProgress[0;37;40m'
>>[1;30;40m [0;37;40m[ResetCDR]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mResetCDR[0;37;40m'
>>[1;30;40m [0;37;40m[ResponseTimeout]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mResponseTimeout[0;37;40m'
>>[1;30;40m [0;37;40m[Ringing]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mRinging[0;37;40m'
>>[1;30;40m [0;37;40m[SayNumber]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSayNumber[0;37;40m'
>>[1;30;40m [0;37;40m[SayDigits]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSayDigits[0;37;40m'
>>[1;30;40m [0;37;40m[SayAlpha]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSayAlpha[0;37;40m'
>>[1;30;40m [0;37;40m[SayPhonetic]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSayPhonetic[0;37;40m'
>>[1;30;40m [0;37;40m[SetAccount]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSetAccount[0;37;40m'
>>[1;30;40m [0;37;40m[SetAMAFlags]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSetAMAFlags[0;37;40m'
>>[1;30;40m [0;37;40m[SetGlobalVar]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSetGlobalVar[0;37;40m'
>>[1;30;40m [0;37;40m[SetLanguage]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSetLanguage[0;37;40m'
>>[1;30;40m [0;37;40m[Set]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSet[0;37;40m'
>>[1;30;40m [0;37;40m[SetVar]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSetVar[0;37;40m'
>>[1;30;40m [0;37;40m[ImportVar]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mImportVar[0;37;40m'
>>[1;30;40m [0;37;40m[StripMSD]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mStripMSD[0;37;40m'
>>[1;30;40m [0;37;40m[Suffix]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSuffix[0;37;40m'
>>[1;30;40m [0;37;40m[Wait]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mWait[0;37;40m'
>>[1;30;40m [0;37;40m[WaitExten]
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mWaitExten[0;37;40m'
>>Asterisk Dynamic Loader Starting:
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/modules.conf': Found
>>[1;30;40m
>>[0;37;40m[[1;37;40mchan_modem.so[0;37;40m] =>
>>([33;40mGeneric Voice Modem Driver[0;37;40m)
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/modem.conf': Found
>>[1;30;40m  == [0;37;40mLoading modem driver
>>chan_modem_aopen.so => ([33;40mA/Open (Rockwell
>>Chipset) ITU-2 VoiceModem Driver[0;37;40m)
>>[1;30;40m  == [0;37;40mRegistered channel type
>>'Modem' (Generic Voice Modem Channel Driver)
>>[1;30;40m
>>[0;37;40m[[1;37;40mres_musiconhold.so[0;37;40m] =>
>>([33;40mMusic On Hold Resource[0;37;40m)
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mMusicOnHold[0;37;40m'
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mWaitMusicOnHold[0;37;40m'
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mSetMusicOnHold[0;37;40m'
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mStartMusicOnHold[0;37;40m'
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mStopMusicOnHold[0;37;40m'
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/musiconhold.conf': Found
>>[1;30;40m
>>[0;37;40m[[1;37;40mres_indications.so[0;37;40m] =>
>>([33;40mIndications Configuration[0;37;40m)
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/indications.conf': Found
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'cl'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'tw'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'us'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'au'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'fr'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'de'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'nl'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'uk'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'fi'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'no'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'br'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'za'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'it'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'us-o'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'gr'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'ru'
>>[1;30;40m    -- [0;37;40mRegistered indication
>>country 'nz'
>>[1;30;40m    -- [0;37;40mSetting default indication
>>country to 'us'
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mPlaytones[0;37;40m'
>>[1;30;40m  == [0;37;40mRegistered application
>>'[1;36;40mStopPlaytones[0;37;40m'
>>[1;30;40m
>>[0;37;40m[[1;37;40mres_config_mysql.so[0;37;40m] =>
>>([33;40mMySQL RealTime Configuration
>>Driver[0;37;40m)
>>Jul  6 21:32:24 [1;31;40mWARNING[0;37;40m[8492]:
>>[1;37;40mconfig_old.c[0;37;40m:[1;37;40m32[0;37;40m
>>[1;37;40mast_load[0;37;40m: ast_load is deprecated,
>>use ast_config_load instead!
>>[1;30;40m  == [0;37;40mParsing
>>'/etc/asterisk/res_mysql.conf': Not found (No such
>>file or directory)
>>Jul  6 21:32:24 [1;31;40mWARNING[0;37;40m[8492]:
>>[1;37;40mconfig_old.c[0;37;40m:[1;37;40m44[0;37;40m
>>[1;37;40mast_destroy[0;37;40m: ast_destroy is
>>deprecated, use ast_config_destroy instead!
>>Jul  6 21:32:24 [31;40mERROR[0;37;40m[8492]:
>>[1;37;40mres_config_mysql.c[0;37;40m:[1;37;40m626[0;37;40m
>>[1;37;40mmysql_reconnect[0;37;40m: MySQL RealTime:
>>Failed to connect database server  on . Check debug
>>for more info.
>>Jul  6 21:32:24 [1;31;40mWARNING[0;37;40m[8492]:
>>[1;37;40mres_config_mysql.c[0;37;40m:[1;37;40m466[0;37;40m
>>[1;37;40mload_module[0;37;40m: MySQL RealTime:
>>Couldn't establish connection. Check debug.
>>
>>Delete Reply Forward Move...
>>Previous | Next | Back to Messages
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

Scott Brown
CTO
Anderson Interactive Systems, Inc.
831-479-4493 office
831-419-4733 cell
831-479-4447 fax
sbrown at andersonis.com 





More information about the asterisk-users mailing list