kmreed
February 3, 2006, 9:18am
1
Good Day,
I have just (actually, two hours ago) compiiled and installed Asterisk. Unfortunately, when I try to start asterisk at the command line, I see a couple errors in the output - and then am back to the command prompt:
(sorry so long, wanted to make sure I didn’t miss anything prior)
[root@localhost sbin]# ./asterisk -vvvvvvc
== Parsing ‘/etc/asterisk/asterisk.conf’: Found
== Parsing ‘/etc/asterisk/extconfig.conf’: Found
Asterisk 1.2.4, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘show license’ for details.
== Parsing ‘/etc/asterisk/logger.conf’: Found
Asterisk Event Logger Started /var/log/asterisk/event_log
== Parsing ‘/etc/asterisk/dnsmgr.conf’: Found
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’: Found
Feb 3 04:07:01 NOTICE[22514]: cdr.c:1188 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’
[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’
[Wait]
== Registered application ‘Wait’
[WaitExten]
== Registered application ‘WaitExten’
Asterisk Dynamic Loader Starting:
== Parsing ‘/etc/asterisk/modules.conf’: Found
[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
Feb 3 04:07:01 WARNING[22514]: res_musiconhold.c:833 moh_register: Unable to open pseudo channel for timing… Sound may be choppy.
[res_crypto.so] => (Cryptographic Digital Signatures)
– Loaded PUBLIC key ‘freeworlddialup’
– Loaded PUBLIC key ‘iaxtel’
[res_monitor.so] => (Call Monitoring Resource)
== Registered application ‘Monitor’
== Registered application ‘StopMonitor’
== Registered application ‘ChangeMonitor’
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
[res_netsec.so] => (MiddleBox Communication Module (MIDCOM))
Feb 3 04:07:01 NOTICE[22514]: res_netsec.c:480 midcom_config_reload: Unable to load config midcom.conf, MIDCOM disabled
Feb 3 04:07:01 ERROR[22514]: res_netsec.c:214 load_module: Unable to read conf file
Feb 3 04:07:01 WARNING[22514]: loader.c:414 __load_resource: res_netsec.so: load_module failed, returning -1
Segmentation fault
A couple things jump out at me:
AND
[quote]Feb 3 04:07:01 NOTICE[22514]: res_netsec.c:480 midcom_config_reload: Unable to load config midcom.conf, MIDCOM disabled
Feb 3 04:07:01 ERROR[22514]: res_netsec.c:214 load_module: Unable to read conf file
Feb 3 04:07:01 WARNING[22514]: loader.c:414 __load_resource: res_netsec.so: load_module failed, returning -1
Segmentation fault[/quote]
which actually causes the fault.
Any suggestions? Installed on RHEL. FYI, this is installed with the sample config files.
Thanks in advance.
KMR
VoIP55
February 3, 2006, 10:28am
2
If you don’t need that module, add an entry to modules.conf
noload res_netsec.so
Cheers,