{"id":2620,"date":"2004-06-26T06:32:56","date_gmt":"2004-06-26T20:32:56","guid":{"rendered":"http:\/\/michaelhans.com\/eclecticism\/2004\/06\/26\/server-issues\/"},"modified":"2019-12-10T15:09:52","modified_gmt":"2019-12-10T23:09:52","slug":"server-issues","status":"publish","type":"post","link":"https:\/\/michaelhans.com\/eclecticism\/2004\/06\/26\/server-issues\/","title":{"rendered":"Server issues"},"content":{"rendered":"<p>This doesn&#8217;t affect this particular site at all, but in case Dad or Kirsten check in, there seem to be issues with the djwudi.com\/hanscomfamily.com\/geekmuffin.com\/interalia.org server at the moment. Phil and I are trying to work on it and find out what the issue is &#8212; whatever it is, it popped up sometime during the night, when neither he nor I were doing anything with the machine. No current ETA on when we&#8217;ll be back up and running, though we&#8217;re trying to bring it back up as soon as possible.<\/p>\n<p>Update: Still down, still no ETA, and I need to get out of the house for a bit. I&#8217;ll get more info up when I can.<\/p>\n<p>This also means that any e-mail sent to my [\\@michaelhanscom.com]{.citation cites=&#8221;michaelhanscom.com&#8221;} address <em>will not<\/em> get to me at the moment. Please use one of my other e-mail addresses if you have one of them and need to get ahold of me.<\/p>\n<p>Just so I don&#8217;t lose track or forget about what we tried so far, a quick copy-and-paste of the work so far:<\/p>\n<blockquote><p>\n  Phil: el problemo, senor<\/p>\n<p>  Michael: what&#8217;s up?<\/p>\n<p>  Phil: i think something has run awry in my crontab<br \/>\n  Phil: and is chewing up way too many resources<br \/>\n  Phil: on the webserver.<\/p>\n<p>  Michael: aah, is that what&#8217;s going on<br \/>\n  Michael: i just had to restart it &#8211; it wasn&#8217;t responding to <em>anything<\/em> when I woke up, except pings<\/p>\n<p>  Phil: i suspect you&#8217;ll find tons of sa-learn processes<\/p>\n<p>  Michael: no ssh or httpd calls would answer<br \/>\n  Michael: is it down again now?<\/p>\n<p>  Phil: i got ssh to work verrrrrry slowly.<br \/>\n  Phil: No responses again now.<\/p>\n<p>  Michael: hrm<br \/>\n  Michael: well, yeah, something&#8217;s borked &#8211; the UI is frozen<br \/>\n  Michael: gonna restart it again<\/p>\n<p>  Phil: gah.<br \/>\n  Phil: let me know when you restart it, i&#8217;ll ssh in and nuke my crontab before anything launches.<\/p>\n<p>  Michael: k<br \/>\n  Michael: okay, login window is up<br \/>\n  Michael: give it a shot<\/p>\n<p>  Phil: i&#8217;m in<br \/>\n  Phil: gonna watch top and see what launches.<\/p>\n<p>  Michael: :nods<\/p>\n<p>  Phil: other than a lot of sendmail and procmail processes, nothing seems to be wigging out.<\/p>\n<p>  Michael: took out whatever it was that was having an issue? or it just doesn&#8217;t seem to be &#8220;issuing&#8221; right now?<\/p>\n<p>  Phil: i took out what i -think- was causing it. no idea if that was it or not.<br \/>\n  Phil: but i recall something similar happening last time i tried to make a cron job for sa-learn.<\/p>\n<p>  Michael: okay<br \/>\n  Michael: what&#8217;s sa-learn?<\/p>\n<p>  Phil: SpamAssassin&#8217;s Bayesian filter learning tool.<br \/>\n  Phil: It&#8217;s the &#8220;learn this now, dammit&#8221; tool.<\/p>\n<p>  Michael: ah, okay<\/p>\n<p>  Phil: i&#8217;m still getting some false negatives that it should&#8217;ve caught.<br \/>\n  Phil: um.<br \/>\n  Phil: i don&#8217;t think that was it. i&#8217;m not getting any responses on ssh again.<\/p>\n<p>  Michael: yeah &#8211; the UI&#8217;s frozen again<br \/>\n  Michael: wierd<\/p>\n<p>  Phil: goddamnit. what is going on?<br \/>\n  Phil: i know i haven&#8217;t actually changed anything&#8230;<\/p>\n<p>  Michael: maybe it&#8217;s the machine? (though I <em>hate<\/em> to suggest that)<br \/>\n  Michael: restarting again<\/p>\n<p>  Phil: well, we&#8217;ll see; i sincerely hope that&#8217;s not it.<\/p>\n<p>  Michael: you and me both<br \/>\n  Michael: (and kirsten and dad too, I&#8217;d bet)<\/p>\n<p>  Phil: is it acting funny? fans any louder than usual?<\/p>\n<p>  Michael: doesn&#8217;t seem to be<br \/>\n  Michael: i just sits in the corner and hums happily to itself (shrugs)<br \/>\n  Michael: as opposed to Marvin, who sits in the corner and hums dismally to himself<\/p>\n<p>  Phil: no, i&#8217;d wager something is getting overloaded.<br \/>\n  Phil: i don&#8217;t know what, though. hmmmm.<\/p>\n<p>  Michael: could I be getting hit by an attack of some sort, I wonder?<\/p>\n<p>  Phil: hmmm.<\/p>\n<p>  Michael: god&#95;damn&#95; that thing takes a while to start up&#8230;lol<\/p>\n<p>  Phil: there&#8217;s a way to test that.<\/p>\n<p>  Michael: it&#8217;d have to be a pretty good attack to completely lock it up, though<\/p>\n<p>  Phil: during the brief time i can get on i&#8217;ll try to install snort.<\/p>\n<p>  Michael: it&#8217;s up<\/p>\n<p>  Phil: can&#8217;t get it to respond to ssh even now.<\/p>\n<p>  Michael: huh<\/p>\n<p>  Phil: n\/m<br \/>\n  Phil: there we go<\/p>\n<p>  Michael: okay<\/p>\n<p>  Phil: sshd probably wasn&#8217;t up yet<\/p>\n<p>  Michael: i&#8217;m logged in, have top -u 15 running in a term window<\/p>\n<p>  Phil: should see a wget process.<\/p>\n<p>  Michael: if it locks up, hopefully it&#8217;ll give me an idea of what the issue might be (maybe)<\/p>\n<p>  Phil: hopefully.<\/p>\n<p>  Michael: right now it&#8217;s mostly just top at the top of top (whee)<br \/>\n  Michael: i&#8217;ve seen ssh, gzip, and tar pop up occasionally, but the drop right back down again<\/p>\n<p>  Phil: those were me.<\/p>\n<p>  Michael: i&#8217;ve got my eye on you, young man&#8230;lol<br \/>\n  Michael: imapd just hit thetop &#8211; bouncing between 10 and 25%<\/p>\n<p>  Phil: probably mail trying to connect.<\/p>\n<p>  Michael: and&#8230;freeze<br \/>\n  Michael: dammit<br \/>\n  Michael: the last thing at the top was just imapd at only 10%<\/p>\n<p>  Phil: yeah, i noticed. hmm.<br \/>\n  Phil: i&#8217;m going to nuke my entire crontab. nothing should be launching, but that doesn&#8217;t mean nothing is.<\/p>\n<p>  Michael: i&#8217;m pretty sure mine&#8217;s empty&#8230;very sure, in fact<br \/>\n  Michael: okies, restarting<\/p>\n<p>  Phil: and \/etc\/crontab just has system stuff in it.<\/p>\n<p>  Michael: back up<\/p>\n<p>  Phil: yep. i&#8217;m in.<br \/>\n  Phil: ah HA<br \/>\n  Phil: apache2 is starting.<\/p>\n<p>  Michael: ?<br \/>\n  Michael: i was about to run a permissions check\/repair, just for grins and giggles&#8230;<br \/>\n  Michael: oh, wait<\/p>\n<p>  Phil: if you still want to, go for it<\/p>\n<p>  Michael: apache2?<br \/>\n  Michael: didn&#8217;t you kill that?<\/p>\n<p>  Phil: yes.<br \/>\n  Phil: precisely my point. i thought i did too.<\/p>\n<p>  Michael: hmm<br \/>\n  Michael: i wonder why it&#8217;s starting&#8230;and why it hasn&#8217;t been a problem until now<br \/>\n  Michael: wow<\/p>\n<p>  Phil: OK, I need to go find the startup item for apache2 and slay it.<\/p>\n<p>  Michael: it&#8217;s fixing a <em>lot<\/em> of permissions<\/p>\n<p>  Phil: oh man, wait<br \/>\n  Phil: that was NOT a good idea.<\/p>\n<p>  Michael: uhoh<\/p>\n<p>  Phil: any custom permissions I had set on my website are gonna be borked<\/p>\n<p>  Michael: oh shit<\/p>\n<p>  Phil: well, we&#8217;ll find out soon enough.<\/p>\n<p>  Michael: it seemed to be doing a lot in the \/System\/Library\/Perl\/ directory<br \/>\n  Michael: trying to stop it now<br \/>\n  Michael: spinning rainbow cursor at the moment<\/p>\n<p>  Phil: frozen again<br \/>\n  Phil: from CL too<br \/>\n  Phil: so apparently apache2 is not the problem, but it is a problem.<\/p>\n<p>  Michael: grrr<br \/>\n  Michael: hmmm &#8211; the UI isn&#8217;t <em>completely<\/em> frozen<br \/>\n  Michael: if I move the mouse, the cursor will jump to another point on the screen after a few seconds<br \/>\n  Michael: still, it&#8217;s quite unuseable<\/p>\n<p>  Phil: probably the permissions check is taking a lot of cpu time.<\/p>\n<p>  Michael: gonna reboot again<br \/>\n  Michael: christ, this is annoying&#8230;lol<\/p>\n<p>  Phil: tell me about it.<br \/>\n  Phil: i want my email!<\/p>\n<p>  Michael: lol<br \/>\n  Michael: if all else fails, there&#8217;s always the possibility of a reinstall<br \/>\n  Michael: which, admittedly, could suck<br \/>\n  Michael: system install, getting MT up and running again, making sure the websites don&#8217;t break, etc. etc., yadda yadda<\/p>\n<p>  Phil: Do an archive &amp; install, then.<br \/>\n  Phil: (If you have the disk space.)<\/p>\n<p>  Michael: :nods definitely<br \/>\n  Michael: i do, there&#8217;s still gigs free<br \/>\n  Michael: not the way I was planning on spending my saturday, though<\/p>\n<p>  Phil: nor I.<\/p>\n<p>  Michael: if I do have to do that&#8230;think it&#8217;s worth putting panther on, rather than jaguar?<br \/>\n  Michael: i&#8217;d have to figure out the new mail system (postfix instead of sendmail, right?)<br \/>\n  Michael: hm<\/p>\n<p>  Phil: if only for the fact that you&#8217;d have to configure postfix, i&#8217;m gonna say no<\/p>\n<p>  Michael: ah<br \/>\n  Michael: okay<br \/>\n  Michael: yeah &#8211; &#8220;starting apache 2 web server&#8221; is part of the startup window messages<br \/>\n  Michael: and, we&#8217;re up again<br \/>\n  Michael: holy shit &#8211; we&#8217;re locked up again<br \/>\n  Michael: okay, the fact that that&#8217;s getting faster does not bode well<\/p>\n<p>  Phil: i noticed.<\/p>\n<p>  Michael: goddammit<br \/>\n  Michael: y&#8217;know, if it was cloudy, i might not mind as much, but it&#8217;s a gorgeous day out there&#8230;lol<br \/>\n  Michael: up<br \/>\n  Michael: according to the apache2 control panel, it&#8217;s not running<br \/>\n  Michael: even though the startup message was in the startup routine<\/p>\n<p>  Phil: ridiculous.<\/p>\n<p>  Michael: fuck &#8211; locked up<br \/>\n  Michael: well, locking up<br \/>\n  Michael: in the process<br \/>\n  Michael: tried to load the sharing control panel<br \/>\n  Michael: spinning rainbow cursor of death<\/p>\n<p>  Phil: this is bloody odd.<br \/>\n  Phil: something has gone horribly wrong between yesterday afternoon and today.<br \/>\n  Phil: i haven&#8217;t been around to do anything.<\/p>\n<p>  Michael: and i haven&#8217;t touched it<\/p>\n<p>  Phil: when it starts up, go to the apple menu, check about this mac, and see if anything on the amount of RAM or CPU speed looks unusual.<\/p>\n<p>  Michael: up<br \/>\n  Michael: 640Mb ram&#8230;trying to remember if that&#8217;s right<\/p>\n<p>  Phil: yes.<\/p>\n<p>  Michael: yeah, that&#8217;s right<\/p>\n<p>  Phil: maxed out for this architecture<\/p>\n<p>  Michael: lol<br \/>\n  Michael: brainless<br \/>\n  Michael: hm<br \/>\n  Michael: console log has some conflicts listed<\/p>\n<p>  Phil: do tell.<\/p>\n<p>  Michael: login window could not find image named &#8216;bang&#8217;<\/p>\n<p>  Phil: &#8230;.?<\/p>\n<p>  Michael: :shrugs<br \/>\n  Michael: some startup items failed to launch due to conflicts<br \/>\n  Michael: dammit&#8230;do I have ichat on that machine? lol<\/p>\n<p>  Phil: probably.<\/p>\n<p>  Michael: fuck, not that it matters<br \/>\n  Michael: i&#8217;m losing the UI again<br \/>\n  Michael: it just keeps slogging down, slower and slower<br \/>\n  Michael: until it doesn&#8217;t respond<\/p>\n<p>  Phil: i noticed&#8230;. so weird.<br \/>\n  Phil: incidentally, the apache2 item should now start apache<\/p>\n<p>  Michael: lol okay<br \/>\n  Michael: it&#8217;s working, it&#8217;s just responding like XP installed on a 286<br \/>\n  Michael: making glaciers look positively snappy, in other words<br \/>\n  Michael: i don&#8217;t get it<br \/>\n  Michael: okay &#8211; restarting it, but i&#8217;ve unplugged it from the network<br \/>\n  Michael: going to see if that makes a difference at all (though I&#8217;m not sure why it would)<\/p>\n<p>  Phil: we&#8217;ll find out.<br \/>\n  Phil: if that does it, you&#8217;re getting DOS&#8217;ed.<\/p>\n<p>  Michael: not thinking it&#8217;s a DOS or a hack or anything, simply because it&#8217;s behind my firewall, so huge amounts of traffic on my line should affect my connectivity\/speed on this &#8216;puter, too<\/p>\n<p>  Phil: not if they specifically attacked the webserver by IP address or name.<br \/>\n  Phil: well, some slowness, maybe.<br \/>\n  Phil: but the webserver would see the majority of it.<br \/>\n  Phil: &#8230;your windows box isn&#8217;t on the network, is it?<\/p>\n<p>  Michael: nope<br \/>\n  Michael: well, yes, but it&#8217;s off<br \/>\n  Michael: and on the few times I start it up, the first thing I do is apply any recent security updates<br \/>\n  Michael: it&#8217;s as up to date as it can be without doing a daily security update check<br \/>\n  Michael: okay, this isn&#8217;t good<\/p>\n<p>  Phil: eh, if it&#8217;s off, it doesn&#8217;t concern us.<br \/>\n  Phil: what?<\/p>\n<p>  Michael: the box doesn&#8217;t seem to be restarting<\/p>\n<p>  Phil: &#8230;<\/p>\n<p>  Michael: i&#8217;m going to unplug it and let it sit for a few minutes<\/p>\n<p>  Phil: well, that&#8217;s not good.<\/p>\n<p>  Michael: given that this started happening when neither of us were doing anything on the box, and the fact that it seems to be a gradual thing &#8211; works fine for a bit, then gradually gets slower &#8211; and that it seems to be happening sooner on each reboot, and that it doesn&#8217;t want to reboot now&#8230;<br \/>\n  Michael: i&#8217;m really starting to worry that it&#8217;s a hardware issue<\/p>\n<p>  Phil: that&#8217;s not good.<\/p>\n<p>  Michael: which, realistically, is a possibility &#8211; this little G3 was used when I got it, and it&#8217;s been running as a server 24\/7 for, oh, probably around four or five years now<br \/>\n  Michael: the three years since i&#8217;ve been in seattle, plus a year or two in anchorage<br \/>\n  Michael: it would <em>suck<\/em> if that&#8217;s the case, though<br \/>\n  Michael: i don&#8217;t have the funds for a replacement<br \/>\n  Michael: and i could move things onto the G5, but i&#8217;ve liked having a server separate from my work machine<\/p>\n<p>  Phil: Yeah, I can definitely understand that&#8230; I was gonna ask about that.<\/p>\n<p>  Michael: it&#8217;s an option, though, should the g3 not come back<\/p>\n<p>  Phil: Do you still have the hardware diagnostic CD somewhere for the g3?<\/p>\n<p>  Michael: i don&#8217;t think I ever had one<\/p>\n<p>  Phil: must be a new thing.<\/p>\n<p>  Michael: :nods<br \/>\n  Michael: either that, or I just didn&#8217;t get it with the machine<\/p>\n<p>  Phil: well, we have an hour and twelve minutes to figure something out.<\/p>\n<p>  Michael: 1:12? lol<\/p>\n<p>  Phil: I&#8217;m going out to the Irish festival at that point.<\/p>\n<p>  Michael: aah<br \/>\n  Michael: yeah, I want to get out of the house at some point<br \/>\n  Michael: shame to waste a perfectly good kilt day<\/p>\n<p>  Phil: amen. if I had a utilikilt i&#8217;d wear it today.<\/p>\n<p>  Michael: you should do it, man<\/p>\n<p>  Michael: not that you&#8217;d have it today, but still<\/p>\n<p>  Phil: yeah, i know. well, hey, my birthday&#8217;s coming up in a few months&#8230; we&#8217;ll see<\/p>\n<p>  Michael: excellent<br \/>\n  Michael: okay, booting<\/p>\n<p>  Phil: OK, it freezes up, you need to restart in single-user mode and run fsck to see if there are disk errors.<br \/>\n  Phil: http:\/\/www.macosxhints.com\/article.php?story=2004011205473937&amp;query=fsck<\/p>\n<p>  Michael: and I do that&#8230;how, again? lol<\/p>\n<p>  Phil: click the link<\/p>\n<p>  Michael: I did<br \/>\n  Michael: The specific sequence of how to do this varies depending on what version of OS X you&#8217;re running. Go to Apple Support for specific instuctions.<\/p>\n<p>  Phil: it&#8217;s still detached from the network, right?<\/p>\n<p>  Michael: yeah<\/p>\n<p>  Phil: OK, let me find something that doesn&#8217;t suck i just noticed &#8220;check\/fix the filesystem&#8221;<\/p>\n<p>  Michael: lol<\/p>\n<p>  Phil: i think you need to hold down S while booting.<\/p>\n<p>  Michael: gaaa&#8230;doesn&#8217;t seem to be booting<br \/>\n  Michael: got the startup chime, nothing else<\/p>\n<p>  Phil: oh, maaaaan. that&#8217;s not good.<br \/>\n  Phil: actually, though.<br \/>\n  Phil: that might be a sign of a disk error caused by the forced reboots.<br \/>\n  Phil: we had the exact same thing happen with a G4 at work.<\/p>\n<p>  Michael: :nods it got in last time, and I did a manual (correct) restart<\/p>\n<p>  Phil: iMovie froze, the finder crashed and wouldn&#8217;t restart, and everything rainbowed.<br \/>\n  Phil: I&#8217;m going to suggest an archive and install.<\/p>\n<p>  Michael: :nods that&#8217;s what i&#8217;m thinking (grr)<br \/>\n  Michael: i&#8217;ll deal with that later, though<\/p>\n<p>  Phil: just remember to hold down C as you turn it on with the jaguar disk in the driver (or panther; if you want, i can look up postfix guides while you wait)<br \/>\n  Phil: k<\/p>\n<p>  Michael: right now&#8230;i&#8217;m a little annoyed, hungry, and want outside lol<br \/>\n  Michael: i may do panther&#8230;it&#8217;s got enough under-the-hood upgrades that it might be a good idea<br \/>\n  Michael: just take a little poking around to get postfix up<\/p>\n<p>  Phil: and really, from what i recall, setting up postfix wasn&#8217;t hard at all.<br \/>\n  Phil: i did it at WWDC the day i installed panther.<\/p>\n<p>  Michael: as long as the websites survive, i&#8217;ll be satisfied<\/p>\n<p>  Phil: i think the config files made more sense to human beings<\/p>\n<p>  Michael: that&#8217;s my big worry, really<br \/>\n  Michael: i&#8217;d hate to end up nuking everyone&#8217;s sites (again)<\/p>\n<p>  Phil: i do too. y&#8217;know, if all else fails, stick the HD into the G5. I assume it has an expansion slot for a second HD.<\/p>\n<p>  Michael: yeah, but I can&#8217;t just drop the drive in<br \/>\n  Michael: different drive specs<br \/>\n  Michael: serial ATA on the G5<\/p>\n<p>  Phil: oh, fuck, that&#8217;s right. dammit.<\/p>\n<p>  Michael: i&#8217;d need to drop the old drive(s) into ATA cases<\/p>\n<p>  Phil: if nothing else, even if the machine won&#8217;t boot, our data is still there.<\/p>\n<p>  Michael: yeah<\/p>\n<p>  Phil: you&#8217;re good, webmaster. go get food and sunshine; i&#8217;ll be doing the same myself shortly.<\/p>\n<p>  Michael: fuck &#8211; and i&#8217;m using michaelhanscom.com for most of my e-mail right now, too&#8230;lol<br \/>\n  Michael: argh<br \/>\n  Michael: ah, well<br \/>\n  Michael: it&#8217;ll wait for a day<br \/>\n  Michael: or a few hours, or whatever<br \/>\n  Michael: anyway&#8230;i&#8217;m wandering &#8211; enjoy the irishfest<\/p>\n<p>  Phil: will do. later man\n<\/p><\/blockquote>\n<p>Update: Everything&#8217;s back up again. Phil tracked it down to a cron job that had piled a few thousand e-mail messages into his inbox, which caused everything to choke. Inbox is empty, cron is smacked back into submission, and all&#8217;s well that ends well.<\/p>\n<p><strong>iTunes:<\/strong> &#8220;Three Wishes&#8221; by Waters, Roger from the album <em>Amused to Death<\/em> (1992, 6:50).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In case Dad or Kirsten check in, there seem to be issues with the djwudi.com\/hanscomfamily.com\/geekmuffin.com\/interalia.org server at the moment.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2040],"tags":[25],"class_list":["post-2620","post","type-post","status-publish","format-standard","hentry","category-blog","tag-website"],"_links":{"self":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/2620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/comments?post=2620"}],"version-history":[{"count":0,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/2620\/revisions"}],"wp:attachment":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/media?parent=2620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/categories?post=2620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/tags?post=2620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}