hugolivude
2008-Sep-17 13:28 UTC
[asterisk-users] pbx_dundi.c:4582 load_module: Unable to bind to 0.0.0.0 port 4520: Address already in use
On Tue, Sep 16, 2008 at 2:21 AM, Michiel van Baak <michiel at vanbaak.info> wrote:> On 22:46, Mon 15 Sep 08, hugolivude wrote: >> I have two Asterisk servers running on the same LAN. One starts fine, >> but when I start the other I get: >> >> pbx_dundi.c:4582 load_module: Unable to bind to 0.0.0.0 port 4520: >> Address already in use >> >> and Asterisk does not start. >> >> OK I thought, I'll just change the port in dundi.conf. I changed it >> to 4521 and indeed it started just fine, until I reboot that is. WHen >> I reboot, I get the same error, but this time w/ the new port number: >> >> pbx_dundi.c:4582 load_module: Unable to bind to 0.0.0.0 port 4520: >> Address already in use >> >> What could be the problem, or better yet waht's the fix! > > I think it's better to find out what is listening on port 4520.CentOS 5 Asterisk 1.4.20 Presumably my other Asterisk server is listening on 4520. The problem here is that I can change the port, and it will work... until I reboot. When I reboot the problem reappears and I can fix it by changing the port again. Any other thoughts? Thanks, Howard
hugolivude
2008-Sep-18 02:18 UTC
[asterisk-users] pbx_dundi.c:4582 load_module: Unable to bind to 0.0.0.0 port 4520: Address already in use
On Tue, Sep 16, 2008 at 2:21 AM, Michiel van Baak <michiel at vanbaak.info> wrote:> On 22:46, Mon 15 Sep 08, hugolivude wrote: >> I have two Asterisk servers running on the same LAN. One starts fine, >> but when I start the other I get: >> >> pbx_dundi.c:4582 load_module: Unable to bind to 0.0.0.0 port 4520: >> Address already in use >> >> and Asterisk does not start. >> >> OK I thought, I'll just change the port in dundi.conf. I changed it >> to 4521 and indeed it started just fine, until I reboot that is. WHen >> I reboot, I get the same error, but this time w/ the new port number: >> >> pbx_dundi.c:4582 load_module: Unable to bind to 0.0.0.0 port 4520: >> Address already in use >> >> What could be the problem, or better yet waht's the fix! > > I think it's better to find out what is listening on port 4520.CentOS 5 Asterisk 1.4.20 Presumably my other Asterisk server is listening on 4520. The problem here is that I can change the port, and it will work... until I reboot. When I reboot the problem reappears and I can fix it by changing the port again. Any other thoughts? Thanks, Howard