[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
** Changed in: rabbitmq-server (Ubuntu Lucid) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS" uname -a Linux hexes-book 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux sudo dpkg --configure -a Настраивается пакет rabbitmq-server (3.2.4-1) … * Starting message broker rabbitmq-server * FAILED - check /var/log/rabbitmq/startup_\{log, _err\} [fail] invoke-rc.d: initscript rabbitmq-server, action "start" failed. dpkg: error processing package rabbitmq-server (--configure): подпроцесс установлен сценарий post-installation возвратил код ошибки 1 При обработке следующих пакетов произошли ошибки: rabbitmq-server erl -sname foo {error_logger,{{2015,3,3},{21,43,40}},"Protocol: ~tp: register/listen error: ~tp~n",["inet_tcp",econnrefused]} cat /etc/hosts 127.0.0.1 hexes-book localhost hostname hexes-book -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
eol reached https://wiki.ubuntu.com/Releases ** Changed in: rabbitmq-server (Ubuntu Natty) Status: Triaged => Invalid ** Changed in: rabbitmq-server (Ubuntu Maverick) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
In case it's relevant here: I installed rabbitmq today (2013-02-20). - My machine's hostname is resolved also before installation, and it didn't change since the server was first installed few days ago. - in any case, i revised my /etc/hosts - it seems to be 100% ok (just in case) - i'm on Ubuntu 12.04, 64bit. - it's hosted inside VirtualBox - The log files mentioned in the files are empty (0 bytes) - erl_crash.dump is also empty. - I repeated the installation process (apt-get remove, autoremove, clean, autoclean, and then install) , to no avail. after installation i (re)tried to start the server manually: # service rabbitmq-server start Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. # according to someone here, i ran "rabbitmqctl status", and got all funny messages: # rabbitmqctl status {error_logger,{{2013,2,20},{13,3,37}},"Too short cookie string",[]} {error_logger,{{2013,2,20},{13,3,37}},crash_report,[[{initial_call,{auth,init,['Argument__1']}},{pid,<0.19.0>},{registered_name,[]},{error_info,{exit,{"Too short cookie string",[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.17.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,24},{reductions,827}],[]]} {error_logger,{{2013,2,20},{13,3,37}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{"Too short cookie string",[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{offender,[{pid,undefined},{name,auth},{mfargs,{auth,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]} {error_logger,{{2013,2,20},{13,3,37}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} {error_logger,{{2013,2,20},{13,3,37}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]} {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"} Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}) still unresolved, and no workaround found. it's probably another misreported bug, and i'm still looking for solutions. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Installing on Ubuntu 10.04 fails if the hostname does not resolve. For the benefit for people arriving here via search engines, here's what I had to do: apt-get uninstall rabbitmq-server vi /etc/hostname # fix the hostname so it resolves rm -rf /var/lib/rabbitmq # the old broken hostname is still somewhere here reboot apt-get install rabbitmq-server -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Just to clarify a little, I had to place the short hostname on localhost and not the FQDN in /etc/hosts to get rabbitmq to start up. My entry looks something like this: 127.0.0.1 localhost servername servername.example.com -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
I had the same problem, i resolve it putting the local ip with the hostname in /etc/hosts. rafa -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
I have Ubuntu 11.10 and have been trying to install rabbitmq 2.7.1 without any luck. I get the following error message: The following NEW packages will be installed: rabbitmq-server 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/2,711 kB of archives. After this operation, 3,736 kB of additional disk space will be used. Selecting previously deselected package rabbitmq-server. (Reading database ... 409938 files and directories currently installed.) Unpacking rabbitmq-server (from .../rabbitmq-server_2.7.1-1_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up rabbitmq-server (2.7.1-1) ... Adding group `rabbitmq' (GID 129) ... Done. Adding system user `rabbitmq' (UID 118) ... Adding new user `rabbitmq' (UID 118) with group `rabbitmq' ... Not creating home directory `/var/lib/rabbitmq'. Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript rabbitmq-server, action "start" failed. dpkg: error processing rabbitmq-server (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: rabbitmq-server E: Sub-process /usr/bin/dpkg returned an error code (1) Based on previous posts I have attached the erl_crash.dump The /var/log/rabbitmq/startup_err is empty, but the /var/log/rabbitmq/startup_log contains the following: Activating RabbitMQ plugins ... 0 plugins activated: ERROR: epmd error for host "192": badarg (unknown POSIX error) In case this helps, I am running AMD 64 bit architecture. I really have tried different options, but none of them have worked. Any help will be greatly appreciated. Thanks in advance Oscar ** Attachment added: "erl_crash.dump" https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+attachment/2650544/+files/erl_crash.dump -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Reading this bug report I found an error in my /etc/hosts which resolves the problem here. Thanks. Using: Ubuntu 10.04 Erlang 5.7.4 RabbitMQ Server 2.5.0-1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
I just confirmed that rabbitmq-server in oneiric will start and stop with an unresolvable hostname, and handles hostname changes more gracefully ( though not perfectly, still working up a bug report on the quirk that the new mnesia changes have created ). ** Changed in: rabbitmq-server (Ubuntu Oneiric) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Marking incomplete, until it is confirmed that this is still a bug. Thanks. ** Changed in: rabbitmq-server (Ubuntu Oneiric) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
** Changed in: rabbitmq-server (Ubuntu) Milestone: None => ubuntu-11.10 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Can anyone confirm that this still happens on oneiric? It seems we have R14B of erlang now, and version 2.5.0 of RabbitMQ, so according to upstream, there should be no further issue. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
** Tags added: server-o-rs -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
** Tags added: rls-mgr-o-tracking -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Spoke in person with a user who showed me how this is confirmed on maverick and lucid, marking as such. ** Also affects: rabbitmq-server (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: rabbitmq-server (Ubuntu Maverick) Importance: Undecided Status: New ** Changed in: rabbitmq-server (Ubuntu Lucid) Status: New => Confirmed ** Changed in: rabbitmq-server (Ubuntu Maverick) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
It seems to me that the real problem is that the machine was installed with a partial /etc/hosts file. I did an install yesterday of an 11.04 desktop, where I have exactly the 127.0.1.1 x201 entry I expected. If we're missing that in server or cloud installations, we need to get to the bottom of that. What package or process creates the original /etc/hosts? I looked at base-files, rootskel, and isc-dhcp, but haven't found it yet... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
I also suggest to forward this bug to Debian and discuss it with the maintainer there, to avoid a permantently different solution in Ubuntu. I reject the current upload for natty-proposed. Thank you! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Eww, automatically changing configuration files in maintainer scripts? That looks like a no-go to me. It does not even check if the IP already exists in /etc/hosts, or whether the file is used at all (in nsswitch.conf). Can we instead just make the package generate an error debconf note if /etc/hosts is misconfigured and fail gracefully? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Here's the debdiff based on the same patch ** Patch added: "rabbitmq-server_2.3.1-1ubuntu2.debdiff" https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+attachment/2096894/+files/rabbitmq-server_2.3.1-1ubuntu2.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Small patch that addes a check in rabbitmq-server init script to check if hostname is resolvable ** Patch added: "rabbitmq-server_2.3.1-1ubuntu2.patch.gz" https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/+attachment/2096629/+files/rabbitmq-server_2.3.1-1ubuntu2.patch.gz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
** Also affects: rabbitmq-server (Ubuntu Natty) Importance: Undecided Status: New ** Also affects: rabbitmq-server (Ubuntu Oneiric) Importance: High Assignee: Marc Cluet (lynxman) Status: Triaged ** Changed in: rabbitmq-server (Ubuntu Natty) Importance: Undecided => High ** Changed in: rabbitmq-server (Ubuntu Natty) Status: New => Triaged ** Changed in: rabbitmq-server (Ubuntu Natty) Assignee: (unassigned) => Marc Cluet (lynxman) ** Changed in: rabbitmq-server (Ubuntu Natty) Milestone: None => natty-updates -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
** Changed in: rabbitmq-server (Ubuntu) Assignee: (unassigned) => Marc Cluet (lynxman) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
This bug also affects package upgrade scripts. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
I received this very detailed response from Simon MacMullen of RabbitMQ, reposting here w/ his permission. It seems that given the response below, neither issue will be easily fixable in versions of RabbitMQ prior to 2.2.0 or older versions of erlang. I think this one will probably have to be a Won't Fix for versions prior to those mentioned below. Marking Triaged. Note that there is a merge request for the version of erlang that should fix the problem in bug #690068 === Paste from email === On 25/01/11 14:31, Clint Byrum wrote: > This bug has been reported in Ubuntu. Hopefully you guys already have it > in the internal bug tracker: > > https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405 Hi Clint. There are two independent bugs being reported there: 1) RabbitMQ 1.7.2 fails to start when the hostname has changed. 2) RabbitMQ 1.7.2 fails to start when the hostname cannot be resolved. The first issue is caused by the fact that we use Erlang's database, Mnesia internally, and that stores the hostname everywhere (since it's designed for distributed use). RabbitMQ 2.2.0 contains a workaround for this - the path to Mnesia now contains the hostname, so if the hostname changes the old database will not be found and a new one will be created. I'm not absolutely sure where that was introduced between 1.7.2 and 2.2.0. The second issue is an issue with Erlang's port mapper; epmd. We depend on this (any Erlang app will), and it won't start if the hostname cannot be resolved. This bug appears to exist in Erlang R13B3 and be fixed in R14B. Again, I'm not sure exactly where the fix was introduced. ** Changed in: rabbitmq-server (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
I forwarded the link to this bug to legitimategrieva...@rabbitmq.com .. will set the status accordingly upon response. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Clint, it was resolving, but I had two entries for localhost in my hosts file, so "ping currenthostname" was coming back as "oldhostname", and I guess this was throwing off rabbitmq. After I removed the first entry, I was able to install the latest deb without error. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
Cerin, is your hostname resolvable (ping `hostname`) ? Also did you try the rabbitmqctl tests I mentioned above? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 653405] Re: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting
I also encounter the same problem using the most recent rabbitmq- server_2.2.0-1_all.deb, so the problem's not isolated to the older 1.7.2 version. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs