RabbitMQ undefined: no template in js / tmpl / login.ejs

Suddenly, when I try to access RabbitMQ, it only displays this on the screen:

undefined: no template in js / tmpl / login.ejs

Any help would be appreciated.

UPDATE:

Now the default browser error is displayed: Connection Refused

+9
source share
4 answers

The problem was resolved by restarting the Linux server, as the rabbitMQ commands hung and required a forced stop.

Hope this helps someone.

+9
source

I had the same symptoms on my Windows server running RabbitMQ after disabling the RabbitMQ service, and it refused to start the backup.

The steps I took to solve the problem without rebooting:

  • The RabbitMQ log file named rabbit@ [SERVER_NAME_HERE].log in the C:\Users\[ADMIN_ACCOUNT_USERNAME_HERE]\AppData\Roaming\RabbitMQ\log folder was huge (12+ GB); I renamed it so that RabbitMQ could create a new log file.
  • I tried again to start the RabbitMQ service in services.msc, which failed (again).
  • The new rabbit@ [SERVER_NAME_HERE].log file indicates that a specific folder cannot be deleted:

cannot_delete, "c:/Users/[ADMIN_ACCOUNT_USERNAME_HERE]/AppData/Roaming/RabbitMQ/db/ rabbit@ [SERVER_NAME_HERE]-plugins-expand/rabbitmq_management-3.3.5/priv/www/cli",

  1. I tried to rename this cli folder in Windows Explorer and got the error "This folder is being used by another process."
  2. I downloaded the Sysinternals Handle.exe utility and ran it with the "RabbitMQ" argument, which showed that the folder ( cli ), that the log file that could not be deleted, was blocked using the rundll32.exe process with a specific process identifier.
  3. I killed this instance of rundll32.exe in the task manager (after turning on the display of process IDs in the View menu).
  4. I started the RabbitMQ service again, and this time it will work!

TL; DR

In particular, the Windows process was to lock the folder that RabbitMQ wanted to delete as part of the startup process. Identification of this process using the Sysinternals Handle utility, and then its destruction allowed RabbitMQ to start successfully.

+3
source

Faced a similar problem:

Error message:

quit: {error, {Cannot_delete_plugins_expand_dir, ["/ USR / local / var / Library / RabbitMQ / Mnesia / rabbit @ LOCALHOST extension plugins", {Cannot_delete, "/ Usr / local / var / lib / rabbitmq / mnesia / rabbit@localhost-plugins-expand /rabbitmq_amqp1_0-3.7.3/ebin/rabbitmq_amqp1_0.app ", EACCES}]}}

Manually deleted the files in bin, and then restarted the rabbitmq server, and it worked!

The reason was that the previous rabbitmq service was not closed properly.

0
source

I also had this problem caused by some problem in the process of turning off the MQ rabbit. After uninstalling RabbitMQ and reinstalling, the problem still persists. The problem was solved only after I manually deleted the entire folder in C:\Users\[ADMIN_ACCOUNT_USERNAME]\AppData\Roaming\RabbitMQ

0
source

Source: https://habr.com/ru/post/1236889/


All Articles