Remco Barendse
2006-Oct-11 00:14 UTC
[asterisk-users] Asterisk 1.2.12.1 dies after asterisk -rx and never comes up again
Hi list! I recently upgraded to FreePBX 2.1.3 although I am not sure if this has something to do with it. I do a nightly restart of Asterisk, just in case. This has been working fine months but since a few days asterisk seems to die and I am not able to restart it again, I keep getting a socket in use message. This is on Asterisk 1.2.12.1, Zaptel 1.2.9.1 and Libpri 1.2.3 This is a snippet from the log (full logging enabled) Oct 11 01:05:01 VERBOSE[12923] logger.c: -- Remote UNIX connection Oct 11 01:05:01 VERBOSE[726] logger.c: Beginning asterisk restart.... Oct 11 01:05:01 VERBOSE[726] logger.c: Executing last minute cleanups Oct 11 01:05:01 VERBOSE[726] logger.c: == Destroying musiconhold processes Oct 11 01:05:01 VERBOSE[726] logger.c: Asterisk cleanly ending (0). Oct 11 01:05:01 VERBOSE[726] logger.c: Preparing for Asterisk restart... Oct 11 01:05:01 VERBOSE[726] logger.c: Restarting Asterisk NOW... Oct 11 01:05:01 VERBOSE[6546] logger.c: Asterisk Event Logger Started /var/log/asterisk/event_log Oct 11 01:05:01 VERBOSE[6546] logger.c: Asterisk Dynamic Loader loading preload modules: Oct 11 01:05:01 VERBOSE[6546] logger.c: == Parsing '/etc/asterisk/modules.conf': Oct 11 01:05:01 VERBOSE[6546] logger.c: = Parsing '/etc/asterisk/modules.conf': Found Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Ping Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Events Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Logoff Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Hangup Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Status Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Setvar Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Getvar Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Redirect Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Originate Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action Command Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action ExtensionState Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action AbsoluteTimeout Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action MailboxStatus Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action MailboxCount Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action ListCommands Oct 11 01:05:01 VERBOSE[6546] logger.c: == Parsing '/etc/asterisk/manager.conf': Oct 11 01:05:01 VERBOSE[6546] logger.c: = Parsing '/etc/asterisk/manager.conf': Found Oct 11 01:05:01 WARNING[6546] manager.c: Unable to bind socket: Address already in use Ideas anyone?
Tzafrir Cohen
2006-Oct-11 01:48 UTC
[asterisk-users] Asterisk 1.2.12.1 dies after asterisk -rx and never comes up again
On Wed, Oct 11, 2006 at 09:14:55AM +0200, Remco Barendse wrote:> Hi list! > > I recently upgraded to FreePBX 2.1.3 although I am not sure if this has > something to do with it. > > I do a nightly restart of Asterisk, just in case.Why?> This has been working > fine months but since a few days asterisk seems to die and I am not able > to restart it again, I keep getting a socket in use message.> = Parsing '/etc/asterisk/manager.conf': Found > Oct 11 01:05:01 WARNING[6546] manager.c: Unable to bind socket: Address > already in useAsterisk is already running. Probably the wonders , or a misuse of- safe_asterisk. Alternatively, netstat -lntp | grep 5038 -- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com
Joseph
2006-Oct-11 06:14 UTC
[asterisk-users] Asterisk 1.2.12.1 dies after asterisk -rx and never comes up again
I quits on my as well, when I try to make a second call. There is a bug report on it: http://bugs.digium.com/view.php?id=7972 -- #Joseph On Wed, 2006-10-11 at 09:14 +0200, Remco Barendse wrote:> Hi list! > > I recently upgraded to FreePBX 2.1.3 although I am not sure if this has > something to do with it. > > I do a nightly restart of Asterisk, just in case. This has been working > fine months but since a few days asterisk seems to die and I am not able > to restart it again, I keep getting a socket in use message. > > This is on Asterisk 1.2.12.1, Zaptel 1.2.9.1 and Libpri 1.2.3 > > This is a snippet from the log (full logging enabled) > > Oct 11 01:05:01 VERBOSE[12923] logger.c: -- Remote UNIX connection > Oct 11 01:05:01 VERBOSE[726] logger.c: Beginning asterisk restart.... > Oct 11 01:05:01 VERBOSE[726] logger.c: Executing last minute cleanups > Oct 11 01:05:01 VERBOSE[726] logger.c: == Destroying musiconhold > processes > Oct 11 01:05:01 VERBOSE[726] logger.c: Asterisk cleanly ending (0). > Oct 11 01:05:01 VERBOSE[726] logger.c: Preparing for Asterisk restart... > Oct 11 01:05:01 VERBOSE[726] logger.c: Restarting Asterisk NOW... > Oct 11 01:05:01 VERBOSE[6546] logger.c: Asterisk Event Logger Started > /var/log/asterisk/event_log > Oct 11 01:05:01 VERBOSE[6546] logger.c: Asterisk Dynamic Loader loading > preload modules: > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Parsing > '/etc/asterisk/modules.conf': Oct 11 01:05:01 VERBOSE[6546] logger.c: > = Parsing '/etc/asterisk/modules.conf': Found > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Ping > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Events > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Logoff > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Hangup > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Status > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Setvar > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Getvar > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Redirect > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Originate > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > Command > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > ExtensionState > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > AbsoluteTimeout > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > MailboxStatus > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > MailboxCount > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Manager registered action > ListCommands > Oct 11 01:05:01 VERBOSE[6546] logger.c: == Parsing > '/etc/asterisk/manager.conf': Oct 11 01:05:01 VERBOSE[6546] logger.c: > = Parsing '/etc/asterisk/manager.conf': Found > Oct 11 01:05:01 WARNING[6546] manager.c: Unable to bind socket: Address > already in use > > > Ideas anyone?
Dinesh Nair
2006-Oct-11 06:41 UTC
[asterisk-users] Asterisk 1.2.12.1 dies after asterisk -rx and never comes up again
On 10/11/06 21:15 Joseph said the following:> I quits on my as well, when I try to make a second call. > There is a bug report on it: > http://bugs.digium.com/view.php?id=7972this seems like a configuration error within FreePBX and isnt really a bug in asterisk. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.openmalaysiablog.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+