Ola Lidholm
2004-Sep-18 09:28 UTC
[Asterisk-Users] First time asterisk installation problem
Hi all, I am trying to install asterisk on my system, the compiplation and installation process all seem to work fine (make ; make install ; make samples). But astersik fails to start. Is the sample configs not supposed to work out of the box? Even more confusing, it seems to fail at different points every time I start it, but this is probobly because of threads starting differently or something? I can't really figure out exactly what it is that makes it fail, if anyone can give me a clue I would appreciate it. Startup log follows below. /Ola [root@olal asterisk-1.0-RC2]# asterisk -vvvvc == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Asterisk 1.0-RC2, Copyright (C) 1999-2004 Digium. Written by Mark Spencer <markster@digium.com> ======================================================================== == Parsing '/etc/asterisk/logger.conf': Found Asterisk Event Logger Started /var/log/asterisk/event_log == 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 MailboxStatus == Manager registered action Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxCount == Manager registered action ListCommands == Parsing '/etc/asterisk/manager.conf': Found == 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' [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' [SetVar] == Registered application 'SetVar' [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) == Parsing '/etc/asterisk/musiconhold.conf': Found Sep 18 18:04:13 WARNING[1024]: res_musiconhold.c:543 moh_register: Unable to open pseudo channel for timing... Sound may be choppy. == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' [res_adsi.so] => (ADSI Resource) == Parsing '/etc/asterisk/adsi.conf': Found [res_features.so] => (Call Parking Resource) == Parsing '/etc/asterisk/features.conf': Found -- Registered extension context 'parkedcalls' -- Added extension '700' priority 1 to parkedcalls == Registered application 'ParkedCall' == Registered application 'Park' == Manager registered action ParkedCalls [res_crypto.so] => (Cryptographic Digital Signatures) Beginning asterisk shutdown.... Warning, flexible rate not heavily tested! Executing last minute cleanups == Destroying any remaining musiconhold processes Yuck! Error in buffer handling...: Connection reset by peer Asterisk cleanly ending (2). [root@olal asterisk-1.0-RC2]#
Ola Lidholm
2004-Sep-19 10:14 UTC
[Asterisk-Users] First time asterisk installation problem
OL> Hi all, OL> I am trying to install asterisk on my system, the compiplation and OL> installation process all seem to work fine (make ; make install ; make OL> samples). OL> But astersik fails to start. Is the sample configs not supposed to OL> work out of the box? OL> Even more confusing, it seems to fail at different points every time I OL> start it, but this is probobly because of threads starting differently OL> or something? OL> I can't really figure out exactly what it is that makes it fail, if OL> anyone can give me a clue I would appreciate it. OL> Startup log follows below. OL> /Ola [See orignal post for log] An update on my progress... I have started to look at the source to see why asterisk fails to start, and so far my conclusion is that the asterisk process gets a SIGINT signal sent to it from some process. Is this normal behaviour if something fails in the startup process? /Ola