[arm-allstar] Asterisk restart (astres.sh) unable to bind socket (UPDATE)
roney at chiarappa.com
Sat Jan 13 18:00:59 EST 2018
I did 'netstat -atunp | grep 5038'
It looks like the EZStream (Broadcastify feed) was holding the port open. When I killed the EZstream process, it released port 5038 and now astres.sh works OK again.
From: Lawrence Roney [mailto:roney at chiarappa.com]
Sent: Saturday, January 13, 2018 2:05 PM
To: 'arm-allstar at hamvoip.org' <arm-allstar at hamvoip.org>
Subject: Asterisk restart (astres.sh) unable to bind socket
I've noticed recently when I use 'astres.sh' to restart Asterisk, it will fail. It appears that Asterisk is not unbinding the port (socket) that is defined in manager.conf
Here's what I get:
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
If I execute # asterisk -cvvvv I get:
== Manager registered action ListCommands
== Manager registered action UserEvent
== Manager registered action WaitEvent [Jan 13 13:26:21] WARNING: manager.c:3159 init_manager: Unable to bind socket: Address already in use
If I fully reboot or if I change port = 5038 to something else in manager.conf then Asterisk will restart.
More information about the arm-allstar