{"id":6357,"date":"2024-02-12T10:58:53","date_gmt":"2024-02-12T10:58:53","guid":{"rendered":"https:\/\/really.zonky.org\/?p=6357"},"modified":"2024-02-12T10:58:55","modified_gmt":"2024-02-12T10:58:55","slug":"a-tale-of-misdiagnosis","status":"publish","type":"post","link":"https:\/\/really.zonky.org\/?p=6357","title":{"rendered":"A Tale of Misdiagnosis"},"content":{"rendered":"\n<p>So two days ago, I upgraded my main workstation to Ubuntu 23.10; a few little issues (mostly related to my own scripts), but nothing serious. Yet.<\/p>\n\n\n\n<p>On the following day, my smart TV box started misbehaving. It couldn&#8217;t see any of the videos NFS mounted from my workstation, ITVX threw up a website error (this should have been a clue), but Youtube worked fine (which showed that the network was working fine).<\/p>\n\n\n\n<p>So I did the obvious thing and started checking the NFS parameters to see if anything had changed. Nothing definite but on the way I noticed that the TV box wasn&#8217;t getting an IPv4 address from the dhcp server; IPv6 was working fine but some services don&#8217;t work on an IPv6 network.<\/p>\n\n\n\n<p>I foolishly assumed that the TV box had stopped requesting addresses via dhcp &#8211; backed by the dhcp logs which showed no requests had been logged since the previous day. Set a static address, and everything sprang into life (except for ITVX who seem to have decided that only approved TV boxes should be allowed to run their code).<\/p>\n\n\n\n<p>Later that same day, I upgraded a switch which failed to come back (&#8220;Failed to adopt&#8221;) which caused a daisy-chained wireless access point to disappear (&#8220;Failed to adopt&#8221;). And then a little while later, a second unconnected wireless access point also disappeared.<\/p>\n\n\n\n<p>After a few reboots of the switch (and access points), I finally checked the dhcp server and found that its root filesystem had become &#8216;read-only&#8217;. But that wasn&#8217;t the end of the misdiagnosis &#8230;<\/p>\n\n\n\n<p>I assumed that the SD card in my dhcp server (a tiny ARM box) was fried, so made arrangements to backup the contents, buy a couple of replacements, and try a spare (which <em>was<\/em> broken). After the spare turned out to be broken, I ran <em>fsck<\/em> on the root filesystem of the original and a whole bunch of errors were fixed.<\/p>\n\n\n\n<p>Re-installed into the ARM box, and everything sprang to life again.<\/p>\n\n\n\n<p>I guess the moral of the story is that you should check the basic services before diving into making assumptions. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"695\" height=\"521\" src=\"https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/2020-07-18-upended-cannon.jpeg?resize=695%2C521&#038;ssl=1\" alt=\"\" class=\"wp-image-5828\" srcset=\"https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/2020-07-18-upended-cannon.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/2020-07-18-upended-cannon.jpeg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/2020-07-18-upended-cannon.jpeg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/2020-07-18-upended-cannon.jpeg?resize=1536%2C1151&amp;ssl=1 1536w, https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/2020-07-18-upended-cannon.jpeg?resize=2048%2C1535&amp;ssl=1 2048w, https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/2020-07-18-upended-cannon.jpeg?w=1390&amp;ssl=1 1390w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><figcaption class=\"wp-element-caption\">Upended Cannon<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>So two days ago, I upgraded my main workstation to Ubuntu 23.10; a few little issues (mostly related to my own scripts), but nothing serious. Yet. On the following day, my smart TV box started misbehaving. It couldn&#8217;t see any of the videos NFS mounted from my workstation, ITVX threw up a website error (this <a href='https:\/\/really.zonky.org\/?p=6357' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[4,226],"tags":[2202,2204,2203,2205],"class_list":["post-6357","post","type-post","status-publish","format-standard","hentry","category-it","category-working-notes","tag-dhcp","tag-diagnosis","tag-faults","tag-nfs","category-4-id","category-226-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"share_on_mastodon":{"url":"https:\/\/mstdn.social\/@grumpygrimnir\/111918155956696118","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1f2KI-1Ex","_links":{"self":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/6357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6357"}],"version-history":[{"count":1,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/6357\/revisions"}],"predecessor-version":[{"id":6358,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/6357\/revisions\/6358"}],"wp:attachment":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}