{"id":257,"date":"2020-09-06T11:01:37","date_gmt":"2020-09-06T15:01:37","guid":{"rendered":"http:\/\/blog.raucousatthecaucus.net\/?p=257"},"modified":"2020-09-06T11:01:37","modified_gmt":"2020-09-06T15:01:37","slug":"website-downtime","status":"publish","type":"post","link":"https:\/\/blog.raucousatthecaucus.net\/index.php\/2020\/09\/06\/website-downtime\/","title":{"rendered":"Website Downtime"},"content":{"rendered":"\n<p>On Thursday afternoon, I updated the server hypervisor and restarted it to apply a new kernel update. When it booted up, I couldn&#8217;t get to this blog or a couple other web services I run for some reason.<\/p>\n\n\n\n<p>All but one of the broken services used the same virtual network bridge, so I tried switching to a different bridge with no change. I also tired unplugging and replugging the ethernet cable from corresponding port on the network card. The made no difference either.<\/p>\n\n\n\n<p>I took a look at my reverse proxy settings on my router. It appeared that my problem was HAProxy because changing HAProxy settings made some difference. When I disabled the health checking in HAProxy, the sites would load, but very slowly. I thought maybe the router needed to be restarted, so I did that. Unsurprisingly, that made no difference either.<\/p>\n\n\n\n<p>I figured the slow page loading had something to do with the Apache server having a messed up configuration or an incorrect module activated, even though I didn&#8217;t change any settings earlier. All the config files looked correct, and all the right modules were loaded. I looked a resource usage and noticed very low ram usage during page loads compared to working services. I tried updating the virtual machines, but that didn&#8217;t do anything.<\/p>\n\n\n\n<p>Then I tried updating the working services to see if they&#8217;d break. That made no difference (probably a good thing). Finally I tried updating my database server. It couldn&#8217;t reach its update server or ping anything. Finally, a problem that could be solved. The DNS server setting was incorrect. I set up a Pi-Hole for my server subnet and I must have changed the DNS server setting in <code>\/etc\/resolv.conf<\/code>. Ubuntu uses <code>\/etc\/netplan<\/code> to set DNS servers, and I was unaware of that. I corrected the DNS server setting and everything was back to normal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Thursday afternoon, I updated the server hypervisor and restarted it to apply a new kernel update. When it booted up, I couldn&#8217;t get to this blog or a couple other web services I run for some reason. All but one of the broken services used the same virtual network bridge, so I tried switching &hellip; <a href=\"https:\/\/blog.raucousatthecaucus.net\/index.php\/2020\/09\/06\/website-downtime\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Website Downtime&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-257","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/comments?post=257"}],"version-history":[{"count":0,"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.raucousatthecaucus.net\/index.php\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}