Closed meadmaker closed 6 years ago
Oops. I had forgotten the parameter for a %d
in logging messages. This should be fixed by a6b70c983165f3c50265b55a4b09264fdd0dfff0
(If specifying port 0 causes the system to start up with the default port, please file this as a bug.)
mons_get_listener: Error opening port 12310
tr_sock_listen_all: getaddrinfo() failed (Servname not supported for ai_socktype)
mons_get_listener: Error opening port -1
0
and a tids_port of 66500
(> 65535), I get:
tids_get_listener: Opened port 66500.
trps_get_listener: Opened port 0.
The extra credit fails, so passing this back to @jennifer-richards.
Passed!
When I tried to restart the trust router, I got an error message that ended in:
After trying in vain to figure out why it was attempting to open port 4397136, I eventually ran strace. Its output includes:
It looks like the trust_router reacts to its ports already being in use by printing out a message about an unrelated port.
(And in fact if I track down and kill the other process, the trust_router starts successfully. So, this is the problem causing the trust_router to shut down.)