[Home]

Summary:ASTERISK-05517: Asterisk fails to start on RedHat ES4 after build.
Reporter:benny millares (bmillares)Labels:
Date Opened:2005-11-08 22:57:02.000-0600Date Closed:2011-06-07 14:02:53
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Basically the build and install seem to go fine. I "make samples" and try to start server with "asterisk -v" and it dies with the following error:

[app_chanspy.so]Nov  8 22:45:15 WARNING[24631]: loader.c:258 ast_load_resource: /usr/lib/asterisk/modules/ap
Nov  8 22:45:15 WARNING[24631]: loader.c:440 load_modules: Loading module app_chanspy.so failed!


If I go and comment add a "noload app_chanspy.so" to the modules.conf file and try to run it again: it fails on the next module (app_directed_pickup.so" and so on ....

I have the same revision of the code running fine on a FC4 box, and I've tryed to install and run other versions of asterisk from 1.0 to the latest from CVS but I have the same problem with all of them.

I veryfied that the modules are in fact in the /usr/lib/asterisk/modules/ directory and that asterisk.conf has the correct information "astmoddir=>/usr/lib/asterisk/modules"



****** ADDITIONAL INFORMATION ******

[root@s18074 src]# asterisk -v
Asterisk CVS-Nv1-0-9-11/08/05-17:57:24, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
[Answer]
[BackGround]
[Busy]
[Congestion]
[DigitTimeout]
[Goto]
[GotoIf]
[GotoIfTime]
[Hangup]
[NoOp]
[Prefix]
[Progress]
[ResetCDR]
[ResponseTimeout]
[Ringing]
[SayNumber]
[SayDigits]
[SayAlpha]
[SayPhonetic]
[SetAccount]
[SetAMAFlags]
[SetGlobalVar]
[SetLanguage]
[SetVar]
[StripMSD]
[Suffix]
[Wait]
[WaitExten]
Asterisk Dynamic Loader Starting:
[chan_modem.so] => (Generic Voice Modem Driver)
=> (A/Open (Rockwell Chipset) ITU-2 VoiceModem Driver)
[res_musiconhold.so] => (Music On Hold Resource)
Nov  8 22:55:57 WARNING[24799]: res_musiconhold.c:580 moh_register: Unable to open pseudo channel for timing...  Sound may be choppy.
[res_monitor.so] => (Call Monitoring Resource)
[res_adsi.so] => (ADSI Resource)
[res_config_odbc.so] => (ODBC Configuration)
Nov  8 22:55:57 NOTICE[24799]: config.c:888 ast_config_register: Registered Config Engine odbc
Nov  8 22:55:57 NOTICE[24799]: res_config_odbc.c:190 load_module: res_config_odbc loaded.
[res_odbc.so] => (ODBC Resource)
Nov  8 22:55:57 NOTICE[24799]: res_odbc.c:133 load_odbc_config: registered database handle 'mysql1' dsn->[MySQL-asterisk]
Nov  8 22:55:57 NOTICE[24799]: res_odbc.c:133 load_odbc_config: registered database handle 'mysql2' dsn->[MySQL-asterisk]
Nov  8 22:55:57 NOTICE[24799]: res_odbc.c:415 load_module: res_odbc loaded.
[res_features.so] => (Call Parking Resource)
[res_agi.so] => (Asterisk Gateway Interface (AGI))
[res_crypto.so] => (Cryptographic Digital Signatures)
[res_indications.so] => (Indications Configuration)
[app_txtcidname.so] => (TXTCIDName)
[codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
[app_voicemail.so] => (Comedian Mail (Voicemail System))
[app_substring.so] => ((Deprecated) Save substring digits in a given variable)
[app_chanspy.so]Nov  8 22:55:57 WARNING[24799]: loader.c:258 ast_load_resource: /usr/lib/asterisk/modules/app_chanspy.so: undefined symbol: ast_config_AST_MONITOR_DIR
Nov  8 22:55:57 WARNING[24799]: loader.c:440 load_modules: Loading module app_chanspy.so failed!
Comments:By: Matt O'Gorman (mogorman) 2005-11-09 10:17:20.000-0600

can you clean your /usr/lib/asterisk/modules and do a make clean make install and tell me if same thing happens again.

By: benny millares (bmillares) 2005-11-09 11:46:55.000-0600

It worked! Thanks.