[Asterisk-Users] Asterisk Crashes after update

sbrown at andersonis.com sbrown at andersonis.com
Thu Jul 7 12:46:08 MST 2005


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: 


  == Parsing
'/etc/asterisk/asterisk.conf': Found 

  == Parsing
'/etc/asterisk/extconfig.conf': Found 

  == Parsing
'/etc/asterisk/asterisk.conf': Found 

Asterisk CVS-HEAD, Copyright (C) 1999 - 2005 Digium. 

Written by Mark Spencer <markster at digium.com> 

========================================================================= 

  == Parsing
'/etc/asterisk/logger.conf': Found 

Asterisk Event Logger Started
/var/log/asterisk/event_log 

Asterisk Dynamic Loader loading preload modules: 

  == Parsing
'/etc/asterisk/modules.conf': Found 

  == Manager registered action
Ping 

  == Manager registered action
Events 

  == Manager registered action
Logoff 

  == Manager registered action
Hangup 

  == Manager registered action
Status 

  == Manager registered action
Setvar 

  == Manager registered action
Getvar 

  == Manager registered action
Redirect 

  == Manager registered action
Originate 

  == Manager registered action
Command 

  == Manager registered action
ExtensionState 

  == Manager registered action
AbsoluteTimeout 

  == Manager registered action
MailboxStatus 

  == Manager registered action
MailboxCount 

  == Manager registered action
ListCommands 

  == Parsing
'/etc/asterisk/manager.conf': Found 

  == Parsing
'/etc/asterisk/cdr.conf': Not found (No such file or
directory)
Jul  6 21:32:24 NOTICE[8492]:
cdr.c:1162
do_reload: CDR simple logging
enabled. 

  == Parsing
'/etc/asterisk/rtp.conf': Found 

  == RTP Allocating from port
range 10000 -> 20000 

Asterisk PBX Core Initializing 

Registering builtin applications: 

 [AbsoluteTimeout] 

  == Registered application
'AbsoluteTimeout' 

 [Answer] 

  == Registered application
'Answer' 

 [BackGround] 

  == Registered application
'BackGround' 

 [Busy] 

  == Registered application
'Busy' 

 [Congestion] 

  == Registered application
'Congestion' 

 [DigitTimeout] 

  == Registered application
'DigitTimeout' 

 [Goto] 

  == Registered application
'Goto' 

 [GotoIf] 

  == Registered application
'GotoIf' 

 [GotoIfTime] 

  == Registered application
'GotoIfTime' 

 [ExecIfTime] 

  == Registered application
'ExecIfTime' 

 [Hangup] 

  == Registered application
'Hangup' 

 [NoOp] 

  == Registered application
'NoOp' 

 [Prefix] 

  == Registered application
'Prefix' 

 [Progress] 

  == Registered application
'Progress' 

 [ResetCDR] 

  == Registered application
'ResetCDR' 

 [ResponseTimeout] 

  == Registered application
'ResponseTimeout' 

 [Ringing] 

  == Registered application
'Ringing' 

 [SayNumber] 

  == Registered application
'SayNumber' 

 [SayDigits] 

  == Registered application
'SayDigits' 

 [SayAlpha] 

  == Registered application
'SayAlpha' 

 [SayPhonetic] 

  == Registered application
'SayPhonetic' 

 [SetAccount] 

  == Registered application
'SetAccount' 

 [SetAMAFlags] 

  == Registered application
'SetAMAFlags' 

 [SetGlobalVar] 

  == Registered application
'SetGlobalVar' 

 [SetLanguage] 

  == Registered application
'SetLanguage' 

 [Set] 

  == Registered application
'Set' 

 [SetVar] 

  == Registered application
'SetVar' 

 [ImportVar] 

  == Registered application
'ImportVar' 

 [StripMSD] 

  == Registered application
'StripMSD' 

 [Suffix] 

  == Registered application
'Suffix' 

 [Wait] 

  == Registered application
'Wait' 

 [WaitExten] 

  == Registered application
'WaitExten' 

Asterisk Dynamic Loader Starting: 

  == Parsing
'/etc/asterisk/modules.conf': Found 


[chan_modem.so] =>
(Generic Voice Modem Driver) 

  == Parsing
'/etc/asterisk/modem.conf': Found 

  == Loading modem driver
chan_modem_aopen.so => (A/Open (Rockwell
Chipset) ITU-2 VoiceModem Driver) 

  == Registered channel type
'Modem' (Generic Voice Modem Channel Driver) 


[res_musiconhold.so] =>
(Music On Hold Resource) 

  == Registered application
'MusicOnHold' 

  == Registered application
'WaitMusicOnHold' 

  == Registered application
'SetMusicOnHold' 

  == Registered application
'StartMusicOnHold' 

  == Registered application
'StopMusicOnHold' 

  == Parsing
'/etc/asterisk/musiconhold.conf': Found 


[res_indications.so] =>
(Indications Configuration) 

  == Parsing
'/etc/asterisk/indications.conf': Found 

    -- Registered indication
country 'cl' 

    -- Registered indication
country 'tw' 

    -- Registered indication
country 'us' 

    -- Registered indication
country 'au' 

    -- Registered indication
country 'fr' 

    -- Registered indication
country 'de' 

    -- Registered indication
country 'nl' 

    -- Registered indication
country 'uk' 

    -- Registered indication
country 'fi' 

    -- Registered indication
country 'no' 

    -- Registered indication
country 'br' 

    -- Registered indication
country 'za' 

    -- Registered indication
country 'it' 

    -- Registered indication
country 'us-o' 

    -- Registered indication
country 'gr' 

    -- Registered indication
country 'ru' 

    -- Registered indication
country 'nz' 

    -- Setting default indication
country to 'us' 

  == Registered application
'Playtones' 

  == Registered application
'StopPlaytones' 


[res_config_mysql.so] =>
(MySQL RealTime Configuration
Driver)
Jul  6 21:32:24 WARNING[8492]:
config_old.c:32
ast_load: ast_load is deprecated,
use ast_config_load instead! 

  == Parsing
'/etc/asterisk/res_mysql.conf': Not found (No such
file or directory)
Jul  6 21:32:24 WARNING[8492]:
config_old.c:44
ast_destroy: ast_destroy is
deprecated, use ast_config_destroy instead!
Jul  6 21:32:24 ERROR[8492]:
res_config_mysql.c:626
mysql_reconnect: MySQL RealTime:
Failed to connect database server  on . Check debug
for more info.
Jul  6 21:32:24 WARNING[8492]:
res_config_mysql.c:466
load_module: MySQL RealTime:
Couldn't establish connection. Check debug. 

 

Delete Reply Forward Move...
Previous | Next | Back to Messages



More information about the asterisk-users mailing list