Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli-3486-rabbit@node1", :shortnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/f62ab4f7-b0f0-4ce1-9887-73dbf664be8b%40googlegroups.com.
Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli-12085-rabbit@longhostname", :longnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
HiThis is may due to name resolving issues. All long and short hostnames should be resolved by DNS or hosts file.Sent from Mobile
Friday, November 22, 2019, 6:36 AM +0800 from iss...@gmail.com <iss...@gmail.com>:
I was running RabbitMQ 3.6.4 along with erlang 18.3. I upgraded erlang to 3.7.20 and RabbitMQ 3.7.20. I am still able to send and receive messages from a named queue.--However, when I now try to run a rabbitmqctl status, I get the following error:Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli-3486-rabbit@node1", :shortnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
The system is running Red Hat Enterprise Linux Server release 7.7 (Maipo). I put selinux in permissive mode and it still failed. How do I troubleshoot the issue?Karl Jackson
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
[
{kernel,
[{inet_dist_listen_min, 55700},
{inet_dist_listen_max, 56000}
]
},
{rabbit,
[{vm_memory_high_watermark, 0.8},
{loopback_users, []}]
}
].
rabbitmq-env.conf:
#example rabbitmq-env.con file entries
#set the port address
NODE_PORT=35672
Thank you,
Karl Jackson
rabbitmqctl -n "rabbit@$(hostname -s)" status
Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli-29483-rabbit@jackson1", :shortnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
[root@jackson1 adm.kjj3]# rabbitmqctl -n rabbit@localhost status
Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli-29913-rabbit@jackson1", :shortnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
[root@jackson1 adm.kjj3]# ping -c2 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.043 ms
--- localhost ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.043/0.043/0.043/0.000 ms
[root@jackson1 adm.kjj3]# ping -c2 "$(hostname -s)"
PING jackson1.byu.edu (10.11.14.29) 56(84) bytes of data.
64 bytes from jackson1.byu.edu (10.11.14.29): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from jackson1.byu.edu (10.11.14.29): icmp_seq=2 ttl=64 time=0.044 ms
--- jackson1.byu.edu ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.041/0.042/0.044/0.006 ms
[root@jackson1 adm.kjj3]# ping -c2 "$(hostname)"
PING jackson1.byu.edu (10.11.14.29) 56(84) bytes of data.
64 bytes from jackson1.byu.edu (10.11.14.29): icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from jackson1.byu.edu (10.11.14.29): icmp_seq=2 ttl=64 time=0.044 ms
--- jackson1.byu.edu ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.032/0.038/0.044/0.006 ms
Thank you,
Karl Jackson
#example rabbitmq-env.con file entries
#set the port address
NODE_PORT=35672
USE_LONGNAME=true
I am still getting the error:
Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli...@jackson1.byu.edu", :longnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
Thank you,
Karl Jackson
I added the change to rabbitmq-env.conf, so it now contains:
#example rabbitmq-env.con file entries
#set the port address
NODE_PORT=35672
USE_LONGNAME=true
I am still getting the error:
Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli-2790-rabbit@jackson1.byu.edu", :longnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
Thank you,
Karl Jackson
Hi Karl,
You must have missed my request ... could you please attach your complete RabbitMQ log file? At this point I'm mystified as to what is going on.Did you restart RabbitMQ after adding that configuration setting?Thanks,
Luke
On Monday, November 25, 2019 at 9:00:15 AM UTC-8, Karl Jackson wrote:
I added the change to rabbitmq-env.conf, so it now contains:
#example rabbitmq-env.con file entries
#set the port address
NODE_PORT=35672
USE_LONGNAME=true
I am still getting the error:
Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli...@jackson1.byu.edu", :longnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
Thank you,
Karl Jackson
rabbit@jackson1
erl -A0 -noinput -boot start_clean -eval 'net_kernel:start([list_to_atom("rabbit-gethostname-" ++ os:getpid()), shortnames]), [_, H] = string:tokens(atom_to_list(node()), "@"), io:format("~s~n", [H]), init:stop().'[root@jackson1 adm.kjj3]# erl -A0 -noinput -boot start_clean -eval 'net_kernel:start([list_to_atom("rabbit-gethostname-" ++ os:getpid()), shortnames]), [_, H] = string:tokens(atom_to_list(node()), "@"), io:format("~s~n", [H]), init:stop().'
jackson1
[root@jackson1 adm.kjj3]# rabbitmqctl status
Distribution failed: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"rabbitmqcli-20305-rabbit@jackson1", :shortnames, 15000], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}
[root@jackson1 adm.kjj3]# echo $HOSTNAME
jackson1
[root@jackson1 adm.kjj3]# ping -c2 jackson1
PING jackson1.byu.edu (10.11.14.29) 56(84) bytes of data.
64 bytes from jackson1.byu.edu (10.11.14.29): icmp_seq=1 ttl=64 time=0.041 ms
[root@jackson1 adm.kjj3]# epmd -names
epmd: up and running on port 4369 with data:
name rabbit at port 55700
MacBook-Pro-4:Downloads kjj3$ telnet jackson1 4369
Trying 10.11.14.29...
Connected to jackson1.byu.edu.
Escape character is '^]'.
Hi Karl,
[root@jackson1 adm.kjj3]# telnet jackson1 4369
Trying 10.11.14.29...
Connected to jackson1.
Escape character is '^]'.
^CConnection closed by foreign host.
[root@jackson1 adm.kjj3]# netstat -pan|grep 0.0.0.0
tcp 0 0 0.0.0.0:46781 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:42817 0.0.0.0:* LISTEN 1316/rpc.statd
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 1251/snmpd
tcp 0 0 0.0.0.0:25672 0.0.0.0:* LISTEN 6704/beam.smp
tcp 0 0 0.0.0.0:22222 0.0.0.0:* LISTEN 1257/sshd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
tcp 0 0 0.0.0.0:4369 0.0.0.0:* LISTEN 6658/epmd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1704/master
udp 0 0 0.0.0.0:111 0.0.0.0:* 1/systemd
udp 0 0 0.0.0.0:161 0.0.0.0:* 1251/snmpd
udp 0 0 0.0.0.0:33986 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* 889/chronyd
udp 0 0 0.0.0.0:50577 0.0.0.0:* 1316/rpc.statd
udp 0 0 0.0.0.0:622 0.0.0.0:* 1296/rpcbind
udp 0 0 127.0.0.1:659 0.0.0.0:* 1316/rpc.statd
[root@jackson1 adm.kjj3]# netstat -pan|grep 5672
tcp 0 0 0.0.0.0:25672 0.0.0.0:* LISTEN 6704/beam.smp
tcp6 0 0 :::5672 :::* LISTEN 6704/beam.smp
Nothing is listening on 15672.
I can now run rabbitmqctl status, but I am not able to connect to the management console through a browser.
Thank you,
Karl Jackson