FS#47246 - [rabbitmq] Default NODENAME is invalid
Attached to Project:
Community Packages
Opened by Hugo Osvaldo Barrera (hobarrera) - Thursday, 03 December 2015, 11:09 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 09 January 2016, 20:06 GMT
Opened by Hugo Osvaldo Barrera (hobarrera) - Thursday, 03 December 2015, 11:09 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 09 January 2016, 20:06 GMT
|
Details
rabbitmq.install contains this line:
sed -e "/NODENAME/s/rabbit/rabbit@$(hostname)/" -i /etc/rabbitmq/rabbitmq-env.conf This replaces NODENAME with the hosts's FQDN. Rabbitmq does not accept FQDNs as nodenames, so this will never work: Dec 03 08:05:44 athena.barrera.io systemd[1]: Started RabbitMQ Messaging Server. Dec 03 08:05:44 athena.barrera.io rabbitmq[27631]: {error_logger,{{2015,12,3},{8,5,44}},"Can't set short node name!\nPlease check your configuration\n",[]} [...] The above mentioned line should read: sed -e "/NODENAME/s/rabbit/rabbit@$(hostname -s)/" -i /etc/rabbitmq/rabbitmq-env.conf |
This task depends upon
Closed by Levente Polyak (anthraxx)
Saturday, 09 January 2016, 20:06 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in 3.6.0-2
Saturday, 09 January 2016, 20:06 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in 3.6.0-2