3.8.13 -> Kernel pid terminated (application_controller)

690 views
Skip to first unread message

Jan Grewe

unread,
Feb 28, 2021, 10:16:59 AM2/28/21
to rabbitmq-users

Hi, i just updated the Debian package from 3.8.12-1 to 3.8.13-1, and then my instance failed to start with this error:


Feb 28 16:10:03 hades systemd[1]: Starting RabbitMQ broker...
Feb 28 16:10:05 hades rabbitmq-server[19958]: {"Kernel pid terminated",application_controller,"{application_start_failure,credentials_obfuscation,{{shutdown,{failed_to_start_child,credentials_obfuscaton_svc,{undef,[{crypto,cipher_info,[aes_128_cbc],[]},{credentials_obfuscation_pbe,iv_length,1,[{file,\"src/credentials_obfuscation_pbe.erl\"},{line,125}]},{credentials_obfuscation_pbe,encrypt,5,[{file,\"src/credentials_obfuscation_pbe.erl\"},{line,75}]},{credentials_obfuscation_svc,check,3,[{file,\"src/credentials_obfuscation_svc.erl\"},{line,163}]},{credentials_obfuscation_svc,init_state,0,[{file,\"src/credentials_obfuscation_svc.erl\"},{line,133}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,374}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,342}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}}},{credentials_obfuscation_app,start,[normal,[]]}}}"}
Feb 28 16:10:05 hades rabbitmq-server[19958]: Kernel pid terminated (application_controller) ({application_start_failure,credentials_obfuscation,{{shutdown,{failed_to_start_child,credentials_obfuscaton_svc,{undef,[{crypto,cipher_info,[aes_128_cbc
Feb 28 16:10:05 hades rabbitmq-server[19958]: [1B blob data]
Feb 28 16:10:05 hades rabbitmq-server[19958]: Crash dump is being written to: erl_crash.dump...done
Feb 28 16:10:05 hades systemd[1]: rabbitmq-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 28 16:10:05 hades systemd[1]: rabbitmq-server.service: Failed with result 'exit-code'.
Feb 28 16:10:05 hades systemd[1]: Failed to start RabbitMQ broker.
Feb 28 16:10:15 hades systemd[1]: rabbitmq-server.service: Service RestartSec=10s expired, scheduling restart.
Feb 28 16:10:15 hades systemd[1]: rabbitmq-server.service: Scheduled restart job, restart counter is at 34.
Feb 28 16:10:15 hades systemd[1]: Stopped RabbitMQ broker.

I don't have any fancy config, just a couple of plugins enabled:
[rabbitmq_auth_backend_http,rabbitmq_management,rabbitmq_prometheus,rabbitmq_web_mqtt].
Other than that, i's pretty much just the package installed.

Any idea what could be wrong? The error message doesn't really tell me anything about the actual underlying issue...

thanks,
Jan

Michal Kuratczyk

unread,
Feb 28, 2021, 2:49:53 PM2/28/21
to rabbitm...@googlegroups.com
Hi,

Seems like the erlang version is too old. You can see the supported versions here: https://www.rabbitmq.com/which-erlang.html.  If your Erlang/OTP version is older than 22.3, you are lucky 3.8.12 worked for you...

The important part of the error is "{undef,[{crypto,cipher_info,[aes_128_cbc],[]}" which points at this change introduced in 3.8.13: https://github.com/rabbitmq/credentials-obfuscation/blob/master/ChangeLog.md#changes-between-230-and-240-february-18-2021 which indeed dropped support for some old Erlang versions.

Best,

--
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/0a119349-e817-46f8-88b3-ae8149e0e607n%40googlegroups.com.


--
Michał
RabbitMQ team

Jan Grewe

unread,
Mar 1, 2021, 3:26:19 AM3/1/21
to rabbitmq-users
Thanks Michał,

updating my Apt sources to use the "erlang-22.x" repo fixed it!

cheers,
Jan
Reply all
Reply to author
Forward
0 new messages