I get the same errors, intermittently. But it’s only only for some or all of the remote nodes. I ran that command and I’m getting a bind address error, already in use. I am running for test purposes Allmon2, Allmon3, and Supermon, and I wonder if you can’t have all three binding to the same 0.0.0.0 address?
EDIT: I’m thinking that if I want to run multiple monitors simultaneously, I’ll need to run separate AMI ports for each. That makes sense to me.
But I need to change all nodes.
@Crigstar I doubt Allmon3 would conflict with Allmon3 or Supermon. When you get the errors, same question - what’s in /var/log/daemon.log when that happens?
I appreciate your response.
I get this which seems to be IPv6:
OSError: [Errno 98] error while attempting to bind on address (‘::’, 16700, 0, 0): address already in use
And I repeated it and got this which looks like IPv4:
OSError: [Errno 98] error while attempting to bind on address (‘0.0.0.0’, 16700): address already in use and a little more info
Sep 12 10:18:14 ASL-melbourne asterisk[761]: AllStar Info: Connected <=IN== 58507 K2IP ClearNode El Segundo CA USA (xxx.yyy.zzz.aaa:4569)
Sep 12 10:40:22 ASL-melbourne asterisk[761]: AllStar Info: Disconnected =v= 58507 K2IP ClearNode El Segundo CA USA (xxx.yyy.zzz.aaa:4569)
Sep 12 11:58:40 ASL-melbourne allmon3[14999]: INFO: (allmon3) starting status ws 58507@ xxx.yyy.zzz.aaa on port 16706
Sep 12 11:58:40 ASL-melbourne allmon3[14999]: INFO: (allmon3) starting cmd ws 58507@ xxx.yyy.zzz.aaa on port 16707
Sep 12 11:58:43 ASL-melbourne allmon3[14999]: INFO: (asl_allmon.allmon3_ws_status) broadcasting status for 58507 on port 16706
Sep 12 12:02:45 ASL-melbourne asterisk[761]: AllStar Info: Connected <=IN== 58507 K2IP ClearNode El Segundo CA USA (xxx.yyy.zzz.aaa:4569)
Sep 12 13:04:08 ASL-melbourne allmon3[14999]: WARNING: (asl_allmon.allmon3_ws_status) ami_conn socket problem for node 58507: socket timeout
Sep 12 13:04:08 ASL-melbourne allmon3[14999]: INFO: (asl_allmon.allmon3_ws_status) node: 58507 - sleeping for RETRY_INTERVAL of 15
Sep 12 13:04:24 ASL-melbourne allmon3[14999]: INFO: (asl_allmon.allmon3_ws_status) node: 58507 - attempting reconnection retry #1
Sep 12 13:04:28 ASL-melbourne allmon3[14999]: INFO: (asl_allmon.allmon3_ws_status) node: 58507 - connection reestablished after 1 retries
Sep 12 14:52:07 ASL-melbourne asterisk[761]: AllStar Info: Connected <=IN== 58507 K2IP ClearNode El Segundo CA USA (xxx.yyy.zzz.aaa:4569)