Rabbitmq Server Installation Issue in Linux

239 views
Skip to first unread message

Sujith B Shankar Narayana

unread,
Oct 27, 2020, 7:39:16 AM10/27/20
to rabbitmq-users
Dear Team,

I'm trying to install RabbitMQ in linux machine and getting below issue. Request your help to understand the issue.

Below are the steps that i followed
a. I have setup erlang otp 23.1 and command line opens up when i enter the 'erl' command.
b. downloaded  rabbitmq-server-generic-unix-3.8.9.tar.xz  binary, untarred it
c. went to sbin and typed the command,./rabbitmq-server, to start the server. Getting the below error.

{"Kernel pid terminated",application_controller,"{application_start_failure,credentials_obfuscation,{{shutdown,{failed_to_start_child,credentials_obfuscaton_svc,{undef,[{crypto,strong_rand_bytes,[128],[]},{credentials_obfuscation_svc,check,3,[{file,\"src/credentials_obfuscation_svc.erl\"},{line,162}]},{credentials_obfuscation_svc,init_state,0,[{file,\"src/credentials_obfuscation_svc.erl\"},{line,133}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,417}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,385}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,226}]}]}}},{credentials_obfuscation_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,credentials_obfuscation,{{shutdown,{failed_to_start_child,credentials_obfuscaton_svc,{undef,[{crypto,strong_rand_bytes,[128],

Regards,
Sujith

Wesley Peng

unread,
Oct 27, 2020, 7:45:37 AM10/27/20
to Rabbitmq-Users
My installation steps on Ubuntu Linux:

1. must have hostname resolvable
3. echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
4. sudo apt update
5. sudo apt install erlang
7. sudo apt install rabbitmq-server
8. sudo rabbitmq-plugins enable rabbitmq_management

This works for a lot of my nodes.


--
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/8ec3972d-3524-4cf0-aa99-826f4185a92bn%40googlegroups.com.

Luke Bakken

unread,
Oct 27, 2020, 8:35:50 AM10/27/20
to rabbitmq-users
Hello,

It appears that the version of Erlang you installed did not include cryptography.

Please provide exact details about your Linux distribution and how you installed Erlang.

Thanks,
Luke
Message has been deleted

Wesley Peng

unread,
Oct 28, 2020, 3:01:23 AM10/28/20
to rabbitm...@googlegroups.com
On 2020/10/28 2:57 下午, Akhirul Islam wrote:
> Kernel pid terminated (application_controller)
> ({application_start_failure,credentials_obfuscation,{{shutdown,{failed_to_start_child,credentials_obfuscaton_svc,{undef,[{crypto,strong_rand_bytes,[128],


Can you install it following the steps below?

https://www.vultr.com/docs/how-to-install-rabbitmq-on-centos-7

regards.

Akhirul Islam

unread,
Oct 28, 2020, 3:02:17 AM10/28/20
to rabbitmq-users
Hi,
I am also getting the same issue while starting rabbitmq-server with erlang 23.1 version and rabbitmq 3.8.9 version. I am using centos 7 as the operating system.

{"Kernel pid terminated",application_controller,"{application_start_failure,credentials_obfuscation,{{shutdown,{failed_to_start_child,credentials_obfuscaton_svc,{undef,[{crypto,strong_rand_bytes,[128],[]},{credentials_obfuscation_svc,check,3,[{file,\"src/credentials_obfuscation_svc.erl\"},{line,162}]},{credentials_obfuscation_svc,init_state,0,[{file,\"src/credentials_obfuscation_svc.erl\"},{line,133}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,417}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,385}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,226}]}]}}},{credentials_obfuscation_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,credentials_obfuscation,{{shutdown,{failed_to_start_child,credentials_obfuscaton_svc,{undef,[{crypto,strong_rand_bytes,[128],

[admin@aevx02 ~]# hostname 

aevx02

[admin@aevx02 ~]# hostname  -s

aevx02

[admin@aevx02 ~]# nslookup localhost

Server:    127.0.0.1

Address 1: 127.0.0.1 localhost


Name:      localhost

Address 1: 127.0.0.1 localhost

Address 2: ::1 localhost

[admin@aevx02 ~]# nslookup aevx02  

Server:    127.0.0.1

Address 1: 127.0.0.1 localhost


Name:      aevx02

Address 1: 127.0.0.1 localhost


Somebody please help on this.

Thanks and Regards
Akhirul Islam

Sujith B Shankar Narayana

unread,
Oct 28, 2020, 3:12:15 AM10/28/20
to rabbitm...@googlegroups.com
Thanks Wesley for the quick response. Apologies I have not shared full details of my problem. 
The linux that i'm using is OEL el7 and also there is no connectivity to the internet to download erlang and rabbitmq. Hence i need to download externally and need to transfer the distributions via sftp.
Having said that, I managed to install by following the following steps:
a. download rabbitmq-server-3.8.9-1.el7.noarch.rpm from https://www.rabbitmq.com/install-rpm.html#downloads
b. download erlang-22.3.4.12-1.el7.x86_64.rpm from https://github.com/rabbitmq/erlang-rpm/releases
c. transfer files to unix box
d. login as root user
e. yum install erlang-22.3.4.12-1.el7.x86_64.rpm
f. yum install rabbitmq-server-3.8.9-1.el7.noarch.rpm

Working fine now. 
Cheers

--
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.


--
Regards,
Sujith B S

Akhirul Islam

unread,
Oct 28, 2020, 3:14:31 AM10/28/20
to rabbitmq-users
Hi,
I was using rabbitmq 3.6.0 before installing 3.8.9 with erlang version 18  and it was working fine. I am getting issue with rabbitmq 3.8.9 version with erlang-23.1.

Thanks and Regards
Akhirul Islam

Wesley Peng

unread,
Oct 28, 2020, 3:56:59 AM10/28/20
to rabbitm...@googlegroups.com
On 2020/10/28 3:11 下午, Sujith B Shankar Narayana wrote:
> e. yum install erlang-22.3.4.12-1.el7.x86_64.rpm


I would suggest you use erlang OTP/23 instead of this old version.

Mine is:

RabbitMQ version: 3.8.9
Node name: rabbit@ubuntu
Erlang configuration: Erlang/OTP 23 [erts-11.0.3] [source] [64-bit]
[smp:1:1] [ds:1:1:10] [async-threads:64]

Thanks.

Reply all
Reply to author
Forward
0 new messages