[Bug 1808766] Re: fails to start
** Changed in: erlang (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
** Bug watch added: Debian Bug tracker #911927 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911927 ** Also affects: erlang (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911927 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
This bug was fixed in the package rabbitmq-server - 3.7.8-4ubuntu2 --- rabbitmq-server (3.7.8-4ubuntu2) disco; urgency=medium * Resolve issues with startup of RabbitMQ with erlang provided epmd daemon (LP: #1808766): - d/rabbitmq-server.service: Wants/After epmd.socket, aligning with services actually provided by erlang in Ubuntu. - d/control: Bump minimum erlang-* package versions to ensure compatibility with epmd.socket configuration. -- James Page Tue, 18 Dec 2018 09:18:27 + ** Changed in: rabbitmq-server (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
This bug was fixed in the package erlang - 1:21.2+dfsg-1ubuntu1 --- erlang (1:21.2+dfsg-1ubuntu1) disco; urgency=medium * d/epmd.socket: Enable socket for all interfaces, resolving issues with startup of RabbitMQ and other clusters erlang services (LP: #1808766). -- James Page Tue, 18 Dec 2018 09:17:25 + ** Changed in: erlang (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
After validating the different options (sorry for my interim confusion) I think for now the least-invasive solution is the second suggested change. The other options are not as-good IMHO: - the first adds a lot of Delta to many packages - the third would make a package require user interaction to work after install Changes: 1. remove BindToDevice=lo in /lib/systemd/system/epmd.socket of erlang 2. change epmd@0.0.0.0.socket epmd.socket in /lib/systemd/system/rabbitmq-server.service to ensure proper ordering I checked that in a container and it works for me as well. That also means that any other "broken by recent erlang" would be fixed for now. Mid term we can most likely follow Debian on resolving this. Since initially this was found as s390x issue I retried there as well. It is still crashing the same way on s390x, so we might have two independent issues here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
OR rabbitmq-server installs without enabling and starting its daemon; requiring the user to reconfigure epmd (or disable it completely). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
Alternatively we could drop the BindToDevice=lo Stanza in the @'less socket unit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
List of potentially impacted packages: * averell * ejabberd * ejabberd-contrib * ejabberd-mod-cron * ejabberd-mod-log-chat * ejabberd-mod-logsession * ejabberd-mod-logxml * ejabberd-mod-message-log * ejabberd-mod-muc-log-http * ejabberd-mod-post-log * ejabberd-mod-pottymouth * ejabberd-mod-rest * ejabberd-mod-s2s-log * ejabberd-mod-shcommands * ejabberd-mod-statsdx * ejabberd-mod-webpresence * elixir * manderlbot * rabbitmq-server * rebar * tsung * vim-vimerl * wings3d * yaws-chat * yaws-mail * yaws-wiki -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
Proposal to resolve this issue (as I quite like the way RabbitMQ uses @'ed units). Ship @'less and @'ed epmd.{socket|service} units in the erlang packages, all installed by disable by default. So epmd does not get started by default; only when another erlang application expresses and interest in it with a After/Wants clause. This also avoids races on reboot with apps that optionally start their own version of epmd if one is not already running. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
Raising erlang task as well because we might want to fix things there rather than rmq. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
RabbitMQ includes: After=network.target epmd@0.0.0.0.socket Wants=network.target epmd@0.0.0.0.socket in its systemd unit file; however the @ notation on the epmd socket is not compatible with the erlang packaging in Ubuntu and Debian (which only ships @'less versions). ** Also affects: erlang (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
Other distro references: https://bugzilla.suse.com/show_bug.cgi?id=1003085 ** Bug watch added: bugzilla.suse.com/ #1003085 https://bugzilla.suse.com/show_bug.cgi?id=1003085 ** Bug watch added: Red Hat Bugzilla #1104843 https://bugzilla.redhat.com/show_bug.cgi?id=1104843 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
And https://bugzilla.redhat.com/show_bug.cgi?id=1104843 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
I think this is due to the erlang-base package now enabling a shared epmd daemon by default; rabbitmq-server is unable to connect to it over the hostname of the server as it only listens on localhost by default. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: rabbitmq-server (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
I can't apport to this bug (damn != reporter restriction) so I filed a duplicate to have the crash data. See bug 1808774 for crash files -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808766 Title: fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1808766/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1808766] Re: fails to start
It fails to start on install on both, although it fails differently. The logs (journald) didn't have too much info other than failing, but when I ignore the service and run the binary I get: x86: /usr/sbin/rabbitmq-server ERROR: epmd error for host d: address (cannot connect to host/port) s390x: /usr/sbin/rabbitmq-server 2018-12-17 09:17:28.163245 args: [] format: "Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only" label: {error_logger,error_msg} 2018-12-17 09:17:28.163616 crash_report #{label=>{proc_lib,crash},report=>[[{initial_call,{auth,init,['Argument__1']}},{pid,<0.58.0>},{registered_name,[]},{error_info,{error,"Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only",[{auth,init_cookie,0,[{file,"auth.erl"},{line,286}]},{auth,init,1,[{file,"auth.erl"},{line,140}]},{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}]}]}},{ancestors,[net_sup,kernel_sup,<0.46.0>]},{message_queue_len,0},{messages,[]},{links,[<0.56.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,27},{reductions,559}],[]]} 2018-12-17 09:17:28.163996 supervisor_report #{label=>{supervisor,start_error},report=>[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{"Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only",[{auth,init_cookie,0,[{file,"auth.erl"},{line,286}]},{auth,init,1,[{file,"auth.erl"},{line,140}]},{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}]}]}},{offender,[{pid,undefined},{id,auth},{mfargs,{auth,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]} 2018-12-17 09:17:28.166119 supervisor_report #{label=>{supervisor,start_error},report=>[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{shutdown,{failed_to_start_child,auth,{"Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only",[{auth,init_cookie,0,[{file,"auth.erl"},{line,286}]},{auth,init,1,[{file,"auth.erl"},{line,140}]},{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}]}],{offender,[{pid,undefined},{id,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} 2018-12-17 09:17:28.168806 crash_report #{label=>{proc_lib,crash},report=>[[{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.45.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,auth,{"Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only",[{auth,init_cookie,0,[{file,"auth.erl"},{line,286}]},{auth,init,1,[{file,"auth.erl"},{line,140}]},{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}]}]},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,138}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}},{ancestors,[<0.44.0>]},{message_queue_len,1},{messages,[{'EXIT',<0.46.0>,normal}]},{links,[<0.44.0>,<0.43.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,27},{reductions,184}],[]]} 2018-12-17 09:17:28.171059 std_info #{label=>{application_controller,exit},report=>[{application,kernel},{exited,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,auth,{"Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only",[{auth,init_cookie,0,[{file,"auth.erl"},{line,286}]},{auth,init,1,[{file,"auth.erl"},{line,140}]},{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}]}]},{kernel,start,[normal,[]]}}},{type,permanent}]} {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,auth,{\"Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only\",[{auth,init_cookie,0,[{file,\"auth.erl\"},{line,286}]},{auth,init,1,[{file,\"auth.erl\"},{line,140}]},{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}]}]},{kernel,start,[normal,[]]}}}"} Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed