See Hostname Resolution Requirements in
http://www.rabbitmq.com/clustering.html.
"node already running" means what it says on the tin.
On 28 January 2017 at 01:11:23, Shweta Lokhande (
csr1...@gmail.com) wrote:
> Hi Team,
>
> Quick update ..
> I removed RABBITMQ_SET_LONGNAME =true from rabbitmq-env.conf file and I
> was able to start the node again.
>
> But I am still facing issues in making cluster.
> Getting the error as below
>
> *[root@vmrabbitmqt01 rabbitmq]# rabbitmq-server -detached*
> *Warning: PID file not written; -detached was passed.*
> *ERROR: node with name "rabbit" already running on "localhost"*
> *[root@vmrabbitmqt01 rabbitmq]#*
>
> Can you help here?
>
> Thank you.
>
> Regards,
> Shweta
>
>
> On Saturday, 28 January 2017 03:04:39 UTC+5:30, Shweta Lokhande wrote:
> >
> > Hi Team,
> >
> > I am new to RabbitMQ and want to make a cluster of 3 nodes.
> > I am unable to understand the reason of rabbitmq node shutdown after I ran
> > "rabbitmq-server -detached" command.
> >
> > Trying to start the node but it isn't working.
> >
> > *[root@vmrabbitmqt02 rabbitmq]# systemctl start rabbitmq-server.service*
> > *[root@vmrabbitmqt02 rabbitmq]# rabbitmqctl status*
> > *Status of node '
rab...@vmrabbitmqt02.hersheys.com
> > ' ...*
> > *Error: unable to connect to node '
rab...@vmrabbitmqt02.hersheys.com
> > ': nodedown*
> >
> > *DIAGNOSTICS*
> > *===========*
> >
> > *attempted to contact: ['
rab...@vmrabbitmqt02.hersheys.com
> > ']*
> >
> > *
rab...@vmrabbitmqt02.hersheys.com :*
> > * * connected to epmd (port 4369) on
vmrabbitmqt02.hersheys.com
> > *
> > * * epmd reports node 'rabbit' running on port 25672*
> > * * TCP connection succeeded but Erlang distribution failed*
> > * * suggestion: hostname mismatch?*
> > * * suggestion: is the cookie set correctly?*
> > * * suggestion: is the Erlang distribution using TLS?*
> >
> > *current node details:*
> > *- node name: '
rabbitm...@vmrabbitmqt02.hersheys.com
> > '*
> > *- home dir: /var/lib/rabbitmq*
> > *- cookie hash: E8X5sOmIM3Y+Ju6lgvSIhA==*
> >
> > *[root@vmrabbitmqt02 rabbitmq]# hostname -s*
> > *vmrabbitmqt02*
> >
> >
> >
> > Attached excerpt from rabbit.log file
> >
> > Can you please help?
> >
> > Thank you.
> > Regards,
> > Shweta
> >
> >
>
> --
> 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 post to this group, send an email to
rabbitm...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
>
--
MK
Staff Software Engineer, Pivotal/RabbitMQ