• Fun with Amazon.com
    • Ganglioneuroma: Rarest and most benign
    • It's done
    • Fun with Yelp...
    • That's no moon...
    • Online classes
    • Insert your getting stoned joke here
    • The new Gmail look and feel...
    • Garmin 60Csx vs Oregon 450
    • Our 2011 Apple Harvest
    • Expense report
    • Hard Drive Destruction
    • It's the small things...
    • Random passwords
    • Cherry Dutch Baby
    • The paperless office needs a paperless toilet
    • Cilantro-pistachio pesto pesto, rice and beans
    • My first iPhone hide
    • Yeast Waffles
    • Seiko battery replacement
    • Nikon D40 won't power up
    • Mapnificent
    • Geocache Queries
    • iPhone 4 travel map
    • I'm Here To Put You Back On Schedule
    • Disruptive technologies
    • Fraud alert
    • Cleaning between the door glass of a Frigidaire oven
    • Snap, Crackle and Pop
    • Dolphin Kick
    Zucchini Bread Yellowjacket followup

    A little knowledge is a dangerous thing

    By jim On 29 July 2004 · 1 Comment · In Cool Geek Tricks

    When someone posts a comment to my blog, up to six hundred gifted monkeys put down their work on NaNoWriMoFoMo to scan the comment for bad html and verify the correct security code. If it passes muster, they store the comment in a relational database. Next, smoke is wafted and mirrors are carefully placed as the site updates itself.


    The monkeys have learned that old content is preferable to no content. They try to create a temporary page. If that’s successful, they’ll move it onto the old copy. If not, they’ll send me a terse comment.

    Two days ago, something went wrong and the Apache server on my shared hosting system was running as a different effective userid. In layperson terms, temporary pages couldn’t be created. The monkeys became very agitated. In their chattering frenzy, they forgot to let me know that the site was broken. A neighbor heard cacophony and wrote me to complain about the noise let me know something was broken.


    I logged a trouble ticket with my ISP. Ten minutes later, I became impatient and made the web directory world-writable. The site worked again and the monkeys went back to work.



    The Apache problem was fixed very early yesterday morning. I needed to do some editing of a previous feature and was chagrined that the web server was broken in a new and exciting way: every script was throwing exceptions when invoked from a browser. I logged a ticket, and tried to diagnose by looking at the log files. They were useless:

    [Wed Jul 28 12:34:56 2004] [error] [client xxx.yyy.zzz.pdq] Premature end of script headers: /time/to/clean/the/guns.cgi

    The monkeys refused to write more content until this was fixed. “Artistic license!” they said. “Sunny day to play outside?” I retorted.



    I logged another trouble ticket. A few hours later, I logged a second one with some new information. Someone called me yesterday evening, thinking this was related to the first problem and hoping for a quick close. (When I worked at Oracle, we used to do the same thing. And call east coast customers after 4pm PST.) When it wasn’t that, he tried to help. Expecting that he’d want to blame my scripts, I had created a “hello, world” that should work anywhere. He gave it a good try, but couldn’t figure it out and left it in the queue.


    By this morning, I was a bit frantic. I logged yet another trouble ticket, indicating my frantic(k)ness then, taking a cue from the monkeys, went biking. Someone called me back and knew that the problem was the permissions on the scripts directory. One Unix command later, the site was copacetic.



    If I had left things alone, my site would have been down only one day instead of two.
     

    • Share:
    Share →
    Tweet

    One Response to A little knowledge is a dangerous thing

    1. susan dennis says:
      30 July 2004 at 11:11

      yeahbutt the entry wouldn’t have been as much fun…

      ok, monkeys? are ya ready??? one, two, three GO!

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    *

    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    • Recent Posts

      • Fun with Amazon.com
      • Ganglioneuroma: Rarest and most benign
      • It’s done
      • Fun with Yelp…
      • That’s no moon…
      • Online classes
      • Insert your getting stoned joke here
      • The new Gmail look and feel…
      • Garmin 60Csx vs Oregon 450
      • Our 2011 Apple Harvest
      • Expense report
      • Hard Drive Destruction
      • It’s the small things…
      • Random passwords
      • Cherry Dutch Baby
    • Recent Comments

      • Fun with Amazon.com
        • Kiri: The TWM Raven-parody is priceless. Thanks for sharing all these weird and funky...
      • It’s done
        • Kiri: I was fascinated to get this gown’s-eye-vie w of the hospital and surgery...
        • jim: Thanks, you all. I am feeling much better. @John – When I knew the surgery...
      • Cleaning between the door glass of a Frigidaire oven
        • Lisa Bishop: Thanks so much! This was a great help in cleaning our oven door after a...
        • Tracey: Thanks for your post on how to clean between the door. I can’t stand...
        • Krys: Thanks for the awesome post. Lo and behold found out my door comes out…...
        • winniekate: OK. I’ve got a Kenmore 790 3 ys ago. Got the same drip in my glass...
        • Kate: I say that to my 30-year-old fiance on a fairly regular basis as well. ;)
      • Ganglioneuroma: Rarest and most benign
        • jim: Thanks, guys. @Phil – I am looking forward to our next hike! @John –...
    • Twits

      • Test system: test away. Production system: don't fuck with it during business hours. What is so difficult about this concept? about 2 hours ago ReplyRetweetFavorite
      • @sbrisko kk000ll!!!!!!1111!!1! I can't decide if I want to call it "The Vault" or "Flagship Frodo." 09:34:31 PM February 07, 2012 in reply to sbrisko ReplyRetweetFavorite
      • Writing a letter to cancel a credit card is so much more efficient than calling and having to deal with the retention department. 01:43:45 AM February 07, 2012 ReplyRetweetFavorite
      • @doomnibbler Sounds promising, but needs a #handie hashtag. 12:44:56 AM February 06, 2012 in reply to doomnibbler ReplyRetweetFavorite
      • RT @mightyrosebud: Just read a list of "100 things to do before you die". I'm surprised "yell for help" wasn't one of them." 01:54:18 AM January 30, 2012 ReplyRetweetFavorite
      @jim_carson
    Test system: test away. Production system: don't fuck with it during business hours. What is so difficult about this concept?  — jim_carson
    loading Cancel
    Post was not sent - check your email addresses!
    Email check failed, please try again
    Sorry, your blog cannot share posts by email.