{"id":697,"date":"2019-09-25T19:47:35","date_gmt":"2019-09-26T00:47:35","guid":{"rendered":"http:\/\/zewwy.ca\/?p=697"},"modified":"2019-09-25T19:47:35","modified_gmt":"2019-09-26T00:47:35","slug":"fixing-veeam-veeam-service-wont-start","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2019\/09\/25\/fixing-veeam-veeam-service-wont-start\/","title":{"rendered":"Fixing Veeam (Veeam Service won&#8217;t Start)"},"content":{"rendered":"<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Veeam_Wont_Start\"><\/span>Veeam Won&#8217;t Start<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Yeap, the one thing you don&#8217;t want can happen at the worst time. For me I was testing a hypervisor upgrade scenario, and my host sure enough failed to come up successfully. Well&#8230;. shit.<\/p>\n<p>While I was going crazy trying to bring my host back up (the stock ESXi images wasn&#8217;t good enough cause&#8230;. RealTek, yeah&#8230; this Mobo I picked was an overall bad choice, sad cause it&#8217;s ASUS&#8230; anyway&#8230;<\/p>\n<p>I went to go restore some VMs from backup onto other hosts till I could recover my main host (find that custom ESXi install image) and to my dismay&#8230; Veeam console failed to connect&#8230;<\/p>\n<pre>Failed to connect to the Veeam Backup &amp; Replication server:\r\nNo connection could be made because the target machine actively refused it :9392<\/pre>\n<p>ughhhh, what? this is a standalone server, not domain joined, no special services account or MSAs, or separate servers, like what gives?<\/p>\n<p>Event viewer is literally useless&#8230; as nothing shows anywhere for any hints.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"First_Fix_Attempt\"><\/span>First Fix Attempt<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>OK so, the usual, google, and <a href=\"https:\/\/forums.veeam.com\/veeam-backup-replication-f2\/veeam-backup-service-wont-start-after-update-to-v9-5-u4-t56870.html\">let&#8217;s see here<\/a>&#8230;<\/p>\n<p>Like other symptoms not much help and a generic console error, so this fix was worth a shot, what I took away from it was how to do a <a href=\"https:\/\/www.veeam.com\/kb1471\">manual DB backup<\/a> (assuming this is all the settings and configurations if re-install required) and some registry keys used by Veeam and that <a href=\"https:\/\/forums.veeam.com\/veeam-backup-replication-f2\/veeam-backup-service-wont-start-after-update-to-v9-5-u4-t56870.html\">this<\/a> was not the problem (not the droids you are after). I thought maybe I had updated and not tested, as I do tend to do shutdown instead of reboot, with my limited resources and well windows is heavy on resources.<\/p>\n<pre>HKEY_LOCAL_MACHINE\\SOFTWARE\\Veeam\\Veeam Backup and Replication\\SqlServerName (This is the server name where SQL is running)\r\nHKEY_LOCAL_MACHINE\\SOFTWARE\\Veeam\\Veeam Backup and Replication\\SqlInstanceName (This is the instance name needed for the connection, which is in the format Servername\\InstanceName)\r\nHKEY_LOCAL_MACHINE\\SOFTWARE\\Veeam\\Veeam Backup and Replication\\SqlDatabaseName (This is the database name in the Databases folder once you connect)<\/pre>\n<p><a href=\"https:\/\/i.imgur.com\/3ABMC66.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/3ABMC66.png\" alt=\"\" width=\"1274\" height=\"636\" \/><\/a><\/p>\n<p>But sadly no good, as I guess my issue is not related to any lock files on the SQL DB&#8230; ok so what else is there&#8230;<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Second_Fix\"><\/span>Second Fix<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>So I started<a href=\"https:\/\/forums.veeam.com\/veeam-backup-replication-f2\/veeam-won-t-start-service-not-running-t11888.html\"> reading this one<\/a> and at first I was thinking, yup same problem, and reading along, I like Foggy but them not sharing the answer was rather annoying&#8230; then after some others reported the solution and my jaw literally dropped (probably why they tell you call support, cause this is some dirty laundry&#8230;)<\/p>\n<p>as Tommy stated<\/p>\n<p>&#8220;It is very likely to caused by the changing of the host name, do refer to the following link, i managed to my Veeam service started again.&#8221;<\/p>\n<p>What&#8230;.<\/p>\n<p>sure enough running the req query command and hostname showed I had indeed changed the hostname to something more suitable AFTER installation.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/qVs7D51.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/qVs7D51.png\" alt=\"\" width=\"491\" height=\"201\" \/><\/a><\/p>\n<p>Why they&#8217;d rely on a reg key vs a simply enviroment variable is really beyond me, cause the problem with using a reg key for this is pretty clear here&#8230;.<\/p>\n<p>So let&#8217;s try to fix this, thanks to the second guys reply by spacecrab:<\/p>\n<p>&#8220;I know this is an old post, but thank you for replying with this information. I installed Veeam Backup and Replication before changing the default generated hostname, and it was really throwing me through a loop. The fix noted at that url worked perfectly after I rebooted to reset the services. I&#8217;ll relay the content here in case that sources goes away.<\/p>\n<p>In my case I had renamed the computer from a default WIN234dfasd type name to a \u2018much\u2019 better alternative. Veeam refers to the local computer name in a couple of registry entries and promptly stopped working \u2013 which we didn\u2019t notice until later.<\/p>\n<p>The keys are:<\/p>\n<div class=\"codebox\">\n<pre><code>HKLM\\SOFTWARE\\Veeam\\Veeam Backup and Replication\\SqlServerName\r\nHKLM\\SOFTWARE\\Veeam\\Veeam Backup Catalog\\CatalogSharedFolderPath\r\n<\/code><\/pre>\n<\/div>\n<p>Backup of the site\u2019s Virtual Machines is now running again.&#8221;<\/p>\n<p>alright let&#8217;s update some keys to be Veeam&#8230;. I just used reg edit to do this vs figuring out the exact query (although I probably should figure out a query in-case other keys but meh&#8230;.<\/p>\n<p>and after a reboot&#8230; Woah! all the Veeam services are running, sure enough I can connect to my standalone Veeam Server! Wooo thanks Spacecrab!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Veeam Won&#8217;t Start Yeap, the one thing you don&#8217;t want can happen at the worst time. For me I was testing a hypervisor upgrade scenario, and my host sure enough failed to come up successfully. Well&#8230;. shit. While I was going crazy trying to bring my host back up (the stock ESXi images wasn&#8217;t good &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2019\/09\/25\/fixing-veeam-veeam-service-wont-start\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Fixing Veeam (Veeam Service won&#8217;t Start)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[8,236],"tags":[237,82],"class_list":["post-697","post","type-post","status-publish","format-standard","hentry","category-server-administration","category-veeam","tag-fix","tag-veeam"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=697"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/697\/revisions"}],"predecessor-version":[{"id":698,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/697\/revisions\/698"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}