On HP-UX you
may sometimes not be able to restart the node agent with the same
port. If you stopped the node agent and then tried to run it again,
you may see the following:
Can't use port port_number. Try using the -port option to select a port from 9505 to 9515. |
To work around the problem, restart the
node agent using a different port number.
If the problem with the un-terminated connections
persists, you can reduce the frequency by using this command as root:
$ ndd -set /dev/tcp tcp_fin_wait_2_timeout
300000 |
This sets the timeout in milliseconds for the
leftover connections. The example sets this timeout to 5 minutes (300000
milliseconds). After about five minutes, you should be able to restart
the server using the same port number as before.