Hi folks, I have upgraded asterisk from 0.8 to 1.0 on my gentoo server and it won't start now. It crashes on random points while loading the modules somewhere between res_crypto and chan_iax2 the last messages are either: ==========================================================Yuck! Error in buffer handling...: Success Asterisk cleanly ending (2). ========================================================== [app_random.so] => (Random goto) == Registered application 'Random' [app_transfer.so]Yuck! Error in buffer handling...: Broken pipe ========================================================== [chan_zap.so] => (Zapata Telephony w/PRI) Asterisk cleanly ending (2). ========================================================== [res_crypto.so] => (Cryptographic Digital Signatures) Found new ID3 Header Beginning asterisk shutdown.... Executing last minute cleanups == Destroying any remaining musiconhold processes Asterisk cleanly ending (2). ==========================================================Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': Found [res_musiconhold.so] => (Music On Hold Resource) == Parsing '/etc/asterisk/musiconhold.conf': Found Oct 24 15:44:28 WARNING[1077071984]: res_musiconhold.c:561 moh_register: Unable to open pseudo channel for timing... Sound may be choppy. Found new ID3 Header Warning, flexible rate not heavily tested! Beginning asterisk shutdown.... Executing last minute cleanups Asterisk cleanly ending (2). Ouch ... error while writing audio data: : Broken pipe ========================================================== [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2)) Oct 24 15:44:49 WARNING[1077071984]: chan_iax2.c:7409 load_module: Unable to open IAX timing interface: No such device or address == Manager registered action IAXpeers == Parsing '/etc/asterisk/iax.conf': Found == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) == Using TOS bits 16 == IAX Ready and Listening on 0.0.0.0 port 4569 Yuck! Error in buffer handling...: Success Asterisk cleanly ending (2). ========================================================== [chan_sip.so] => (Session Initiation Protocol (SIP)) == Parsing '/etc/asterisk/sip.conf': Found -- SIP Seeding 'janat' at janat@131.111.243.37:5060 for 1800 Beginning asterisk shutdown.... Executing last minute cleanups == Destroying any remaining musiconhold processes Yuck! Error in buffer handling...: Broken pipe Asterisk cleanly ending (2). ==========================================================and so on... what is it? tom
Did you upgrade zaptel and libpri before upgrading asterisk? ----- Original Message ----- From: "Tomas Carnecky" <tom@dbservice.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, October 24, 2004 9:44 AM Subject: [Asterisk-Users] random crash at startup> Hi folks, > > I have upgraded asterisk from 0.8 to 1.0 on my gentoo server and it > won't start now. It crashes on random points while loading the modules > somewhere between res_crypto and chan_iax2 > > the last messages are either: > ==========================================================> Yuck! Error in buffer handling...: Success > Asterisk cleanly ending (2). > ==========================================================> [app_random.so] => (Random goto) > == Registered application 'Random' > [app_transfer.so]Yuck! Error in buffer handling...: Broken pipe > ==========================================================> [chan_zap.so] => (Zapata Telephony w/PRI) > Asterisk cleanly ending (2). > ==========================================================> [res_crypto.so] => (Cryptographic Digital Signatures) > Found new ID3 Header > Beginning asterisk shutdown.... > Executing last minute cleanups > == Destroying any remaining musiconhold processes > Asterisk cleanly ending (2). > ==========================================================> Asterisk Dynamic Loader Starting: > == Parsing '/etc/asterisk/modules.conf': Found > [res_musiconhold.so] => (Music On Hold Resource) > == Parsing '/etc/asterisk/musiconhold.conf': Found > Oct 24 15:44:28 WARNING[1077071984]: res_musiconhold.c:561 moh_register: > Unable to open pseudo channel for timing... Sound may be choppy. > Found new ID3 Header > Warning, flexible rate not heavily tested! > Beginning asterisk shutdown.... > Executing last minute cleanups > Asterisk cleanly ending (2). > Ouch ... error while writing audio data: : Broken pipe > ==========================================================> [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2)) > Oct 24 15:44:49 WARNING[1077071984]: chan_iax2.c:7409 load_module: > Unable to open IAX timing interface: No such device or address > == Manager registered action IAXpeers > == Parsing '/etc/asterisk/iax.conf': Found > == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver > (Ver 2)) > == Using TOS bits 16 > == IAX Ready and Listening on 0.0.0.0 port 4569 > Yuck! Error in buffer handling...: Success > Asterisk cleanly ending (2). > ==========================================================> [chan_sip.so] => (Session Initiation Protocol (SIP)) > == Parsing '/etc/asterisk/sip.conf': Found > -- SIP Seeding 'janat' at janat@131.111.243.37:5060 for 1800 > Beginning asterisk shutdown.... > Executing last minute cleanups > == Destroying any remaining musiconhold processes > Yuck! Error in buffer handling...: Broken pipe > Asterisk cleanly ending (2). > ==========================================================> and so on... > > what is it? > > tom > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >
Steve Totaro wrote:> Did you upgrade zaptel and libpri before upgrading asterisk? >do I need zaptel? I have libpri-1.0.0 but no zaptel installed. in the gentoo ebuild the dependecy is like thik: DEPEND="virtual/libc media-sound/mpg123 dev-libs/newt doc? ( app-doc/doxygen ) alsa? ( media-libs/alsa-lib ) mysql? ( dev-db/mysql ) gtk? ( =x11-libs/gtk+-1.2* ) !nopri? ( >=net-libs/libpri-1.0.0 ) !nozaptel? ( >=net-misc/zaptel-1.0.0 >=net-libs/zapata-1.0.0 )" and I did USE="~doc ~alsa ~mysql ~gtk nopri nozaptel" emerge asterisk do I need alsa, mysql, libpri or zaptel? tom
get the new versions of libpri zaptel and asterisk and install them in that order. should work. ----- Original Message ----- From: "Tomas Carnecky" <tom@dbservice.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Sunday, October 24, 2004 10:05 AM Subject: Re: [Asterisk-Users] random crash at startup> Steve Totaro wrote: > > Did you upgrade zaptel and libpri before upgrading asterisk? > > > > do I need zaptel? > > I have libpri-1.0.0 but no zaptel installed. > > in the gentoo ebuild the dependecy is like thik: > DEPEND="virtual/libc > media-sound/mpg123 > dev-libs/newt > doc? ( app-doc/doxygen ) > alsa? ( media-libs/alsa-lib ) > mysql? ( dev-db/mysql ) > gtk? ( =x11-libs/gtk+-1.2* ) > !nopri? ( >=net-libs/libpri-1.0.0 ) > !nozaptel? ( >=net-misc/zaptel-1.0.0 > >=net-libs/zapata-1.0.0 )" > > and I did > USE="~doc ~alsa ~mysql ~gtk nopri nozaptel" emerge asterisk > > do I need alsa, mysql, libpri or zaptel? > > tom > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >