{"id":12999,"date":"2023-11-21T23:31:42","date_gmt":"2023-11-22T06:31:42","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=12999"},"modified":"2023-11-21T23:31:42","modified_gmt":"2023-11-22T06:31:42","slug":"self-inflicted-non-disaster","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=12999","title":{"rendered":"Self Inflicted Non Disaster"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">So last night I decided to patch my LDAP servers, big mistake, these two XKCD cartoons really define what happened<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/imgs.xkcd.com\/comics\/success.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/imgs.xkcd.com\/comics\/fixing_problems.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So it was supposed to be a quick patch, because I was already at R9.3<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But ldap didn&#8217;t start, and I decided to do all three without validation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nagios alerted me to failed LDAP<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When I booted it up there was this message in the logs<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">You have upgraded your openldap-servers package. There are actions that need to be performed. Please, read the \/usr\/share\/openldap-servers\/UPGRADE_INSTRUCTIONS file<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I tried various things, restore ldap database, no go.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instructions were unclear.  But I found a site that said to use rpm to erase then reinstall with dnf. <a href=\"https:\/\/www.melberi.com\/linuxadmin\/ldap\/ldap-not-starting\" data-type=\"link\" data-id=\"https:\/\/www.melberi.com\/linuxadmin\/ldap\/ldap-not-starting\">https:\/\/www.melberi.com\/linuxadmin\/ldap\/ldap-not-starting<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I did that and got it to restart, but I could not log via one of the clients.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unbeknownst to me, the client was using an old cert.  So it was throwing TLS errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I tried a new machine and it worked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Slept late so I am tired.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Weight: 346.2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So last night I decided to patch my LDAP servers, big mistake, these two XKCD cartoons really define what happened So it was supposed to be a quick patch, because I was already at R9.3 But ldap didn&#8217;t start, and &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=12999\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3,12,9],"tags":[],"class_list":["post-12999","post","type-post","status-publish","format-standard","hentry","category-technical","category-training","category-virtualization","category-weighin"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12999"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12999\/revisions"}],"predecessor-version":[{"id":13000,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12999\/revisions\/13000"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}