Closed darlentar closed 4 years ago
Failling to start when an invalid interface is specified LGTM. Actually the problem seems to be that it fails to fails:
$ src/ramen confserver -P 'doesnotexist:1234' --debug --stdout
10h56m47: Starting ramen-confserver v4.6.0
10h56m47: Create zockets...
10h56m47: Listening securely to tcp://doesnotexist:1234...
10h56m47:(E) Binding zocket: Unix.Unix_error(Unix.ENODEV, "zmq_bind", "")
Raised by primitive operation at file "zmq/src/zmq.ml" (inlined), line 115, characters 2-58
Called from file "src/RamenSyncZMQServer.ml", line 679, characters 6-34
Called from file "src/RamenHelpers.ml", line 58, characters 6-10
10h56m47:(E) Creating zockets: Unix.Unix_error(Unix.ENODEV, "zmq_bind", "")
Raised by primitive operation at file "zmq/src/zmq.ml" (inlined), line 115, characters 2-58
Called from file "src/RamenSyncZMQServer.ml", line 679, characters 6-34
Called from file "src/RamenHelpers.ml", line 58, characters 6-10
Re-raised at file "src/RamenHelpers.ml", line 62, characters 4-38
Called from file "src/RamenSyncZMQServer.ml", line 678, characters 4-88
Called from file "src/batEnum.ml", line 206, characters 13-23
Called from file "src/batArray.mlv", line 357, characters 12-25
Called from file "array.ml", line 49, characters 22-27
Called from file "src/RamenHelpers.ml", line 58, characters 6-10
10h56m47: Terminating ZMQ
ramen should wait that the interlace is available.