Service Start/Restart Failures Because of Reserved Ports

Big Data Service fails to start.

Big Data Service fails to start because of the errors such as Port already in use: <port> or to avoid services using ports which are already reserved for JMX enabling and so forth.

  1. Find reserved ports used by the system. Run:
    sysctl -n net.ipv4.ip_local_reserved_ports
  2. Copy the output of the preceding command and append the ports that you have enabled for JMX or any similar use cases. Run the following command through dcli to update on all nodes:
    sudo sysctl -w net.ipv4.ip_local_reserved_ports="$updated_ports"
    Note

    Changes made using sysctl -w are temporary and don't persist after a reboot. To make them permanent, edit /etc/sysctl.conf by using vim or nano as sudo and reload the configuration by running sudo sysctl -p.
    Note

    For new node addition, you can use the bootstrap script to perform the preceding commands programmatically.

Was this article helpful?