Ask the Community
Groups
RabbitMQ Credentials not created during Hyper-V Services Installation - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>How to identify and correct issues with Unitrends Hyper-V services not starting or preventing adding environments through the UVB Web interface</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <h2 data-id="problem">Problem</h2> <p>RabbitMQ credentials are not created or are incorrectly created during installation of Unitrends Hyper-V Services on the Hyper-V host. You may encounter the following symptoms:</p> <ul><li>Error starting Unitrends Hyper-V Services</li> <li>Cannot add an environment in the UVB web interface </li> </ul><h2 data-id="resolution">Resolution</h2> <p>On the Hyper-V host, start a command line editor. The rabbitmqctl.bat file is in the “sbin” folder of the RabbitMQ installation, typically: </p> <p> C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.1.4\sbin\rabbitmqctl.bat</p> <p>Enter the following commands:</p> <p>> rabbitmqctl list_users</p> <p>The custom user entered in the Installer/Admin Tool should be in this list. A user called ‘phd’ should also be in this list. If either is missing, the configuration did not save correctly. </p> <ul><li> If this command returns an error that starts <em>Failed to create cookie file 'u:/.erlang. </em> Check your value for %HOMEDRIVE%. if it is not equal to C: you will need to reinstall with a user who's HOMEDRIVE= C: This is a known Erlang/RabbitMQ issue. </li> <li>You may also be able to clear the error by copying the file .erlang.cookie manually from %SystemRoot% to %HOMEDRIVE%%HOMEPATH%.</li> </ul><p>> rabbitmqctl list_permissions</p> <p>Both the custom user and the ‘phd’ user should have permissions on vhost “/” (see screen shot below). If either user does not have the appropriate permissions, the configuration did not save correctly. </p> <p>> rabbitmqctl add_user <em>user</em> <em>user</em></p> <p>If missing, add the custom user. </p> <p>****If the ‘phd’ user is missing, You must use the Windows uninstaller to uninstall the Unitrends Hyper-V Services. Refer to the<a rel="nofollow" href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fwww.unitrends.com%2Fdocs%2Fuser-guides%2Fuvb-administrators-guide"> Installation Guide</a> for more information about the uninstall process. Once completely removed, begin the installation process again exactly as described in the <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fwww.unitrends.com%2Fdocs%2Fuser-guides%2Fuvb-administrators-guide">Installation Guide</a>.***</p> <p>> rabbitmqctl set_permissions .* .* .* (note space between quotes) </p> <p>Set any permissions that are missing. </p> <p>Example dialog adding user fred</p> <p><img alt="User-added image" height="492" src="https://us.v-cdn.net/6032361/uploads/migrated/CY7AR0AMEI3M/eid-ka01w000000tcsc-feoid-00n40000002yvfa-refid-0em40000000myjq." width="500" class="embedImage-img importedEmbed-img"></img></p> <p> </p> </article> </main>