Slashdot Mirror


What is the Worst Tech Mistake You Ever Made?

CraigEagle asks: "Mistakes are made every day. The more technical knowledge you have the bigger your mistakes can be. What is the biggest technology related mistake you have ever made?"

"In the interest of full disclosure, this is mine:

I was working at a Fortune 50 bank as a consultant. I was due to go on vacation for a week and the company did not have webmail. I decided that I would try forwarding emails to my corporate account. (I know this was a bad idea, and probably against several corporate policies.) I set it up so that any email that came in would forward to my consulting company's account. My mistake was I also left Delivery Receipt on. This was not Microsoft, it was Lotus Notes. The system began forwarding the incoming mail to my account. But then it would get a Delivery Receipt, which in turn would be forwarded to my account, which would generate another delivery receipt, ad infinitum. When I got back from vacation they claimed I had brought down the email system for 4 hours. This incident caused the bank to stop allowing consultants to set up email rules. What's your story?"

503 comments

  1. A long time ago by MacBrave · · Score: 1

    During my IBM mainframe, COBOL, VSAM, CICS days at a large midwestern bank, I crashed the entire CICS online system for about a day because of a screw up when allocating memory within the CICS region.

    About 300 branches were not happy.....

    1. Re:A long time ago by Anonymous Coward · · Score: 1, Interesting

      A long time ago I was working in an HP minicomputer shop. I had taken to reading the equivalent of "man" pages for nbspool and mpex, as those were the most powerful apps for the system at the time.

      We had a nightly schedule of doing tape (round-reel, no less) backups of all client databases and partial backups as well (modified files since last partial backup) before starting nightly batch processing. To accomplish this, we had to kick all the users off the system, one at a time manually. Well since I was Mr. Hot Shot and had been reading the man pages online, I had come across a new command and figured to give it a try.

      This is where the problem started. These machines were from the 70's and 80's mostly, and this new command - Ctrl-A Logoff, apparently wasn't tested. Plus I was doing this without authorization. To make a long story short - yep, everybody got logged off the system all right - including me, the Operator. I couldn't get back on!

      I started getting panicky. Ctrl-A Logon was supposed to allow logins again. But apparently there was a bug in the OS, and the system was apparently frozen.

      Ended up having to call my manager and IPL the system, delaying processing by about 2 hours IIRC. My manager was pretty cool for the most part, but she made it clear that things like this should Never Happen Again. I was in danger of being fired over that one.

      Ah, those were the good old days. I still have dreams about them sometimes. We did _everything_ manually - checking in tapes, hanging them up in the library, starting jobs, tracking everything (start times, end times, backed up, printed) on paper -and- entering tape info in the computer database, as well as our own printing - but it was good times, good times.

      Bobby, Art, Debbie - anybody from the old HP Data Center that might be reading this - I miss yaz. ...posting AC for obvious reasons

    2. Re:A long time ago by Directrix1 · · Score: 1

      Yesterday, I read slashdot at work. Big mistake.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
  2. One time... by PeekabooCaribou · · Score: 5, Funny

    I launched SkyNet, right before my daughter and future husband rushed in to warn me. Boy was my face red!

    --
    "I'll say it again for the logic-impaired." -- Larry Wall.
    1. Re:One time... by Anonymous Coward · · Score: 0

      Dammit! I just blew all my moderator points. I owe you for Faygo Redpop coming out my nose. :)

    2. Re:One time... by Interruach · · Score: 2, Funny

      I'll bet you were surprised you had a future husband, what with already having a daughter and all.

    3. Re:One time... by Anonymous Coward · · Score: 0

      What the hell is SkyNet?

    4. Re:One time... by HyperbolicParabaloid · · Score: 1

      I can tell this is really funny... but I don't get it.

      --


      -------------------------
      A person of moderate zeal
    5. Re:One time... by Anonymous Coward · · Score: 0

      SkyNey, from Terminator 2.

    6. Re:One time... by HyperbolicParabaloid · · Score: 2, Funny

      no, what's REALLY freaky is that her daughter WAS her future husband!!

      --


      -------------------------
      A person of moderate zeal
    7. Re:One time... by forged · · Score: 2, Informative

      Robert Brewster (the character) in T3

    8. Re:One time... by HyperbolicParabaloid · · Score: 2, Funny

      ... ah, now I get it. That really IS funny!!

      --


      -------------------------
      A person of moderate zeal
    9. Re:One time... by Tackhead · · Score: 2, Funny
      > > I launched SkyNet, right before my daughter and future husband rushed in to warn me. Boy was my face red!
      >
      >I'll bet you were surprised you had a future husband, what with already having a daughter and all.

      "I would like dedicate this book to my parents, God and Ayn Rand."

      Best argument for the serial comma ever.

    10. Re:One time... by Zapraki · · Score: 0, Redundant

      rofl, very nice.

    11. Re:One time... by Dr.+Photo · · Score: 1

      That's gonna be one messed up kid.

      "No, sweetie, Daddy didn't leave; he just doesn't exist... now quit raiding the fridge and get back to work, you parasite!"

    12. Re:One time... by FunKind · · Score: 1
      Second Best:

      The presentation proudly declaring that, "We Serve The United States and Its Territories, Canada and Mexico."

      And the Tech Writer mistake... trying to explain to the Pointy-Haired Boss why the statement didn't make the neighbors to the north and south very happy.

  3. easy... by ddeyoung · · Score: 5, Insightful

    staking mine and my family's needs in a technical career!

    1. Re:easy... by polarbrowser · · Score: 1

      Truer words were never spoken.

    2. Re:easy... by i+chose+quality · · Score: 1

      word!

      --
      the computer is online
      i am not at it
      what a waste of ressources
    3. Re:easy... by Strange+Ranger · · Score: 4, Insightful

      Anybody remember those commercials on TV: "There are 50 thousand ice machines in the US and somebody needs to fix them." And then they'd offer to send you to ice-machine-fixing school. There are others, fixing/ driving the "Big Rigs", learning how to be an X-Ray Technician in 6 months, etc. etc. etc.

      Well recently I've seen at least one each for "IT Manager", "Computer Technician", and "Internet Technologist"... "learn in 6 months!"

      They might as well be playing "Taps" as far as I'm concerned. Well not quite but those ads are ALWAYS for commodity positions, "anyone can learn", etc etc.

      And if there are any ice-machine repair-folks reading this, there's nothing wrong with that, it's just that most of us have spent our entire lives deeply involved with technology, and we are used to our compensation reflecting that. Those ads tell us that people think they can learn in 6 months, and schools are filling up with people doing just that.

      No they're not going to directly take our jobs if we have 10 years of experience, but all those folks sure will lower the paycheck bar for the entire spectrum of IT workers. It's called Flooding the Market.

      Add that to overseas outsourcing... it's so depressing.

      I used to console myself with the adage "You get what you pay for.", but way too often the people doing the hiring don't understand what they need or what they're getting anyway, they don't understand the benefits of paying for something better, so they go cheaper, time and time again.

      There are 50 million computers in the US and somebody needs to fix them.

      [buries face in hands]

      --

      Operator, give me the number for 911!
    4. Re:easy... by Anonymous Coward · · Score: 0

      Unix, windows, C

      So we should push what? OSX? BSD? X-Boxes???
      It's obvious you don't have a clue. Your analogy doesn't hold. You have to pay for somebody who knows how to do more with less. That's called best practices. Software, hardware, networking, security, these things are all much more complex than wearing a watch. Notice I said wearing. You don't just wear complex systems.

      You do get what you pay for when it comes to people. 2 or 3 highly experienced, insightful, and well rounded IT people can completely remove the need for 25 cheap bodies, bloated vendorware, expensive downtime, frequent upgrade costs, lost data, etc, etc, etc, That's the problem. Penny wise and pound foolish.

      Oh man... blame it on the end of a long day. I've been trolled. Congrats.

      I just checked your comment log. 0,0,-1,Troll, Redundant,Flamebait,Flamebait,0,0,0,0,0,0,0.

      Why do you even bother with /. ?
      I'm checking the AC box and pretending this never happened.

    5. Re:easy... by nickos · · Score: 1

      The same thing's happening in the UK. I keep seeing these adverts for companies such as Computeach which suggest that people can get better salaries by taking one of their courses in IT. In reality, there are no entry-level (and very few mid/high level) jobs in our field, and salaries are incredibly low as a result.

      One of my flatmates finished a Computer Studies degree last year and is still unemployed. He's not the only one - apparently only 2 of his fellow students have managed to get jobs in IT, and this situation is not uncommon. Mind you, given that they would have started their degrees at the peak of the dot com boom, I wonder how many of these people are proper geeks who love and are good at coding, and how many of them just went into it for the money.

    6. Re:easy... by alex_ant · · Score: 0
      So we should push what? OSX? BSD? X-Boxes???

      Exactly, crappy technologies like Unix and Windows and C have stunted innovation in the tech industry for so long that we've just become accustomed to them and grown to expect them. So much so that even though we have a lot of clues about how things could be done better, we're resistant to implementing them (even though they've been implemented before in systems which have failed) because... I don't know. Unix is too eleet to change or something. Unix's EXTREME cultural entrenchedness is one of the reasons the dozens of superior competitors that have emerged out of companies and research labs over the years have failed.

      An expensive watch is indeed a pretty damn difficult system to work on - it's not the most complex thing in the world but its very nature is enough of a deterrent. Especially when you don't have the tools to fix it. All those gears, and springs, and sand-grain-sized screws... good luck fixing that thing yourself when you don't even know what's wrong with it or how watches work.

      You do get what you pay for when it comes to people. 2 or 3 highly experienced, insightful, and well rounded IT people can completely remove the need for 25 cheap bodies, bloated vendorware, expensive downtime, frequent upgrade costs, lost data, etc, etc, etc, That's the problem. Penny wise and pound foolish.

      In some situations. But you don't need an MS in CS or EE to swap a network card or install server appliances. Companies are realizing that quite often, it's cheaper to hire someone with an associate's degree to do the menial things - which are becoming more menial every day due to improvements in technology and usability, and centralize the decision-making. The market is asking for a lower-level tech certification and higher education is responding.

      Why do you even bother with /.

      Maybe the opinions of the fascist geek majority are not always the "right" ones. Bitter about losing your job to a visual basic programmer, fucking holier-than-thou cocksucker?

    7. Re:easy... by hdparm · · Score: 1
      At the moment, since I am still employed, I can't share those feelings. Quite contrary - I think biggest mistake I ever made was wrong education choice. I opted for ElEng and after graduating worked in a field for almost 15 years. Granted, CS was not the flashiest degree back then (late seventies, early eighties), at least not in a small Balkan country.

      Few of my first computing experiences were not too exciting - pretty primitive SCADA system at work (boring) and ZX Spectrum at home (felt more like a toy). However, everything changed when PC became affordable - I was totally hooked from the first contact with it. I have never stopped learning since then and nowadays I'm helping to run large company's network. I shall always regret that most of that learning I've done on my own, appart from few short technical courses and never really had proper IS/IT education. With that I could have done so much more, perhaps releasing kernel patches, rather than applying them.

      Hell, even my /. account would be shorter for at least 2 digits!

    8. Re:easy... by hdparm · · Score: 1
      There are 50 million computers in the US and somebody needs to fix them.

      Outlook is not so bright, then. Most of those are still running Windows. Soon, when we take over the world (GNU/Linux I mean), there won't be too much left to fix. Computers will just work ;o)

    9. Re:easy... by hdparm · · Score: 0, Troll
      You know what, you're full of shit. And no, I'm not gonna check my AC box.

      Shut the fuck up and have a nice day.

    10. Re:easy... by Anonymous Coward · · Score: 0

      You missed again Beavis.
      Nobody ever heard of hiring somebody to manage their watch wearing activities, or to implement watch wearing. Or to coordinate a massive multi-platform watch wearing and synchronizing project. It's not about swapping network cards. It's about best practices. Your watch is only a piece of hardware. The fact is more often than not companies are hiring low end labor to swap network cards and forget to hire the person who can tell them... "Hey! You don't need this on your network, it's inefficient, it's a security hole, it's costing you money, and you should really pull the plug and migrate the 1 pertinent task on these boxes..."

      and centralize the decision-making
      Aw shit I can't figure out if you're a pimply 14 year old or a damn CEO. ;]

      I'm quite gainfully employed thanks. I think we can all see who is bitter.

    11. Re:easy... by bonytony · · Score: 1

      The thing you have to remeber is that the majority of workers out there should be GLAD they are not paid what they are worth...

    12. Re:easy... by earlytime · · Score: 1

      absolutely not true... there's lots of support positions and hw/sw maintenance positions where six months is enough time to learn the job. Remember that the kids coming out if high school now have been using computers since kindergarten. I'm 29 and I didn't touch a computer till 5th grade.
      Casual familiarity with computers means that it's alot easier to pick up the basic administrative stuff. I'm not saying that you can learn to set up BGP within weeks, but you can certainly learn to install/troubleshoot MS Office in six months.

      --

    13. Re:easy... by alex_ant · · Score: 0

      Why did you not check your AC box? Now it's down on your permanent record that you've been conversing with the proletarians. PLUS now you've lost karma which has pulled you down a little closer to our level of dirtiness and away from the refined, civilized intelligentsia. Why is your threshold not set to +4? Browsing at 0 only dilutes the concentrated yay-for-Leenix circle-jerking experience.

    14. Re:easy... by alex_ant · · Score: 0

      OF COURSE it's not a direct analogy Captain Literal. The point is that the demand for something (high-level tech jobs, watch repairers) that used to necessarily be high-skill and technical is decreasing due to increasing technological commodification.

    15. Re:easy... by Lershac · · Score: 2, Interesting

      Come ON everybody! One aspect of what is happening is with the explosion of computers in the workplace is that there are now enough problems that more than one person is needed to handle them. Hence division of labor, and the logical change from "one tech guru handling all this stuff", to "one tech guru handling the tech guru stuff, and tech weenies handling all the weenie card-swapping"... Kinda like how the modernization of cars brought about a niche for Jiffy-lube to grow into.

      --
      Chuck
    16. Re:easy... by Lershac · · Score: 1

      Nah, we will find out that the reason that linux just "seems to work" is that for the most part linux is used in "install and forget" situations as file servers and whatnot. Putting it on the desktop of millions of Lusers would have us working just as hard to fix those drink holders and mice and crap as before. They will find a way to screw up the settings and install spyware to slow down the machines to a crawl.

      --
      Chuck
    17. Re:easy... by that+_evil+_gleek · · Score: 1

      > Well recently I've seen at least one each for "IT Manager" ...

      Your supervisor had 6 monthes training and can read? -- Lucky bastard! ;-]

  4. File errors by dfreed · · Score: 2, Interesting

    When I worked for a library I noticed a log of files with red ! as their icons. I determined that they must be erorrors or duplicates. So I removed them. Turns out that in windows 95 a red ! means that it is a critical system file.
    And the library did not have the system source media anymore so we spend the next day looking for any machines with a similar version of the deleted file and moveing them back by hand.

    1. Re:File errors by KDan · · Score: 1

      This morning I rebooted my dev machine. Somehow, god knows how, this screwed up my user profile on the company's domain, and I spent all day going through tech support to eventually get it fixed by creating a new user profile!

      An entire day wasted doing... nothing. I'm scared of reboots now...

      Daniel

      --
      Carpe Diem
    2. Re:File errors by pediddle · · Score: 1

      "This morning"... what time is it where you are?

    3. Re:File errors by KDan · · Score: 1

      When I wrote that post it was past 5pm already. I arrived at work at 9 and stayed until about 7pm, and got about an hour and a half of work done.

      Daniel

      --
      Carpe Diem
  5. DB + Audit Trails by Usquebaugh · · Score: 5, Funny

    Back in the mid 80s I was a jnr op on an old mainframe. Not much disk space so we used to save old audit trails to tape and remove them. Another pertinent fact is the DB starts UDX* and the audit trails start UDXA*

    I wonder what might have happened if a certain jnr op had not being paying attention and thought he knew it all.

    Yep, there goes the audit trails and the database :-( God knows why they kept me around.

  6. Posting on Slashdot by Mr.+Piddle · · Score: 5, Funny

    "What is the biggest technology related mistake you have ever made?"

    Statement by Slashdotters after the supoenas start rolling in: "Posting an admission of wrongdoing on a semi-anonymous public forum, whose owners will most likely cooperate with law enforcement when asked about an admission of wrong doing in a semi-anonymous public forum."

    --
    Vote in November. You won't regret it.
    1. Re:Posting on Slashdot by Anonymous Coward · · Score: 0

      Statement by Slashdotters after the supoenas start rolling in: "Posting an admission of wrongdoing on a semi-anonymous public forum, whose owners will most likely cooperate with law enforcement when asked about an admission of wrong doing in a semi-anonymous public forum."
      That sentence no verb!

  7. Packard Bell by etymxris · · Score: 1

    First computer, got it in 1993 or so. Still had it sitting around as recent as a month ago, tried to boot it, and it failed. Finally tossed it. Not too surprised. It had trouble from day one. Most significant was the bad 8MB RAM module that couldn't be removed because it was soldered on the motherboard.

  8. rm by Tirel · · Score: 0, Interesting

    rm -rf * in the wrong directory. god that sucked, i lost weeks of work. been keeping daily backups since then and aliased rm to 'rm -i'

    1. Re:rm by Hungus · · Score: 1

      Heh last week I was transfering data through one of my media drives for archiving when the windows box I was transfering from crashed. Rather than reboot i opted to manually delete the open files sudo rm -r (insert a bunch of files here)I should have checked the command length as appeaently the command I copied into my terminal was clipped I would up erasing the entire drive. 180GB gone.

      Worst Tech mistake I ever made? Using personal licenses on company machines.

      --
      Bad Panda! No Bamboo for you! In matters of importance ACs will not be responded to. Want to say something critical,OK
    2. Re:rm by irc.goatse.cx+troll · · Score: 2, Funny

      Atleast you did it in the wrong dir. I was working on adding another domain to /etc/apache/vhosts/(each domain gets its own file), and all of a sudden I notice the dir is empty. It wasn't empty when I started.. scroll up 4 lines and I see rm * in my buffer. To this day I still have no clue what I was intending to do, but from now on no more working on a server with customers without proper amounts of caffiene.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    3. Re:rm by squiggleslash · · Score: 1
      This counts as a dumb mistake more than a worst mistake but...

      Never done that, but once was clearing out files and saw in /etc there were files like passwd~, passwd-, passwd.bak, etc, none of which contained any interesting or redundant information.

      In a moment of madness that I still don't understand, I thought that "rm passwd*" meant "delete any file called passwd with something on the end of the name". Not a mistake I'd made before, and definitely not a mistake I've made since.

      Fortunately it was a machine at home...

      --
      You are not alone. This is not normal. None of this is normal.
    4. Re:rm by Brian+Hatch · · Score: 5, Insightful
      since then ... aliased rm to 'rm -i'

      Bad plan. Now, the next time you log into a new machine you'll think that rm will be safe and will wipe out an entire directory tree again.

      If you want to have a safe alias, use a different name! For example del would be appropriate. If you're not good enough to use rm correctly, then an old DOS command seems appropriate...

    5. Re:rm by jefu · · Score: 1
      Ah yes.

      In the root directory on a unix machine many eons ago. I wanted to do "rm -rf something*" to get rid of some files that were created in / by some systems stuff I'd been doing. I managed to type "rm -rf something *" and hit return before I looked at it (it was an old clunky text-based console thing, in my own defense). Ooops.

      It was not a fast machine though and I managed to catch it before too long - before it killed any user or important data anyway. It had killed some fun things like /dev and /etc and /bin though, but with the still running shell and some serious hackery and the network I managed to get the system back running well enough to restore things from backups (thankfully I did have recent backups).

    6. Re:rm by mapMonkey · · Score: 1

      I do this one occasionally when I am trying to type rm *~ (remove auto-backups) and my finger slips (hitting Esc instead of ~) ... Now I keep all our apache configs in CVS for this exact reason.

    7. Re:rm by TwistedSquare · · Score: 1

      I did that exact thing actually, aliased rm -i to del. Then found I never used it, cos hell - I dont want to have to press y all the time, and I usually type the right thing... Luckily I haven't caused much damage yet :)

    8. Re:rm by vasqzr · · Score: 1

      If you're not good enough to use rm correctly, then an old DOS command seems appropriate...


      Then you might accidently delete it...by typing the name you're used to typing (if you're new to Linux)

      How about calling it noseriouslydeletethis

    9. Re:rm by Anonymous Coward · · Score: 0

      Try using an alias for rm to use "rm -i".

    10. Re:rm by moroderzone · · Score: 1

      Something similar happend to me. I had a unix file called ~. I tried to delete it. Everything got deleted. I have been using windows ever since. I love it!

    11. Re:rm by Anonymous Coward · · Score: 0

      The 'rm -i' option could use a little more logic to it. Currently it prompts you for _each_ file you're deleting. If you're trying to lop off a big directory with lots of files, it'll ask you about each file in that directory. It would be more helpful if it would just verify the path of the files you're deleting.

      Delete "/root/junk/learncode/lispfun/*"? [n]

      The trouble is that the wildcard is exploded by the shell, which in turn performs the rm on each file the wildcard matches, so my previous suggestion would require a serious reworking of the internals.

      One option would be to make rmdir able to remove non empty directories.

    12. Re:rm by Mattcelt · · Score: 1

      Heh. That's what the original poster kept saying right up to the moment of truth, I'm sure.

      It only takes once.

      Experience is the one thing you never have until just after you need it.

    13. Re:rm by BRSloth · · Score: 1

      Well, I did something like that. I was working late on a project and, for some wicked destiny act, instead of type "vim file" I did "rm file". Never understood how I could do something that lame...

    14. Re:rm by araven · · Score: 2, Interesting

      Along the same lines. On a customer's precious and mission-critical machine. Intending to copy filesystems to new volumes I'd created, I started with:

      mv /usr /newusr

      I managed to get it stopped, but not before /usr/bin and /usr/sbin had moved. Finding any useful commands still functioning to let me assess the damage and fix it was interesting. I needed to do something like this once to learn, deep down, that everything is different when working as root.

      ~~~~~~~

      --
      "A foolish consistency is the hobgoblin of little minds." -Emerson
    15. Re:rm by alex_ant · · Score: 0

      What are you talking about? It's supposed to be that way. It's been that way for decades. It's The Unix Way - The Right Way. Shut up.

    16. Re:rm by irc.goatse.cx+troll · · Score: 1

      Hrm, never thought of the Esc possibility, that must be it. and CVS for configs is a great idea, thanks.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    17. Re:rm by Wolfrider · · Score: 1

      --Don't tell him to shut up, the ' rm ' command has needed a basic SANITY CHECK for decades.

      --If what you're deleting is going to significantly affect the system, it should at least calc the amount of data that will be scrammed - as well as the paths involved - and warn you. Anything over 5MB / 20 files should get a y/n message, altho those defaults should be user-changeable as well.

      --I get away with being-root-yet-not-hosing-the-system by using ' mc ' for all deletions > 1 file.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    18. Re:rm by Wolfrider · · Score: 1

      Alternate suggestion:

      ' mkdir tmpdel '
      ' mv -f -v *~ tmpdel '

      --Now you can do 2 things:
      o ' mc tmpdel ' and select all the files, F8 to delete

      OR

      o create a cron script that deletes everything in tmpdel every few hours or $interval.

      --Much safer, imho.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    19. Re:rm by alex_ant · · Score: 0

      Sorry, I was being sarcastic, the rm command really does need a basic sanity check as does the whole rest of the system if you ask me.

    20. Re:rm by radon28 · · Score: 1

      you should have used "rm \~"

    21. Why is this such a big deal ?

      you could very well have ....
      export PATH=/newusr/bin:/newusr/sbin:$PATH
      and be on your way. export is a shell built-in so as long as you have a shell , no problems.

      --
      for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
    22. Re:rm by araven · · Score: 1

      Try it and see :-)

      Sorry to be flip. I don't suggest doing that. It's more than a path problem.

      ~

      --
      "A foolish consistency is the hobgoblin of little minds." -Emerson
    23. Re:rm by Mr+Z · · Score: 1

      Back in college, I once told my (at the time, future) roommate how to recursively remove the "dot files" and "dot file directories" in a subdirectory under his home directory, with "rm -rf .*". Under most modern Unices, this isn't an issue. Under the old SVR4 system we were on, it globbed ".." and recursively removed that directory (his home directory) also.

      Oops.

      Part of the irony of this is what the SunOS 4.x man page had to say about this behavior: (emphasis added)

      WARNING

      It is forbidden to remove the file `..' to avoid the antisocial consequences of inadvertently doing something like `rm -r .*'.

      I guess someone in BSD or SunOS land committed the same boo-boo. I consulted the above man-page after the incident had happened, since I had accounts both on an AT&T StarServer and a Sparc 2.

      It appears that this page holds a man page similar to the one on the AT&T box. Notice that it says: "It is an error to specify . (dot) or .. (dot dot) as the final path name component of file, although these entries may be removed with the -r or -R flags."

      --Joe
    24. Ah yes, the dynamically linked binaries would go bizerk. Still you can change your LD_LIBRARY_PATH and add /newusr/lib /newusr/X11/lib etc.

      But i agree with you it could soon become a PITA. Did you try to create a symbolic link to /newusr as /usr ?

      Don't mean to sound like a unix guru, just curious.

      --
      for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
    25. Re:rm by araven · · Score: 1

      I wish I could remember what I did. I tried several things that DIDN'T work.

      I remember being grateful that Solaris still had /usr/ucb, I found commands there that did still work. It's been seven years, and the details are a bit hazy. I was far from a guru at the time (still far from a guru) so I'm sure I thrashed quite a bit until I stumbled on something that would work.

      Since it really halted all useful activity on the box, what I'd probably do now is just boot from CD and move everything back. Brute force is at least fast.

      Sorry I didn't learn enough from the experience to offer anything insightful!

      ~

      --
      "A foolish consistency is the hobgoblin of little minds." -Emerson
    26. Re:rm by canadianjoe · · Score: 1

      So, pretty much a Recycle Bin(TM)??

    27. Re:rm by jayayeem · · Score: 1

      I've twice had new admins (different admins) do 'chmod -R username .*' as root to try to change the ownership of a home directory, with the predicitable results. Both times I told the individual what he had done, and to go fix it. One asked me a couple questions, went off and fixed it. The other one disappeared for awhile, then when I eventually found him, he told me I had to fix it.

      One was gone in less than a year, the other one is an excellent sysadmin at my company. Everyone makes mistakes. What makes a difference is how you respond to it, and if you learn from it.

      --
      I metamoderate, therefore I am
  9. Logging on to /. by NickDngr · · Score: 5, Funny

    My biggest mistake was finding this website. I've wasted more time here that could have been spent doing my job and getting actual work done.

    --
    Yoda of Borg am I! Assimilated shall you be! Futile resistance is, hmm?
    1. Re:Logging on to /. by torpor · · Score: 2, Funny

      oh man. you think you wasted time?

      since chips&dips, i been in this hole ...

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    2. Re:Logging on to /. by sydb · · Score: 1

      Is there an archive of chips&dips somewhere? I heard about it for the first time the other day on e2. I was too late to see it for real. My google searches are in vain.

      Also, am I really pathetic for wanting to see it?

      --
      Yours Sincerely, Michael.
    3. Re:Logging on to /. by torpor · · Score: 1

      Try the Way Back Machine ...

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    4. Re:Logging on to /. by sydb · · Score: 1

      OK; what was the domain name? I can't find anything for www.chipsanddips.com|org|net.

      --
      Yours Sincerely, Michael.
    5. Re:Logging on to /. by torpor · · Score: 1
      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
  10. good thing we've had a backup - 1 month old by rawbytes · · Score: 1

    One time we did "rm -rf /" just to test a backup on a server. Well it turned out the best backup we could get was a month old tape. It wasn't a production machine so we just had fun it.

  11. Generic enough... by Otter · · Score: 1
    A pretty basic one -- doing an ls of a different directory, forgetting I was actuall in /usr, and proceeding to rm -rf *. Pretty stupid, but in retrospect harmless. /home was unharmed, and it was just a home computer. Given that I work with equipment costing tens or hundreds of thousands, it could be a lot worse.

    I'm reminded of when the metric/standard error lost the Mars probe. A labmate commented, "Boy, at least I'll never feel bad about screwing up a $20 experiment again!"

    1. Re:Generic enough... by Sepper · · Score: 1

      proceeding to rm -rf *.
      Pretty typical of any inexperience user. Everyone do this kind of mistake just 1 time in life.

      When I was young, (I was 12 or 13, i think... around 1993) I tried to find out what every dos program did. If you're starting from A you usually get to 'fdisk'. You can guessed what happened. I deleted the main partition.Didn't have any backup of anything except windows and an old dos modem/fax application. it took me weeks to find in local BBS all the shareware that I had lost.

      Been making backups ever since.

      --
      I live in Soviet Canuckistan you insensitive clod!
    2. Re:Generic enough... by XO · · Score: 1

      That was NOT a metric/standard error. The martians, using Saddam Hussein's hidden Weapons of Mass Destruction, did it.

      --
      "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
  12. Failing to face reality... by FreshMeat-BWG · · Score: 2, Informative
    ...and force others to do the same thing.

    Never, never, never, never commit to a schedule that is not realistic. If you know it isn't realistic before you get started, imagine what happens when you discover the unknown problems.

    No matter how much that guy in marketing wants to meet his roadmap, he will not help you design, code, or test your product. If you are lucky, he will complete the requirements before you are supposed to ship the product.

  13. A small one by FattMattP · · Score: 5, Interesting
    After working on a bunch of NT servers all day I needed to make a quick change to our company's primary file server which ran Linux. After I logged out I hit control-alt-del and the machine started shutting down. About 30 seconds later the helpdesk switchboard lit up like a christmas tree. After working on the NT machines all day I didn't even think before I hit the keys. I guess I thought I was going to lock the screen or something. 15 minutes later I had the linux boxes configured to write to a log file when ctrl-alt-del was hit rather than rebooting. Lesson learned.

    Thankfully, that's the worst I've done so far.

    --
    Prevent email address forgery. Publish SPF records for y
    1. Re:A small one by j-turkey · · Score: 1
      ...server which ran Linux. After I logged out I hit control-alt-del and the machine started shutting down.

      Been there, done that. One of my first tasks when provisioning a RH box is to edit /etc/inittab in order to prevent CTRL+ALT+DEL shutdowns. This is especially helpful in a mixed Linux/NT environment on a KVM switch :P

      --

      -Turkey

    2. Re:A small one by Anonymous Coward · · Score: 0

      Heh. Similar story... A co-worker managed to reset one of our tape robots by using alt+ctrl+del on the management consoles -- the things run OS/2 and take about an hour to do a full reboot and audit...

    3. Re:A small one by sigxcpu · · Score: 1

      One of the first PowerMacs had the power button right under the floppy drive
      - Exactly where a P.C. user presses when he wants his diskett back...
      I'v seen people do it several times over and over.

      --
      As of Postgres v6.2, time travel is no longer supported.
    4. Re:A small one by BRSloth · · Score: 1

      Something like that happened to a friend of mine. He was called by the IT department of my uni to configure apache on a Solaris box. Everything ready, he decided to kill apache the wrong way: "killall httpd".

      Well, if you are a GNU/Linux user, you know that this command will kill every process that has the name "httpd". On Solaris, "killall" doesn't have a parameter. It just kill every process in the machine.

      I remember he telling that every phone start ringing 2 seconds after he pressed Enter...

    5. Re:A small one by colonwq · · Score: 1

      I must admit to doing the same on the Alpha servers that were my first admin job. I was logged in remoatly from my desktop and needed to kill all of some program. Needless to say the night time operator saw me go running the server room to restart the main campus Unix server!

      :wq

      Note to self: watch our for killall! It thinks I know what I am doing

      --
      -- Phase 1: Collect under pants Phase 2: ? Phase 3: Profit
    6. Re:A small one by Dr.+Photo · · Score: 1

      Technically it's the company's fault for having a keyboard and monitor attached to a server. :-)

    7. Re:A small one by madcow_ucsb · · Score: 1

      Did the opposite when running the webserver for my high school. I was on a linux box, ssh'd into the server as root. Then I was doing something on my local machine and needed to reboot, so I hit a "shutdown -r now" and wondered why X was still running. Oops...

      I *always* use ctrl-alt-del now.

    8. Re:A small one by ethanms · · Score: 1

      hehehe... done that too...

    9. Re:A small one by Anonymous Coward · · Score: 0

      # ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

      Comment out that line in /etc/inittab to prevent Ctrl+Alt+Delete from having any effect in Linux

    10. Re:A small one by yuri+benjamin · · Score: 1

      Ha! I had a friend staying at my place (New Zealand) and he was ssh'ed into a server in Austria. He went to shutdown his laptop, but shutdown the server on the other side of the planet instead (You can't get much further than .nz & .at).
      Are you reading this Martin?

      I always have the hostname in my shell prompt, which is usefull if you're ssh'ing here, there and everywhere.

      --
      You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
    11. Re:A small one by Anonymous Coward · · Score: 0

      fucking 3494 piece of shit, eh?

    12. Re:A small one by hdparm · · Score: 1

      R2D2, actually

    13. Re:A small one by golgotha007 · · Score: 1

      After starting working for a new company, I was taking over as the linux sysadmin. One of the things the CTO was very proud of was the uptime on our main development server (four hundred and something days of uptime).

      A few days into the job, i went to shutdown my workstation, with the shutdown command. After hitting enter, I realized I was logged into our development server!

      I totally panicked, but kept my cool enough to jump to another logged in console and init 3 the machine back into existance before the shutdown went too far!

    14. Re:A small one by theonetruekeebler · · Score: 1
      better yet:

      ca::ctrlaltdel:/usr/bin/logger -is -p alert "ctrl-alt-del pressed"

      now or what a qualified sysadmin would say is the equivalent.

      --
      This is not my sandwich.
  14. Damning evidence by etymxris · · Score: 5, Funny
    Recently, I went to a work-from-home arrangement. Soon after I left, I got a call from several people at work asking me if I had emptied several SQL tables that were key to our QA environment. I swore up and down that I had done no such thing, and it was dropped.

    The next day someone powered up the monitor to my old desktop (still at the office) and what did he see?

    SQL Query Analyzer maximized with:
    DELETE FROM IMPORTANT_TABLE

    Query successful: 18,452 rows processed
    (I still don't remember doing it.)
    1. Re:Damning evidence by Ianoo · · Score: 1

      I've done similarly stupid things when trying to fix live databases. Typing in things like "DELETE FROM accounts", then switching to another screen to find the account details, switching back, and watching in horror as the query executes without giving me the chance to enter "WHERE account_id = 184"....

    2. Re:Damning evidence by meta-monkey · · Score: 1

      That's odd. Generally you have to terminate the line with a ; or something, so it shouldn't process your query unless you tell it "yes, I'm all done typing." When I log into my mySQL server and do a "SELECT whatever FROM table" and press enter, it just goes to the next line, then I slap myself in the forward, hit ";" then Enter and it processes my query.

      --
      We don't have a state-run media we have a media-run state.
    3. Re:Damning evidence by etymxris · · Score: 1

      Line termination not required for MS SQL Server. (No, I don't use it by choice.) CTRL-E will work just fine, ENTER does nothing. And sometimes you just forget the where clause, or I do anyway. That's the only time I found rollbacks to be of any use--when cancelling a delete statement set against a multi-million row table in production that was was started without a where clause. Heart-stopping stuff. It wasn't me (I was just a witness), but had it not been stopped, it could have been the entire company's ass on the line.

    4. Re:Damning evidence by pdabbadabba · · Score: 0

      I did that once on purpose but forgot the "WHERE" clause. I literally passed out.

    5. Re:Damning evidence by Jerf · · Score: 3, Interesting

      Similar to the if (0 == c) trick in C, I've been trying to train my fingers to type DELETE WHERE whenever I mean to type "DELETE". Then, I fill out the WHERE clause and only then go back to say what table to delete from.

      This also gives you time to ponder the wisdom of first running a SELECT statement with the same WHERE clause and comtemplate whether you want to do this.

    6. Re:Damning evidence by Gaijin42 · · Score: 1

      thats a feature of the editor you are using. Its looking for the ; to terminate the edit mode.

      More GUI oriented editors dont have that feature/issue

    7. Re:Damning evidence by Ianoo · · Score: 1

      Many GUI or web-based interfaces don't require the ";". The projects I've worked on haven't ever requried anything more serious than MySQL or Postgres, for which I generally employ PHPMyAdmin or PHPPgAdmin.

    8. Re:Damning evidence by bwt · · Score: 3, Interesting

      This wasn't my mistake, but I guy I work with left a where clause condition of an update SQL statement and released the work to production. In development he was working on a system with a reduced data volumes and it updated a few stray records and he didn't notice. In test, the test cases didn't cause the SQL to run. In production it wiped out about 20000 records and had to full scan a very large table to boot. We actually found it because of the performance problem first. It took us a few weeks to reconstruct all the erased data.

      My biggest mistake was in my first programming job years ago. I intentionally wrote an infinite loop into a program that was running on a very powerful (for the time) reasearch unix box used at the Naval research lab where I had an internship. It was a sonar imaging optimization routine and I would let it run for short periods (10-30 seconds typically) and then CTRL-C it to force it to stop and inspect the log file to find the results. I was new to unix and so I would use "ps" as opposed to "ps -aux" to see what processes I had running. I had multiple sessions up and managed to leave one of my programs running, switched sessions, ran ps which showed no processes running and went to lunch. The sysadmin was also a meeting and then lunch. When I returned I had a bunch of nastygrams telling me to kill my job immediately, not to run processes that hog the CPU because other projects couldn't use the system and to get approval before running long running jobs because the CPU time was billed (this was around 1985). I actually sat down, ran ps again, saw no job, and wrote back saying I didn't know what they were talking about. The sysadmin (who had returned from lunch) came over to visit me and educated me on a whole bunch of things.

    9. Re:Damning evidence by Just+Some+Guy · · Score: 3, Interesting
      One of my former coworkers always typed "# rm" instead of "rm" at the beginning of a long delete command, and only when he was finished typing would he go back to the beginning of the line, delete the leading "#", and hit enter. Were he to accidentally hit enter before he was ready, then he did nothing more harmful than send a comment to his shell.

      I've adapted that idea to a lot of other situations; my SQL queries always start out as "-- delete ..." until I'm sure about what I'm typing.

      --
      Dewey, what part of this looks like authorities should be involved?
    10. Re:Damning evidence by devinjones · · Score: 1

      Was that the Connection Machine Facility at NRL, under Dr. Hank Dardy?
      I was sysadmin there 90-94.

      Devin

    11. Re:Damning evidence by Anonymous Coward · · Score: 0

      There are several little gotchas when using MS SQL Server that can kick you.

      no, hitting enter does not cause the query to execute (in query analyzer) clicking the run arrow or hitting f5 will run the command. if you have PART of a command or script selected, it runs the selected parts, thus delete from accounts where account_id = '1234' where the bold part is highlighted will indeed delete the entire table

      Ever compose a god awful query/script on a dev box and hit f5 to execute until you finally get it to returnt he correct data, then accidentally click in the results pane before hitting save, saving the script, closing query analyzer then goig back later opening QA on the production server and trying to load the script only to find that the contents of the RESULTS pane got saved, not the script, and its lost.

      Ever attempt to run a schema change script in your stagin environment, where you have code that supports the new schema, but actually connect to the production server which does not have the new code, run the script and find yourself with a broken application.

      My answer to all the above questions is yes (at various times in my career) some have cost a little time, but been otherwise harmless, one of them brought down a customer's app for 2 hours and had a little more serious implications

    12. Re:Damning evidence by justinb1 · · Score: 1

      I did something similar exactly once -- then I made for damn sure to always set implicit_transations on when working with SQL Server.

      What's great is when you're watching it happen, after like 2 seconds it suddenly dawns on you that this query is taking *way* too long... And then the panic sets in.

    13. Re:Damning evidence by Nick+of+NSTime · · Score: 1

      I'm known to execute CREATE PROCEDURE statements in the master database, since that's what Query Analyzer defaults to when you open it from the Start bar.

    14. Re:Damning evidence by Mark+Pitman · · Score: 1
      my SQL queries always start out as "-- delete ..." until I'm sure about what I'm typing.

      Another trick is to write all your DELETEs as SELECTs first, then you can see the records that will be affected. Same thing for UPDATEs

    15. Re:Damning evidence by bwt · · Score: 1

      No. How funny would that have been.

      It was at Applied Research Labs in Austin, TX. in the late '80s.

    16. Re:Damning evidence by zcat_NZ · · Score: 2, Informative

      I frequently use "echo rm -rf foo*" so I know exactly what the shell's going to expand it to. Then I uparrow and remove the "echo".

      --
      455fe10422ca29c4933f95052b792ab2
    17. Re:Damning evidence by ComputerSlicer23 · · Score: 1
      Yes, I normally write all delete statements in the form:

      delete from table where ( primary key ) IN ( SELECT primary key FROM table WHERE clause )

      I always write the select statement first, then I got back and edit in the delete portion of it.

      Just like if I am thinking clearly, all rm commands are written as this:

      find . [ clauses to limit to only the files I want ] -print

      find . [ clause to limit find ] -type f -exec rm {} \; -print

      This will remove files first. Then remove the directories using:

      find . [ clause ] -type d -exec rmdir {} \;

      It's a lot slower, and takes one process per file to do the delete, but it sure is a lot safer then throwing around wild cards. Any time I'm working on our production database, the way in which I am willing to remove files changes.

      If you know there are no spaces, or other odd characters in the files:

      That or I do ls [wildcard], then edit the history to change the ls to rm, so I don't have to retype the wildcard again. I can also compare them in history mode.

      Kirby

    18. Re:Damning evidence by GoofyBoy · · Score: 1

      When I type "DELETE" I always do a where clause with "1 = 0" condition.

      I know that I have to stop a second and think what I am doing if I missed removing it.

      --
      The surprise isn't how often we make bad choices; the surprise is how seldom they defeat us.
  15. rm -rf * by FunkyRat · · Score: 2, Interesting

    ...five minutes later after coming back from getting coffee: D'oh!

    I actually did this once... while logged in as root... at the top level in /home... on a production server. Thank baphomet for nightly backups!

    Hopefully none of my clients are reading this. :-)

    1. Re:rm -rf * by Kingpin · · Score: 4, Funny


      Hopefully none of my clients are reading this. :-)

      You're known as FunkyRat to them!? :)

      --
      Unable to read configuration file '/bigassraid/htdig//conf/14229.conf'
      Geocrawler error message.
    2. Re:rm -rf * by IcephishCR · · Score: 0

      I did a step worse...I was testing a backup and restore process, and wanted to delete all the files except the directory....including the hidden .files, I without thought typed rm -r .*, and after a minute or two I stopped it after I realized that it was taking wayyy to long. (this was on our primary DNS, RADIUS, and NFS server) needless to say I had to reinstall and recover from a backup....it was quite a mess...

      --
      Life is but a Beta test...
    3. Re:rm -rf * by FunkyRat · · Score: 1

      Oddly enough, yes! A couple of them anyway. :-)

    4. Re:rm -rf * by theonetruekeebler · · Score: 1
      You made my heart stop just reading about this.

      For those of you playing along at home, the .* in rm -rf .* includes .. as well, and .. just happens to contain a directory called .., and hey, you did just happen to ask rm to recurse...

      --
      This is not my sandwich.
    5. Re:rm -rf * by Mr+Z · · Score: 1

      Oh, good. I'm not the only one. It turns out that SunOS (and/or BSD) and I think most modern Unices won't follow .. on a recursive remove. Older SysV sure like to, though. (See my linked post above.)

      --Joe
    6. Re:rm -rf * by theonetruekeebler · · Score: 1
      Can't remember what version of fileutils I was using when this happened. In the 4.0 version of GNU fileutils

      ls -aR .*

      happily recurses everything below .., but doesn't look for ../.. so it appears one can only partially ruin things that way anymore. Without RTFS I'm only guessing ls and rm follow the same recursion rules.

      --
      This is not my sandwich.
    7. Re:rm -rf * by Mr+Z · · Score: 1

      Well, what happens (AFAICT) is that only the first ".." is globbed, and otherwise the dotfiles are pretty much safe (in the context of rm and ls). When recursing, dotfiles in general don't seem to be included. The only places dotfiles don't seem to be safe is when the directory itself is slated to be removed.

      So, in the example I gave, I'm pretty sure my roommate's "dot files" in his home directory survived. (I seem to recall that was the case, since his login environment remained intact.) It was all his normal files and normal directories that got nuked.

      It really is a weird twist of semantics, IMHO.

      To recap:

      • Recursive globbing only groks dotfiles when:
        • The wildcard explicitly includes the dotfiles, as in "dirname/.*", or
        • The parent directory of the dotfiles is matched and the operation is "rm".
      • Only certain versions of the UNIX file utilities will even allow globbing ".." for a recursive glob for purposed of rm -r.

      Sound like a fair recap?

      --Joe
  16. easy by pizza_milkshake · · Score: 1

    one day i was caught reading slashdot

  17. Buying a Maxtor HD by RevAaron · · Score: 1

    I always had good luck with Maxtors, though I had only used old and small drives- 80-200 MB or so. When I was putting together a new computer for myself in 99, I thought I'd get another trusty Maxtor, a 6 GB. Pfft, bad idea. Thing failed in less than a year, taking all of my music with it; 5 years of dorky industrial music, recently copied over from a huge stack of ZIP disks. 100 songs.

    grr.

    --

    Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    1. Re:Buying a Maxtor HD by Dr.+Photo · · Score: 2, Funny

      Thing failed in less than a year, taking all of my music with it; 5 years of dorky industrial music, recently copied over from a huge stack of ZIP disks. 100 songs.

      So in essence you're saying that Maxtor hard drives are bad for maintaining data integrity, but excellent for protecting data quality! ;)

    2. Re:Buying a Maxtor HD by w42w42 · · Score: 1

      Talk about hardware karma. Never ceases to amaze me how some people can have awesome luck with brand A, and others nothing but problems. I used to buy only Western Digitals, and know many people that swear by them. Every one I had (3-4) died w/ in 18 months. Cheaper Maxtors or Seagates, seemed to last forever.

      To talk about something more expensive, cars; I have a couple of friends that have owned nothing but Toyotas, and swear by them. I finally bought one a year ago, and it was bought back in six weeks under the local lemon law. The replacement vehicle, another Toyota, had a roof leak after ten months which was fixed under Warranty.

  18. Heh by smoondog · · Score: 1

    Buying a PCjr. (Actually my dad made that mistake, and got it for me for christmas, about a month before IBM discontinued production. Fortunately, it had real keys at that point. Heh)

    -Sean

    1. Re:Heh by dtfinch · · Score: 1

      I started on a PCjr. But in my case it was free and I got a second one for $25 which came with all the software and cartridges I wanted.

    2. Re:Heh by PylonHead · · Score: 1

      I loved my PC jr. My dad was working for IBM at the time and I think he probably bought 2 for $1000.

      The remote control keyboards were too cool. I can remember sitting across the room, playing advanced games like Willy the Worm. (Which I copied onto a ram disk, so I didn't have to wait for the levels to load).

      It was a fun machine to program. Turbo pascal was perfect, since it compiled to ram. ( I had the expansion module to bring my memory up to something reasonable).

      Good times, good times.

      --
      # (/.);;
      - : float -> float -> float =
  19. One that I saw... by Inexile2002 · · Score: 5, Interesting

    None that I've done come to mind - I tend to make lots of little stupid mistakes rather than occasional huge cock-ups. But I had a client that had a CIO who was actively hostile to the idea of any kind of computer security what-so-ever. Waste of time and money for a made up threat he said.

    They were running 13 servers at remote locations (and I mean remote, as in out in the boonies 4 hours from nowhere on back roads) and these servers were unpatched, had out of date or innactive anti-virus and were connected to the net via a combination of satellite and dedicated (always on) dialup. Their communications were secured with nothing more than Windows 2000's built in VPN.

    Needless to say, my audit report told them that they had big beefy powerful angels on their side since they hadn't yet had a noticable intrusion. (They had no way of detecting one, but at least the servers weren't hosting porn sites.) I warned them that a virus or worm would come along though and knock the whole thing out. The CIO scoffed at my report, called me an alarmist and said that my opinions were right up there with the Y2K doomsayers.

    When Slammer hit, I had described the vulnerabilities and outcome so accurately that this guy actually accused me of writing it myself. Took the whole corporate network down and they couldn't bring it back up until their techs visited each site. It took two teams seven days to get to all the sites. The company lost 6 business days, three customers and a months worth of transaction records.

    Needless to say the CIO was demoted (they didn't fire him, which I consider itself a major tech mistake) and had me re-issue my audit report which they then followed to the letter taking every precaution I suggested.

    1. Re:One that I saw... by yuri+benjamin · · Score: 1

      You were lucky they didn't shoot the messenger.

      --
      You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
    2. Re:One that I saw... by Spoing · · Score: 1
      1. You were lucky they didn't shoot the messenger.

      My exact thoughts. While I'm not the admin for the contract site I'm on, the security is so bad that I've made a point of it when people complain about what are really security issues. If these folks were paranoid -- and they should be -- I would not be so forward. They really don't get it, and don't care unless it impacts daily work so I'm not in CYA mode, and am instead dropping suggestions; "You know, if we did ______, that wouldn't be a problem".

      The value of individual login IDs for tracking changes on the network, plus using moderately secure passwords (and NOT SHARING THEM!) is my next minor crusade. People are starting to understand, though oh so slowly.

      Anything more complex is not on the radar...though I'm working on it and have gotten positive support.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    3. Re:One that I saw... by Anonymous Coward · · Score: 0

      We had a win nt 3.51. Slammer failed on it because it had no RPC on it !!

    4. Re:One that I saw... by Tukla · · Score: 1
      I tend to make lots of little stupid mistakes rather than occasional huge cock-ups.

      I'll bet this looks great on your resume! 8-)

    5. Re:One that I saw... by throughthewire · · Score: 1
      Um, no.

      The NETLOGON process in NT has used MS-RPC since NT 3.1.

      If you had an NT box with no RPC on it, it would be useless as a server. (Insert obvious smartass comment here)

      If Slammer failed to infect your NT 3.51 box, it's because the buffer overflow failed on the old code.

  20. delete from $TABLE by DrSkwid · · Score: 1



    nooooo

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    1. Re:delete from $TABLE by eric2hill · · Score: 1

      Um, ROLLBACK. Duh.

      --
      LOAD "SIG",8,1
      LOADING...
      READY.
      RUN
    2. Re:delete from $TABLE by Anonymous Coward · · Score: 0

      Unless you're on MSSQL where transactions aren't implied. So if you forget "BEGIN TRAN", Rollback doesn't do a damn thing.

    3. Re:delete from $TABLE by rpjs · · Score: 1

      ROLLBACK's no use if you've already issued a COMMIT 'cos you thought you were logged in to the dev environment where you WANTED to clear the archive table, rather than the production environment where the records you've just deleted are legally required to be stored for seven years (only two to go though).

      Oh well, I thought, just get support to restore from backup. Kind of worked out well in the long run, and helped to mitigate my original error, as it meant support got to discover the bug that had corrupted the backups just a couple of days after it had crept in rather than six months or year later.

      I never did get a satisfactory explanation as to why they weren't verfiying their backup tapes.

    4. Re:delete from $TABLE by eric2hill · · Score: 1

      I never did get a satisfactory explanation as to why they weren't verfiying their backup tapes.

      I keep about 7 days of backups online for quick access, but our backup guy hasn't verified a backup in I don't know how long... What is it about testing a backup that's so difficult?

      --
      LOAD "SIG",8,1
      LOADING...
      READY.
      RUN
    5. Re:delete from $TABLE by Anonymous Coward · · Score: 0

      That only works for real databases.

  21. didnt really hurt anything, but ... by Merlin42 · · Score: 3, Funny

    When I was first learning linux/unix I installed RH5.something on my computer (cyrix 6x86 133+ iirc), anyway I was having weird issues with several programs so I decided i needed a fresh start, those darn dot files must be currupted.
    So I typed:
    rm -rf .*
    This disk started churning ...
    about 30 seconds later
    the disk is still churning ... damn I must have a LOT of those dot files.
    about a minute later .... *DOH*
    CTRL-C
    Where did all the files go? DAMNIT! I recursively deleted .. ( I was running as root, It was my personal box what could be the harm)
    I learned my lesson very well:
    CREATE AND USE USER ACCOUNTS!! DONT RUN AS ROOT IF YOU CAN AVOID IT!

    1. Re:didnt really hurt anything, but ... by undef24 · · Score: 1

      i try and use:
      rm -fr .[a-z]*
      rm -fr .[A-Z]*

    2. Re:didnt really hurt anything, but ... by alex_ant · · Score: 0

      It's not him that's dumb, it's Unix that's dumb.

    3. Re:didnt really hurt anything, but ... by Merlin42 · · Score: 1

      I usually (now) do:

      rm -rf .[^.]*

    4. Re:didnt really hurt anything, but ... by HarleyPig · · Score: 1

      I was doing customer support and learning unix at the same time. I forgot which shell I was in and went to delete some work files.

      We worked in customer systems as root (I know, I know--but I didn't even know better back then).

      So, I ended up typing rm -fr * .* as root on a customer system.

      They had no backups.

      I was looking for a job that afternoon.

      --
      Liberation is not deliverance.
  22. Back at Hahvahd by Frequency+Domain · · Score: 2, Funny

    Telling that twerp Bill that he should quit school and try his hand in the computer industry.

  23. blowing up my computer by chendo · · Score: 4, Funny

    I was young (around 8 at the time, can't remember) and I was bored one afternoon. I started fiddling around with the back of the computer, the PSU, to be exact. The red button looked fun to play with.

    It was on 220v. I turned the computer on. It worked. Then I tried putting it on 110v and turning it on. Nothing. Then I switched it back to 220v, turned it on, and switched it to 110v while it was on.

    Boom.

    Moral of the story is, trial and error isn't the best way to learn hardware, and don't throw water on the smoking PSU while it's still live.

    --
    Founder of Mirror Moon - Tsukihime Game Trans
    1. Re:blowing up my computer by Anonymous Coward · · Score: 0

      Thank you for this! I've got a 10 year-old and this is an excellent reminder that some of the safety rules of modern society are not obvious. I think this weekend we'll sit down and have a little how-to-handle-emergencies discussion. Cover things like the fact that you don't put out electrical or oil fires with water... again, thank you.

    2. Re:blowing up my computer by varuul · · Score: 1

      If you can catch all that smoke and put it back in there, it should be just fine.

    3. Re:blowing up my computer by golrien · · Score: 1

      A long time ago, I remember having my first PC built for me. While dad was out of the room, I looked around the case and carefully pulled out all the ugly little black plastic things on the motherboard and piled them in the corner of the case. No smoke, no fire, just a totally fried 486. That was the time I learned what "jumpers" were

    4. Re:blowing up my computer by wmguy · · Score: 1

      It's not my biggest mistake, but certainly the most memorable. I was working as a tech at a computer store and needed the replace the switch on a power supply, but I forgot to unplug the power cord. I succeeded in creating a nice fireworks show and welding a screwdriver to the case--all with the machine's owner watching!

      Even more surprising is that he gave me a $20 tip when I carried his machine out to his car!

    5. Re:blowing up my computer by joshuac · · Score: 1

      Your first computer was a 486? And that was a long time ago? Wow, I'm feeling old all of a sudden...

    6. Re:blowing up my computer by Orien · · Score: 1

      This reminds me of a story one of my professors told me. A couple of decades ago some rich nut dropped like $50,000 to the university to pay for an entire computer lab. This was unheard of for such a small school, and everyone was excited about it. I don't remember the type of unit, but it would have been Apple II or something equivalent. In those days classrooms didn't have very many outlets on the walls so they had installed a running outlet strip that ran around the whole length of the room to plug all the computers into. They had a big grand opening ceremony, and with a grand flourish the professor flipped a switch to the power strip that was supposed to turn all the computers on at one time. Unfortunately they had wired the outlet strip backwards and instead, the entire room of donated computers was instantly fried. Fifty grand down the drain. I had a good chuckle out of that one.

    7. Re:blowing up my computer by Saint+Aardvark · · Score: 1
      This isn't my worst mistake, but it's probably my worst series of mistakes.

      My wife had bought an iMac from her last job, and it had always given her problems -- random crashes and the like. It finally occurred to me last year that maybe we should replace it.

      I assembled a new computer for her based around a K7S5A mobo and Athlon 2600. Worked fine, but the Athlon would only run at 1600MHz instead of 2100. Stupid me, I hadn't checked the mobo specs to see what it support. I Googled and eventually became convinced that a BIOS upgrade would do the trick.

      The first upgrade went well enough (ie, didn't destroy anything), but the processor was still only running at 1600MHz. Oh, and the USB stopped working...pretty important, since her keyboard and mouse were USB and I didn't have any PS2 keyboards around. Fuck. So I decided to reflash with another version, and this time it really got fucked: the POST stopped right after detecting RAM -- simply wouldn't go any further no matter what. Tried everything I could but couldn't get it working. Googled again and found that maybe if I got another K7S5A, pried the flash chip off it, put it into the dead one, booted, pried out the working chip, put the dead chip back in and flashed it, it'd work.

      Well, fuck that noise. I was pretty upset by this point; I do this for a living (!) and couldn't believe I'd screwed up so badly. (My wife was very understanding, thankfully.)

      I decided to upgrade to an Asus. After checking specs carefully, I bought an A7N8X-VM and brought it home. I assembled everything carefully, then plugged it in to check the POST. Everything seemed fine when I started to wonder why I smelled melting plastic.

      The case's front USB connectors were all individual plastic connectors, not one monolithic block of plastic. I'd hooked 'em up wrong, and I watched, horrified, as the insulation on the two USB connectors bubble and fuse.

      Now, when I assemble a computer, I don't touch the front USB connectors unless it's got a monolithic connector. And whenever I turn on a newly-assembled computer, I leave the case open and hover over it, sniffing deeply until I've made sure nothing is on fire.

  24. a day's transactions... by Anonymous Coward · · Score: 0

    i think i'll post this anonymously.

    i work for a financial transaction company. i had just started and i was nursing along a system the previous programmer had written. the code had this "feature" where a nightly job would rotate its logs by just opening and truncating a file with a date encoded in it. it also had a bug where it would get stuck. so the first time we hit that bug, i just killed and restarted the job. and again. and again.

    the problem is that the log file contained the days transactions. oops.

    so i spent about 24 hours straight figuring out how to recreate the logs - in the end i did with the sole caveat that i could only retreive the date, not the time. luckily our bills only showed the date, not the time (which i set to noon that day).

    ah, stress? what stress?

    obviously all code i write does not just blindly open and truncate log files. that was just a vague rule before, now i'm rather fanatical about it. plus i record important info in multiple places. disk space is cheaper than 24 straight hours of stress.

  25. Really? I believe the opposite is true by Isao · · Score: 2, Insightful
    The more experience I and my coworkers have, the fewer mistakes we make, and they are less severe than before. This is because we learn from previous errors, and apply those lessons to entire classes of problems, not simply the error itself.

    I think the articles implication of "the more we learn, the less we think" is wrong.

  26. Blowing away a new database by drkich · · Score: 2, Funny

    Back in 1998, we were working on site deploying a new product to a customer. The product required us to create a new database on MS SQL Server. Well because of the size of this database, it takes over 5 hours to create. We could not continue on with the deployment until this was finished.

    Well when it finished, in a rush to get out of there, I accidentally deleted the database and had to restart the process all over again. Many a cow-orker was pissed at me. Had to stay an extra day to complete the deployment.

  27. Getting a cheap power supply by trajano · · Score: 2, Interesting

    I've lost my machine to cheap power supplies. The first time I thought was just a freak accident (blew the motherboard, CD drives, hard drive), since then I go for the Enermax and not some unbranded power supply.

    --
    Archie - CIO-for-hire :-)
    1. Re:Getting a cheap power supply by Jarlsberg · · Score: 1

      Using a UPS helps a lot too. With all the bad weather we've been having this winter the electricity has been a bit uneven. Using an UPS ensures that the computers get an even flow of electricity. Coupled with decent power suppplies (enermax is a great brand), you're pretty well protected against power fluctuations.

    2. Re:Getting a cheap power supply by trajano · · Score: 1

      Yup I am definitely thinking about it. Any recommendations/suggestions on selecting a good UPS?

      --
      Archie - CIO-for-hire :-)
    3. Re:Getting a cheap power supply by Jarlsberg · · Score: 1

      I'm pretty satisfied with the one I'm using. It's from a company called Match, and the product is Match Lite. It comes with a reasonable price tag and easily supports two PC and monitors (which I noticed during the last power outage. While all the lights went out everywhere I was still basking in the comfortable light from my computer screens).

  28. not so bad -- but still stupid by j-turkey · · Score: 3, Funny

    So this wasn't a production machine I screwed up or anything, but I'm still a moron.

    I had a Linux workstation that was ultimately adopted by the development group I worked with in the late 90's. Anyway, for some reason I needed to make a boot disk from an image. For some other reason, while typing in my command line, I was thinking fd0 but managed to type hda. So my line was dd if=/wherever/whatever.img of=/dev/hda.

    Anyway, before looking at what I had typed, I hit enter. About 2ms later, I glanced up at what was on the screen and exclaimed something along the lines of "holy fscking shit!" and simultaniously hit a ctrl+c. Interestingly enough, the drive still kind of worked. I tried copying the contents of the disk over to another device, but I found that with each command - nay, each disk access, the filesystem would disintegrate further. I was able to save /home -- but I otherwise had to reOS the system.

    I guess I've done much more stupid things with production machines -- but these were better machines, with storage on a NetApp NAS, which all had snapshots, so recovery was nearly instantanous.

    These are not things that I include on my resume. (So -- anyone want to hire a disaster waiting to happen?) ;)

    --

    -Turkey

    1. Re:not so bad -- but still stupid by Wolfrider · · Score: 1

      --I did the same exact thing a couple of months ago, trying to create a Knoppix bootfloppy for my parent's system. Was able to stop it and reinstall Win98 from backups.

      --Needless to say I'm more careful now ;)

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    2. Re:not so bad -- but still stupid by CmdrTHAC0 · · Score: 1

      I did something similar. Some version of Oracle and my scanner software conflicted, and uninstalling Oracle didn't replace the DLLs... and neither did a non-destructive reinstall of Windows. So I switched to Linux (it was a dual-boot box), and figured I'd scribble over the FAT and Windows would actually format it. But rather than hde1, I put the plain hde in the dd command.

      NO OPERATING SYSTEM INSTALLED
      INSERT SYSTEM DISK AND PRESS ENTER


      Windows 98SE will cheerfully install on a system with no partition table, but it cannot be booted afterwards. Thank God for freshmeat! Through them I found a static gpart (guess partitions) and restored everything... by sneakernetting it to another box, because no Linux tools would put the partition boundaries out in the middle of tracks! After that, I use fdisk and make my own partitions, and print the table when I'm done.

      --
      __CmdrTHAC0__
      In Soviet Russia, Spanish Inquisition doesn't expect YOU!!
  29. choose good mount point names by Anonymous Coward · · Score: 0

    mv some.file /dev/hda1

    no wait, i meant /mnt/hda1!

    aw crap.

    1. Re:choose good mount point names by 0x0d0a · · Score: 1

      I wouldn't think that would cause a problem.

      It should unlink() the device file. However, the thing is already mounted. So all you have to do is recreate the device file with mknod and reboot and everything is back to normal.

  30. my own list by mooingyak · · Score: 1

    These are partly the fault of the company, as the development/qa/production all occur on the same machine, but anyway, here are a couple.

    I deleted a client's production database. I got lucky with this one, since even though it was a major client, the backup was 6 hours old and they were only using it for the last 90 minutes or so.

    When experimenting with how to use the fork() system call, I wrote a program that was more or less equivalent to:

    int main(void)
    {
    while ( 1 )
    {
    fork(); /* do stuff */
    }
    }

    which brought the server (production) to a screaming halt. (for those not familiar, this will basically spawn processes indefinitly. We had to reboot).

    --
    William of Ockham had no beard. The most likely explanation is that it was chewed off by squirrels every morning.
    1. Re:my own list by wayne606 · · Score: 1

      Ha ha, everybody has done that at one point in their careers....

    2. Re:my own list by bckrispi · · Score: 1

      You used the words "experimenting" and "production" in the same context. That in itself is a recipe for disaster :)

      --
      Xenon, where's my money? -Borno
    3. Re:my own list by kcurrie · · Score: 2, Informative

      'tis true. While in college (1990) I did a similar thing, and another student and I worked frantically to try to kill the fork bombs as fast as possible. Of course, you can't be fast enough to kill a tight enough loop and the machine quickly was unable to run any new processes. We each had a bunch of xterms up, but any command we tried to run we got the old "no more processes message". We thought we were screwed, until our very sharp prof (an engineer from Nortel actually) typed this into one of our xterms:
      exec kill -9 -1

      The exec overlays the new process, the -1 kills all of the current users processes. It seems the -1 option is a nice undocumented trick-- I've don't think I've seen it mentioned elsewhere... don't do this as root, BTW :-)

      --
      -- I speak only for myself.
    4. Re:my own list by Anonymous Coward · · Score: 0

      The NetBSD reference manual mentions it. The -1 isn't an option in this case, it's a pid.

    5. Re:my own list by dead_penguin · · Score: 1

      ...the -1 kills all of the current users processes. It seems the -1 option is a nice undocumented trick-- I've don't think I've seen it mentioned elsewhere...

      RTFM! ;) From the kill (1) manpage:

      -1 All processes with pid larger than 1 will be signaled.

      This will send the signal (9 in this case) to all processes. Unless you're running as root, this will only kill -9 processes that are yours.

      --

      It's only software!
    6. Re:my own list by kcurrie · · Score: 1


      Heh, I did RTFM, it wasn't there :-) It's there in Linux, but still not in Solaris. The boxes in question at the time were Ultrix boxes and I don't have any of those handy to check right now :-) ..another poster mentioned that it was listed in the NetBSD manpages-- I wonder when it was added, as I'd swear it wasn't there back in those days-- I ran NetBSD on my Amiga 4000.

      --
      -- I speak only for myself.
    7. Re:my own list by Anonymous Coward · · Score: 0


      Back in the early nineties, I had a similar fork'ing problem. We were using HPUX CSH. No command line editing. No xterms. Just bare-bones dumb terminals, and a lot of typing...

      I actually wanted to install TCSH. Management turned me down.

      So, do it the old fashioned way: Used command line substitution an awful lot.

      Do you know the difference between " and ' ?

      How about the difference between:

      alias a "echo `echo \!:*`"

      and

      alias a 'echo `echo '"\!:*"'`'

      E.g.:

      echo a echo a echo a echo a echo a echo a echo a echo a echo a echo a echo a echo a echo a echo a echo a echo

      and

      echo `echo !:*`

      TCSH, even back then, would catch the former. HPUX CSH did not. HPUX CSH created an infinite number of recursively forked subshells.

      I was working on the production server at the time.

      Suddenly no more processes could be forked.

      And every help desk phone in the facility started to ring at once...

      Hmm. Maybe I'd better post anonymously...

      And no, echo was just a demonstration. My actual alias was somewhat more complicated.

    8. Re:my own list by lobotomy · · Score: 1
      Yep, while first learning Unix in the early 90's, I ran the same thing and was utterly shocked to find out that I was able to bring the *whole* system completely to its knees. I was used to working on Control Data CYBER mainframes (I was a true Cyber Punk) and on real computers, it just isn't possible for a mere user to bring the whole system down. I was so disgusted that I started wearing a "Unix Sux!" button.

      To this day, I still think that NOS/VE is the closest thing to perfection that I have ever seen in an OS (or am likely to see in my lifetime).

    9. Re:my own list by azalin · · Score: 1

      Way back, when I just started using *nix, I also learned of this nice and handy little command. Well being lazy, I used it a little more often than necessary - hey why should I care to cancel the tasks individualy, if I wanted to log off anyway. Well some nice day we where given access to a bunch of solaris boxes. Well, some infinite loop later I decided it would probably faster to kill everything and to log on again. The admininstrator wasn't to happy he had to reastart the X-Server again for the third time this day (hey, at least I wasn't the only one).

  31. Playing soundfile on remote UNIX box by GuyMannDude · · Score: 5, Funny

    Oh man. So I was a grad student, right? I was always trying to portray myself as a very serious, dedicated student to my thesis advisor. And he had the fastest computer in the department (a Sparc10!) and he gave me permission to use it for batch runs. So I pretty much kept one of my xterms as a remote terminal to his machine.

    Anyhow, one day I found this funny .au (sound) file and wanted to play it for my office mates. So I did a 'cat naked.au > /dev/audio'. Nothing happened. So I turned up the volume and tried it again. Still nothing. Then I screached in horror! I was typing this command in on the xterm I use for my advisor's machine! Sure enough, two seconds later an email comes trickling in from my advisor stating 'Please note that you are logged into my machine so your sound file is coming through my speakers.'

    So what was this sound file that I had inadvertently played for my advisor?

    Butthead: "Whoa! Naked chicks!"
    Beavis (excitedly): "Yeah! Naked chicks! Naked chicks!"

    GMD

    1. Re:Playing soundfile on remote UNIX box by Kingpin · · Score: 1


      But how did you manage to also put it on his disk first?

      --
      Unable to read configuration file '/bigassraid/htdig//conf/14229.conf'
      Geocrawler error message.
    2. Re:Playing soundfile on remote UNIX box by Anonymous Coward · · Score: 0

      Duh. Ever heard of NFS?

      His home was on a remote file server but /dev/audio was not. It was local to his shell on his prof's machine.

      Don't you kids know *anything* anymore?

    3. Re:Playing soundfile on remote UNIX box by msuzio · · Score: 1

      I'd assume his home directory was NFS mounted on said machine also. I've done pretty much the same thing myself before, just not with such spectacular results.

      Actually, as I recall, we used to do this *deliberately* quite a lot in the old computer lab. At the time, it seemed pretty damn hilarious...

    4. Re:Playing soundfile on remote UNIX box by Anonymous Coward · · Score: 0

      apparently not

    5. Re:Playing soundfile on remote UNIX box by Anonymous Coward · · Score: 0

      We did similar things at Penn State in the GIS lab.
      Flash Back: Nine SPARC 10's around the room all playing flush.au (round and round) when we knew a professor was teaching in the lab

    6. Re:Playing soundfile on remote UNIX box by 0x0d0a · · Score: 1

      Actually, that's a good way to get smacked down when the prof goes to the dean and complains.

      He just checks "w" and "last" output.

    7. Re:Playing soundfile on remote UNIX box by Tackhead · · Score: 2, Funny
      > So I did a 'cat naked.au > /dev/audio'. [ ... ] 'Please note that you are logged into my machine so your sound file is coming through my speakers.
      >
      >So what was this sound file that I had inadvertently played for my advisor?
      >
      > Butthead: "Whoa! Naked chicks!"
      > Beavis (excitedly): "Yeah! Naked chicks! Naked chicks!"

      Geez... kids these days.

      sally.au

      You old-schoolers know what I'm talkin' about.

      Dumbest Tech Mistake: Air conditioner fails in a server room full of machines running SunOS 4.1. We've got the doors open, we've got fans blowing, we've got people talking about getting dry ice from a nearby hospital.

      To help keep the room cool, we turned off all the CRTs in the server room. One by one, we turned off the big 19" monochrome monitors hooked into the video ports of the smaller Sun boxen we were using to offload some application stuff from the big servers.

      Then we turned off the 12" monochrome monitors on the 9600-baud dumb terminals attached to ttya on the bigger Sun boxen that were acting as the big servers.

      And then we remembered that a BREAK gets sent upon shutdown of a dumb terminal. And we didn't have to worry about cooling the server room anymore.

    8. Re:Playing soundfile on remote UNIX box by meme_police · · Score: 1

      Didn't you just have to type Go at the OpenBoot prompt? Or was OpenBoot much different back then?

      --

      The meme police, They live inside of my head

    9. Re:Playing soundfile on remote UNIX box by Tackhead · · Score: 1
      > Didn't you just have to type Go at the OpenBoot prompt? Or was OpenBoot much different back then?

      Well, yeah, but by the time the whole thing could have been brought back up, the point would have been moot. So we just shrugged, blamed the overheating, said we did everything we could have, and told everyone to go home. :)

      Which wasn't that big of a lie. Temperatures in the room had been rising quickly enough that we probably would have had to shut down in an hour or two anyway. The last mistake only hastened the inevitable.

    10. Re:Playing soundfile on remote UNIX box by XO · · Score: 1

      Umm.. I don't get it. what would sending a break sequence cause? Am I dumb?

      --
      "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    11. Re:Playing soundfile on remote UNIX box by Anonymous Coward · · Score: 0

      On a sun box you get:

      OK >

      Which is the firmware prompt.

      If you have access to a sun box just type -A
      on the keyboard for the same trick. Also, unplugging the keyboard from a running sun box does the same thing (since it is basically the same as unplugging a dumb term.)

      I'm pretty sure (although not 100% positive) that when you drop down to the firmware that you effictivly halt the machine until you type go.

      Try accidently hitting the suspend button on the keyboard of an Ultra or higher :)

    12. Re:Playing soundfile on remote UNIX box by StandardDeviant · · Score: 1

      On solaris up to and including 7, unless you set some fiddly bits in the right way (which I am at the moment forgetting), sending the console a BREAK would halt the machine. Instantly. (not powered-off halt, but down to the OpenBoot firmware, which meant the OS and everything above the level of the bios was off, in pc terms). Thankfully, solaris 8 and later don't have this "feature."

    13. Re:Playing soundfile on remote UNIX box by Jerf · · Score: 3, Informative

      Geez, kids these days.

      sally.au

      You old-schoolers know what I'm talkin' about.


      Oh, come on, old schooler, get with the program. This is the web, for crying out loud! That should read as:

      sally.au

      Much better.

      Warning, not safe for work ;-)

      (A class 2 sarcasm warning has been issued for this post.)

    14. Re:Playing soundfile on remote UNIX box by sparcv9 · · Score: 1
      Actually, it's not a feature of the OS at all; it's a feature of the hardware. You can still send a BREAK to the console of a Sun box running Solaris 8 and drop it to the OBP's "ok" prompt, thereby halting the system. With bigger Sun boxes (4800s, 6800s, etc) that have system controllers and can be broken in to domains (virtual servers in the same chassis), a BREAK will drop you to the system controller prompt, leaving the OSes on each domain up and running. (Even so, I still get the willies sending a BREAK to the 6800s that run financials for the entire University.)

      Anyways, because of the fact that most Sun boxes drop to the OBP on a BREAK, we have to make sure to configure all of our DECservers (serial terminal servers turned around backwards to act as console concentrators) to not send a BREAK to all ports on a power event.

      --

      This is not a Fugazi .sig
    15. Re:Playing soundfile on remote UNIX box by NateTech · · Score: 1

      Not true. Sol 8 and 9 do this on all the boxes I admin. It's not the software, it's the hardware.

      You can also send a true BREAK from something like minicom (Ctrl-Z F) if you're on the serial console and it'll do it... it's still a feature.

      And a BREAK is sometimes interpreted when you run the serial console at faster speeds and unplug from it. 9600 bps 8-N-1 recommended.

      --
      +++OK ATH
    16. Re:Playing soundfile on remote UNIX box by XO · · Score: 1

      wow, this sounds frightening. Especially when you consider it would be possible for a BREAK to be caused by interference of some nature.. *thinking back to dialups interpreting line noise as a break signal sometimes, since i used to use an internet connection that a BREAK signal would drop it back to a command mode*

      --
      "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    17. Re:Playing soundfile on remote UNIX box by Mr+Z · · Score: 1

      Sometimes rsh host command can be useful. If you don't log in, you just remote exec, then no record gets put to either utmp or wtmp. If the machine has process accounting enabled, the prof needs to know to look through the acctcom logs or similar, but how likely is that?

      Another trick that was fun to play in a lab was "cat /dev/audio | rsh somehost 'cat > /dev/audio'". With all the network buffering lag and the low sampling rate, it made for some creepy echos.

      Side note: If you don't mind not having a proper controlling terminal, but want to do something "behind the scenes" and not show up in utmp or wtmp, then try "rsh somehost /bin/sh -i".

      --Joe
    18. Re:Playing soundfile on remote UNIX box by jim3e8 · · Score: 1

      In the same vein, and good for hours of fun is listening in to a remote system's microphone. Thankfully, some modern Unices have taken the hint and tightened up security, setting /dev/audio etc. to mode 660 and owned by root:audio, or similar.

    19. Re:Playing soundfile on remote UNIX box by zsekeres · · Score: 1

      Not really OT, but ... Same setup access, access to remote Sparc of my boss with audio. Then I found this sound snippet from "2001: A Space Odyssey" where the guy is heavily breathing in his space suit. Ok, what happens if I let it play on the Sparc in an infinite loop ? 2 hours later I get a call: "Why is my box breathing ?" Turns our that they noticed the sound but could not locate it and turned off box after the other to find the origin. -- zoltan

  32. this one time, at band camp... by Tumbleweed · · Score: 1

    Okay, so "back in the day" (Amiga!), I got this really spiffy new floppy disk copying program, and decided that would be a good time to make backups of all my floppies (no HD back then). So I fired up the new copying program, and made backups of all my floppies.

    Unfortunately, I hadn't taken quiiiiiite enough time to learn how this new copy program worked - it LOOKED pretty easy to use, but, well...no.

    Instead of making backups of all my floppies, it had reformatted each of the floppies I put in to make backups OF, and formatted the 'copies' I thought I was making, thus wiping out my entire floppy collection.

    *sigh*

    1. Re:this one time, at band camp... by SomeGuyFromCA · · Score: 1

      Which is why Amiga floppies had this great thing called a sliding write protect tab.

      In fact, since it was no tab == no copy, many games came on floppies with no tab - just a hole.

      --
      if the answer isn't violence, neither is your silence / freedom of expression doesn't make it alright
    2. Re:this one time, at band camp... by zipsonic · · Score: 1

      In 97, I was working on my home PC, formatting a bunch of floppy disks in DOS... I had been typing Format a: /u... my roommate walked by and said dont format c:, and i'm like haha, that would be great... After a couple of minutes I realized that it was taking a bit longer than normal, and I freaked. I had typed Format c: /u and I could not find my Norton unformat disk for the life of me... 4 hours, and an install of 95 later, I was mostly back to normal...

    3. Re:this one time, at band camp... by Wolfrider · · Score: 1

      --This is why you flip the write-protection thingy on your originals, and always test the first copy before continuing. /me nods wisely and posts from 20/20 HINDSIGHT

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  33. Not me making the decision... by pp · · Score: 1

    But I did feel a bit stupid watching my school spend $160/box to roll out 16-bit Microsoft TCP/IP for WFWG 3.11 on all of the machines. A week after the order was made, a free 32-bit beta that worked quite a bit better was announced :-(

    One of the worst personal mistakes is when I installed Linux 0.98 from the boot/rootdisk combination to my harddrive (previous versions I had to use from floppy due to missing support for my scsi adapter) I had a partition setup for it and everything. When the thing asked where I wanted to install, I answered /dev/sda instead of /dev/sda2 :-( (where sda1 was my DOS partition with code I didn't want to lose of which I had no backups :( )

    Of course, that episode made my transition to Linux as the primary OS a lot faster since I had to restart those projects from scratch and started using gcc instead of borland while I was at it :-)

  34. Cisco Routers by eric2hill · · Score: 1

    I was planning an update to our global network to convert from RIP to OSPF so we could do some trivial load balancing.

    Step 1: I telnetted into our core router and turned off RIP.

    Step 2: Turn on OSPF.

    The problem was that turning off RIP first killed all of our traffic world-wide. Oops. 10 seconds later OSPF brought the network back up. Sigh.

    --
    LOAD "SIG",8,1
    LOADING...
    READY.
    RUN
  35. FoxPro-based MRP & Bad Networking by runswithd6s · · Score: 2, Interesting
    I have two, both at the same company. I was hired on as The Tech Guy(TM) at a local OEM Manufacturer. They were willing to take me on w/limited experience but my pay reflected it. My first job was to replace their existing DOS-Cobal Manufacturing Resource Planning (MRP) software before the Y2K problems hit. The original software company wasn't supporting the old version any longer and the Mfg was getting too large for the program. They looked at a number of demos that were slow and painful, but they decided to try a "favorable" application (See also: cheap).

    My mistake was to give the techie "thumbs up" under pressure. I folded to the "We needed this yesterday" argument despite my misgivings about the software. I paid for that mistake for the next year in slavish tech support. We became the software company's test bed as we found bug after bug. The software "worked", but operator efficiency dropped, and uptime was sub-optimal. "Customization" caused problems, etc., etc.

    The second mistake I made was to attempt to use VPN over Broadband with Citrix MetaFrame. Although MetaFrame was a pretty secure and slim protocol for remote desktops, the Internet provider on the remote site had horrible latency problems and was run by a group of amatures. I should have stuck with the original Sprint frame relay proposal.

    Morals of the story: don't let PHB push you into a solution you don't trust, and when network reliability is important, pay for assured quality of frame relay.

    --
    assert(expired(knowledge)); /* core dump */
    1. Re:FoxPro-based MRP & Bad Networking by rpjs · · Score: 2, Informative

      I had a similar experience a few years back. The county council I worked for wanted a PC-based employment budgeting system and in best local govt style a comittee (of end-users) was appointed to select a package that we could be build a customised application on. I was lead technical advisor on the assessment and would be leading the application build. However, it was the committee who would select the package... Uh-oh. Oh and I did mention that the leader of the committee was the most psycho person I've ever had to deal with in my entire career?

      We reviewed a whole load of packages and shortlisted two. One was a DOS-based package which had been around for years and I was quite confident would do the job with no problems. the other was a new windows-based package which had very little track record but a whizzo point-and-drool GUI and some very slick salespeople. I had, shall we say less confidence in this package meeting our needs and had recommended that we not even shortlist it (to be fair, I had no doubts it was a fine piece of software for the purposes it was designed for, just that those purposes couldn't be streched to cover what we needed to do).

      Of course, the committee chose the Windows package, a decision I made it quite clear I disagreed with. But to no avail, and in due course contracts were signed and myself and a colleague were sent off to the Smoke (London for non-Yookay readers) to learn how to use the package.

      Within a day or so it was quite clear to me that what I had suspected was true: there was no way this software could do what the salespeople claimed it could and that it could not begin to do what we wanted. I had visions of a long, nasty project, doomed to failure and quite probably legal action with me probably getting the blame. However, a small miracle intervened in that the course trainer turned out to be an old schoolfriend of my colleague, and after we'd explained what we wanted to do, he agreed that we'd been sold a pig in a poke and was willing to back us up when we complained to the suppliers, his employers!

      So thankfully the contracts got cancelled and it was decided to write an app from scratch in VB. As at the time I had no VB experience so I had nothing more to do with the project, which still turned into a disaster, just not as bad as it could have been.

      The committee leader stayed in her post and led many other disasters until, again in best local government style, she got pensioned off early for "medical reasons" a couple of years later.

      Still, I get a week in London out of it.

  36. My Commander told me to kill the network by Perdo · · Score: 5, Interesting

    I was a young pup in the Army, during a training exercise. My Commander told me to kill the network, to "simulate" it's loss. We were operating a frequency hopping radio network, which of course is based on time. As the master node, I controlled the time. I pumped my transmitter to full power, and slowly pulled the stations that could recieve my signal out of time. Lowered power, pulled a smaller number of stations even farther out of time. Wash, rinse, repeat.

    Commander thought I was brilliant, and so did I. I had fractured our network into at least 10 different domains. No one could talk to anyone, effectively "simulating" an enemy jamming attempt. It would take hours to restore the network, with many mad commo guys having to drive about with Pluggers, early GPS devices, to restore each radio to propper time.

    Then a tank flipped. Someone died. No one could call for help. I am so damn smart.

    No moon black, At 2 in the morning, in an upside down tank, the gunner figured out how to put his radio in plain text to call for help. It took him almost half an hour.

    --

    If voting were effective, it would be illegal by now.

    1. Re:My Commander told me to kill the network by wayne606 · · Score: 4, Insightful

      It sounds like you did exactly what you were supposed to do. Isn't part of the point of a training exercise that the danger is real and freak accidents like that can happen? Maybe the real mistake was not having an emergency backup communication system (and the same would apply for a real conflict situation).

    2. Re:My Commander told me to kill the network by 0x0d0a · · Score: 4, Insightful

      You know, while that had bad consequences, it also isn't something that I'd call your mistake. Your CO asked you to kill the network, you did so. The issue that came up wasn't a technical one specific to the issue, so you weren't in a position where I'd expect you to be able to advise your CO using specialty information. This wasn't something unethical, where you might have taken another course of action, or illegal, where you should have refused to follow an order. You did exactly what your orders stipulated that you do.

      Frankly, from the post, I doubt that the person dying could have been saved if the radio had been active.

      Furthermore, unless the Army has rules requiring that personnel on training exercises have a comm system always up, I'm not sure that even your CO made a poor decision. There is such a thing as tragedy -- where everyone really did do the right thing, and someone still gets hurt as a result.

      It's kind of like deciding to drive down Main Street in a town instead of Lambert Street and hitting and killing a kid that ran out into the street. Yes, had you taken the other road, the kid would have been alive. However, you can't be expected to or be *able* to always make the decision that produces the best outcome, or you'd be the best gambler in the world. The only thing that you can do is what seems the most sensible thing given the information that you have at the time. You did that, and nobody could ask for more.

    3. Re:My Commander told me to kill the network by scorp1us · · Score: 3, Insightful

      This sucks, but you did what you were told. And it is not your fault the tank flipped. Better simulate a loss in comms and have your men learn that they can send plain text over their radio, than lose 10 men in wartime.

      Still, I'd feel horrible. But I wouldn't hold you responsible.

      --
      Slashdot's rate-of-post filter: Preventing you from posting too many great ideas at once.
    4. Re:My Commander told me to kill the network by phorm · · Score: 1

      I'm not sure that even your CO made a poor decision

      Downing of the network to simulate being scrambled. Not a bad decision at all.Even perhaps a good preparatory measure.

      Downing the network without first putting out a bulletin or other method of letting people know... not a good thing. Think "downing the server with people running live writes" without first notifying people to back their data up.

    5. Re:My Commander told me to kill the network by Just+Some+Guy · · Score: 1

      It was a combat simulation. The idea is that you never know how or when the enemy force is going to strike, so you have to be prepared for anything that may come your way. Giving advance notice that the network was going down would defeat the purpose of disrupting it in the first place.

      --
      Dewey, what part of this looks like authorities should be involved?
  37. rm -f fstab by =weezer= · · Score: 1

    A couple of years back (using a Mandrake distro that was still basically Red Hat with some changes) I was messing around with the fstab file, trying to get a cdwriter to work, and decided that I had screwed it up beyond repair. Since I was coming from the "Wonderful World of Windows" I expected these files to autogenerate themselves on bootup (how? why? etc etc). So I deleted the fstab file . . and upon reboot found that, no, the absence of an fstab file is not a quick way to have a new one generated.

  38. worst mistake ever. by MoOsEb0y · · Score: 1

    Posting your worst tech mistake ever on slashdot and forgetting to check "Post Anonymously".

  39. In a K-12 school... by mrscott · · Score: 1

    I worked in K-12 for a few years as a network engineer and programmer (weird combo, but's served me well)

    The particular district I worked for supported three school districts on a single Data General minicomputer. This meant three separate student databases. When we wrote new apps, we would install the app and then create a symbolic link to the student database for which we were installing it. In this way, a single new app could be easily rolled out to all three.

    Once... (just once!), I rolled out the new app and linked to the wrong student database. Without remembering thatI had changed directories, I deleted the symbolic link to the student database... or so I thought until the phone started ringing. I had deleted the entire student database - not the link.

    Fortunately, we had a good backup from the night before and this had taken place in the morning...

    1. Re:In a K-12 school... by Anonymous Coward · · Score: 0

      Speaking of deleting student databases. I work at a large private school. All info about everything at this school is stored on one box running SQL-Server. It was my first day on the job and I was supposed to completely reinstall the OS from scratch as they were having all kinds of problems with that server.
      I asked if the DBA had backed up the database and someone told me he had. Well, he hadn't. In fact he never backed anything up! Years of data was lost. It was my first day on the job and I almost shit my pants. It was one of the most horrible feelings I've ever felt. Luckily, the guy who took all the heat was the guy who told me that the DBA had backed everything up, who turned out to be some clueless luser from the marketing dept but I didn't know that at the time.

  40. The days of the big-blue-paperweight... by fstat(pipe) · · Score: 1

    Not really a tech blunder but...
    Many years ago when I was a operator of an IBM 370 MF, I was showing a junior operator around the system console. My famous last words were "never, ever, ever press this button," as I proceded to depress the system halt button. Alarms went off, managers came running into the room. It was a mystery to all but me and the junior. We still laugh about that.

    -Dumbass

  41. cd /etc by Fizzl · · Score: 1

    rm -f * ~

    (Should have been 'rm -f *~')

    1. Re:cd /etc by Lord+Bitman · · Score: 1

      I really don't see why rm doesnt have something built in that sees you type rm -rf / and just prints out a little message: "what, do you think I'm fucking stupid? No, I will not do that. (dumbass)"

      --
      -- 'The' Lord and Master Bitman On High, Master Of All
    2. Re:cd /etc by Anonymous Coward · · Score: 0

      So grab the source, patch that in, and recompile.

      Behold the power of open source.

    3. Re:cd /etc by Lord+Bitman · · Score: 1

      Wow, it's like you're an idiot or something. But that couldnt be! Why would an idiot post as AC?!

      --
      -- 'The' Lord and Master Bitman On High, Master Of All
    4. Re:cd /etc by portscan · · Score: 1

      Honestly, this is why I don't use emacs for config file editing. I hate all those *~ files and I know I will just be deleting them all the time. It's one thing for source code somewhere in your own home directory, but another thing to be cluttering up /etc. Vi (actually I use vim) works great for config files, or you can use nano/pico/whatever if you don't like the modefulness (is that a word?) of vi.

    5. Re:cd /etc by redog · · Score: 1

      I too don't care for emacs but vim has somethings I do like alot, and I always make sure set backup is on in my .vimrc. With "set bdir=~/tmp" I can set the backup directory of edited files. Combine that with "set bex=.bak" and you can do away with the annoying ~

    6. Re:cd /etc by NateTech · · Score: 1

      Don't use /tmp while editing large files on a Solaris box please. (It's RAM, silly.) Get out of the habit of using it in general.

      $HOME/tmp would be more appropriate in almost all cases anyway... perms on /tmp could be set up to allow others to view your work-in-progress.

      --
      +++OK ATH
    7. Re:cd /etc by redog · · Score: 1

      excuse me sir but ~/tmp == $HOME/tmp

    8. Re:cd /etc by NateTech · · Score: 1

      Doh. I completely missed the ~ .

      Of course even funnier is that someone modded me up. Good lord. :-)

      --
      +++OK ATH
  42. Debugs on live routers by Anonymous Coward · · Score: 0
    I once inadvertantly did 'debug ip packet' on a core router, at a service provider that shall remain nameless (posting AC too to protect my ass ;)
    Obviously the thing crashed before me plus a couple of colleagues that were working with me on this box. All of us were all like, 'ooops' or 'shit...' The router was configured with something like 20 BGP peers, carrying multi-gigabit internet traffic accross one of the largest East Coast backbone.

    Lessons learned: targeted traffic debugs (against an ACL), disabling console logging (only buffered) before launching heavy debugs.

  43. ugh by Anonymous Coward · · Score: 0

    installing and using Redhat 6.1 with Gnome.

    I got to use the rm * -fr command though :)

  44. I flooded the building. by Futurepower(R) · · Score: 2, Funny

    Not about computers, but: While working for a Physics research lab, I made a laser water jacket without a bulge at the end of the inlet pipe. The water pressure rose at night, the tubing slipped off, and the 2nd floor and part of the first was flooded, including expensive test gear like oscilloscopes.

    1. Re:I flooded the building. by krysith · · Score: 1

      I did something similar, although not as uh, deep.

      Back in my fusion days, we used a water cooled turbomolecular pump for our high vac. Main experiment was being done in one room, and the water supply was down the hall. So of course, we just ran tubing down the hall to the pump, and then back again to the drain.

      One night the tubing came loose. When I came in in the morning, the floor was an inch deep in water. Luckily the tubing had come loose downstream of the pump, so it was fine. Amazingly, none of the high voltage equipment was damaged, although we couldn't turn it on for days while the whole lab dried.

      So we fixed up the tubing to make damned sure that it wouldn't come loose again. You can imagine the look on my face when I came in one morning a few weeks later to find the whole lab an inch deep in water again! However, when I checked the tubing, it was fine. I was completely befuddled. After some investigation, I found out that a pipe had burst underneath the foundation, and we had to call a plumber. I was soo pissed that we had dried the lab out just to have it get wet again. We bought new carpet, but the smell never completely went away.

  45. Copy that floppy! by Baron_Yam · · Score: 2, Funny

    I did something similar on my beloved C=64.

    I borrowed a game from a friend, and wanted to copy it. Of course, it had the classic 'deliberate bad checksum' anti-copy protection, which meant nothing more than loading a disk copying program that would handle it.

    About half way through the first phase of copying, it suddenly dawned on me that I was using my disk copying floppy as my destination disk. I immediately pulled it out of the drive, thus ensuring I had neither a copy of the game nor a copy of the software required to try again!

    1. Re:Copy that floppy! by IM6100 · · Score: 1

      I guess I don't feel quite as anal as usual about making sure anything important has the copy-protect tab set to prevent writes.

      --
      A Good Intro to NetBS
  46. Lotus Notes... er.. by zonk+the+purposeful · · Score: 3, Funny

    Working as a consultant I turned up at a new customer (moderate sized pharmacy) to see what they needed. Walked in, all confident, the local tech guy met me, and I asked to look at their server room (I always liked seeing the hardware).

    Anyway, as we are standing there, I think, well lets see how many users they have, so I ask if I could look at the Name & Address book. Opened up the people view, hit Control-A to see the count at the bottom of the screen of the number of records. Unfortunalty it was a very small compaq keyboard, hit delete as I turned to the local tech..

    --
    "I see. The fact that you...`can't explain'.. explains everything."
    1. Re:Lotus Notes... er.. by sydb · · Score: 1

      Yeah, but you didn't press F9 did you?

      --
      Yours Sincerely, Michael.
    2. Re:Lotus Notes... er.. by zonk+the+purposeful · · Score: 1

      ok I confess, I actually hit ctr-x, although did 'enjoy' 60 seconds of pure terror before a realised what I had done.

      --
      "I see. The fact that you...`can't explain'.. explains everything."
  47. REminder to everyone by schnits0r · · Score: 1

    Harddrives and PCI cards are NOT hotpluggable.

  48. CISCO access lists by nocomment · · Score: 1

    I was working on a cisco access list one day, and was working on blocking IM clients per my manager. I tested it when I was done and sure enough, it blocked the clients, they could no longer log in. Satisified with myself I went to browse to slashdot. "hmmmm Slashdot must be down" I thought. So I tried somewhere else, maybe my computer is having problems. Then the IS phone started ringing off the hook. Dammit! Everyone is down. Nobody can do anything. Email is down, Web is down, VPN is down. I went to go look at my access list, but my terminal connection to cisco wasn't working either. Walked back to the server room, and rebooted the router (I never EVER save to nvram for at least a week). Everything came back online. I went and looked at my access list and forgot the allow rule at the end. All cisco access lists have an invisible "deny all" at the end, and I just forgot to say "allow all" oops.

    The end of the day tally? at least 7 locations and 2 states.

    --
    /* oops I accidentally made a comment, sorry */
    /* http://allyourbasearebelongto.us */
    1. Re:CISCO access lists by JLester · · Score: 1

      I've done the same thing, except it ended up being a 30-minute drive to reboot in my case.

      Jason

      --
      "FORMAT C:" - Kills bugs dead!
    2. Re:CISCO access lists by Gordonjcp · · Score: 1

      My own personal one...

      gordonjcp@work:~$ ssh -lroot mail.bigserver.in.colo.farm
      Password:
      root@bigse rver:~# ifconfig eth0 down

      <bangs head on keyboard>

      <gets car keys, drives across town to fix from the console>

    3. Re:CISCO access lists by kruczkowski · · Score: 1

      That is why Cisco has the 'reboot in' command. Type in in and tell it to reboot in 30 minutes or 90, and do your changes. When you think it works good cancel the reboot.

      Very usefull for remote routers.

      --
      hmm... for fun I enjoy launching DDoS attacks against 127.87.42.5
    4. Re:CISCO access lists by Admiral+Lazzurs · · Score: 1

      Dude!

      This is what APC PDU's are for, get some!!!

      Take care - RL

    5. Re:CISCO access lists by sydb · · Score: 1

      Not sure why you were dropping that interface but you can always do:

      gordonjcp@work:~$ ssh -lroot mail.bigserver.in.colo.farm
      Password:
      root@bigse rver:~# ifconfig eth0 down; your_commands_here; ifconfig eth0 up

      and your SSH session will be intact at the end.

      --
      Yours Sincerely, Michael.
    6. Re:CISCO access lists by NateTech · · Score: 1

      If the interface actually comes back up. :-)

      Of course, if you screwed up the config... you're drivin'.

      Been there, done that.

      --
      +++OK ATH
    7. Re:CISCO access lists by hplasm · · Score: 1

      Yep- and removing IP protocol from a border IP router is also not good... ):+/ .... oops...

      --
      ...and he grinned, like a fox eating shit out of a wire brush.
  49. deleting company's intranet home page on 4th day by Anonymous Coward · · Score: 0

    Luckily I was able to reconstruct it, pretty much from memory and using other pages.

    yep. good times.

    Years ago, I once put together an html prototype app that had bogus links href'd as "xzy" or "xxx" - it seems that around that time Netscape started doing you the favor of embedding it in www.-.com, so a curious user found himself at a porn site.

    Actually, he was a consultant from a competing company, and he made a *huge* deal out of it, cc'ing the client's department heads and VPs. There was a big uproar for about an hour, but in the end, no one really cared, and the other consultant came out looking like an grandstanding byotch.

  50. Smells like...chicken? by Prien715 · · Score: 0

    My friend and I were attempting to put together a computer for him about a year ago. The first motherboard we got was faulty (couldn't get a post), so we got a new one. The first few times we tried it we got some system beeps, so we looked them out and got rid of them. Finally, the bios screen came up and we both threw up our arms in jubilation, then the screen went black like it was shut off. I asked "I didn't shut it off did you?"
    "No"
    "What's that smell?"
    "Hrmm...looks like the fan's loose. Oh well, I guess I fried the processor"

    --
    -- Political fascism requires a Fuhrer.
  51. How about a beowulf cluster... by brsmith4 · · Score: 1

    Actually, this was fairly recent:

    The Chemical Engineering Department at my university purchased a 42 node rackmount beowulf through my department (well, the one I work for), the Research Computing Department. We were to assemble the cluster and house it in our server room.

    Since my boss was busy working on a visualization project and my co-worker was out sick, I was handed the whole job. I decided that the best way to organize the cluster would be to put the 42 nodes in one rack and the head node, switch, and UPSs in the other. Well, when I put the 42 nodes in the rack, I had forgotten to drop the anchors at the base of the rack. The wheels on the left side at the base gave out under the weight (each node weighs in around 40-45 lbs) almost causing the whole thing to fall over. I almost trashed a $100k beowulf because of a stupid mistake.

    Luckily I was able to fix the rack and rearrange all of the nodes before the guys at Chem. Eng. came to inspect. That would have been the end of my job.

  52. CD caddy by dtfinch · · Score: 1

    I stuck a bare CD into a drive that required a caddy, before I knew that kind of CD drive existed. This was at school in the 7th grade (I'm a college senior now). If anyone had seen it, there would have been an uproar, because I was a well known, but not well liked (at the time) computer nerd. As I was too rushed to get it out to think carefully, I committed another foolish act by fishing it out with a paper clip. Luckily I didn't cause many scratches.

  53. Poweroff the RAS by jmlyle · · Score: 1

    As I got home form work, I got a call from the company president saying that there was a power failure in the neighboorhood and all of the UPS'es were going. We didt't have any intelligent processes, like auto shutdown, etc, so he wanted me to remote in and safely poweroff the production and development servers. I knew there was a time limit, because we were stressing the UPS'es as it was, and the power had already been out for a while.

    I got in through the firewall and started ssh'ing to various machines to poweroff. Unfortunatley, at one point, I exited out of one shell and ran poweroff before loggin into the next. Low and behold, I was powering off the machine that I was connecting through. DOH!

    Luckily, the power did return shortly, and the ones that I didn't get to survived long enough to stay on UPS.

    --
    I have misplaced my pants.
  54. Oooops. by Jasonv · · Score: 4, Funny

    I was doing phone support for a national bank in Canada. One of the problems we routinely had was a connection would freeze-up on a teller's terminal in one of the 1000s of bank branchs across the country.. We'd have to go into a program running on our AS-400 and reset the connection. On the odd occasion it wasn't just one terminal but serveral at the branch. We'd have to get all the tellers to exit out of their terminals for a second, then, in the program, we'd esentially hit the 'back' button, be up one level so we saw all the connections by bank branch instead of by terminal, hit 'backspace' to send the command to reset the connection and then 'y - enter' to confirm.

    I got one of these calls, and I went one level up the tree, got distracted by something, and without thinking hit up-backspace-y-enter, going up two levels in the tree instead of one. This reset all the connections for the whole network, to all the banks, all across Canada.

    Every phone in the call center started ringing. Every LED that could flash red did so. Everyone in the call centre looked around frantically. I looked at my terminal and almost died on the spot.

    Not only had I reset all the terminal connection, but trying to bring them back online flooded the network so as soon as they tried to come back up they all went offline again. It took several hours to get things stabalized and the banks could start serving customers again.

    Fortunatly my boss was a decent guy. He saw it as an accident and something that no one should be able to accidently do. The command to reset the entire network was modified so you had to type in your password to confirm, instead of just 'y-enter'

  55. Re:rm ... I did this once by baywulf · · Score: 1

    I had my windows partition mounted under a linux directory. I decided to move the mount point to another location so tried to delete the current mount point. I forgot that it was already mounted and ended up deleting the entier windows partition.

  56. Directories named '*' by Fished · · Score: 1
    Once in college, many years ago, drunk on the power of UNIX and beverages that I can't recall, I decided it would be clever to create, as root, a directory named '*' in the home directory. The following morning, hung over but still drunk on the power of UID 0, I correctly decided that this was a stupid id and ran the obvious command:
    rm -rf /*
    Then, I went looking for coffee.

    Ooops. So, don't drink and root. Important safety note.

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
  57. Worst...Tech...Mistake...Ever by Fortunato_NC · · Score: 3, Insightful

    (comic book guy voice)

    By far, my worst tech mistake was dropping out of college to take a full time job as an outsourced computer admin. Not having my degree has kept me from being competitive for better jobs with larger companies.

    I love job now, but I don't have much room to grow, being as I'm the top IT guy in a 70-person company that's family owned (and I'm not in the family). I'm working on finishing my degree now so that when the time comes to move on, I'll be able to find jobs that have room for growth.

    --
    Blogging Weight Loss, Distance Education, and more at verlin.com
    1. Re:Worst...Tech...Mistake...Ever by Judg3 · · Score: 1

      Amen man. Same here - only I didn't go to college. I rose through the ranks and rode the dot.com wave. Been out of IT 2 years now, except for the occasional consulting work. Back to college I go!

      --
      Looking for hardware (Currently need: Large Etch-a-Sketch) Have one? See my journal!
    2. Re:Worst...Tech...Mistake...Ever by Anonymous Coward · · Score: 0

      Treat what as such?

  58. Worst? by Anonymous Coward · · Score: 0

    Forgetting to back up my system before installing a new OS on the HD 0 (when I meant to install on HD 1).

  59. Doing work twice must be better than once.. by tickticker · · Score: 2, Interesting
    How about 5 times?

    in 2000, a co-worker was migrating a large Catholic Diocese, one of the top ten say, from Novell to Microsoft (I still don't know why) as I had somewhat purposefully(on my part) been asked not to come back for a while (but that's another, dumber story).

    Anyway, not having done any such migrations before, after thoroughly RTFM, he set up, almost entirely correctly, the migration service and began moving users. The syncing tool was set to run just before backups, so that the backup would reflect that days migrations and updates.

    It was supposed to go like this: copy all files from the Novell directory, nightly, to the new user directories on microsoft shares unless the Microsoft file was newer (hence indicating that user was migrated) and eventually all users, over the course of a week, would be migrated and the sync turned off. everyone transparently suddenly works with microsoft shares and la di da off they go.

    It was an excellent plan with the exception of forgetting to check the little box that made sure that newer files were not overwritten with the old ones from the (now defunct) novell servers during syncing. So every night the old files would overwrite then newer ones. People started to complain about the third day that their changes to documents and such weren't "sticking", and on the last day of the migration, we figured out what had happened.

    So every night, before backups, the newer files were being overwritten and then backed up. This included the Accounting, Newspaper articles, judgements, spreadsheets, EVERYTHING. For a whole week, 1600 users lost their data and it wasn't backed up on purpose. Oops. Funny thing though, our company kept the account and what remains of that company still works on it to this day!!

    What happened to the co-worker? Well we all just kinda laughed it off and that 19 year old kid became the second youngest CCIE up to that point in time, and a year later got his second CCIE in security and is making comfortably north of 120k/yr now.

    -- This sig has a cholesterol count of 680... higher is better right?

  60. Ahh, stories. by Zapman · · Score: 4, Interesting

    My best singke mistake was after a long night of re-installing an updated version of solaris on a SparcServer 2, I needed to clear out the /tmp dir sor some stupid reason. So, I did the old: "mkdir newdir ; mv * newdir"

    I wasn't in /tmp. I was in /.

    My next command was 'ls'. It returned: unable to find /usr/lib/libc.so.0

    AAAAARGH!

    I now know how to solve that under solaris. Under /usr/sbin/static there are 5 statically compiled binaries: cp, ln, mv, rcp, and tar. /newdir/usr/sbin/static/mv /newdir/* / would have fixed it.

    Ever since then, my prompt has had my current directory in it. That experience certainly made me more careful.

    Better (or worse) was when a stupid service rep came in to replace a bad CPU on a sun e10000. The idiot shut down the sub-system, and powered off the board correctly. He then managed to pull out the wrong board, despite the blinken lights. Of course it was the peoplesoft domain. Running year end reporting.

    AAAAARGH!

    --
    Zapman
    1. Re:Ahh, stories. by cbcbcb · · Score: 1

      I've done exactly that, except on the Unix that we don't mention anymore.

    2. Re:Ahh, stories. by Valdrax · · Score: 1

      You could've also added "/newdir/usr/lib" to your LD_LIBRARY_PATH environment variable to fix that.
      I never knew about the static binaries, though. Thanks for the info.

      --
      If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
    3. Re:Ahh, stories. by Zapman · · Score: 1

      That's a nice theory, but certain things have a hard coded location in mind (like libc.so.0). I tried the LD_LIBRARY_PATH hack, and it didn't solve the problem. Granted, it was late at night, and 6-7 years ago.

      I BELIEVE it's the difference between running 'ldd' on a binary, anseeing a name of a library file, and the /path/to/library.

      That's my best guess as to why. I could be wrong.

      --
      Zapman
    4. Re:Ahh, stories. by Valdrax · · Score: 1

      Ah, that's right. I keep forgetting about that. I've made a suggestion like this before to someone else in a similar situation and gotten back the same answer. Many system utilities on Solaris do have explicit link paths to avoid hacking attempts using compromised libraries elsewhere in the path (if I recall the reason correctly). My bad.

      --
      If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
    5. Re:Ahh, stories. by Anonymous+Cow+herd · · Score: 2, Insightful

      Ever since then, my prompt has had my current directory in it. That experience certainly made me more careful.

      Between this story, and the story about the guy playing the beavis and butthead .au file on his advisor's workstation instead of his own make me very glad that I keep working directory *and* host names in my prompt. :-)

      --
      Ita erat quando hic adveni.
    6. Re:Ahh, stories. by yuri+benjamin · · Score: 1

      I keep working directory *and* host names in my prompt

      I thought that was the default.

      --
      You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
    7. Re:Ahh, stories. by Isbiten · · Score: 1

      I prefer color coding the prompt :) Though if you for some reason jump between a lot of networks I don't know if it's a viable thing to do.

      --
      I fought the corporate America, and the corporate America bought the law.
    8. Re:Ahh, stories. by CmdrTHAC0 · · Score: 1

      Nah, the default is whatever the sysadmin set up in /etc/skel/$SHELL_FILE. The real default looks like "%" for csh, or "bash-2.05b$ " for bash. I think both change to # for a root prompt.

      Random note: bash uses its argv[0] in the prompt, so it's possible to see "init-2.05b# " if it's a really bad day....

      --
      __CmdrTHAC0__
      In Soviet Russia, Spanish Inquisition doesn't expect YOU!!
    9. Re:Ahh, stories. by yuri+benjamin · · Score: 1

      In that case, many linux distros change the default to 'user@hostname:/current/working/dir $' or 'root@hostname:/current/working/dir #'.

      I don't know about other unices because I haven't had the pleasure of being introduced to them.

      --
      You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
  61. Re:Really? I believe the opposite is true by Anonymous Coward · · Score: 0

    We learn from our mistakes? Speak for yourself bitchtard. - Geccie

  62. Ouch by Anonymous Coward · · Score: 0

    Freshly out of college I linked ls to l. But I reversed the parms to ln and linked ls to nothing. Not fun. Trying getting around Unix without ls.

  63. tar sun4u sun4m by Michael.Forman · · Score: 1


    I was a newbie sysadmin who didn't fully grasp the concept of the tar command. I untared an entire /usr/X11 directory ontop of an existing /usr/X11 directory. The painful part was that the distributions were binary incompatible -- one was compiled for sun4u processors and the other for sun4m processors.

    I knew I made a mistake when exclamations, gasps, and quizzical mutterings began to fill an otherwise quiet graduate laboratory. Before I had a chance to fully grasp what I did, my three supervisors walked in the door, having seen my command scroll across their syslog terminals.

    Michael.

    --
    Linux : Mac :: VW : Mercedes
  64. Rack mount chassis and power cables by Drunken_Jackass · · Score: 1

    One time I pulled out a 1U rack mount chassis from our rack only to hear it power down as it got about halfway out. When we installed the system, we didn't use the cable management system in the back to snake the power cable through, so when the chassis was pulled out to install a hot-swappable device, it yanked the power cord out.

    Luckily it wasn't a really important server.

    Lesson learned: Use cable management systems, or give yourself enough slack so that when you need it, you'll have it. No sense in having hot-swappable components if you power down the system when you pull it out of the rack.

    --
    There are 01 types of people in this world. Those that understand binary, and me.
  65. Compressed a live SYS1.LINKLIB on an IBM m/f by Dammital · · Score: 1
    Years ago (okay, 30 damn years) as a wet-behind-the-ears systems programmer wannabe, I ran out of usable space when adding a program to a system library. Fine, I said, I'll just "compress" the library (IBM object libraries of the time used to contain holes where programs had previously been deleted; it was necessary to intermittently defragment these libraries).

    Unfortunately, the library I defragmented was SYS1.LINKLIB -- out of which most of the operating system was executed as well as the defragment utility itself. Very quickly after the utility started moving programs around on the disk the operating system ground to a halt.

    The real systems programmer, who had been up all night, was NOT amused. He had to come in and I helped him perform a DR. The mainframe system was down all day -- I wasn't very popular.

    Somehow I didn't lose my job. In fact, I eventually came to own technical support and operations there. But 10+ years after my screwup people still liked to remind me about it. Guess they figured it kept me humble.

  66. DEC unix != linux by JBv · · Score: 1

    I had never used anything besides unix. Once a brand new alpha 500 arrived for me to play with on my first week as a PhD student.

    While trying to cope with stupid licence restrictions, the fact that $HOME for root is / and that rm is non interactive, I accidently deleted (I think) the kernel of the machine. The fact is thta it wouldn't boot!!!!

    Sweating like a pig I tried to explain to my supervisor and unfriendly IT guro how after 3-4 hours of unpacking the most expensive computer in the lab was dead.

  67. Not my mistake, but funny... by Will_Malverson · · Score: 1
    I was working at a company that does hardware testing in the USA (110 V electricity). I neeeded to test something with USB 2.0, and none of the computers in my little test area had it. I asked around, and somebody else had one. As I carried it back to my area, I noticed that it was a Compaq model 1234.uk (or something like that).

    I plugged it in, the little green light came on, the fan spun up, and I noticed the '220V' sticker right next to the power socket. So, I promptly yanked the plug and hoped that nothing bad had happened. After a second, I shrugged, figuring that putting in half the power it was expecting probably wouldn't do anything.

    I walked out and found a 110 -> 220 transformer. I plugged it in and plugged the computer into it. Again, the light came on, the fan spun up, and...

    POW!

    Suddenly, it was very quiet, because everybody quiets down when they hear a loud noise. It was especially quiet because all of the computers in the room were now shut off. A second later, I hear someone in the next room over ask, "Hey, did your computer just shut off?".

    At this point, people are looking at me, because I was the source of the noise. I promptly (and of course, futilely) yanked the cord again.

    About this time, I noticed that the power supply didn't have a 110 <-> 220 slider like most of them do. I looked more carefully, and found it. It was set to 110. I had missed it the first time because it was CONCEALED UNDER THE '220V' STICKER!

    It turned out that the room I was in was almost overloaded, and that computer blowing out was enough to do it in. We rerouted some extension cords and all was well.

  68. Beware of Undo! by Asprin · · Score: 1


    You know, [CTRL]+[Z]?

    In Windows Explorer, it undoes the last file operation....

    ...well, it undoes SOME file operations, but not others, as I found out the hard way:

    I was at a client's site a few years ago moving some data files around on their NT server and archiving old things that weren't needed anymore. As a part of this, I renamed a "particularly named" folder and hit [ENTER] just as the thought occurred to me that I needed the exact spelling of the original folder name before I changed it. So, without thinking I hit [CTRL]+[Z] to change the name back figuring I could just copy the name to the clipboard and rename it again. HOWEVER, instead of un-doing the recent "folder rename" operation, it undid a much earlier "folder COPY" without telling me which folder or where it was located!

    Luckly, I was able to retrace my steps and figure it out well enough to put everything right, but NO MORE HAVE I *EVER* [CTRL]+[Z]'d in Explorer again!

    --
    "Lawyers are for sucks."
    - Doug McKenzie
  69. I ruined a phone book by seanmeister · · Score: 2, Interesting

    I work for a telephone directory publisher. A few years back, we were pushing a deadline and the man was not happy with the completeness of zip (postal) code info in the book. I purchased a new zip coding utility, ran it against the listings, and told the production dept to proceed with pagination, thinking that the army of proofreaders we have would notice any errors introduced by the new software.

    I mean, what, I'm supposed to proofread the entire phone book by myself?

    Anyway, the software used some kind of crazy soundex routine to "fix" addresses that it wasn't able to resolve, and thousands of people ended up with completely incorrect address information. The book went to press, was distributed, and a day later the phones were ringing off the hook. We had to pick up the old books, fix the data, schedule more press time (no easy feat), re-print, and re-distribute.

    Total cost to correct was around $1M, got my ass chewed royally, but managed to keep my job anyway.

    Must be doing *something* right!

    1. Re:I ruined a phone book by Elbow+Macaroni · · Score: 1

      I think you win this contest! Especially since you kept your job! OMG!

      --
      -------------------------------------
      Technically, we are beyond survival.
  70. Ghosted the wrong drive by Philosinfinity · · Score: 1

    One time I was installing a new hard drive for a customer. He wanted the data transferred from the old drive to the new one and the old drive discarded. The company I worked for had just obtained a copy of Ghost and it was our first time using it. I mixed up the two drives and copied the larger (new) drive to the smaller one and destroyed all the client's data.

  71. Other war stories by Embedded+Geek · · Score: 1

    Breaking out the Wayback machine, some intersting war stories can be found in the first article I submitted to slashdot, "Embedded Computer War Stories".

    --

    "Prepare for the worst - hope for the best."

  72. Making a RAID disk "online" by SpaFF · · Score: 1

    We had a drive in a RAID5 container go bad at work a few years back. This was a raid controlled by an old Mylex DAC960. A guy I worked with went to replace the drive. He powered the machine down, took out the bad drive, put in a new spare, and powered the machine back up. In the controller setup he was presented with two options: rebuild and make online. Well he chose "make online" instead of rebuild. This caused the controller to render the raid volume completely useless. He chose poorly.

    --
    -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s: a-- C++++ UL++++ P++ L+++ E- W++ N o-- K- w--- O- M+ V PS+ P
  73. Everyone, listen closely. by Ayanami+Rei · · Score: 1

    You might be able to hear the mournful call of the endangered species known as "actual irony".

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  74. Low-Level format by VisorGuy · · Score: 1

    One time I accidentally low-level formatted the wrong hard drive. I wanted to do the 1st (Primary) hard drive and the BIOS started it's drive enumeration at zero. So of course without thinking I put in a 1 instead of a 0.

    I think the most important thing that was on it was my collection of digital music that I had spent over 1.5 years downloading from random FTP sites (this was before Napster) via a 28.8 and later a 56k modem.

    Fortunately, a friend had a recent copy of my music from our recent LAN party.

    --
    This user account is inactive account replaced by the PDA
  75. more fire and smoke by aoteoroa · · Score: 4, Funny

    Last year a friend gave me a pentium 200 mmx that he coundn't get working. Since my parents were in need of a firewall I figured I would drop a couple nics into this box and build one for them.

    The first thing I did was plug in a keyboard, monitor, and turn the box's power on to see if it would reach the POST.

    Smoke started coming from the box, and soon open flame. For a brief moment I just stood there looking at it thinking, "That's interesting. First time I've seen a computer catch fire." Then I pulled the plug from the wall and the flames soon stopped.

    I looked into the case to see what went wrong. It seems that the power supply connector for a floppy drive is roughly the same size as a speaker connector on the sound card. My friend had plugged the power supply into the sound card which seems to have caused the fire when the power was turned on. I suppose I should have checked for something like this instead of just plugging in the machine.

    1. Re:more fire and smoke by FreeForm+Response · · Score: 2, Funny

      The first time you've seen a computer combust was last year??

      Hell, man, I don't call it a day until something's on fire. Just love that aroma of molten silicon... ;-)

    2. Re:more fire and smoke by shadowmas · · Score: 1

      that almost happend to me. a friend of mine brought his pc which he has tried to assemble but seeing it to be too complex he brought it to me and asked me to fix it for him. when i opend the cover most of the stuff was not connected and a floppy power cable had been connected to sound cards cd audio in socket. had he switched on the power without checking it he wouldve been able to see the exact same thing as u :)

    3. Re:more fire and smoke by jim3e8 · · Score: 1

      My brother installed his RAM backwards (shoulda asked for my help!) Result: smoke and scorched motherboard. Incredibly, the manufacturer exchanged it for the cost of shipping.

  76. DHCP Server by Lao-Tzu · · Score: 1

    For a while about a year ago, my friend had no Airport card on his laptop like I did. So when he was over at my place, I'd be using my laptop's wireless to get online and do internet sharing on the wired network card. Well, that worked great at home...

    But then I'd come into work the next day, hook up my laptop to the network and it would start giving out IP addresses through DHCP to all of the hundred some workstations at my work. Well, suffice it to say, those IP addresses didn't work too well, and it wasn't too hard to track it down. After this incident happened three times, I'm no longer allowed to connect my laptop to the network.

    So, I bought my friend (who is also a co-worker) an Airport card, and now he shares his wired network connection with me. So it's all good.

  77. Trying out Kmail by ArmorFiend · · Score: 5, Funny

    Trying out Kmail was my biggest mistake, because it had a different interpretation of the file OUTBOX than did my previous mailer. My previous mailer stored every email (6 years worth) in OUTBOX. And kmail took OUTBOX to be the file where messages written offline were temporarily stored until next coming online. The first time I fired up Kmail, a indeterminate-time progress bar came up, and it kinda hung. I went to get a coke, giving it time to snap out of its funk. Unbeknownst to me, during that time it re-sent every email I'd ever sent. When I got back and checked my INBOX, I screeched in horror.

    Funny thing is, people from my previous job were getting work related emails from me again, and they didn't seem to mind that (1) they were on outdated topics and (2) the company was defunct, they played right along and replied stuff like "yeah what ever happened to that issue?".

  78. Selling myself short to close a deal. by lawpoop · · Score: 1

    That one has fucked me every time. The funny part is I still do that.

    --
    Computers are useless. They can only give you answers.
    -- Pablo Picasso
  79. Keep track of log files... by schmoli · · Score: 1

    When I was a CS student @ WWU a few years ago, we were writing some simple tcp/ip client/server applications in our unix lab. All of the machines home drives were nfs mounted from a central server, and there were no user quotas.

    My server would log an error if a client was unable to connect, and one of my classmates had decided to 'mess' with my server by hammering it, I guess he hammered for quite some time as my log file eventually filled up the NFS share and all of the machines using it (consisting of many people doing their assignments!) decided to halt.

    I consider it more of his big mistake than mine, it was a pretty early class and it definately wasn't production code, but it still caused some damage.

  80. A Tale of Two Toilets by Embedded+Geek · · Score: 1
    I posted this a long time ago, but I'll dust off the cobwebs. Basically, it was a buffer coding bug that caused a computer to reset if two toilets on an airliner were flushed simulataneously. Thankfully, it never made it to the field, but it's a nice case study on porting code and testing methodologies. Pardon the length and techie details...

    In another life, I was a devloper/lead on an embedded system that controlled the cabin lighting, reading lights and attendant call lights on a popular passenger aircraft. Basically, all automated functions (except for in flight entertainment - movies, video games and such) that are used by anyone in the passenger cabins. One input was a discrete that indicated when a toilet valve was thrown (flushed). The discrete would stay set if the waste tanks were filled with, er, waste. Our system would light the "toilet occupied" light above the door, which we normally only lit when another discrete indicated the door was locked.

    For various reasons, we were upgrading the computers to an embedded 80186, a workhorse 16 bit processor that my company had a lot of experience with. As a technical lead, I ported an executive (it would be misleading to call it an "embedded operating system," but it did the same job) that we had used on another 80186 based system.

    The discrete driver used a linked list to handle queued inputs, chaining a number of structures together, each about 20 bytes big. I did not need a lot of the features the driver had, so I pared it down to a three byte structure. What I didn't know was that the garbage collection routine did a type casting trick with a four byte pointer (instead of putting the pointer into the structure itself or using a union) which would overwrite the three byte structures. The net result was that the chaining was worthless: the driver interrupt routine could only handle one input each time it ran (at 60Hz).

    During our in house testing, we hit the dicretes as fast as we could, but we never caused the bug to show up. Our customer, however, had a dedicated lab that simulated an entire 400 passenger aircraft. To allow a single operator to stress test the system, a lot of the inputs (passenger reading light switches, attendant call switches, etc) were wired together. One such arrangement was wiring two "toilet waste tank full" discretes together.

    So, shortly after we delivered our first hardware and software to the lab, the lab guys were checking out the wiring on their test stands. One of them threw the ganged switch (that is, flushed two toilets). My driver recieved two inputs in the same 1/60 of a second. It read the first, processed it just fine, then tried to read the second via a corrupted pointer and... BAM!!... my computer reset.

    The lab guys thought it was hillarious. My boss was less amused, I'm afraid. Ironically, I now work for my former customer, albeit at a different division. I guess word never got out...

    --

    "Prepare for the worst - hope for the best."

    1. Re:A Tale of Two Toilets by Anonymous Coward · · Score: 0

      So if both toilets were flushed simultaneously, the plane would crash? nice.

    2. Re:A Tale of Two Toilets by Embedded+Geek · · Score: 1

      No, but you have tapped into the crux of the humor. worst thing that could've happened is that you wouldn't be able to light a reading or call light that's off or turn one off that was already on. See original post for disclaimers about how it never reached the palne, etc.

      --

      "Prepare for the worst - hope for the best."

  81. Miltope Printers... by PublicFatality · · Score: 1

    While working as a Systems Consultant for a short while my boss (the COO) decided to increase revenues by contracting us out to be on call for the local Internation Airport. We had to carry a pager and needed to give them a 1 hour response time. Problem is--my boss signed us up for the contract but never got us any trianing or received any documentation on the Miltope printers used to print plane tickets and and bagage tickets. I was called out to fix this miltope printer because it was misaligned. Our support line was no help at all, none of the tech support people had ever herd of, used, or fixed a miltope printer. So I deicded to disassemble it to see if its physically out of alignment. Anyways, as I took out a screw from the machine, I herd a shaft near the print head drop down--unfortunalty, there was a metal plate preventing me from putting it back into place. The only way to rmeove the metal plate was to strip the entire machine down to just the case (take out all electronics etc) Luckily with some persuasion I was able to get the part back in place without going through the toruble (Aobut 1.5 hours later) BUT I still hadn't fixed the alignment issue. I finally got someone on tech support who told me I had to push the buttons on the front in a special combination but he didn't know the combination. Another 30min later I had luckily done something right and the printer was realigned. That was the first and last time I worked on a miltope printer.

  82. Click here! by NanoGator · · Score: 4, Funny

    Well, this is more of a graphical error than a text error, but it's still amusing. My company developed a technology where you can watch video from mulitple angles. (note: this is going back a few years.) So we were pumping out demos like mad. At one point, we got some stock footage of a horse show or something. It had a horse jumping over a fence, filmed from different angles. I had to insert the words "click here" at the bottom of the video because I was going to make that clickable. If you click there, then you get s'more info about our software.

    Back then, we didn't do letterboxing like Media Player does. If the window you play the video in isn't the same as the aspect ratio of the video, then cropping occurs. I did not consider this little fact about our player, rather I got it up on the site as fast as I possibly could. Then, I went to lunch.

    When I got back from lunch, I noticed the CEO was looking at the demo. So I poked my head in to say hi. He says "Why is this video telling me to lick it?" Wha? I go up to the screen, look at what he's watching, and... eep. The c in click here was perfectly cropped out of the shot. I mean perfectly. I mean you didn't know it was missing. So here's a horse, reared up on its hind legs, with the words "LICK HERE" just below its.. uh.. tail.

    I am so glad that we had the one CEO in our industry that understood what took place.

    --
    "Derp de derp."
    1. Re:Click here! by Anonymous Coward · · Score: 0

      at least it didn't say "LICK HER" !

  83. I started reading slashdot by frenchgates · · Score: 1

    Now I don't have time left over to make any more mistakes.

    --
    Syntax error: loose != lose, affect != effect, then!=than
  84. Not me, but a coworker by nissin · · Score: 1
    This one really stands out in my mind. I worked for a couple years at a fabless semiconductor company. One of my coworkers, who happened to be the manager of quality assurance, managed to tapeout the wrong chip one time. He sent the fab the same chip we had just taped out a month or two before. Needless to say, he was fired soon after.

    This is the same guy who would routinely check in about a gigabyte of PDF documentation, that he downloaded from another company website, into our version control system.

  85. Very Enterprising by Anonvmous+Coward · · Score: 2, Funny

    As a joke, I once set the transporter to low resolution. The Captain was not amused.

    1. Re:Very Enterprising by NanoGator · · Score: 1

      "As a joke, I once set the transporter to low resolution. The Captain was not amused."

      A friend of mine played a transporter prank on his cat once.

      --
      "Derp de derp."
    2. Re:Very Enterprising by Anonymous Coward · · Score: 0

      Just apologize...

      "I'm sorry about that, Cube-tian... er Captian! I mean Captian!"

  86. Three spring to mind by GregWebb · · Score: 1

    Years back now I had a heavily upgraded Amiga 4000. 68060 processor (about as fast as a P100 but with a much lower OS overhead than Windows), third party GFX card that fitted in the Zorro slots and let me run 1152*864&16bpp for my desktop. Hmm, getting slightly nostalgic just sitting here typing about that machine :-)

    Well, that GFX card needed drivers which were initialised by the OS, on load. If the OS didn't boot for any reason, no GFX drivers. I didn't have a monitor that could connect to the default graphics output...

    Well, one day I wasn't concentrating when I did an install. Got something horribly wrong through blind stupidity and arrogance, enough to stop the machine booting. Boom! No output! At all!

    I ended up having to get that machine back up by taking my other Amiga and writing custom bootdisks on it. These disks had nothing but the boot bit set and a custom startup script on them (ahh, to have machines that would run that!) that interrogated the drive in various ways while piping the output to a text file on the disk. So, write disk on the live machine, power up the dodo and stick the disk in then wait until the floppy access light stopped for more than a second or so. Then take the disk out, stick it in the other machine and interrogate the output. From that, try and work out whether I now needed to copy a new file over from the live machine, move something that was already there or get more information. Later, rinse, repeat until you've got a machine that actually boots. Took me ages, that did, but got the machine back eventually.

    Or how about this one. The boss was going on holiday so wanted an autoreply on his e-mail address. Being a small company, he was also a member of several e-mail groups set up on the server, including the generic contact group. Predictably someone mailed this.

    It was at this point that we discovered a major flaw in our mail server - it didn't send the autoreply to the original mail sender but to the account that had forwarded the mail. Which forwarded that message, which triggered a reply, which forwarded the message, which triggered a reply....

    We noticed the server was being a bit slow but didn't think anything of it. It's an old machine, these things happen. We noticed a funny noise coming from the server HDD but didn't think anything of it - being a bit slow ourselves.

    Boss then rings in and asks us to check his mail. We try - mail program crashes, takes server with it. So, we look up the server log file. What would normally sit below 100kb/day was sitting well clear 100MB. OK, something's wrong...

    When we were able to stop this and work out what was happening, we found it had been sending e-mails in a loop for around 48 hours, averaging around 3 per second. Yeah, it crashed.

    (Scary thing: Someone once forgot to turn off a group membership and did the same to an account that was set to forward to a webmail box. Thankfully not for very long but we weren't popular with the provider and had to talk sweetly to get ourselves taken off the spammers list...)

    Final example: Boss couldn't remember the password to his NT laptop, hadn't used that one for a while. We'd tried getting the SAM file and cracking but when the fastest machine we could dedicate to this had managed 3% in a weekend we realised that wasn't viable. So, a colleague decided to sit at the keyboard and manually try as many passwords as he could think of to get in. NT doesn't appear to have any exponentially increasing timelock to protect against this so that's a viable attack. Miracle of miracles, within 10 minutes he gets in! Stupidity overtakes me and for some reason I still don't quite understand, I decided it was then necessary to confirm he had the right password, so logged back out. No, I can't think why either. It's at this point that he reveals he'd been guessing and typing so fast he hasn't got any clue what password actually got him in.........

    We got back eventually. I went and hid from him, apologising profusely.

    --

    Greg

    (Inside a nuclear plant)
    Aaaarrrggh! Run! The canary has mutated!

    1. Re:Three spring to mind by 0x0d0a · · Score: 1

      Miracle of miracles, within 10 minutes he gets in! Stupidity overtakes me and for some reason I still don't quite understand, I decided it was then necessary to confirm he had the right password, so logged back out. No, I can't think why either. It's at this point that he reveals he'd been guessing and typing so fast he hasn't got any clue what password actually got him in.........

      Actually, IIRC, you need your current password to change/reset a password on NT.

      Which means that the mistake was on his part -- you *still* couldn't have fixed the problem without knowing what he had typed.

    2. Re:Three spring to mind by Anonymous Coward · · Score: 0
      I didn't have a monitor that could connect to the default graphics output..
      Ah, I forgot about that. Yet Another way the A3000 was better than the A4000. The A3000's "flicker fixer" made the default graphics output VGA-compatable. I used to break my startup-sequence all the time, when screwing around with my Amiga. I'm sure glad it wasn't an A4000!
  87. A few by Darth_Burrito · · Score: 1

    Dangers of a Poorly Designed Sandbox: My first tech job was working on a cd/dvd manufacturers software system. We had test and production databases, but codewise they were mostly the same. While I was debugging an error and later testing my fix (using dev), I started and then cancelled all the orders for one of our major customers several times. After spending several hours doing this, the department head/VP came over to talk to me, the lowly intern. Apparently, the testing code was sending out automatic emails to essentially every single station in the manufacturing process to let them know the jobs had been cancelled or restarted. All of these were old jobs (dev db was snapped from prod a few months ago), but there had to have been thousands of messages and it undoubtedly caused a lot of confusion. The VP realized it was an honest mistake and left mumbling something like, "Well it's good you're testing."

    Why we Don't Use SQL commands to update single records: This one wasn't me, but rather a very experienced friend of mine. One day a request came in to reset an individuals password within our web application. My friend, who wrote about half the code in this particular $20 million business, executed the following code in query analyzer: update user_account set password = 'newpasswd'. Oops, no where clause.... All of the passwords were wiped and due to the nature of our backup system, it took several hours to restore and what we got was a few days old. In the meantime, we had to make temporary passwords for all of our hundred or so employees while fielding a constant stream of calls from fortune 500 customers.

    Fun With Backups: I jointly administer a machine with a software company. They handle anything related to their application and I get the rest. Well one day, the mysql database had grown to the point where it no longer fit on its partition. The company moved the data to a new partition and created a softlink from the old location and then sent us a note about the change (which was promptly forgotten). The individual who designed our backups didn't know a lot about mysql and was basically just copying the database files after stopping the server. Well, nobody updated the backup script after the data files were moved. Sure enough, a week later, someone did something through the (brand new) application that fubared a lot of data. When I went to restore from our tapes, I untared everything and verified the data was there (ls). Then I moved all of the current/fubar data out of the mysql data directory and went to copy the backup in. Only when I got to the backup directory, all of the backup data was gone! It then took me embarassingly long to figure out that what I had untarred was actually a soft link to the production data and not backed up production data. Hence when I moved the current/fubar stuff, the data in my backup directory "disappeared."

  88. Re:rm ... I did this once by Samus · · Score: 5, Funny

    I don't see how you can call that a mistake. Thats more like quitting cold turkey.

    --
    In Republican America phones tap you.
  89. I don't wanna talk about it by truthgun · · Score: 0

    And I'd rather not remember either.

    --
    Sattinger's Law: It works better if you plug it in.
  90. I was coding the Linux kernel... by gosand · · Score: 5, Funny
    I was coding part of the Linux kernel, and thought to myself "Am I reinventing the wheel here?". So I looked around on the internet, and found some SCO code that did what I wanted to do, so I just copied it and submitted that to Linus. He accepted it and put it into the kernel.

    Boy, do I feel stupid now.

    --

    My beliefs do not require that you agree with them.

    1. Re:I was coding the Linux kernel... by Anonymous Coward · · Score: 0

      I wuz buying the rights to Unix from Novell, and...

      signed

      DARL

  91. Mine.... by Anonymous Coward · · Score: 0

    1. I installed Linux on my computer
    2. I bought an iPod
    3. I got an iRiver MP3 player as a gift (ok, someone else's mistake)
    4. I worked at BMC Software for Steve Wesling.

  92. Oh geez. by Talonius · · Score: 5, Funny

    1. I was working on the development database but my boss needed a quick count of a number of checks so I opened a new window (Query Analyzer for SQL Server) to the production database and gave him his count. I then proceeded to finish what I was doing on development... without switching windows back to the development server.

    TRUNCATE TABLE Checks

    TRUNCATE isn't a logged option but thankfully Log Explorer Pro from Lumigent can retrieve truncated data if you move fast enough. As well we had a backup that wasn't so very old handy. Out of 1.3 million checks we only lost 34000, but I was so stressed out.

    2. Way, way, way back when we had just gotten a new Dell server. I was showing an interviewee the server who I had found out I had known when I was younger. So, joking around I said, "Want to see a hot swap of a drive?" He was like, heh, that'd be cool. So I pulled the drive out of the RAID 5 array. Alarm klaxons started going off from inside the machine, I swear. I stuffed the drive back in but even though the drive officially -was- hot swap we hadn't purchased the high end Dell with an array controller that could dynamically rebuild the data. We'd gotten the cheap version. 8 hours later - with the machine beeping constantly at us - the rebuild was done.

    3. This one's not mine but a guy I work with. I had asked him to migrate some databases to a backup server so he set up a DTS job to do the migration. Unfortunately he did two things wrong: the destination was the same server as the source, our primary production machine, and he set the DTS process to execute nightly instead of once. We ended up filling 300Gb of drive space and not having a clue as to what happened to cause it. When we found it we were giggling (it is funny :)) but beating ourselves in the head.

    4. Another one that's not mine. New network administrator was installing Windows NT 4.0 (this was ~6 years back? Roughly?). He was complaining about it taking forever to install and I asked him what he was doing. "Well, shit, NT has like 35 disks man." I asked him why he wasn't installing off the CD and he just hung up on me. He didn't know the NT CD would allow you to do that. :)

    5. On a similar vein my original boss when I started here was I thought a technical God. It's fun to see how that belief fades over time. In my case he was showing me how to install Netware 3.12 and configure it the way he wanted it to be configured. He sent me off on my own the next week to install a new office. The week at home I had burned all the Netware 3.12 files to a CD so I wouldn't have to cart around all those floppies. Apparently the load time off CD blew my boss out of the water because he didn't believe I'd installed the server already when he called to see how things were progressing.

    6. I'm walking my COO through hooking up a new modem in our Kansas City office. He's getting mad at me and asking me if I know what I'm doing because we can't get a response from the modem. (I'm working blind over the phone.) I had asked him earlier if he had hooked up all the cables like they were to the old one and he had indicated that he did. Finally I said, "Look, don't take this the wrong way but let's check the cabling. You should have a phone cable to the wall, a power cable to the power, and an interface cable to the computer. These should all be coming from the modem." He had forgotten to hook up the RS-232 cable. To this day I razz him about modems telepathically communicating with machines.

    7. My CEO is one of the brightest people I've ever met in my life and has my eternal respect for his intelligence and moral integrity. He called me and indicated he couldn't print. I told him to not get insulted but I was going to start with the basics. "Is the printer plugged in?" "Yes." "Is the power on?" "Thanks Brian, I'll call you if I have any more problems."

    8. I had just come off the road from setting up our Texas operations - a 4 mont

    --
    My reality check bounced.
    1. Re:Oh geez. by Anonymous Coward · · Score: 0

      Yeah, I did something like your hot swap story. "Hot swap" just means you don't have to shut down. You use a program to remove the disk from the set before yanking it out. I know that *now*. Too bad it killed the drive and we had to call Dell to get it replaced (what warranty fulfillment doesn't know won't hurt them).

  93. The hidden Bush joke, found. by NanoGator · · Score: 1

    I was caught making a political statement. My company made technology that allowed the user to watch video from multiple views. Around the time this happened, a presidential candidate for the 2000 election made a speech. I got video of that speech and used a frame of it to illustrate a point in the manual.

    I was explaining video compression. The lower the quality, the more quantized a video gets, etc. With this photo of not-yet-president Bush, I noticed that using a lot of compression made his mouth turn into two rectangular black pixels. So, in order to illustrate what the effect of lower quality is on the codec, I drew an arrow at the 2 large black pixels and wrote "the mouth loses definition."

    Sadly, it wasn't subtle enough to slip by my boss.

    --
    "Derp de derp."
  94. My worst tech mistake... by HotNeedleOfInquiry · · Score: 1

    Was getting hooked on reading Slashdot every morning.

    --
    "Eve of Destruction", it's not just for old hippies anymore...
  95. chmod -R myuid.mygid / by acesuares · · Score: 1

    Say no more. And a bit more subtle then the omnipresent rm -rf /

  96. Live deletes by ka9dgx · · Score: 3, Insightful
    I was in a telnet session (and forgot that fact)... in E:\WINNT...

    What the heck are these files doing on E: on this machine? Fsck! Ok... let's delete them...

    Sudden realization that it wasn't local after all.. it was our main server for the ISP we ran, 25 miles away!

    Hopped in car, had to reinstall, got it back up and running about 2 sweat filled hours later.

    Moral: Always be mindful of WHERE the command is running.

    --Mike--

  97. Talking about my biggest mistake.. by Anonymous Coward · · Score: 0

    Years ago, I taught Mathematics at a small college. The newer faculty - I think I had been there about a year - had begun a jolly little discussion - just like this one - talking abour their misconseptions. I, being a sociable fellow like everyone else there, mentioned a problem I had had with a calculus concept as a graduate student. We all thought it was amusing.

    I didn't think it was amusing a couple of weeks later when I was speaking with the dean - a chemist - and he mentioned the problem I had had and hinted that permanent faculty really should have better backgrounds than I did.

    It turns out that one of the "sociable fellows" was really a sneaky little bastard who gathered up our charming, cheerful, self-deprecating stories and used them in a minor smear campaign on all the people in that group - except himself, of course..

    Moral: Learn from your mistakes but be careful to whom you admit them. Someone will use them against you.

    1. Re:Talking about my biggest mistake.. by Anonymous Coward · · Score: 0

      I hope you got him back but good for that little trap. Bastards like that shouldn't be allowed to exist without fear of retribution.

  98. Killed network connectivity to head office by Anonymous Coward · · Score: 0

    One time, I brought down the external network interface on the firewall at a remote site without scripting it to come back up again. (I was ssh'd in). There were no tech staff in that office, and it was two time zones earlier than where I was, so not only had everyone already gone home, they would be in earlier than I would. The remote office just happened to be the head office - you know, CEOs and stuff. In the morning, after they spent a couple hours cursing me, I talked one of the marketdroids through running "ifup eth0" as root to bring them back online. The result of that one was that we installed a modem with dial-back so that I could get a serial console if something like that happened again.

    Another time, I messed up the NAT rules by putting "192.168.1.0/4" instead of "192.168.1.0/24" somewhere. The result was that about half the internet was unaccessible for a couple hours.

    1. Re:Killed network connectivity to head office by Mr+Z · · Score: 1
      Another time, I messed up the NAT rules by putting "192.168.1.0/4" instead of "192.168.1.0/24" somewhere. The result was that about half the internet was unaccessible for a couple hours.

      You know, theoretically, software should refuse such a setting, since not all of the bits from 8 through 27 are zero. Ah well...

  99. Looking back... by VAXcat · · Score: 1

    My worst tech related mistake was going into computing, instead of going to med school.

    --
    There is no God, and Dirac is his prophet.
  100. Joining samba 2.2.x to an Active Directory DC by Ayanami+Rei · · Score: 1

    Just because you can do something doesn't mean it's a good idea.

    No one could access the shares on that particular fileserver anymore ("Can not log in from this workstation"). Thing is that the same error message is used when there's an encryption policy mismatch between client, samba share, and/or DC, which I spent 6 hours trying to track down.

    And I thought I would be saving time with the switch to domain instead of server/share security.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  101. The very first Fiber run in Phoenix by tickticker · · Score: 3, Funny
    This was told to me by the former supervisor for the phone systems in the AZ/NM area.

    The very first fiber run in Phoneix went from one federal building to another. I'm not sure which, but they must have been important.

    If you've ever seen an phone cable room underground, you know that the cables are straight, so straight that you can easily follow them across the room and usually clearly labeled. Well some dumbass manager went down into this one cable room underground in Phoenix, and saw this great big looping yellow piece of shit cable run and wanted it fixed pronto!! So he gets some new hire (been on the job less than a month) to go down there and I quote "Fix that Fu**ing thing! I want it to look just like the rest of the cable down there, and I'm gonna get the guy who installed it fired!!" (yes, he does come off as a jackass doesn't he?)

    So this poor newbie goes down into the manhole and starts hammering, and tying down, this 'cable' run. He's using pliers, 3 pound mauls (why won't this stuff stay flat?) and whatever else he could do and wouldn't you know it, after 4 hours or so of this, it looks beautiful, just like the rest of the runs and even re-labeled!

    Well, when this guy pokes his head out of the manhole, there are like 20 officers from the FBI, State DPS, County sheriff, ATF, and whoever else waiting for him with guns drawn!!!! Poor guy is fired on the spot and questioned for over 2 days, telling them he's not a sabateur and that his boss told him to do this. The boss doesn't fess up until the 3rd day of questioning, at which point HE is fired and the pleeb gets his job back.

    The second first fiber run in Phoenix was back up shortly, and the other workers educated about it's "don't take a hammer to this shit" properties.

    --
    This sig writes better than I do.

  102. Bad memories by Vilim · · Score: 1

    I have done a few pretty bad tech mistakes myself. The worst occured when I was in grade 11 and the main admin of the school forum server. Because the forum server was inside the school network it was also behind the firewall, we wanted to have a whole bunch of stuff available to the outside that was being blocked by the firewall for remote administration. I decided that instead of arguing with the school board to open a few more ports it would be simpler to just use tunnelling through port 22 (which was open). Because I was by far the most computer literate of all the admins on the server I was writing a step by step tutorial on how to get tunelling working. I finished the Unix half of the tutorial and wanted to write the windows part. At this time I was still dual booting with windows so I figured the best way to test it with windows was to reboot into windows. No problem type reboot in the nearest open console and I'm done! Nope About a millionth of a second after I hit enter on the reboot command I realised that I had not typed it in my computer, but in an open ssh connection to the server! normally this wouldn't be a problem , I had everything that we needed to start in scripts and it would come back up after a minute of downtime. Unfortunately we had just finished installing linux on this comptuer. While we were installing linux on it the comptuer was on a desk in one of the classrooms like any other computer, and to prevent people from screwing around with it we put a bios password on it ... And forgot to take it off. As soon as I rebooted the machine stopped, started then hung at the bios password. I unfortunately did this on a friday night so it was at the bios password over the weekend. When one of the teachers asked me why the forum server was down for such a long time I said that the storm we had over the weekend must have made the power flicker. We should probably get a UPS. :p Then there was the time on my own computer where I meant to restore the MBR from a backup file. I typed dd if=mbr.bak of=/dev/hda1 when I meant dd if=mbr.bak of=/dev/hda This was when I was still on windows and /dev/hda1 happened to be my NTFS windows partition. Whoops

    --
    History will be kind to me, for I intend to write it - Sir Winston Churchill
  103. Suggestion to avoid accidental "rm"s by 0x0d0a · · Score: 3, Interesting

    Aliasing rm to rm -i will do nothing if you use the -f flag, as you did. -f overrides -i.

    However, accidentally separating a wildcard from text is an infrequent mistake that can cause much pain. For example, typing rm -rf * .jpg

    Zsh, by default, will complain at you and ask you if you *really* mean it if you use a bare wildcard with an rm command. Invaluable, and has saved my ass a few times.

  104. Switches by skinfitz · · Score: 1

    I was at one of our main sites, trying to figure out why a new fibre switch I'd just fitted which was planned to replace an older copper model wasn't working correctly - the thing would constantly reboot when VLAN's were presented to it's trunk to a remote switch in the same building. The existing switch carries voice and data between two large sites.

    After trying literally everything including using a serial terminal into the old switch to compare QoS and VLAN settings, I decided to reset the thing to factory defaults.

    Called up the menu in the terminal, reset to factory default, confirm.

    Almost immediately I got a call on my mobile telling me that "the phones had stopped working" for the site. "That's odd" I thought, and proceeded to troubleshoot the problem. I traced it to the old switch I was trying to replace, and was surprised to see a serial cable connected into it. The other end of course was connected into my laptop, which was displaying a confirmation of a reset to factory defaults...

  105. i still loathe that one... by i+chose+quality · · Score: 1

    here's the story:

    i got all the components for my shiny new pc around christmas 2001.

    during setup i followed the manual of my asus a7v266-e mainboard. there is a section that reads: to clear cmos remove the jumper xy, wait a few minutes, put it back on and power up.
    i didn't have a clue, back then. otherwise i would have sensed, that there is something wrong.
    but i did what the manual said and nothing happened. tried a few times and somehow got it working... the only problem is that the board now loses all bios settings after power down. that pretty sucks!

    about a year later i stumble across user comments at different hardware sites. all state that there is an error in the manual. you must not power up with that jumper placed. if you do, the board will be damaged... there is still no statement from asus.

    i really hate asus for that one. they make great products, but that was SO unnecessary!

    --
    the computer is online
    i am not at it
    what a waste of ressources
  106. self-calling script by gosand · · Score: 1
    Back in the day when we were on the old Sun xterms, I was doing various scripts in ksh. Some of them were quite long and involved. I was still kind of learning ksh at the time, and had enough experience to be dangerous.

    I was messing around, and wrote a small script, let's call it "hose". Hose contained one line: "./hose &"

    After chmodding it, for some reason I typed "hose &" and hit Enter. At the time, we had 10 people per server, and I always had a load monitor running. It skyrocketed. People started complaining that the server ground to a halt. I went over to our IT person and told them what I did, but they couldn't get in fast enough. The process was spawning a new process so fast that we couldn't catch it. It was hard to even log in because the CPU was pegged. We thought - well, it will crash the server I guess. But it didn't. The load peaked, and stayed there. Just before the IT person was going to go into the server room and shut it down, I said "hold on!". I went back to my desk, typed in one command into the window I was still logged into, and everything went back to normal.

    What did I type?

    rm hose

    --

    My beliefs do not require that you agree with them.

    1. Re:self-calling script by Nynaeve · · Score: 1

      I did the same thing on my university's primary web server. Fortunately, AIX had a limit of 200 processes per user so it didn't affect overall performance. I had to repeatedly try 'rm' (it would fail because I was at the process limit) until it caught a free process slot.

      However, I discovered the following line in a C program on a Sun workstation (circa 1992) will crash it completely:

      for (;;) printf("\007");

      You cannot hit 'ctrl-C' to stop the program. I had to disconnect the keyboard (which contained the speaker) to make it stop beeping. I then quietly left the lab (which was empty, fortunately).

    2. Re:self-calling script by poofmeisterp · · Score: 2, Funny

      rm hose...
      Sage advice if you don't want to spawn children ;)

  107. Screams! by CyberGarp · · Score: 1

    I can remember hacking away on a box I thought was a testing box, when it was a production box. When I typed, "reboot" and hit enter there were screams all through the building.

    As a runner up, I created a set of object oriented macros for C (pre C++). Now that was a disaster. Just try debugging macros of macros of macros of macros of macros of macros.

    --

    I used to wonder what was so holy about a silent night, now I have a child.
  108. ACLs and Cisco by Anonymous Coward · · Score: 0

    So a while back I was working as a network operations tech at a regional ISP with some very juicy colocated and dedicated server customers (includng some large national companies). One of my responsibilities (a minor one, really) was to set up some anti-spoofing filters to the colocated network each time a new box (and sometimes subnet for some virtual hosts) was added. For those who have not done it, you are basically denying any traffic which claims to be coming from an IP which rightfully should be on the other side of the interface and permitting everything else through (other filters handled other secutiry risks, like telnet). However, at the time, we were doing it the hard way - by hand. Copying out the old filter, editing it, and pasting in the new filter (we did change this later, for reasons which will become apparent).

    So, a request for a new subnet associated with a dedicated server came in. I allocated the IPs, jumped into the router, changed the access list, wrote the access list to memory and jumped out.

    Little did I realize I'd forgotten to include the permit any at the bottom of the filter. And, since I was accessing it over a different interface, I had no idea that hundreds of sites just stopped getting any IP traffic.

    At the time, we monitored our servers by...Sun Net Manager, I want to say? It's been a while. Anyways, it was set up to alert us after five missed pings, bewcause for whatever reason Cisco really doesn't like reliably sending back ICMP packets. Each test was a minute apart, so it was a few minutes until finally we get notified that something went down. And by something, of course, I mean everything. Also, the work on the access list wasn't completely fresh in my head (I'd gone to reconfigure someone's Pipeline 50 in the meantime)...so we flail about for a few seconds.

    Boy, did I feel stupid when I realized what it was. From that point forth, the filter lists were kept in RCS to make sure no one blew it like I did.

  109. mistakes? i don't make em... by displague · · Score: 1

    displague
    monkeyballs

    mistakes? i don't make em...
    Personally, I never make mistakes. I hardly even watch what I type these days....

    --
    Marques Johansson
    1. Re:mistakes? i don't make em... by NanoGator · · Score: 1

      "mistakes? i don't make em..."

      You're supposed to capitalize the i in 'I'.

      --
      "Derp de derp."
  110. SQL is powerfull man by Nplugd · · Score: 1

    Just today, I discovered that rollback is not an option with DROP TABLE commands.
    Whoopsee...

    --
    Je n'ai pas d'avenir Je n'ai qu'un destin Celui de n'être qu'un souvenir C'est pour demain
  111. Darn net send... by ERJ · · Score: 1

    While in college I became an intern at a large fortune 500 company. As interns we used net send to chat between the various interns. We also discovered that you could net send to an entire workgroup. What we decided to do was place all our intern machines in the same workgroup so that we could chat to all interns more easily. However, it wouldn't work right, only sending to machines near your own.

    Anyway, we came to the conclusion that workgroups would not traverse a subnet. To test our theory we placed a few machines on a seperate subnet and proceeded to net send to our default workgroup (which we didn't realize was the site domain). Well, net send to a workgroup will not traverse a subnet, but net send to a domain sure as hell will... Anyway, 2000 net send messages later, and a good talking to by the domain admins we were a bit wiser.

    1. Re:Darn net send... by chendo · · Score: 1

      Aw hell, that reminds me of another thing I did back in grade 8...

      I found the net send command one day, and everyone thought it was cool. So I created a program called "PandaMail" in VB (One of my friends loved pandas, for some reason). Hell, I even intergrated some registration thingy that required a key based on the username >:D. Soon it was distributed all over the school, but I only gave the working keys to people I actually had contact with. Nevertheless, I found out you could net send to workgroups the hard way... trial and error, of course :D

      I was proud to say I got net send banned, the command console's locked out, security tightened up tighter than Fort Knox (taskbar removed, no desktop, yadda yadda yadda) and no detention! w00t!

      Oh yeah, I was supposed to be moving to another school the end of that year, so I went and installed Counter-Strike on the computers in my classroom and the one upstairs on the second last day. As usual, we didn't get caught, people came from all over the school to have a go, and it was great! Until next year, when some people tried to play and got some detentions, but my friend only got a warning from the admins for playing. Guess we're special, huh? :)

      --
      Founder of Mirror Moon - Tsukihime Game Trans
  112. Another 'mistake' that got 40 students detentions by chendo · · Score: 1, Interesting

    Hoping that nobody that got the detentions or the sysadmins are reading this, but here goes:

    I had read/write access on one of the folders on the public drives because I requested Apache and PHP for one of my assignments that other people wrote in notepad with all those annoying javascript tricks they ripped from sites and the IT staff couldn't figure out how to install it. So, they gave me a folder and I installed it myself. Needless to say, I think they forgot I had read/write access on that folder, and I started to hide various files in there, some legimate like Dev-C++. And some not so legimate like some games. Some I made myself, and some not (Like this really addictive game where you have to dodge all these little dots. Sounds simple, but aint, especially with some special dots that home in on you, 2x speed dots, etc etc. It was Japanese tho, but yeah, great game).

    Anyway, like in the second-last week of school, they started catching people who were playing games. In one day, they caught 40-odd people, and thank God I wasn't one of them because I was too busy practicing for a coding competition. I was able to get out of my class to get into the computer room where another class that was the same grade was there, playing a game that involved insane amounts of clicking. It was so obvious, with all that mouse-clicking going on, why wouldn't the teacher notice? They were supposed to be working on javascript...

    Anyway, the next day our grade had to go to the hall while a teacher called out student IDs... It's surprising people didn't hate me for that, heh :)

    And I managed to get some more people in trouble after a really simple HTML page I coded that was able to show the photo and past subject details of a person when you gave it a student ID was passed around. Apparently it was confidential data, but there was this link on the school intranet that said "Student Profile" that let to a page that worked like mine, and it worked two years ago. They found out and removed the text box, but...

    One day I was bored, and went to that page again and viewed the source and found a line that contained a hidden value in a form named 'student_id'. So I just coded a page that posted to the same page, with a textbox for student_id, and voila! It worked.

    The original page had "Example of a SQL query in ASP" for the title, too. It's amazing how bad the IT department is at my school...

    P.S. I haven't been caught for either of the events, yet :)

    --
    Founder of Mirror Moon - Tsukihime Game Trans
  113. David Alexander by VAXcat · · Score: 1

    This reminds me of a pal's worst tech mistake. Dr. Bob was the best programmer I ever worked with. One day I saw him open a letter he'd received, crumple up the page and start cursing a blue streak. When I asked him what was wrong he told me about the time he'd had his first programming job at a major university, writing and maintaining an application to record & track information on a very large medical research experiment. Thousands of subjects in the experiment were to be tracked for many years by this software. He said he wrote a really cool app, in PL/1 (it was along time ago), and everything was going good. Unfortunately, one day, he wrote an update program for it, and due to carelessness with the name variables, he inadvertently replaced the name of every person in the database with that of the first person...who was David Alexander. Even more unfortunate...the backups were no good...they didn't fire him, but he felt so bad about it, he quit in disgrace. For decades after, his friends, whenever they wanted to razz him about it, would send him mail, addressed from "David Alaexander", and he'd reliably fly into a rage. The letter I'd seen him just get was one of those.

    --
    There is no God, and Dirac is his prophet.
  114. Trusting a floppy by Dr.+Manhattan · · Score: 1
    Back in 1995 I was working for a robotics company. They had a problem with a factory in Italy, and had to dispatch someone to mess with it. I had a valid passport, so off I went. I loaded up a laptop with the necessary debug software. It didn't have a NIC available so I used a floppy disk. The next day I'm an hour and a half outside Milan in this factory, trying to load it on the malfunctioning robot.

    Oops, it was corrupted on the floppy, but I didn't get any warning during the transfer. So here I am on Friday afternoon in rural Italy without the critical software I need to debug the problem. I try to dial in to the company modem pool, but the Italian phone system doesn't respond to the dial tones my modem puts out, and I don't remember the magic AT commands to force a connection. The company office in Italy is a hundred miles to the south and won't be able to hand-deliver anything until Monday.

    Eventually I managed to find a computer store in town that has Internet email, and they allowed me to have the company send them a copy of the software, which I load onto my laptop three times with three different floppies.

    We did finally get the customer's problem resolved, but I've never even remotely trusted a floppy disk since. Boy am I glad they're gone...

    --
    PHEM - party like it's 1997-2003!
    1. Re:Trusting a floppy by Anonymous Coward · · Score: 0

      What do you mean they're gone. I work with companies that still back up to them ...

    2. Re:Trusting a floppy by Elbow+Macaroni · · Score: 1

      Once I was working as a temp in an office and a woman there handed me a floppy and told me to make some changes to the company manual. Well I made the changes and then inadvertently went back to work on some other project. I forgot about the floppy. Then later I was doing some other work, I used the floppy for putting that work on and took it into the boss. Then the woman came back and asked for the floppy. I didn't know which one she wanted but anyway we searched through all the ones I had and the company manual had been inadvertently erased by me. It was the ONLY copy of the company manaul for the entire company! The company covered the entire Southwestern United States, and she had been storing it on that floppy for years. Someone had to type it back in from the printed version. I think it was the woman who was storing it on the floppy. I bet she stored the next one on a floppy too.

      --
      -------------------------------------
      Technically, we are beyond survival.
  115. 4 weeks for the UI, 2 days for the backend by phamlen · · Score: 1
    While working at a "dot com" way early in the boom, we decided to change from being an email-forwarding service to being a "web-based email" provider. Now, an experienced person might think about some of the consequences of that "small" change. For instance:
    • all mail needed to be stored on our servers, not just forwarded - we'll need a lot more space
    • we probably should have quotas for individual accounts
    • we should carefully consider what mailbox format we want to use
    • etc...


    Not me, though. The CEO was really interested in building a customizable UI so we could sell it as a "co-branded" site. So I spent about a month perfecting the customized "tag language" for cobranding - and only about 2 days on the mail storage ("Hey, let's just store it in the database")

    Needless to say, we moved to a new display system in about 6 months but used the email storage system for nearly 3 years. 3 years of painful, painful maintenance nightmares (migrations to bigger databases, indexes overrunning, no quotas, MIME decoding problems, etc.)

    The worst part, of course, is that I'm still known as "the guy who built that stupid mail architecture." (despite the other, better things I've done.)

  116. ... Picking a CS Major by kabocox · · Score: 1

    Getting a BS in CS in 2000.

    1. Re:... Picking a CS Major by Zapraki · · Score: 1

      Hehe... ok, how about me. I'm currently on the road to getting a BSc in Software Engineering in 2006. Now, it is an APEGGA and CEAB approved engg degree, but still, all the other engineers make fun of us ("not real engineers") and the comp sci guys laugh cause we have to take all the extra math and physics. Heh, hope we like it in Bangladesh right? lol

    2. Re:... Picking a CS Major by dtfinch · · Score: 1

      I expect to be getting an MS in CS in 2006. My only regret is that there was little left for me to learn even from the beginning. Although I've learned stuff, over 90% of it has been going over what I already knew in high school. The degree is only a costly piece of paper to me, but to prospective employers it's a damn valuable piece of paper.

    3. Re:... Picking a CS Major by kabocox · · Score: 1

      Although that is the feeling that I had getting my BS, I can tell you that all the CS concepts where quite new. It was all the damned general ed. requirements that was a complete rehash of highschool. Comp I & II, World Lit I & II, World History I & II, Chemisty, & Biology. We even had PE credits that we had to take! I'd say that most of my CS degree could have been reduced to a 2 year program if it was just the absolute needed in the math & CS classes.

      Now I'm working as a "computer tech" Doing basic webpage updates, setting up windows & outlook accounts, & filling out purchase requests. I wish that I could have had minored in network administration or tech support.

    4. Re:... Picking a CS Major by madcow_ucsb · · Score: 1

      Heh I *almost* fell into the CS trap. I was admitted into it when I got a letter about this new-fangled Comp Engr degrees. Hmm sounds interesting. So I switch. By far the best decision I made as a student.

      My classes were split right down the middle between chip design and embedded software. Now I'm a software guy doing firmware at a chip design house. Now I program as well as any of the CS guys I knew, plus I know hardware well enough to easily communicate with the hardware guys when I'm writing driver code for prototype chips (and can follow the Verilog code when I need to clarify the chip's intended behavior).

      Best of both worlds.

    5. Re:... Picking a CS Major by demmegod · · Score: 1

      Same shit, different location. I just graduated HS. I'm thinking I want to do a combined CS and CE (or EE) or CE (or EE) with a CS minor. Either way, I don't want just a BS in CS, and I don't know about an MS. Any suggestions?

    6. Re:... Picking a CS Major by Anonymous Coward · · Score: 0

      My class graduated in March'03, and many of us already went back home to work on daddy's shop/small market/gas station

      Fun..huh?

      About me, studying to get into the FBI, I feel a need to shoot people...

  117. Rebooting a SCO Machine by The_Dougster · · Score: 1

    In the summer of 2000, our server was running SCO Unix, and I decided to try and get the PS/2 mouse working so I could use the Windows 3.0 looking thing that was their implementation of the X-Window System. I ran the script, which seemed to compile a kernel module, and rebooted the machine.

    Big Mistake! The machine wasn't Y2K complient and failed to reboot because it had some problem with some init script or other (some stupid thing like syslogd or somesuch). And it just hung there.... took the whole company's main production system down. Whatever expensive system recovery solution it was that SCO had sold us proved to be useless, and the company implored me to fix it rather than making us resort to calling in SCO the whiteshirts.

    It took me about 6 hours to find a workaround, which ultimately involved booting a Debian Linux rescue cd, loading the UFS kenel module, mounting the root partition, executing a shell, and commenting the offending line out of the init script. Apparently the machine hadn't been rebooted since the turn of the millenium, which was fairly impressive, but needless to say I was not expecting a Y2K bug on a SCO Unix system. The whole thing caught me completely off-guard and made me look like a fool. That fact that I was able to resolve the problem without calling in technical support was probably the only thing that saved my job.

    --
    Clickety Click ...
  118. Re:Really? I believe the opposite is true by Anonymous Coward · · Score: 0

    No shit, after a few blunders in my youth (like constantly rebooting a server which was funneling traffic for thousands of customers, during peak hours), I now:

    1) formulate a plan, broken down into SMALL REVERSIBLE steps. I use OmniOutliner to document.

    2) come up with a test strategy for each step, put it in the outline

    3) execute step #1, test. Document any surprises or other information in the outline. Repeat until all steps followed. test again. ask the customer to test.

    4) check outline into CVS with a title including date and client

    I hardly make any big mistakes any more. Of course I can't re-install BSD remotely in a different time zone over an SSH connection as fast as I used to, but I also never get any angry phone calls.

    As you learn more, your brain can no longer take "shortcuts", becuase you simply know too many different ways to do things. Be careful, formulate a plan, document everything.

    The 2nd...10th...100th time you do this, you will appreciate the docs from last time.

  119. How about deleting the VP's mailbox by Nos. · · Score: 1
    So its my first week doing a consulting job for a web hosting company. Part of the project is allowing clients to manage their own email accounts from a web interface. I'm writing a front end similar to Omail-Admin to vmailmgr. They hadn't given me a test domain to work with and instead told me to just use the companies main domain. Well, I had everything working fine and was beginning the last part, the section to delete accounts. I had created several test accounts and was using Omail-Admin (as well as console tools) to check my results. Well, I wasn't paying attention in Omail-Admin and deleted one of my test accounts. On my front-end, it still showed the account being there (hadn't refreshed). So, I proceeded to delete it. Well, it deleted the *next* account, which happened to be the VPs. Luckily he used POP3, so there was no message store, and nothing important was lost. Well, at least it pointed out a flaw in my logic that didn't check which account it was deleteing.

    After that, and my contract was over, I was offered full time permanent work, so they weren't too upset with that little incident.

  120. My own stupid mistakes.... by dacarr · · Score: 1
    From the beginning, it always had to do with the accidental erasure of files.

    * When I was but a young tyke experimenting with the then obsolete Integer Basic setup for Apple 2, I discovered a copying utility. Now, under another copying program called Copy2+, a surefire way to correct errors on a floppy was to copy the disk onto itself. Not so in this other one - it systematically formatted the destination disk (which also happened to be the source disk) and wiped out its own source data. Oops.

    * Much, MUCH later, when running OS/2 (!), I wiped out my config.sys file. Twice. Once when I wordwrapped it in emacs, another time by accidentally doing 'del *.*' in the / of the C: drive. I started mirroring the file onto a spare floppy shortly after the second incident.

    * In 2001, I forwent OS/2 and installed Mandrake Linux. Now, Mandrake Linux (or is that GNU/Linux by SCO now? =^_^= ) by default installs an alias to 'rm -i' for rm. I found it annoying as hell at first, but it has more than once saved my sorry ass from rm -rf'ing my ~, so I leave the alias in place and let my lusers alter their own aliases.

    Which brings me to my most recent technical gaff ever. Taking on users, running a web server, running my own NS1, and cutting into time that could be better spent doing things like (say) cuddling with my wife.

    --
    This sig no verb.
  121. Biggest tech mistake I ever saw by robocord · · Score: 1

    Back in the old days, when computers were enormous and water-cooled, instead of small and water-cooled, I worked with a guy who never bathed. He stank, something awful. From what I've told, nobody would really have been surprised or even bothered in a Unix shop, but I worked in an IBM shop, and everybody (but me) wore a jacket and tie to work, and everybody (but him) bathed regularly. One day, his personal odor field was so bad that his boss finally got fed up with the situation. He told this guy, in no uncertain terms, that he was to go home and bathe, and that he wouldn't be allowed back into the building until his stench was removed. The poor, smelly man got very offended over this obviously unfair situation and stormed out of the computer room, slamming the door as hard as he could on the way out. The door was in one of those lovely little non-load bearing walls that exist in many commercial buildings...a wall so insubstantial that you could see it wiggle a bit, every time the door was opened or closed. Right next to the door, affixed to the aforementioned flimsy wall, was the EMERGENCY POWER OFF switch. The slamming door somehow tripped the emergency off button, immediately removing power from every piece of equipment in the room, and from the coolant pumps in the basement below. In the completely dark and mostly silent room, you could hear the disk heads smashing down into the platters, and the gurgle of water draining down into the basement.

    To make things even more fun, something went wrong, down there in the basement. One of the coolant reservoirs was apparently not up to snuff, and it leaked. There was chemically treated coolant water all over the floor, to a depth of two or three inches. On the floor, surrounding the pumps, we had just started storing the toner for our brand new laser printer, the size of a small city bus (the printer, not the toner). We didn't have all that much toner, and we hadn't stacked it all that high, so at least a third of it was ruined by the water.

    It took over 24 hours to get everything back online, and about a week to replace the laser toner. Surprisingly, nobody got fired.

  122. Classic newbie sysadmin mistake by raider_red · · Score: 1

    I edited the /etc/passwd file on an Sun system and locked out the super user. This wouldn't be a problem on a workstation, but this was on a Sunfire 3800 server which costs almost a quarter-million. It was also our workgroup server.

    The fix is to crash the system, and reboot from a Solaris install CD, which will allow you to edit the file. It takes a long time to fsck multiple RAID volumes though.

    --
    It's good to use your head, but not as a battering ram.
  123. What does bad or missing command interpeter mean? by dan.hunt · · Score: 1

    how do you turn this thing on? C:>_ C:>del *.* C:>

  124. The tribulations of a NW newbie by LostSinner · · Score: 1
    back in mid-2000, i was an 18 year old who thought he was hot stuff because i was the network admin for a manufacturing company. the company was running on netware 4.11 at the time, and we decided to move to 5.1 and use an IP only network.

    we purchased a new box and i spent an entire friday getting the thing running and configured. because nw 4.11 was ipx, the new server had ipx and ip running for communications purposes. that evening i migrated the nds tree and files to the new server, checked that it was working properly, downed the old server, brought up the new, and went home happy.

    the next morning, the owner of the company called me at home. he couldn't get any of the computers to connect to the server. i just figured it was something simple, because the night before i had tested some of the client stations to make sure they connected. i went into the office figuring it would be a quick fix. damn my naivete.

    it turns out when i had tested the clients the night before ipx was still running on the server. i took all of the ipx parameters out of the autoexec.ncf after that. i honestly don't remember it happening in that order. at this point in my career my understanding of tcp/ip was considerably lacking; i thought it was like ipx, you just plug it in and it works. i had no concept of what it actually took to get all of the clients to communicate with the server. oops. being a stubborn idiot, i spent that entire saturday and the following sunday trying to get the damn thing to work. i finally got the clients to connect, but never did get the database server (pervasive.sql/btrieve) to talk to the clients. after two days of straight work, at 11PM on sunday, i fired ipx back up and everything worked. to say i was embarrassed would be putting it lightly.

    i still don't understand why i wasn't fired for that one.

  125. rm -rf by Jaywalk · · Score: 1
    I was working on a Y2K gig and we had four people who had been working for a month verifying that the UNIX system was Y2K compliant. It was late and I was trying to run a big job on a test machine that was too small to hold all the data (which was in a directory off the root). I was trying to scrape together more space by deleting old test files in the test user's home directory. Imagine my surprise when I found that some yutz had copied all the test data to the home directory. I decided to scratch the copy ("rm -rf" means delete all files and subdirectories below current directory without prompting) and get back to testing.

    But now none of the tests would work. It took me a while to figure it out and then a while longer to stop swearing. The master test data wasn't in a directory off the root, as it was in production, it was under the home directory. The person who had set it up had used an alias to make it look like it was in the normal spot. I had just wiped out four man-months of work.

    I explained what had happened to those in charge and -- after much wailing and gnashing of teeth (and more than a few meetings) -- it was decided that we had done quite enough Y2K testing. They declared victory and let the matter drop.

    --
    ===== Murphy's Law is recursive. =====
  126. produced bad output by Anonymous Coward · · Score: 0

    I used to work for a company that produced mylar orthophoto plots. Wrote a program to take digital aerial photos and produce a set of a hundred or so EPS files to send off for printing. Did some proofing on a paper plotter, but nobody recognized a mistake with some "map ticks" (probably due to the plate separation process). Files were sent to another company that could handle the "E" sized plots to mylar. Originally we were going to just get 2 plots done and proof them, but the project manager decided to over-ride my request and print them all. Well after about $6K, the project manager managed to push all the blame back on me (which should have been a $80 mistake) and pretty much let me go (I was already in my 2 weeks notice from getting a new job anyways).

  127. Novell by Anonymous Coward · · Score: 0

    I decided to add more disk to a Novell 3.1 server (a long time ago). Took two 4GB disks from another server, but not before breaking the Compaq hardware RAID, swapping drives' places, re-making the hardware RAID to make sure they're blank. Installed the drives into the server I was upgrading.

    Run server.exe . It's reporting that volume SYS: is damaged. Hmmm. Proceed to fix the volume. Mount. What do you mean?, the SYS: volume is blank??? But, it's supposed to have a bunch of user data, the main cc:Mail database and the Novell system stuff on it ???!!!?

    Apparently, the 2 disks had remnants of the old SYS: volume from the other server. Lesson learned: don't trust the Compaq hardware utilities to remove data from the disks.

    I had to run a 6-hour restore job. Luckily, I did a full backup right before. Got home at 2 AM.

  128. I deleted... by meme_police · · Score: 1
    ...75,000 stories out of our content management system. The content management system for the websites of 13 TV stations. 13 big TV stations.

    I guess I have should have double-checked my query. What's that rule of thumb? Measure twice, cut once. I should have remembered that one. The restore took quite some time.

    I should have posted this anonymously, heh heh.

    --

    The meme police, They live inside of my head

  129. 4Mbps Token Ring card on a 16Mbps WAN by xTown · · Score: 1

    When I was working for one of the school districts around here, I plugged a 4Mbps token ring card into the 16Mbps network. Then I left the site. I had just started, and nobody had told me what would happen if you did that.

    BOY, did I find out!

  130. fun times as office computer lackey by Zapraki · · Score: 1

    I think these two tie for my dumbest moments... 1) So, I'm working as a very low-level computer grunt co-op student in IS at an office, and basically my job is to install Office 2000 on every computer in the building, all day, that's it. How hard can that be to screw up, right? A trained monkey could do it... But, the ONE thing they told me beforehand was that if I was installing it on a drive partition greater than 7 Gb, things could go "screwy" due to Project because of the way paging worked in NT or something like that. So, the ONE thing I have to do is check to make sure the partition is smaller than 7 Gb before I install. After a couple weeks of never finding a computer with a big enough partition, I stop checking. Little did I know that the computers I had been checking were in the under-funded departments like Tech Pubs and HR. So, I move on to the nicer computers in the big money departments, and install Office on a whole bunch on computers during their lunch break. And, yup, installing Frontpage 2000 on a Windows NT machine on a partition greater than 7 Gb causes some interesting problems like not even booting up to Windows. Needless to say, I was very busy doing ghostcasts to restore these people's computers the rest of the day, along with most of the other co-ops. I was not exactly Mr. Popular that summer. But, hey, I didn't get fired and I learned my lesson. 2) Same place, same summer, same IS co-op lackey job. I have to call a bunch of manager-type people to ask them when I can come and install the new version of Office for them. Now, I'm in Calgary and the company has another building in Ottawa too. The phone directory does not specify which location people are at, and the company's internal phone system does not require area codes or anything. So, I call a whole bunch of upperbrass managers (including the company's most important VP) and book times to do this. Then, when I find out they're a few thousand kilometres away, I have to phone them all back and tell them "Uh... nevermind...". lol, those were good times.

  131. NT anyone? by PONA-Boy · · Score: 1

    My biggest (to date) mistake was enabling NT (4.0) software mirroring on our SQL server. This server housed our proprietary internal application's database....irreplaceable data.

    When the server crashed from a (then) unknown issue with Compaq storage drivers and the MP kernel, I spent about five hours trying to resuscitate the volumes...unsuccessfuly. ...and it sounded like _such_ a good idea at the time.

    -PONA-

    --
    +that's funny...I don't FEEL tardy.+
  132. ifconfig eth0 down by rixdaffy · · Score: 1



    telnetting to a server over the internet (back then, ssh was only commercially available) I decided I need to change the settings for a network device. So I typed "ifconfig eth0 down"... It took me a few seconds before I reliazed what I did :) Luckily the datacenter was close so I could take my bike to go there.

    1. Re:ifconfig eth0 down by scorp1us · · Score: 1

      add a ; and an ifcfg eth0 up to the command line, and you'll be able to log in next time

      For added protection, put the commands in a file and no-hup it

      # nohup ./reset_eth0

      --
      Slashdot's rate-of-post filter: Preventing you from posting too many great ideas at once.
    2. Re:ifconfig eth0 down by BRSloth · · Score: 1

      Even better: use screen. It saved a lot of times when working remotely, doing stupid stuff on my local machine.

  133. My tales of HP MPE, MVS, UNIX, *and* Windows by Anonymous Coward · · Score: 0

    Hi,

    I'm a versatile geek, with experience at the systems level on many OS's. That experience in most cases was "hard won".

    HP 3000 runnning MPE 3000, before HP got the UNIX religion. Using the BASIC interpreter used by freshmen at school, I created a two line program that basically GOTO'd itself, disallowing use of the break key. It put the CPU into so tight a loop that they couldn't even shut it down from the console. The admins had no idea what was going on. They called HP Support, which SENT A REP OUT, who puzzed about it for an hour or two and somehow eventually resolved the issue. From that point forward, I was never again to hack in peace at that school.

    So having wrecked my reputation in the HP user community there, time to switch systems. I chose MVS, the IBM 370 mainframe OS (the one used by banks and such). I figured, nice big target, different users who didn't get pissed off by my stupid "what would this do?" act on the HP, I can have fun here. Well, let's see.... I taught a user how to delete undeletable files, he shared this demo with another friend and (oops) used a system library as the example target..... and was relieved of his continuing student status. For my part, I eventually broke (in the hacker sense, not the PHB sense) ACF2 (expensive security package add-on) ... totally by accident.... and the computer center's attempt to fix the problem I identified brought the system to a crawl. Over and over, they re-IPL'd (rebooted), and over and over, it slowed and no powerful ID's could log in. Somehow I deduced that this was related to their attempts to fix the problem I found, I called them up, promised I'd never use or reveal the information again as long as I lived, they pulled the patch and re-IPL'd and things were fine ever after. And no, I never used the vulnerability again -- and lost a bit of my hacker reputation that day, when the computer center realized they could no longer tease me endlessly with no fear of repercussion, because I, basically, 0wned their 3081 mainframe, and instead had to treat me as a fellow clued person responsible for not screwing something up by misusing trusted information.

    Next, UNIX. After 0wning the mainframe, and acquiring some responsibility to use it with extreme care, it was no longer much fun, so I moved to yet another OS. Well, the best thing I did was to carefully construct an rm statement to be run in some old user's directory, under /usr, whose dot files I wanted to delete: "rm -rf ./.?* ./*". Do note the careful use of "." to restrict it to the current directory. Do also note that ".." is a match for the pattern "./.?*". Yeppers, I took out /usr on the company's main development system. I was already on my way to the backup tapes by the time I heard the first scream of horror from a fellow programmer.

    Windows. No OS is immune from my power. Actually, this wasn't really an OS issue, this was a network operations center issue. I worked in the op center of a 700+ station network. It was full of servers. It contained a UPS. My desk was in front of the (large, 6' x 4' x 3') UPS, and I'd often "put things" on top of this, as a handy counter behind my desk. "Things" included a big red wool cape I enjoyed wearing in the winter time. AGAINST ALL POSSIBLE ODDS, one day, as my cape accidentally slid off the UPS.... IT CAUGHT THE MASTER POWER SWITCH FOR THE UPS and DOWN WENT THE WHOLE NETWORK OPERATIONS CENTER IMMEDIATELY. Tell ya, there's nothing quite like the sound of 50+ servers full of disks all spinning down at the same time, and *knowing* that You Did It. They had to call the UPS company to get the UPS reset. It wasn't a simple "turn it back on and it will work" (err, tried that before I walked out and "confessed"; yeah, like I hoped no one had noticed... ROTFL!). Still continuing to work for that client for a couple years after that incident, eventually being given a 3x raise? PRICELESS. :-) I was, however, forever forbidden from that point forward, from bringing my cape into the computer room.

  134. try it from a cronjob by nicknicknick · · Score: 3, Interesting

    rm -rf from the command line? Lucky bastards!

    I once added the following to a cronjob
    rm -rf $foo/*
    My intention was to wipe contents of a directory that I was reusing. Unfortunately "foo" was unset. The cronjob ran overnight with rm -rf traversing every NFS mounted drive in the company. I remember coming in at 10 the next morning and thinking "christ what kind of idiot deleted all of my files?", and then "shit! that idiot deleted everyone's files" and then "shit that idiot is me!".

    Ever since then I usually do something like
    rm -rf ${foo:?}
    mkdir $foo

    Later as I recovered my composure I started thinking "Now why can't those idiots set their umask correctly?".

    The only positive aspect of what happened was that it revealed a weakness in the backup procedures being following by the IS department.

    Personally I count my self lucky to have had the benefit of such a humbling experience w/out loosing my job.

  135. Undocumented Feature by sciop101 · · Score: 1

    We had 2000+ Node Controllers that reset with CTRL - ALT - J, and put the standby memory online. A firmware upgrade changed the reset trigger to CTRL - ALT - Q. Later, anetwork technician wrote a minor config change to all the upgraded controllers standby memory. That night a NOC technician saw the Q, "corrected" it to J in the reset script and triggered it. CTRL - ALT - J erased the standby memory, reset the Node controllers, put the standby memory online, erased the standby memory, reset the Node Controller, put the standby memory online, on and on and on. Each Node Controller had to be physically powered off to stop the loop and configured.

    --
    The only thing new in this world is the history that you don't know.[Harry Truman]
  136. Easy by Sun+Nori · · Score: 1

    Worked for a Life Insurance Company.

    --
    "640 K ought to be enough for anybody." -- Bill Gates, 1981
  137. All it takes is once by DynaSoar · · Score: 1

    After years of weekly "fixing" of a cranky drive interface by power down/remove/reset/repower to clean the contacts, one day I forgot the power down part. I lost my favorite machine, my very first Apple II. I've never made that mistake again.

    --
    "I may be synthetic, but I'm not stupid." -- Bishop 341-B
  138. Worst one I've seen by onyxruby · · Score: 1

    I was working level 2 for a company that had software that started at 6 figures and easily went into millions. Got a call from a state library system. Contract for the entire state (paid for by Bill Gates charity btw) for our software. Customer told me that previous tech had told her to do something that wiped out all data. She told me what he said, and I couldn't believe it. So I asked her if she had this in an email or something.

    She did. In plain text, to be turned into a .bat file meant to be run on the server was the command:

    del q:\allimportantdatadirectory\*.*

    I got the email within seconds of when she said she'd send it to me (she had mine from previous calls, 16 million dollars gets a few privelages). I then spent the next week over the phone helping her recover what had been done. The mistake - not lobotomizing the flatworm who did this. Two weeks later he was found to be hosting kiddyporn off the corp servers (we were an educational software co). Only then did they finally fire the idiot. I did mention that it was Bill Gates that paid the 16 million, right?

    1. Re:Worst one I've seen by NeMon'ess · · Score: 1

      fired was the least of the idiot's problems, right? like getting handcuffed, getting beat up in prison?

  139. Somebody hates you by AuraSeer · · Score: 1

    Your real mistake was leaving the office machine logged in. That means anyone could have walked over and run arbitrary commands, and the logs would show that you did it.

    You probably have an enemy in the office, who killed a table using your ID to make you look bad. (Another explanation is that an insufficiently gruntled employee wanted to annoy the company, and you were just a convenient scapegoat. But in that case I'd expect a lot more damage.)

    1. Re:Somebody hates you by etymxris · · Score: 1

      Actually, it's all cool. The data was much less important than determining why the table was cleared. We were QA'ing a new patch for our application, and we were afraid that the patch had somehow caused the massive row deletion. Finding out that it was my thoughtlessness actually put us in a better situation.

      And I do remember running the specified script, just against another (more expendable) server. I probably mixed up which machine I was on. So I don't think anyone is out to get me.

      I could have explained all this in the original post, but it would have seriously detracted from the punchline of the story.

  140. Dotcom revenue goes negative[er] by spRed · · Score: 1

    from a now defunct dot com

    The C++ class to discount items on the commerce site was overloaded -- item.discount(number) would accept floats or integers. The problem was they had completely different behaviors; a float would discount as a percentage and an integer would discount in dollars. So when I was told to discount a set of items by five dollars it ended up discounting them to (1.00-5.00)*price. The sanity checking code that made sure all prices were above $1.99 had been commented out because someone had wanted to do a 99 cent sale, so some items ended up being set to -400% of their price. Adding the items to your shopping cart GAVE you money. My boss was paged out of bed when the changes went live at midnight: the system alerted him because daily revenue went to NEGATIVE 50k.

    --
    .sig Karma out the wazoo, better to spend points elsewhere if this is above 2 or below 0
  141. err.... by Anonymous Coward · · Score: 0

    first big blunder when i left uni, set up a remote site with 2 intel isdn routers (1 redundant hot fail). these where configured to dial into the boss's home isdn line because the client hadn't had the other end set up yet. when they did, i dialed in and reconfigured them, well i thought i had.....
    one of the routers tried to dial out but it was still configured to the boss's house, the boss's router picked up the line and then disconected it.
    that wouldn't have been too bad, but it was doing this 5 times every 30 seconds with a minimum call charge of 5.2 pence for 3 months :-{

    the total bill 10k

    lets just say the client wasn't best pleased

    the second big cockup....
    dialed into a customer to make some changes to their test system. i cleared the table that holds the days transactions, not to bad thinks i, until i realise that i'm logged into the live database and i've just binned 3 million pounds of transactions.
    the database wasn't sql, there was no roll back. all of a sudden there was no blood left in the top half of my body.
    thankfuly i had done a backup by accident and resored much of the binned data, and got the customer to resend everything from the consoles. they where none the wiser :-)

  142. Communication by pete-classic · · Score: 1

    I was working as a "Analyst" for a data center company's "Professional Services" devision. IOW, they rented me out as a consultant.

    One of the sales guys* comes to me with a job. Some outfit wants us to load test one of their servers. I guess they bought an app and were skeptical of the performance claims from the vendor. Our company was doing this as a freebie to prove what bad-asses we were, in the hopes of generating business. (This "made sense" in the dot-com days.)

    I was to run the test from the office. We two OC-3 connections that were basically completely unused (This "made sense" in the dot-com days.) so that was totally feasible. Dates and times (the middle of the night) were arranged. The sales guy's marching order to me was "crater the box."

    I throughly tested all of my scripts and had a cron job set to fire them off at the appointed time (1am as I recall). The next morning I come into work to find a shitstorm. Something like:

    Sales guy: You crashed their system!
    Me: It's an NT box, right? I'm not surprised.
    Sales guy: They're pissed. They couldn't get a hold of anyone to stop the test. Their system just kept crashing every time they brought it up for four hours.
    Me: You gave me a four hour window. Why are they pissed?
    Sales guy: It is a production server!
    Me:?!

    I don't know what the moral of the story is. Don't let the sales guy stand between you and the client?

    -Peter

    * The "Sales guy" is named Tracy, and he is cool guy. I hate that he comes off as a sales-twit in the story. In reality he is quite smart, fairly technical, and hardly cheesy at all!

  143. My embarrasing moment... by antdude · · Score: 2, Funny

    Since I am an impatient guy, I wanted to make my external USR Sportster 33.6k modem to dial faster with initialization string parameters.

    Well, it was the middle of the night (3 am?) and I was a teenager. I made the modem dial fast, but one of the BBS phone number started out with 914... Well, the modem accidently dialed 911. I didn't have the modem speaker loud enough so I didn't hear 911 operator. Then, a cop came by after a few minutes. My folks weren't happy that day.

    DOH! :(

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    1. Re:My embarrasing moment... by Soul+Brother+#1 · · Score: 1

      I've known guys that have done something similar. They bring a laptop home from work and try to dial in. Well, the first two digits of the number are 11, and at the office, you have to dial 9 first to get an outside connection. Heh.

      -W

      --
      All unfair meta-mods are now being meta-meta-modded as retarded.
    2. Re:My embarrasing moment... by Anonymous Coward · · Score: 0

      How does a modem accidentally dial a wrong number?

    3. Re:My embarrasing moment... by MikeVx · · Score: 1
      How does a modem accidentally dial a wrong number?
      Most modems have two speeds at which to send DTMF. Modern modems may default to the fast speed, but for several years, all modems that could be dialed via the serial interface (AT commands for Hayes and such) used the lower speed. The reason? Phone companies had been upgrading switches here and there for a while, so there were some exchanges that could use a faster speed than the standard the old modems defaulted to. You could activate this if your system supported it.

      One of the problems mentioned in one or two old manuals was if you used the higher speed on an older switch, you might miss a few digits. Hence a rapidly-dialed 9X1-X1XX could cause problems.
      --
      Sigmentation fault - core dumped
    4. Re:My embarrasing moment... by jafuser · · Score: 1

      If I remember correctly, ATS11=1 made a remarkably fast DTMF dialing sequence =D

      --
      Please consider making an automatic monthly recurring donation to the EFF
  144. worst mistake done to me by tuanjim_2001 · · Score: 2, Funny
    Back when I was a under grad I had a cool prof named Kenny (Hi Kenny!). On our second big project for that class I was having some trouble getting it to compile on different machines or something like that and I asked him to take a quick look at it. He being the kind person he is did and sat down at the machine I was working at and fixed the problem instatnly. (I think I was using an odd path to a header file). And jokingly he typed "rm *" at the xterm and said "I'm glad you trust me" or words to that affect. That folder had all the work for this project for all the group as well as my parts. I've worked with him over the summer on a project and we became friends so I said "sure I trust you."

    We all know how this ended. So I won't bother with the details. Much apologizing ensued on Kenny's part and much "Don't worry about it" on mine. I had backed up the files just before I asked for help. Thank god he didn't do "rm -r*" at / like I thought I saw.

    --
    "If a quarter is two bits, then a dollar's a byte." -R Deric Miller
  145. A tale of two download sites by lbjay · · Score: 2, Funny

    Site A was a popular Windows shareware download site (rhymed with CaveDentral.com).
    Site B is an even more popular open source download site (rhymes with freshfeet).

    I was given the task of upgrading Site A to run on top of the PHP codebase developed for Site B. Nearing completion of this project, I began toying with the automated newsletter update features of the codebase. Unfortunately, since the codebase hadn't been designed with the idea that it would ever be used as an extensible framework, the newsletter posting address was hardcoded in an obscure corner of the include files. Or something like that -- it's been a few years.

    Anyway, end result was Site B's subscribers began recieving a multitude of strange emails with the subject 'Testing -- Visit Site A for Windows Shareware!'

    Oops!

    --
    really? wow... that's reallywow.
  146. My mom... by bmac · · Score: 1

    was on a main bank pc (some years ago) and wanted to format her floppy disk. She got to the DOS prompt and typed "format c:" and waited. And waited and waited. Then she started getting a sickly feeling that it was taking too long. She said she almost had a heart attack when they told her what she had done. Luckily they were able to reassemble the FAT table and all ended well.

    As for me, my only tech mistakes have been working for evil PHB's. I *swear* that *two* of them actually looked like the PHB in Dilbert.

    I mean c'mon, yer either taking care of the details or yer not. Also, any serious mistakes have been subconsciously auto-purged from my memory. Ahh, the joy of convenient amnesia!

    Peace & Blessings,
    bmac
    www.mihr.com, check it out!

  147. ROFL by antdude · · Score: 1

    Good story. :)

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  148. Deleting 1000 mp3s by toddlg · · Score: 1

    This one's not mine, and I called my buddy about it but he said no way he was posting it! heh

    Back several years ago we were both middle school teachers and our school had just got a T1 so I was downloading a lot of mp3s there (pre-napster...all FTP and binary groups) and then taking them home (unplugging the drive). Soon I was running out of space. Our IT director asked me to do some training and I said yeah, if i could get a bigger drive.

    So I got a 10 gig installed and moved all my mp3s over to it. By then end of this school year I had on that drive like 1000-some mp3s, all gotten with blood/sweat/tears through FTP sites or ripping them from my students' CDs.

    I got a job the next year in our district IT dept and my fellow teacher buddy got my computer, with my extra drive with all the mp3s. Anyway, he wants a fresh install of 98 and calls me up and asks which drive are the mp3s/system on and I'm like the "mp3s on the big one and system on the small one". Well, he took my word for it and didn't check or whatever and formatted the drive with the mp3s. Had something to do with I told him the mp3s were on the "bigfoot" drive (he was kindof a noob then).

    Napster showed up that fall though so no big deal...

  149. Which is worse? by Prior+Restraint · · Score: 1

    So, I'm working on tracking down some random bug, and login to the production server to see if I can recreate it. I go scrolling through the logs, looking for my username, when lo and behold, there it is, looking something like this:

    2003-12-11 14:30:07 UI: Adding UserName --> mylogin
    2003-12-11 14:30:07 UI: Adding LoginType --> LDAP
    2003-12-11 14:30:07 UI: Adding UserPassword --> cleartextpassword

    Needless to say, I had a new priority.

    Now, that's pretty bad, and at least I can say that this bug wasn't my fault. Then I made the mistake of mentioning it to the guy in the next cube. It was all of ten seconds before the tech lead found out, and got busy writing a script to delete all the passwords from the log archives. Thus, the greatest password harvesting scheme of my life was stillborn.

  150. Me too! by zonix · · Score: 1

    Yup, been there done that.

    It hurt too, as it was the newest server in the park, and almost about to pass it's 365 day uptime mark. I had been looking forward to that for a long time. :-(

    So people, fix your inittabs. :-)

    z
    --
    What would an EWOULDBLOCK block, if an EWOULDBLOCK could block would? -- me
  151. It's a two-fer Thursday by Dunkirk · · Score: 1

    I work for a Fortune 250 company. We started an Oracle ERP implementation project. Nice Sun 4000 box loaded with processors for a dev box, and a half-loaded E10K for the production and testing domains, all on an EMC Symmetrix array. I am the newly-appointed "Unix" guy at the data center, as this is the first Unix they had there. I'm am trying desparately to work well with the DBA's who work in another state. Got the picture?

    Part of the project plan called for layering Veritas foundation suite on the EMC disks. Notice that we already have Solaris and its native VM, JNI fiber controller drivers, and EMC PowerPath running on the stack, and now I'm going to add Veritas File System and Volume Manager. I'm just sayin'. On top of an E10K, it's a lot of stuff.

    I read the docs over about 2 days. I prepare all the scripts over another half. I am supposed to be doing about half the data disks in the first pass. Easy, right? You just specify those LUN's in a special file, and it keeps them from being touched by any commands you throw at EMC's PowerPath software. (Wait for it...) I stare at my navel for a awhile, then throw the switch... and convert ALL the disks, including the stuff they were currently using, to the new file system.

    After all I had done to prepare, it totally escaped my attention that I would be touching the disks with Veritas software, NOT EMC software, so the exclusion file was moot. I was scared witless. I'm sure that those of us who've been through something like this can commiserate with this almost indescribable sinking feeling in the pit of your stomach.

    Amazingly enough, the "live" data disks I wiped out were all due to be cleaned off anyway, with the exception of a couple, and the DBA team lead just considered it a good chance to put their data restoration skills to the test. Talk about a nice group of people!

    Here's another. I've left that group due to... financial issues... and taken up with my old group to do custom programming for the engineering department. Everything's great. Now that I don't need to run EMC's Windows-only managment software, I'm back to running Linux as much as I can.

    The need arises to setup a SQL Server box for some engineers to develop some other apps on. No problem. I get it all setup. But then, I check up on it after a break, and I see TONS of specialized User Account Policies. My first thought is that someone with a normal account -- with a login script that calls SMS setup stuff -- has logged in, and the "domain" has taken over the whole machine. So I angrily start undoing these changes. Problem? By default, User Manager looks at the domain. I'm a domain admin. It lets me delete something like a hundred entries.

    I'm down to the last few when I realize what I've actually been doing. Yeah. Screwing up batch files and service account privileges across our entire multi-national domain with thousands of accounts. Me? I start sorting my stuff from my company's stuff in my office. I know what has to happen; I'd do the same thing.

    I make the call to a good friend who's heavily involved in the domain administration back at the aforementioned data center, and sit on pins and needles. I can scarcely believe it when he tells me that it's no big deal, and he can get one of his guys to repair these permissions in a few minutes, from memory! (Turns out that this might not be the first time that someone has done serious damage to these settings.) WHEW! But, boy, was my face red.

    I think it's a positive testamony about the company that I get to do things that stretch my abilities and not get the axe for the occasional mistake. Even over and above folks overlooking these blunders, I'm incredibly lucky to have this job. It's a fantastic place to work.

    --
    Acts 17:28, "For in Him we live, and move, and have our being."
  152. I bitched about a project. by NanoGator · · Score: 1

    Seems innocent enough, right? I complained about a frivilous project. (Some PHB wanted the entire company to do a 1 hour presentation on what we do. For some reason, upper management was able to get out of it.) I had real work to do with an ambitious deadline, and someboy who wasn't even my boss was telling his employees to tell me to do some waste-of-time project that could easily be rescheduled.

    So why was this a 'tech blunder'? Because I was running Windows 98 on relatively new hardware. You see, hard drives became significantly faster shortly after the release of Windows 98 due to increased buffers and what not. One of the 'improvements' of Windows 98 was that it could shutdown and restart a lot faster than 95. The problem? I discovered shortly after arguing with my coworkers about how dumb an 'urgent project' was that Windows 98 could actually shut down the computer so fast that the data in the HD buffer wasn't done writing to disk. When the computer came back up, 'No OS found.' Obviously, my project wasn't going to get done that day.

    The coworker who was being pressured by her boss for me to get this done heatedly accused me of sabotaging my computer so I wouldn't have to do the project. She really thought I broke my own computer because I made such a big deal about not wanting to do the project. I can sort of see where she's coming from, but I was rather offended that she thought I'd sink to that. I am very much against doing unnecessary work, but I won't disobey my boss.

    I was soon vindicated. No, another 98 machine didn't crash. Rather, when the machine was restored, I did the stupid project. I was thoughtful about how to present it, moreso than my other coworkers. Lots of praise, yadda yadda yadda.

    The moral of the story? Be very careful about bitching about your job. Those of you who frequent here know that people like to jump to conclusions, and they usually operate with critically low information. Once I called in sick after working a late night. My boss called me and said "You should have just said you needed to sleep in." Sadly for her, she got to hear the details of the digestive problem I suffered that morning.

    --
    "Derp de derp."
  153. Giving my ex-girlfriend keys to my apartment... by Cranx · · Score: 1

    ...to feed my cats while I went on vacation and leaving my ICQ chat logs intact and not passworded.

    I will never do that again.

  154. Buying Hardware by btk667 · · Score: 1

    One of my worst history about technologies was: I needed a multiplexing board to have 8 Serial Comport on a computer (Os/2 at the time) I bought a DigiBoard PC/8e (I still have) for 700$ a piece. Just to realise that there was something else available for 150$ that could have done the same. Now before buying hardware equipement i ask everybody if there is something else that can do the same thing.

  155. Mass deletions by hcg50a · · Score: 1
    In 1987 we used to compile projects on our Tandem "mainframes", and they would take anywhere from 20 minutes to a couple of hours (the machines were very, very slow by today's standards). The output was stored on disk in the print spooler, and rarely printed out. The spooler would hold about 2000 listings.

    Periodically, the spooler would start to get full, so one of us good-hearted individuals would run a command to delete the oldest few spooler jobs.

    One day, I noticed that the spooler got full, so I took on the task of deleting old jobs. I typed the wrong command, and then left for home. After about 5 minutes on the road, I realized my mistake and knew that it was deleting every spooler job. I raced back to my office, and aborted the command.

    Nobody even noticed.

    --
    HCG 50a = 2MASX J11170638+5455016
    11h17m06.4s +54d55m02s
    1. Re:Mass deletions by RedWolves2 · · Score: 1

      If no one noticed is it really a mistake?

  156. Evil override trick by devphil · · Score: 1


    It's not that -f overrides -i. It's that whatever option comes last on the command line wins.

    One trick is to go into an important directory and "touch ./-i". This creates a file called dash-i. Next time you "rm -f *", the C locale's collating order will put dash-i at the front of the expanded list, and the command actually executed will be "rm -f -i foo bar baz ...". Now -i wins.

    For added space savings, hardlink all your empty dash-i files together.

    I've never tried this suggestion (my friend is backups, not mother-may-I intentional stumbling blocks), so I can't report on its effectiveness.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  157. I got 2 by __david__ · · Score: 1

    I was showing a guy how to use CVS and he kept messing up. So I showed him how to remove his dir out of the CVS repository so that he could start over. Well on one of his tries he accidentally checks in a new directory with a space on the end (it was a GUI client). So he goes to the CVS repository and does "ls -F" and gets:

    somedir /

    So he copies the dir and "rm -rf"s it. Comes to me and says, "it's been removing my directory for about 5 minutes now." I go, see what he typed and start frantically hitting control-c. You guessed it: "rm -rf somedir /". Whoops.

    Another guy was the lab manager where I used to work as lab assistant (a long time ago). He bought a brand new state of the art 486dx2 chip for around $500. Apparently back then they weren't keyed and he plugged it into the mother board rotated 90 degrees. Fried it good. So he goes to the store and buys another. He studies the pin 1 indicator on the chip and board good and long. Plugs it in. Turns it on... Nothing. Turns out he got it wrong AGAIN! $1000 in 2 hours. Whoops.

    -David

    1. Re:I got 2 by MrYingster · · Score: 1

      Ouch! How much of "/" got deleted?

  158. not my mistake by Anonymous Coward · · Score: 0

    i was in a networking class and the teacher (who was going to resign in 3 days) gave the class the novel administrators password. everyone in the class logged in and started poking around. at this point the teacher left the room. the class proceeded to delete accounts and computers and stuff :)

    well, someone deleted the administrator account everyone was logged into.... boom! everyone got a warning that they had no access anymore. 10 minutes later the teacher returned, looked at the screen and screamed. then he laughed because he knew it wasn't his problem. :)

  159. documentation by hubertf · · Score: 1

    cost me my last job, in addition to building up a coworker to back me up in case of emergency.
    No sh*t!

    - Hubert

  160. Boss' embarassing 911-ish moment by devphil · · Score: 1


    Former boss was staying with his grandmother when he was a child. Since he was young and healthy, it was one of his jobs to go out to the mailbox by the street to get/put envelopes.

    So one day he walks out to the mailbox and notices something he hadn't noticed before: a small box on an adjacent telephone pole, with a little lever and the words "Pull Here". There were some other words, but he couldn't read those. But he knew what "pull here" meant, and he was a responsible boy who did what he was told, so he smartly pulled down on the lever, took the mail , and went inside.

    Shortly afterwards he was fascinated by the big trucks with the flashing lights driving around.

    The next day, he walks out, pulls down the lever, gets the mail, walks back inside. Trucks drive up and down the street again. No cause-and-effect thoughts are passing through his mind (why would they?).

    Happens every day for a few more days. No electronic records back then, so it takes some bright guy at the firehouse watching the clock to notice the pattern. One day the truck just shows up early and waits. Young Boss walks out, gets the mail, reaches for the lever, gets stopped.

    "Young man, have you been pulling this lever every day?"

    "Yes sir! I'm just big enough to read it!" *huge grin*

    "Ah." *sigh, smile* "No harm done, but let me talk to your folks, young man."

    Young Boss got the stuffing beat out of him by grandma, but he says getting to tell the story these days to his laughing kid, wife, and employees was worth it.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:Boss' embarassing 911-ish moment by Anonymous Coward · · Score: 0

      How nice that he got a beating from his grandmother for doing something he thought he was supposed to do.

  161. cp and copy are not quite the same by Ashtead · · Score: 1
    I had been working on some fairly complicated analysis code, on a UNIX (hp-ux) machine, and wanted to make a new directory with a copy of the thus-far best version, so as to be able to continue with some experiment on it.

    It must be noted that I had previously been used to the MS-DOS command-line, and got into the bad habit of copying files without specifying where to. This makes them go into the current directory on MS-DOS so no problem.

    But now I was on Unix. And so I make a sibling directory, and go into this directory and issue the command:

    % cp ../mandir/ndss.*
    % ls
    %
    but where the hey are the files? ah! yes, I'd forgotten to say where to put them... try again:
    % cp ../mandir/ndss.* .
    % ls
    ndss.c ndss.h
    %
    Ok, now I got the ndss.c and ndss.h files. But... why doesn't this seem to compile? Hmm... but the previous one did? So I check... Nope!

    Whats happened here?! I take a look at the files, my ndss.c looks ok and ndss.h looks ... eh? wasn't this ndss.c that I just looked at? What's going on here?

    Realization dawns. My ndss.h is lost and I got four copies of ndss.c. So, OK, I can recreate that knowing the function names and stuff from the C file... but damn if I ever issue a copy statement without specifying where to anymore!

    Another fun tech mistake: Put the cache memory chips in a 486-era box backwards. These are 28-pin narrow DIP format, (61256s) and work one way and fail spectacularly the other way, but they fit either way.

    --
    SIGBUS @ NO-07.308
    1. Re:cp and copy are not quite the same by JabberWokky · · Score: 1
      Heh. That just reminded me of a big one I did. I've been reading these and chuckling and thinking "I never did anything that bad". Must be selective memory:

      I inherited a system that had not had a backup in quite awhile, and so the first thing I did was make a backup. Go to the directory under the source I needed to work on, which was in srcdir, and then typed some:

      tar cvf * srcdir

      I note that gnutar now won't allow you to do that, so I'm guessing it's smarter now. But I'd never seen a directory get smoothly wiped out and converted into a file with the same name like that. I now use the f flag only for untarring (zxvf), and do "tar c -dir- |gzip >tarfile.tgz" to archive.

      And now I'm friends with the guy who has the CA license plate "TAR ZXF". I've got "RHPS", which is geeky in an entirely different way.

      --
      Evan

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
  162. NIS+ by Copperhead · · Score: 1
    I ran the "nis_client -i" command on the NIS+ server instead of the NIS+ client. Didn't have backups of the NIS server data.

    Had to rebuild the tables from scratch...

    --
    Your reality is lies and balderdash and I'm delighted to say that I have no grasp of it whatsoever. - Baron Munchausen
  163. Code by marko_ramius · · Score: 1

    I mentioned to some bigwig at SCO that some code in the Linux kernel looked a lot like SCO's unix. :)

    1. Re:Code by Anonymous Coward · · Score: 0

      -6 That's Not Fucking Funnay

  164. Re:Really? I believe the opposite is true by XO · · Score: 1

    I think that what's really being said, is that the more you learn, in general, the higher up you go in responsibility chains.. and therefore, when you make a screw up, it can be an order of magnitude worse than if you had been responsible for a smaller area/subset/whatever.

    --
    "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
  165. My worst mistake... by cr0sh · · Score: 1
    IIRC, I was working at my first "professional" programming job, small mom n pop company (under 20 employees), insurance claims management software. This was about 10 years ago. Anyhow, I was doing some testing on a live client's system (no, we didn't have dedicated live and test systems at client sites - big mistake number 1) - building and rebuilding and testing three different tables on the database - each of which had similar names. However, I was doing all of this originally using three identical tables, but prefixed with the word "TEST_" - just to be safe. Between each test, I would delete the tables. Well, you can guess what happenned next after doing this a few rounds: I typed in the delete command for one of the LIVE data tables. Just as it completed, I realized what I just did. My head went into my hands, I moaned a loud "NOOOOOOOOOOOOOOOooooooooo....!!!!" - and all the phones in the (small) office started ringing at once, as our client (at the time, one of the largest insurance carriers in AZ) was frantic, wanting to know where their data just went (and I imagine the code was blowing chunks, plus they were doing data entry, etc)...

    That was my big mistake. Of course, it was compounded: They didn't have a very recent backup (about a week old). After a stern talking from the president/ceo/owner of the shop, my supervisor and I spent a VERY late evening restoring the data from the backup, rebuilding what we could from the leftover two tables (due to the way the system was structured, a lot of the data for this one table could be gleaned/inferred from the other two tables - had I screwed up one of the other two - I would have been even more hosed), and the rest the client had to rekey.

    In all, it caused this company to lose about a day's worth of work, a half day or more of employee downtime/productivity, and untold dollars. Lesson learned?

    ALWAYS DOUBLE CHECK WHAT YOU TYPE BEFORE PRESSING RETURN - ESPECIALLY IF YOU ARE PERFORMING A DELETE COMMAND.

    To this day, I am amazed I wasn't fired...

    --
    Reason is the Path to God - Anon
  166. NET SEND by Gid1 · · Score: 3, Funny

    While working at HP I did a NET SEND command to get whoever was logged into one of the servers I was using to log out of PCAnywhere. Unfortunately, I missed one of the parameters and sent the message to everyone in the login domain (ie. a few thousand users).

    After hitting ENTER, I hear a hundred Windows 'dings', and everyone in cubicle-land starts prairiedogging. I got a few nasty replies asking who I was, and a very nice one saying "Don't worry: once I sent 'I know you don't have any pants on' to most of HP Belgium".

    Worst thing was, the guy clogging up the server was my cubicle-mate who'd gone out to get coffee.

  167. typing for RMS by Russ+Nelson · · Score: 1

    I was typing for RMS back when he needed volunteer typists because his wrists hurt too much.

    He said "rm" "-rf" "." "config".

    Or so I thought. He probably thought he said "rm -rf .config". But what he said afterwards was "NO, NO, Ctrl-C, Ctrl-C!!" And then he said "Did you get enough sleep last night?" As if *I* was at fault!
    -russ

    --
    Don't piss off The Angry Economist
  168. Taking a check by Anonymous Coward · · Score: 0

    from Darl.

  169. Two UPSes and an automatic circuit breaker ... by Tux2000 · · Score: 1

    Once upon a time, there was a small, innocent server room. A few servers for the company's knowledge and document management, main part of the intranet, were connected to two UPSes, and everything was good. One day, the power failed for a few minutes, the UPSes switched to battery power, and nobody noticed it until the servers suddenly stopped responding. Both batteries were empty, the UPSes could not tell the servers to shut down because nobody had wired the serial port of the UPSes to the servers. But the best fact: Both UPSes were connected in parallel to a single 16 amps automatic circuit breaker, and both UPSes tried to recharge their batteries immediately after the power returned while still supplying power to the servers, drawing much more than 16 amps. Guess what happens: The breaker switched off and the UPSes where discharged until they could not even light a single LED.

    The next server room had 12 circuit breakers rated 16 amps each, a well-calculated power distribution, and the UPSes could tell all servers (a few more than in that good old times) about their battery states.

    Tux2000, happy not to be responsible for that old server room

    --
    Denken hilft.
  170. Lessons in humility by insensitive+claude · · Score: 1

    I've made two major blunders on the job. The first time was in '97 when I was sent to a vendor site to fix a PC application. I talked to the supervisor there before I got started and was told something to the effect of "do whatever you need to - just get it running". I went to work on it and determined the OS (Win95) had some serious issues and decided a reinstall was most expedient. I reformatted, reinstalled, and put the application on. When I was done I told the supervisor what I had done and that everything was honky dory. That's when he tells me other customers application data was on there and 'I had no business doing that'. They had no backup. My company was charged for the rebuild work, and I ate crow. The other big mistake was when I was doing a hardware upgrade on a database server. I was new at this division of the company, having transferred only a few weeks before. IIRC I was repartioning a RAID array. I started around 8pm. I made my backup of the database, added disks, and went to restore. The SQL database backup was corrupted. I panicked hard. Why hadn't I tested the backup?! I called Microsoft support but a full restore was not possible. At 4 am, I ended up going back to the previous nights backup. It actually gets worse, but it's too long to document here and it depresses me to think about it. On my own machines at home, I'm always switching hard disks, reinstalling OS's, etc., and many times I've forgotten I had documents or digital pictures tucked away somewhere and lost them for good. It's harder to get myself to apply due diligence on my own stuff, but I'll learn eventually.

  171. once more, with paragraphs by insensitive+claude · · Score: 1

    I've made two major blunders on the job.

    The first time was in '97 when I was sent to a vendor site to fix a PC application. I talked to the supervisor there before I got started and was told something to the effect of "do whatever you need to - just get it running". I went to work on it and determined the OS (Win95) had some serious issues and decided a reinstall was most expedient. I reformatted, reinstalled, and put the application on. When I was done I told the supervisor what I had done and that everything was honky dory. That's when he tells me other customers application data was on there and 'I had no business doing that'. They had no backup. My company was charged for the rebuild work, and I ate crow.

    The other big mistake was when I was doing a hardware upgrade on a database server. I was new at this division of the company, having transferred only a few weeks before. IIRC I was repartioning a RAID array. I started around 8pm. I made my backup of the database, added disks, and went to restore. The SQL database backup was corrupted. I panicked hard. Why hadn't I tested the backup?! I called Microsoft support but a full restore was not possible. At 4 am, I ended up going back to the previous nights backup. It actually gets worse, but it's too long to document here and it depresses me to think about it.

    On my own machines at home, I'm always switching hard disks, reinstalling OS's, etc., and many times I've forgotten I had documents or digital pictures tucked away somewhere and lost them for good. It's harder to get myself to apply due diligence on my own stuff, but I'll learn eventually.

  172. su vs su - by Jason+Pollock · · Score: 1

    I needed to blow away a tree of directories under /tmp on our development systems. Since they were all owned by various other developers, I needed root permission to clean out the space. I figured I would su, and then delete it.

    10 seconds after starting the rm, I figured it was taking to long. I looked back up the log, and I noticed that I had done a "su -" instead of just a "su"! Freaked me out completely. Destroyed the whole machine, we had to rebuild from scratch. Thankfully, I hadn't gotten to the home directories yet. :)

    Jason Pollock

  173. A couple of war stories by stevew · · Score: 1

    The very first chip I worked on came back only partially functional, and the part that was broken was my logic :-(

    At the time, the respin cost was about $50K!

    After 6 weeks of working on the problem, we verified a timing problem in my logic. Now - for those in the know, you would expect static timing analysis to find this - uhm, the company didn't use STA, but rather depended on the library's back-annotated delays and verilog simulations saying a Flop input didn't meet setup or hold timing requirements. So if you didn't excite the slow path in your simulations you wouldn't see it...

    We also found that our libraries were 40% slower than the actual silicon we received, i.e. there wasn't any ground-truth in the simulations we were doing anyway.

    To make a long story longer - the company wound up making huge changes in their methodology due to this mistake - and I was exonerated because I followed the extant methodology and couldn't have possibly found the problem with the tools in place at the time.

    Talk about 6 weeks of hell!

    This is a classic story that REALLY happened, cause it happened to someone I went to college with. I got the story from two other folks that saw it happen ;-)

    This is back in the days when people used "Disk Packs" These were multiple platter disks that you could actually remove from the drive. The guy decided to do some preventive maintenance on the disk drive, so he turned the drive off to remove the pack. Only one problem - the system was hot with real live software developers editing and saving files. The disk pack contents was ruined, and from what I understand, they took over two weeks to recover everything, i.e. getting back to where they were when he did his thing. He didn't work there after that.

    The last story I've got is along a similar vane and involves the same disk packs. This happened at my first job a few years before I was hired in. A disk pack failed on a drive, so the tech downs the drive and installs the disk pack on another drive. Well that one doesn't work eithre so he moves it to another drive..so on, and so on, until he ruined 9 seperate drives with a crashed disk pack!

    --
    Have you compiled your kernel today??
  174. Dot in the path of root ... by straybullets · · Score: 1

    ... with bad command completion and next thing you know there's a wall message on all machines nationwide warning for immediate database shutdown ! I hit ctrl-c fast enough tho ... it was my 2nd day on duty and got a LOT of phone calls :| live & learn.

    --
    With that aggravating beauty, Lulu Walls.
  175. recursive Bourne shell script by stanwirth · · Score: 1

    I wrote a recursive Bourne shell script in 1983 -- it called itself, twice, before exiting. Blew out the 4.2 process table and crashed the VAX. Luckily it was an academic system, not a business production system.

  176. E.E. Mistake by morcheeba · · Score: 1

    Not enough EE's represented here, so I'll take a shot:

    Took the tantalum cap that we used to decouple the +5v power supply and used it to decouple a +12v power supply. About two months later, after we had about a dozen products in the field, I found out that it was rated at 9 volts.

    I worked really hard to write the recall letter without using the words "explode" or "burst into flame" while trying to convey the thought that this part probably wouldn't catch their whole system on fire.

    1. Re:E.E. Mistake by FueledByRamen · · Score: 2, Funny

      Running components above their rated voltages can be fun and exciting... I've had two instances of that. First time, I was building a voltage doubler for 35 VAC to 70 VDC. I used generic electrolytic caps rated at 50 VDC. I turned it on and it worked for about 5 seconds before exploding in a plume of electrolyte steam and spraying me with bits of capacitor.

      The second explosion was even better, though. I was building a 48V 20A power supply from a somewhat limited selection of components. I didn't have an input transformer, so it was running directly from rectified 120V AC (with a hefty, properly rated smoothing capacitor) Rather than have a 48V zener as the reference, I had to use the 12V zener that I happened to have and quadruple the voltage with a 555-based circuit. I built up a test of the voltage reference circuit, and it seemed to work on the 5V input I gave it. So, I plugged in the 12V zener, plugged in the power transistor bank, and fired it up. Quite literally, as it turned out. As the multimeter I had hooked up to the output briefly registered somewhere around 200 V DC, the entire low-power section (reference zener and 555) of the power supply exploded in flame and sparks. Every single component on the board exploded, the electrolyte in all of the capacitors vaporized, the diodes were nowhere to be seen (though I did get shrapneled with bits of them), and there was a nice big black stain on my Radio Shack experimentor's solderless breadboard. I had managed to stick the zener in backwards. With the way it was built, that resulted in delivering the full recitified line voltage (somewhere around 120 V DC) into the input of the very low power circuitry surrounding the 555 timer IC. The quadrupler's drive transistors overloaded and shorted into nice 3-wire jumpers, causing a short to ground through the nearest circuitry - poor 555, never knew what hit it... Thankfully, the (expensive) power transistor assembly survived.

      Lessons learned: Check the ratings on the components you're using. Think, then assemble.

      --
      Every cloud has a silver lining (except for the mushroom shaped ones, which have a lining of Iridium & Strontium 90)
  177. My Big One by suricatta · · Score: 1

    deltree /y \windows

    But then again, I guess most of you don't think that's a terribly big mistake ;-)

  178. Real-time support by tengwar · · Score: 1
    I've not got any entertaining stories of my own, but this happened to a colleague when I was working in the paper and pulp industry, at a factory in the north of Portugal.

    The factory consumed wood and produced pulp, which is like thick blotting paper and is used to make paper. Basically you chop up the wood, and digest it to form an aqueous suspension of cellulose and lignin, which is then sprayed over a moving metal mesh belt to filter out the cellulose, which is the bit you want. As this factory was in a region with a poor power supply, it produced its own electrial power by concentrating the waste lignin, burning it in a steam generator, and powering a turbine from the steam.

    This is all very elegant, but there's an obvious bootstrap problem. My colleague had to do some maintenance on the control system for the turbine, and of course it couldn't be shut down without major problems rebooting the factory. Unfortunately this meant that when he got the byte sex of an integer the wrong way around, he found out the hard way when $2M of live turbine expired.

    I met him some time after the event - fortunately still working for the same company.

  179. dd if=/dev/hda1 of=/dev/hda bs=512 count=1 by Bake · · Score: 1

    About 5 years ago I was a fan of the NT bootloader since it enabled me to simply use the arrow keys to decide whether to boot Linux og NT.
    And since I had for some reason or another re-installed LILO, with the expected effect that it overwrote the Master Boot Record with its signature, I figured I might as well try and put the NT boot loader there instead.

    I had read somewhere that the MBR was the first 512 bytes of the disk, and since I had somehow worked out in my head that LILO booted DOS by running some code from the first sector I naturally came to the conclusion that I could easily restore the NT bootloader as the default bootloader by simply copying the first 512 bytes of the NT partition to the front of the disk.

    The command I then came up with was the following dd command:

    dd if=/dev/hda1 of=/dev/hda bs=512 count=1

    The system worked of course just fine after copying these few bytes from one place to the next and it wasn't until I rebooted the machine that I found out that something had gone terribly wrong.

    I can't recall what the error message was exactly, but what I do remember is the feeling I got in my stomach when I saw it.

    At first I just said to myself that I had simply hosed the MBR. But that bad feeling in my stomach grew worse and worse when a Linux Rescue CD I booted from actually found NO partitions at all on the hard drive.

    So, let this be a lesson to everyone not to run dd unless you're REALLY sure you know what you're doing.

    ---

    Then a couple of years later I was working as a programmer, and I too did what I guess a lot of programmers have done at one point or another in their career.

    That is, "DELETE FROM table;". But I was fairly lucky in that it was not on a production server, and the data was easily restored from backup.

  180. why did I mount that there? by ivan_13013 · · Score: 1

    At my first real programming job I was in charge of maintaining several different versions of UNIX software for different platforms. I didn't have dedicated development boxes for most of them and in particular I had to share the SunOS4, AIX and Digital UNIX boxen which were on the other side of the building.

    Anyhow I generally would telnet into these machines and then use NFS to mount my development directory on my box, then do the compilation and testing.

    One day I was looking for a file on the SunOS box but the find command syntax was a little different. So I decided to just NFS mount the drive from the SunOS box on my Linux box so that I could use the find command I was more familiar with. I didn't normally do this, so I didn't have an fstab entry or established mount point. I figured this would just be a one time thing, so I just quickly did a mkdir /tmp/sunos and mounted the volume there.

    Later that day I decided to clean out the temporary directory on my Linux box after installing some new software.

    cd /tmp ... pwd ... (yep, we're safe) ... rm -rf * ... hey, why is this taking so long?

    The SunOS box was slow, and it took a long time to restore the backup. Lost a day of work and the IT guys laughed about that one for quite a while.

    -=Ivan

  181. Re:Really? I believe the opposite is true by FreeForm+Response · · Score: 1

    I have a theory about this...

    See, the idea is that Real Life (TM) is just a giant RPG. Therefore, you complete tasks supplied by the DM, and gain experience for good work and good RPing. The DM of Real Life (TM) has to make the game interesting enough that people will want to keep playing, but not so hard that they just give up.

    The conclusion I've come up with is that the DM will, from time to time, give you challenges to overcome. NumLock problem, CR 0. Windows reinstall, CR 2. Exposed wire on the IDE cable shorting and forcing a reboot every time you burn a CD, CR 10 or so. In order to keep you engaged in the game, the DM has to make the challenges appropriate to your current level. Also, when you get enough experience, you go up a level and gain nifty powers. ;-)

    Thus, as you gain in levels, simple problems become less appropriate, and the DM has to throw in some real show-stoppers to keep you on your toes. =)

  182. Two more to add to the mix by ajft · · Score: 1

    The department that I worked for had two SunOS servers (CS and IS depts). One day I was given the job of walking across campus, shutting down one, plugging something in and starting it up again - I can't even remember what I had to plugin.

    On the IS machine I typed the shutdown command in wrong and it didn't work, so I tried to read the manpage. Manpages were NFS mounted from the other machine, but had now been dismounted, so I rsh'ed into the CS machine, RTFM'd and then typed in the correct command... Ooops, forgot to exit the rsh.

    Boss was very kind, the comment was "everyone is allowed *one* bad mistake"

    Second bad was spinning around on a swivel chair and having my knee hit the power switch on a NetWare server. Hurt like hell as well as switching off a running server!

    1. Re:Two more to add to the mix by topham · · Score: 1

      AT my previous employer I watched my boss walk up to the servers and hit the power switch on the server he thought he had just shutdown remotely. He had to stand there holding the power button while we shutdown all the tasks on the server, he had already toggled the switched when he realised it wasn't the right machine.

      Worst mistake I made? browsed a website infected with a virus while I was at a client site. Didn't get kicked out, or fired.... (actually suprised, in spite of the fact I didn't really do anything wrong; was looking up work material).

    2. Re:Two more to add to the mix by netsharc · · Score: 1

      Was that an AT-box? Actually I remember playing with the power switch on my (then) P-100, if you ;et go of it and press it again quick enough, it would stay on. In hindsight it was something dumb to do. Nowadays I've fried enough harddisks (2 from PSU fuck-up, one from hot-plugging the power connector) that I know never to mess with the electricity part ever again.

      --
      What time is it/will be over there? Check with my iPhone app!
  183. Anonymous FTP by Mandomania · · Score: 1

    So I used to work the tech support lines for a local ISP and I was trying to get a new customer up and running: Windows 3.11, Trumpet Winsock, etc. To this day I don't know what this person did to their computer, but it took us HOURS to get that damn thing connected. Of course, them having only one phone line ("Okay, I'll try that and call you right back..") didn't help any.

    Once the torture was finally over, I got the dreaded question: "Now what do I do?". So I tell him about setting up email, "surfing the web", etc. He replies "That sounds great. How do I do that?".

    So I start walking him through ftp'ing over to netscape in the hopes of downloading a nice browser. I should have hung up the phone and shot myself in the head instead. Another 30 min. goes by with frustrations mounting on both ends of the phone (Only one phone line, remember).

    Finally, I realize that enough's enough, download the file for them and start up wu-ftpd on our shell/mail server so that I can see what's happening when they attempt to connect. I give the customer the new ip address to try, hang up, and start watching the logs.

    Radius says they connect, authenticate, yadda yadda yadda.

    Syslog on my local box says someone's connecting... YAY! On the first try it works. By now it's waaay past time to go home, so I tell the next shift guy what's up and head on home.

    When I get into work the next day, my manager calls me into his office. I'm ready for a commendation, or a medal, or something for going way beyond the call of duty. He asks me "Do you trade warez?". I say "Not really.". He says "Explain this then.".

    Of course, I forgot to turn off the ftp server after the customer had downloaded netscape. And of course, someone had scanned it over night and started filling it with all sorts of stuff. And of course, they filled up the disk, wreaking havoc.

    I quickly explain the situation and I somehow manage to keep my job.

    But we did get some kick ass warez out of the deal, so it wasn't a total wash :).

    --
    Mando

  184. Linux usability people take note by alex_ant · · Score: 0

    (all 3 of you)

    Notice how many of the tech mistakes posted so far involve problems with 'rm.' Unix vendors listened to these complaints for decades and ignored them, and look where they are now. Maybe just because rm (and a lot of other command-line stuff) has been brain-damaged for such a long time doesn't mean it's without fixable faults.

    1. Re:Linux usability people take note by ivan_13013 · · Score: 0, Redundant

      Bah. Mistakes will be made.

      Like a lot of other people, I've screwed up using the rm command before. It's a powerful and dangerous command. But I have also saved a lot of time and effort and money by having crazy powerful commands at my fingertips. I don't think rm is "brain-damaged," and I wouldn't change it just because it's a little dangerous.

      Make your own "delete" command (alias "rm -i") if you are unsure of yourself when using the real stuff.

      -=Ivan

    2. Re:Linux usability people take note by alex_ant · · Score: 0

      Of course it's brain-damaged, it's unintuitive and even misleading to novices which is the last thing you want a delete command to be. Like the guy who talked about trying to delete all the .* files in a folder by typing "rm .*" ... It's not his fault he just erased his whole fs - that's just absurdly stupid functionality. "But, but, it's better that way, it makes perfect sense, because....." No. It makes perfect sense only to those who have already been indoctrinated into believing that this kind of nonsense is the "sophisticated" and "correct" behavior.

      Unix has design problems that go way beyond rm and that have been addressed by a multitude of other OSes before CS researchers themselves stopped caring and became used to things being the way they are. Read "The Unix Hater's Handbook" for an endless supply of '80s-era complaints that are still around. Don't be scared by the ms.com address, I am not a Windows lover either.

    3. Re:Linux usability people take note by Elbow+Macaroni · · Score: 1
      I think the main people who complain about rm commands are those who don't type well. I've been doing sys admin work off and on for over 8 yrs and have never inadvertently deleted anything.

      Although I did once accidently control-alt-delete the freenet when I was a newbie. I didn't realize I was doing my email on the same machine that ran the entire freenet.

      --
      -------------------------------------
      Technically, we are beyond survival.
  185. one word: too much beer by Anonymous Coward · · Score: 0

    The worst mistake of MINE that comes to mind is getting drunk while on call.

    The chances of anything going wrong that night were slim to nil (null) but, as my luck would have it, the system went down. System fixes on our system required many people working together. I was sysadmin and in charge of the techs. Needless to say, that night, I was NOT a sight for sore eyes but rather a sore sight for eyes. Not to mention having sore eyes myself!

    I DID get the problem fixed rather quickly, but ended up going to sleep under my desk for the remainder of the night. Worst of all, I didn't wake up until people were already in the office the next morning! Oops!

    -definitely posted by Anonymous Coward!

  186. dos.... by Anonymous Coward · · Score: 0

    Back when I had my good old 286 running DOS, I was having a little trouble running out of room on the hard drive (barely a few megs then!), so I went into a directory of a game I no longer used (at least, so I thought), and confidently told the computer to erase everything in the directory I was in, c:\...

  187. I installed RedHat 8 on a company machine by Anonymous Coward · · Score: 0

    I recommended that we install RedHat 8 on a co-located server to the company that I work for. It was kind of embarassing to tell them three months later they should migrate away from the solution I just recommended. Thank god for Debian!

  188. Linus's big mistake by Webmoth · · Score: 2, Funny

    This tidbit from Lars Wirzenius is a part of Linux Lore:

    "Linus also got some other stuff via mail. For example, a pair of 40 megabyte hard disks. That was really nice, since it meant that Linus was finally able to keep some backups. Not that he did, of course. One of his well-known quotes is: "Backups are for wimps. Real men upload their data to an FTP site and have everyone else mirror it." He said that even after dialling his hard disk.

    "At one point, Linus had implemented device files in /dev, and wanted to dial up the university computer and debug his terminal emulation code again. So he starts his terminal emulator program and tells it to use /dev/hda. That should have been /dev/ttyS1. Oops. Now his master boot record started with "ATDT" and the university modem pool phone number. I think he implemented permission checking the following day."


    I once did something similar -- I was going to back up my MBR to a floppy. Using the 'dd' utility. I got the command line options backwards, and overwrote the first 1.44MB of the hard drive with the contents of a blank floppy disk. Required a low-level format of the hard drive to reuse the sucker. Thankfully, it had no critical or irreplaceable data on it.

    --
    Give me my freedom, and I'll take care of my own security, thank you.
  189. Video Card by zaphodchak · · Score: 1

    I tried to install a PCI video card. (which cost twice as much as the game [Enter the Matrix]that I was buying it to play) My BIOS didn't have an option to shut off onboard video. After installing, I noticed my taskbar had been removed. Undable to retreive it, I reinstalled windows over my old copy. It turns out I'd already corrupted drivers by installing the video cards, and this just made things a lot worse. USB devices, networking, almost everything just quit on me. For a while, that game was, I joked, the only thing on my computer that worked. Thankfully my ASPI layer was in good enough shape to burn my current school project to a CD. Eventually, I backed up onto a stack of CD-R's and reformatted, re-installing. After that, I broke doen and decided to call NVidia's tech support, instead of Dell's, which had told me that I had to disable onboard video, delete my USB drivers, reinstall any various items, reformat, and that it would not work. I spent countless hours trying to work with people with little English training to solve my futile crusade. NVidia's tech support guy had the whole thing done with me in under 30 minutes. (Disable onboard video by configuring it as a separate monitor.) And he spoke English. I also had a nice clean HD to work with. I nearly lost my mind, and I have never been able to recover the scanner drivers I lost in that reformat. But elsewise, my computer works great. In retrospect, the game in question was the most expensive game I ever bought, counting that hardware ($120 in total) and I was, come to think of it, not too impressed. Thankfully, I moved on to other games that can make good use of the card.

  190. My worst mistake ever.... by tekiegreg · · Score: 1

    I still remember getting a rush job assignment as an entry-level web developer "develop an email to 50 of our best clients and blast them with our new service"...

    I code the whole thing up in ASP thinking I could use that as a quick and dirty bulk mailer. Unfortunately I didn't realize a condition in my code caused an infinity loop around the send command...

    Unfortunately with no QA (remember I was young and stupid then) I hit the execute button. Five minutes later no response from the page...then the phone call came. The worst was one client who got about 17,000 emails advertising our new product in a single in-box.

    Believe it or not I got to keep my job, and we were able to spin most of those clients to stay with us, but damn that was a scary day.

    --
    ...in bed
  191. Wiped out the Golden Arches by ForteTuba · · Score: 1
    I worked as a low-level manager at McDonald's back in the day. They had a spiffy DOS-based computer system for working with cash and employee records.

    Well, one night, I'm bored, and I notice there's a handy little feature (don't remember exactly what) from hitting Ctrl-A. So I start going through the alphabet... get to Ctrl-N, and I'm at a dos prompt. It's 11pm, no one's around, and none of the other managers would know what the hell to do anyways. Can't get anyone at corporate.

    "DIR" reveals a list of some 100 .EXE files. I start scanning for one, find one that sounds like it might start the system, run it. Yeah, it started the system. From scratch. Everything, and I mean everything, was gone -- employee records, store sales history, boom. No backups. A very sad night.

    1. Re:Wiped out the Golden Arches by Anonymous Coward · · Score: 0

      try "autoexec.bat" next time

  192. auto-fsck on boot.... by Anonymous Coward · · Score: 0

    Not my bad, but I had to fix it.

    A DBA decided to auto-boot to "Fix" a problem on a 3TB vxfs filesystem housing the production oracle DB. For some reason it spent the next 6 hours renaming every file on the filesystem to the inode # and put it all in /lost+found. One 3TB directory full of numbers...

    Then we found out the backups were shit, and I had to go fishing for a tarball in the lost+found dir. It was a 26 hour day, but I got it all back with only 1 day of data loss.

    Afterwards, I went out and got royally pissed out of my gourd.

  193. This one's electrical (not computer-related) by eric777 · · Score: 1
    Well, this one's my dad's mistake (but I paid the price :-)

    When I was about seven or eight, my dad decided we kids were watching too much TV. So he decided to implement an early version of the V chip. :-)

    He put replaced the male plug at the end of the tv power cord with a female plug, and built a male-to-male power adapter that he kept control over. He would give us the adapter for two hours per night, then confiscate it again.

    Worked pretty well - with no way to plug in the tv, there was no way to turn it on! We got bored watching the blank screen pretty quickly.

    Can you see the flaw in his plan? :-)

    One day, the TV didn't turn on - but I was pretty sure the adapter was in place. So I reached behind the stand without looking, to plug it in - and accidentally grabbed one end of the adapter - the end that wasn't plugged in to the wall...

    YOWSA!...

    :-( :-(

    no permanent damage, thank Gd (twitch twitch)

    I never told him about it, and I was always much more careful around electrical stuff after that.

    Actually, that's not strictly true. A few months later, I was home sick, without the adapter.

    I couldn't imagine an *entire* day staring at a non-functioning tv, so I got into his toolbox and built myself a replacement male-to-male adapter.

    Being 8 years old, I did a piss-poor job - a couple of strands of wire weren't properly tucked into their screw post, and touched some other strands (causing a short circuit).

    sparks everywhere, scared the heck out of me.

    So I hit the circuit breaker, cleaned up the strands, plugged it back in and watched TV till 5 minutes before my mom was due back. :-)

  194. Only embarrassing, fortunately by michael_cain · · Score: 1

    I was working at a Fortune 500 company in an R&D job. In order to provide demonstrations of new network services under a variety of conditions, I had built a real-time network emulator. I was testing it, on a test subnet, which was supposed to be isolated by the gateway router from the company's production network. I wanted to "soak" things, looking for odd error conditions, and left it running on Saturday morning with every intention of coming back Sunday evening to shut it down. A sick kid kept me at home Sunday night so I didn't get back to it until 7:30 Monday morning. I walked in, the packets-per-second being forwarded was off the scale, hit the interrupt key and everything shut down gracefully.

    The problem involved multicast packets and some bug in the Linux kernel which caused, occasionally, packets to be reported as being received from a different interface than where they had actually arrived. One line of added code fixed things nicely, but as it turned out, I had code running on multiple boxes that caused such packets to be bounced back and forth forever. Complicate the situation further when it turns out that the gateway router was not configured as I had been told, and it only isolated unicast traffic; my multicast flood had leaked out onto the production network. I had intentionally run a small TTL so the packets didn't propogate past the Denver headquarters (could have been ugly if they had gotten to Atlanta, Boston, LA, etc). I'm in early, got the problem shut down, and think that no one has noticed, right?

    Some weeks later, I was at a presentation done by the network support group, talking about the kinds of things they measure and monitor. The guy doing the talk, whom I don't know at all, puts up a slide showing an enormous spike in traffic early one Monday morning. "We're not sure what caused this," the guy says, "but we think it was Mike up in Westminster." Emberrassing when problems that cannot be otherwise explained are attributed to you.

  195. Brought down the house, so to speak... by poofmeisterp · · Score: 2, Interesting

    I worked for a fortune-100 company as a UNIX admin/general systems geek.

    We noticed that one of the filesystems that held the log files for an Oracle Application Server (two machines, shared storage) was filling up.

    At this company, the security wannabees gave no one root access, but gave sudo privs to all UNIX admins. No big deal, huh? Well, they gave permission to everything in /usr/bin and /usr/sbin, save su to the admins. You can do things like 'sudo chown' and 'sudo rm'. Psssht.

    Anyhow, my boss asked me to clear out the rotated logs in an attempt to free up some space.

    I logged on to one of the two boxes and went to the directory in question. I typed "rm *.*"... Permission denied. Bummer. I guess I'll have to use sudo.

    I typed in 'sudo chown [myid] .' and then the previous command. After some time, I got my prompt back. I did a quick 'df -k .' to check my work and noticed that the filesystem was WELL within acceptable limits. I was so pleased with myself (and shocked by the tens of gigs of rotated logs) that I went to tell my boss that it was taken care of and to state my amazement at the amount of space that was being taken up.

    I got my 'attaboy' and continued working.

    After about an hour, we went to lunch (boss went to lunch with me almost daily.) He gets a call on his cell from the PHB (although, to be fair, 'balding head boss' would be more appropriate.) He said that the OAS cluster for the largest app we supported was down.

    After about 30 minutes of investigation and head-scratching on the part of my teammates still at the office, my boss got another call. One of my teammates asked him "who is [my id here]?"

    My boss asked me if I knew, and my heart nearly exploded. I told him it was me.

    I didn't even think to mention the change I made as a possible cause because so much crap happened every day that I forgot about one project about 5 minutes after completing it. I always fess up immediately when I make a mistake, so my boss knew I wasn't trying to hide anything...

    Apparently, the server crashed when it had to rotate the log file (too large) and couldn't write to the directory. It wouldn't come back up again (with a completely non-descript error message, of course) after the crash for the same reason.

    I'd left the directory permissions set to my user id. D'oh!

    What makes this funny (in that sick kinda way) is that this app server crashed constantly, and the higher-ups tried to make themselves look good by being concerned (even though no business loss was actually incurred.) They always wanted a root cause analysis for every crash, and they were all the same - "unknown. vendor support not available because software is past end of life."

    The higher-up jumped on this opportunity to make a freaking "oh my God, this guy is so dangerous" case out of it because it gave him something concrete to go to his higher-ups with, after so much "idunno" action.

    I was given a written warning (my boss was forced to do so.) He smiled and laughed with me over the stupidity of it.

  196. Using AOL by ImEric12 · · Score: 1

    Plain and simple, ever using AOL was my greatest tech-related mistake of all time.

  197. Know when to take the system down. by Anonymous Coward · · Score: 0

    I learned a hard lesson in August. One of my clients had a server that had gotten rather crash happy. I spend one day there every week-- about an hour fixing accumulated problems since my last visit, a little time checking the servers to make sure everything's cool, and the rest of the day hanging out and flirting with the hotties who work there.

    Anyway, on this particular day the server was especially cantankerous, crashing a few times before lunch. It was a busy period for the client, and I didn't want to bring the department to a halt to run utilities on the thing, so I told them I would stay late and do it after 5pm.

    At 4:30pm, the server crashed hard, and the RAID-5 unit with all their stuff on it was hosed beyond the ability of any utility in my bag of tricks to recover the data.

    After a taking a few moments to suppress the vomit, I hooked the RAID up to the backup server and began recovering 150GB of data from their AIT2 tapes.

    I spent the entire night there. I determined the server hardware was to blame, grabbed a spare workstation off the floor (the server was old, so the newer workstation was more than up to the task of server duty) and rebuilt the server from scratch on it.

    After I put the last tape of the backup set into the tape drive to be recovered, I took an hour nap on the floor of the server room.

    I hooked the RAID back up to the new server and made sure everything was shared out correctly, then I stayed until about 10am while everyone checked a bit of their data. Everything looked okay, so I called my office and told them I was going home to sleep.

    Over the next two weeks, a few job folders turned up missing. Unfortunately, it turns out that the server's flakiness had resulted in the last week of backups before the crash being slightly fux0red. Most people kept local copies of their active jobs on their machines and just copied them over to the server every night to get backed up, so in the end very few job folders had to be recreated from scratch.

    Lesson learned. Next time a server so much as twitches on my watch, it's going down for maintenance ASAFP, busy department or not.

  198. Wrong power button landmine by Denver_80203 · · Score: 1

    It was a rack of servers and I hit the power button on the WRONG server. However, I noticed this while I was doing it and... I held it down knowing that if I released it, EVERYONE would loose their work (300 users I was on the file server not the backup domain controller machine) -Just like a landmine... pick your foot up and the bomb goes off. Too far from the phone, I stood there for 20 minutes before I could flag someone else down but they couldn't get into the room (locked and they can here me through the glass). They tracked someone else down 10 minutes later, and then they gave a 30, 20, 15, 10 and 5 minute warning before releasing me and the button. Of course, by the time this all happened, about 20 people got to stand there and laugh at me... I can't really move.... ugh.

    1. Re:Wrong power button landmine by schnits0r · · Score: 1

      Ahahah...was 30 minute warning the earliest he could come up with? Perhaps there was a lesson here to be learned

  199. Worst mistake? by Phleg · · Score: 1

    I've deleted /var/lib by accident. Only, the kicker was that the nightly backup cron job was running, and had the rotated backups mounted under /var/lib/backup. All I can remember is coming to a stark realization that I had just done something wrong, and hearing a loud noise as I banged my head against the keyboard.

    --
    No comment.
  200. One that nobody's posted yet by onallama · · Score: 2, Interesting
    This is only indirectly tech-related, but in real-world terms it's probably worse than the time I did an rm -rf * in / on my FreeBSD machine at home...everybody has done, or will do that at some point in their lives, and the sick fun of exploring just how much of the system still worked after realizing my mistake some 30 seconds later just about offset the annoyance of having to reinstall the OS.

    Anyways: back in my post-college, pre-moving-to-Portland days, I worked at Radio Shack, and had unofficial but responsible assistant manager status after a year or so. Among other things, closing duties included putting a long-play videotape in the VCR attached to the store security cameras. No big deal, it was right by the PC in the back office where you closed everything out, impossible to forget and nothing every happened anyway. Until, of course, the night I forgot to do it, which also happened to be the night I got a call from security around 1 AM, to let me know the alarms had been triggered and I'd have to go down to meet the police and see what had happened. About a $1000 loss in stolen display merchandise, and no evidence. Oops...

    1. Re:One that nobody's posted yet by titzandkunt · · Score: 1


      "...Among other things, closing duties included putting a long-play videotape in the VCR attached to the store security cameras...
      ... of course, the night I forgot to do it, which also happened to be the night I got a call from security around 1 AM, to let me know the alarms had been triggered and I'd have to go down to meet the police and see what had happened. About a $1000 loss in stolen display merchandise, and no evidence..."


      Did you get a decent cut?

      T&K.

      --
      Political language ... is designed to make lies sound truthful and murder respectable...
  201. Bad DOS Command - BAD! by Anonymous Coward · · Score: 0

    I run the backups for the company where I work. We have one dedicated backup server that has about a terabyte of RAID that holds just over a weeks worth of backups. I needed to nuke one folder that was too large to open via Windows Explorer. So... Off to a command prompt; I type in `del /y foldertonuke` and hit enter. This command took HOURS to run. I left for the night and upon return in the morning the ENTIRE terabyte drive was wiped clean. The directory structure was still intact, but the files were gone! I about crapped myself...

    Not to mention the backup servers tape drive had been out for repair for over a week.

    Yep... That was a bad day.

  202. a couple by mehu · · Score: 1

    1) I remember way back in middle school when I got my brand new Amiga 2000 w/ its whopping 48M HD, and trying to use one of those old file explorer/graphical shell type programs to free up some space by deleting a bunch of pesky *.info files that were littered around, taking up space. Go back to the desktop & open my drive, oh shit- nothing's there! A call to the local Amiga BBS's sysop informed me that those .info files are the icons.

    2) A little more serious- few years back at a large client site, I was running some thing to generate a bunch of temporary files from the db & do something with them. I tested it on a few rows, then set it to run on the whole database. Most of the system was on RAID-5, which was quite slow, I'd learned, so I just stuck all the temporary files in /tmp. And I figured I'd leave them there instead of deleting each one as it was done, so I could make sure they all ran properly. The next day I was informed that /tmp is what Solaris uses for its swap (I'd only had a bit of experience on HP & Linux), and I'd brought down the machine.

    3) Several other instances involved working on the web-based data entry system at the same client site & accidentally doing something wrong that brought down the whole machine, causing all the DE people to be unable to work until the machine rebooted, but that was mostly due to 1) the in-house PHP-like parser we were using not handling unclosed tags & continuing to read past the file until it used up all available memory (the guy who wrote that fixed it after that happened a few times), and 2) not actually having a separate development/testing environment, & just editing the UI on production, while people were working on it (that changed, too).

  203. Re:Another 'mistake' that got 40 students detentio by Anonymous Coward · · Score: 0

    shit, are you in high school? (now, not then)

  204. re: by Anonymous Coward · · Score: 0

    On the same Windows domain that the corporate (fortune 500 pharma...), I foolishly did a "net send /domain dood!" ...which sent our techs off to check various CxO computers and hide the popups.

  205. after setting up by include($dysmas) · · Score: 1

    my old bosses email & checking he can recieve email i thought wahey, lets try to send a test email, he had a funny little dell keyboard, with slightly tighter packed keys than im used to, so instead of typing test i ended up with twat, my left hand just a little to far to the left. when he opened it later he wasnt ver happy.....

  206. My worst tech mistake by DataCannibal · · Score: 1

    I used to work in Holography Research and as it was trying to make holograms in water we used a big Argon ion laser, as this produces the ideal wavelength in the visible spectrum and has the power to keep exposure times down to few seconds. This was a big beast which is basically an Argon filled flurorescent light tube with some optics on the outside of the tube to make it lase. Because it gets pretty hot it needs a water cooling system around the tube.

    I came into the lab one morning ready to expose some holograms on a set-up I'd done the night before and switched the laser on and left it to warm up while I fetched a mug of tea. When I came back I heard the laser making some funny noises. It was then that I realised that I'd forgotten to turn on the water cooling. I quickly turned it on, forgetting what effect cold water coming into contact with hot glass can have on the glass. The result was a sound rather like that of standing on a frozen puddle and a jet of steam coming out of the end of the laser where a nice green beam should have been emanating from.

    Luckily, the Univerity's building insurance covered the damage or I could still be paying it back now, twenty years later :-)

    --
    No but, yeah but, no but...
  207. employed you? by RMH101 · · Score: 1

    that would be pretty bad.

  208. Bad Tech Move.. by hplasm · · Score: 1

    ...getting a job with SCO.

    --
    ...and he grinned, like a fox eating shit out of a wire brush.
  209. Stupid hardware and a finger slip by afidel · · Score: 1

    We had just moved buildings a couple months prior from a site with no central UPS to a site with central UPS, massive backup generator, and a warning system for said kit. Well I'm sitting in my cubicle across from the datacenter when the red strobe light for the UPS starts going off along with the loud siren, plus the blue light for the generator isn't lit! I rush into the datacenter to figure out the problem and so that I can think straight I press the surface mount button to silence the alarm, well the surface is greasy and my finger slides down, to the power button! Stupid Liebert UPS had a surface mount power button with no confirmation and no lockout shield like every other freaking UPS I've ever seen. Let me tell you there is nothing worse than the sound of silence in the middle of a multimillion dollar datacenter! I powered the UPS back up and things mostly came back on their own, only a couple of SUN workstations in the development cluster failed to come back on their own and those just needed an fsck.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  210. That's the worst part... by Gordonjcp · · Score: 1

    We *do* have a PDU, but that box isn't plugged into it!

  211. Damn transformers by aurelianito · · Score: 1

    At work, I was working with a fiscal printer. It worked with 110V, and here the electricity is 220V. The transformer worked both ways, being able to choose the voltage change with a switch. So I setted up the switch on the wrong position. Long story short. I've plugged the 110V printer at 440V. So I've broken the printer power almost instantly. I still remember the delicate smell of the power source burning up.

  212. rm -rf .* - on a 2TB server... by RevRagnarok · · Score: 1

    I was a co-op, and a SysAdmin. Bad combo. I was erasing a directory, and there where a bunch of annoying hidden files and directories. So I said "No Prob!" rm -rf .* would do it! Wiped out 2TB. That may not sound like too much now, but this was 1996! This was a server that had just consolidated about two weeks before (onto an Auspex machine) from 5 or 6 Sun servers. The fones starting ringing... FAST! For those not in the know, that recursively follows every .. directory until it hits root, then goes forward from there! - RR

    --
    I should put something clever here. Maybe someday.
  213. Changing a data feed without checking.. by LinuxHam · · Score: 1

    I once had a job doing backend processing for trades in government bonds at the largest insurer in the US. A bunch of us had to handwrite vouchers every day to move money around between accounts to accomodate the trades. The signed, authorized vouchers would then be sent to a girl who worked after school keying them in. I have terrible handwriting, and she frequently made keying errors. So I wrote a small app to print out completed vouchers. They asked me to share the app with the other workers, installing it on a centralized PC running DOS (this was 1992). They also asked me to capture all of the transaction details in a record file, which would then be fed directly to the mainframe application. By reducing the processing time and eliminating keying errors, I was credited with saving the division $100k annually, and given a $1,000 check.

    One day, an account manager came to me and said her group uses 4-digit account numbers instead of the 3 my app accepted. I took her word for it and changed the app to accept and store 4-digit account numbers. Well that broke the feeder file and crashed the mainframe app during one of the nightly feeds. Boy was I slapped around for that one.

    --
    Intelligent Life on Earth
  214. Moo by Chacham · · Score: 0, Troll

    Someone made an installation program, to install on a floppy. It formatted A: to start.

    Well, went to Japan, and someone lost the data on his harddrive on a NEC. It would seem that Japanese NECs are A: for the harddrive, and C: for the floppy.

  215. 4,000 User Accounts by fuzzybunny · · Score: 1


    Line 11,000 in a 25,000 ipf config file (yes yes I know, but it used to be a lot longer before I got there and was a lot shorter by the time I left. Big international bank, don't touch anything, you know how it is.) contained , instead of . 11:45 at night, not on call, drunk off my ass, about enter house, frantic call from manager TRADING ISN'T WORKING TAKE TAXI GET DOWN GO GO GO take taxi, stumble into office, see most of senior management standing behind desk chewing fingernails, sit down, unix guy runs in, looks around, comes back with cup full of cigarettes and another cup full of coffee, "you might need this", runs out, and at 5 a.m. we stumbled bleary-eyed out of the building having saved the day. "Ooops".

    Also, not mine, but colleague while we were getting rid of the aforementined firewall abomination, and migrating the entire (huge) environment. Same guy from the unix team on IRC during horrible weekend-long infrastructure move: "Ooops". Me: "Dude, what 'Oops'?!?" Him:
    # cd /home/ ; ls -l | wc -l
    32,019
    # mkdir /home2/25/testuser; cp -R /home/25/testuser/* /home2/25/testuser/ rm -rf /home/ 25/testuser & ...
    ....
    .....

    "Hmm that's taking a long time to copy.."

    --
    Cole's Law: Thinly sliced cabbage
  216. Deleted alternate keys. by Tukla · · Score: 1

    I once deleted all of the alternate keys in a medium-sized insurance company's Claims file, preventing them from managing any claims. Since my "enhancement" was run before backups, I had to recreate the keys by writing a COBOL program that parsed a nightly report and figured out which records had which keys.

  217. This one is a classic by cavemanf16 · · Score: 1

    OK, so about a year and a half ago I was a software tester working on testing out the mainframe billing engine that used COBOL, JCL, stored procedures, and a whole ton of other stuff to send out automated online billing to our customers.

    One day I am required by my coworker to test 'the dinosaur' by setting up some generic bill requests to send through the API's to test the billing engine. So I input all the parameters a few times (there were like 30+ that you had to hand-key into each API call) and start getting bored. Now when she had told me input these parameters, I was supposed to use the reference website "www.testbills123.com/index.html" (just an example of our actual URL) as the 'view your bill' field setting since that would use that URL in the bill when it was sent, so that if you viewed this online bill in your email inbox it and tried to click on the link it would just resolve back to our home webpage.

    Well she didn't really explain that reason for using that particular URL to me in detail. So after a few API calls, I'm getting bored and decide to at least make my mundane software testing life that day at least enjoyable. Being the sarcastic dork that I am, I start inputting "www.thedinosaursucks.com" and "blowme.org" as the URL's in the 'view your bill' field. Yeah, I thought I was pretty funny, because these would show up on her report of all the 'bills' sent through the billing engine and make her chuckle.

    Well, later that day I'm looking at the test bills through our online email viewing site. My URL's don't appear, but the link button that uses those URLs does. For some reason I thought that my URL's didn't matter and were just there to satisfy the API calls.

    You probably know how the story ends. 1 minute later I'm in a panic and thinking that our system is somehow resolving addresses incorrectly and redirecting 'view bills' requests to japanese pr0n sites. 20 minutes later I am still very red in the face because everyone in my 40+ person department now knows of my "pr0n habit" when testing software. I still get razzed about that to this day.

  218. Similar... by phorm · · Score: 1

    There's always a problem when you're looking at a 3-5 different machines in a bazillion terminal windows. I had one window updating the kernel on my laptop, another which I was checking some files on the server. My kernel finished and I cleared that window, went on doing some other stuff I wanted to finish before the reboot.

    And of course, I type the "reboot" command on the wrong machine. Then it was a mad rush to the server to try a shutdown -a, stampeding through a room where students were doing finals (I work in schools). Alas I was a bit late, and the server was past redemption. Not much damage was done, except for some windows machines that had open files on the server, which of course crashed... but at least no critical files were killed mid-write.

  219. Mailer script by phorm · · Score: 1

    I made a mass-mailing script which we used to email our customers with important info. Since they're all bulletins, the subject was hardcoded and the body dynamic. Unfortunately, I forgot the remove the "All is fine and well" subject in favor of "Company XXX - Bulletin" when I was done testing it, and the first few emails actually going out to customers detailing several bugs, problems etc were a bit contradictory between subject and body.

    Other odd doings are like when creating emails for experts-exchange, I used an alias that forwarded to my main account. Of course, with an alias of expertSEXchange@mydomain.com (caps are just for emphasis), the next person to check my alias was slightly amused.

  220. Business degree by DavidLeblond · · Score: 2, Funny

    I got an MIS degree instead of a Computer Science degree. No idea why.

    When I started my current job I was assigned to testing one of our apps. I was given 2 databases to log into and was told to "exhaustively test" the entire system (adding/deleting records.) So I started adding all sorts of odd stuff (I was going to delete them anyway.) Now I'm not dumb enough to name them dirty things (afterall this was my 2nd week) but I was still typing silly things.

    Anyway about an hour into it I got an email that was addressed to the whole department that said

    "To whomever is modifying the market database while I'm trying to demo it to one of our most important customers: not funny."

    1. Re:Business degree by Anonymous Coward · · Score: 0

      Sounds like you did just what you were told to do....

      No need to bash your MIS degree. I have one and I am quite competant.

    2. Re:Business degree by Anonymous Coward · · Score: 0

      note: that was sarcasm, i think. unless he really doesn't know how to spell competEnt

  221. Thought I was deleting my own files by serutan · · Score: 1

    Working as a contractor at a now-defunct game site, I was making space on the dev server and deleted a file directory that was named with my first name. At that time I was the only person there by that name, and I knew I hadn't stored anything meaningful on that machine.

    However, it turned out that months earlier there had been a key developer there with the same first name as me, and for some strange reason they were still using his old directory to store the only copies of the files for a massive website upgrade.

    Fortunately the people doing this dev work managed to dig up local copies of most of it on their machines, so not a whole lot was lost. But the webmaster made a point of blatantly treating me like a retard forever afterwards. He was one of those untouchables who can walk away from a smoking pile of debris and be presumed blameless, so there was never any mention of his lack of backups or his refusal to bother with any sort of source control system. Eventually they went under for various other reasons. Dumb-asses.

  222. Blew up a TV transmitter tube by PiratePTG · · Score: 1
    Undoubtedly the most expensive tech mistake I ever made was blowing up a $45,000 UHF TV transmitter power tube. I was a Chief Engineer at a UHF station in Murfreesboro, TN some years back, and had to do some transmitter maintenance at 0-freaking dark thirty on a Sunday night/Monday morning. We had been running 50% power for a few days until I could swap out a failed transmitter tube.

    The spare tube had been in storage for over a year, and they sometimes get gassy. So I borrowed a portable high voltage power supply from EEV and proceeded to fire up the tube in the crate to burn off filament deposits and burn out the gas.

    Except I misread the color code on the leads and hooked 8000 volts to the filament contact on the tube. The filaments are supposed to run around 8 volts.

    The meters on the power supply pegged, the circuit breaker tripped, and the tube became a $45,000 crate of junk in about half a second.

    Wanna try explaining that to the General Manager during your Monday morning staff meeting???

    --
    The number 1 problem of working in a cubicle - 23 power cords, 1 outlet...
  223. Using L0phtCrack - for legitimate uses even... by Seng · · Score: 1

    I worked for a large elevator manufacturing company formerly HQ'd in the US, but it got bought out by a company in Finland. Anyway, the admins there didn't have DHCP set up properly, and laptops brought into the US from Finland wouldn't release/renew their IPs properly. They also didn't allow laptop users to have admin access on their own laptops. Result: laptop that you couldn't log onto anything with. The only thing you could do is copy the SAM file and crack it with L0phtCrack. This saved many Powerpoint presentations for a large number of VIPs from Finland. One day I was backing up some stuff from my laptop to the corp. network because the HDD was getting ready to fail. The genius that configured the corporate anti-virus had it set to identify L0phtCrack as a virus/trojan horse. Within five minutes of detection, the network security manager (note: this was a former SALESPERSON who knew NOTHING about network security) comes running into the room... "WHO HAS LOW-FAT HERE??? I KNOW SOMEONE HAS LOW-FAT." I didn't have the heart to tell him he was a f'ing idiot :)

  224. Put 50VDC discharger onto 80VDC Telex battery bank by openmtl · · Score: 1
    Worked in a Telephone exchange in early 80's and did all sorts of stuff but also did conditioning cycles on batteries. These are 10,000 AmpHour banks - i.e. say 850 Amp discarge at 50VDC for 10 hours.

    These batteries are not fused. The inrush current of larger mechanical Telephone exchanges was over 2500 amps @50VDC - so though the voltage is low its DC and when it arcs then kiss goodbye to whatever is now welded to the bussbar. It'll stay arcing until its welded itself into slag. Thus I was very cautious of any metal objects.

    You normally check batteries by doing a discharge cycle. You discharge through a heater at say 1/10th (or 1/15th) of the total Amp hr rating and monitor Specific Gravity (about 40 cells reading every 15 minutes so takes while and its hot work with say 850Amp x 50 VDC heater running and fans.

    One day was paying usual close attention to my own body parts and the buss bars but failed to notice I'd just coupled the 50VDC heater to one of the Telex battery banks. These are two banks + and - 80 VDC with respect to earth. A full +/-80VDC to earth Telex signal hurts real bad whereas 50VDC just tingles. Remember I = V/R but power = V squared /R so 80 VDC compared to 50VDC would provide about 2 1/2 times more power in watts for any given resistance thus you used a different heater.

    Went back to heater (this is a mobile cage thing about size of very big chest freezer. Set starting current and turned on. Flash - bang. I nearly shit myself. Fortunately the heaters sections are fused but remember this heater is designed to run continuous at 850 amps current at 50VDC so each section shares quite high current loads and being DC it arcs really bad so it has springs to wack the bits away and break the arc. Had to stop work for the day cause I was sweating. Next time I'll check which heater and not set a starting load when turning on.

    ps: worked 8 years in Telephone exchanges. Only major issue was the one above (apart from wrapping a company car around a power pole before that). Spent first 4 years learning electromechanicals then next 4 learning digital and got lots of overtime ripping out the old equipment. I did get impaled through shoulder by an equipment rack that dropped on me when gutting an exchange that was going to digital - so we're evens in Karma !

    --

  225. Oops. by Anonymous Coward · · Score: 0

    chmod -R -x /*

    missing one little '.'
    sigh.

  226. biggest mistake by 1eyedhive · · Score: 1

    biggest goof i've done:
    I was adding a new box to my home network, moving my old main drive to another system, adding a brand new drive in my main workstation, formatting the new drive, transferring the files from the old drive to that one, and finally reformatting the old drive and installing a new system.

    The time was 9pm and i was on a bit of the tired side.

    I started installing the new drive's OS, and absentmindedly thought i'd run the format on the other drive. the boxes were in two differet rooms 50 walking feet apart, i started the old drive (filled with critical data) formatting BEFORE i copied the data, i realized this after the new box was up and i went to access the old data for transfer, fortunatly the drive format had hit 2% (NTFS). i spent the next 6 hours recovering data from that nearly doomed drive... got 70% back plus stuff from the drive's first life, who knew.

    Since then, I do ONE drive format at a time. In addition, all uber critical files are kept on a RAID5 linux server (dupe files are all ove the place as the really important stuff dsoesn't exceed 50MB.

    Oh yeah, and any maintenance to the server follows the following procedure:
    shutdown samba/NFS.
    unmount raid array.
    stop raid array.
    backup raidtab.

    learned my lesson.

    --
    Logistical Chaos Officer http://www.slagg.org - LAN Gaming in Sarasota FL,USA
  227. Same shit by danila · · Score: 1

    I set up a filter to forward all messages coming to my sister's ISP account to her webmail account. The only problem was that the original Cc field was left intact. There happened to be some spam to the users of that ISP where recipient e-mails where in Cc. As a result, when a spam message was forwarded, it had Cc field intact and a copy went to every other user. And to sister's ISP account too. And then it was forwarded again. And again. And then again. I can't say I brought down the email system, but it did piss off other users. :)

    --
    Future Wiki -- If you don't think about the future, you cannot have one.
  228. Open mike at CES by Walt+Dismal · · Score: 1

    Well, I guess my worst technology mistake was saying "Jobs are not an American's god-given right" while on an open mike at the Consumer Electronics Show and snickering. OMG wait. I'm NOT Carly Fiorina. Never mind.

  229. iexplore internet setting at el. by Anonymous Coward · · Score: 0

    first mistake:
    denying admin access to %systemroot% on windows xp.
    (reinstall) ...

    second mistake:
    limiting "temporary internet files" to 5 MB on internet explorer ... (156 MB ++ now) ...

  230. shadow vidos bios by Anonymous Coward · · Score: 0

    didn't have a computer at that time and was
    planning to get a 486 66 Mhz 'cause i desperatlt
    wanted to play wing commander on it.

    anyway i knew from another friend that it would need
    himem.sys and emm386.sys to work.

    so i went to another friend home who had a lowely
    386 at the time and asked him if i could try the
    himem.sys and emm386.sys thingy ...

    anyway it was all trial and error at that time.
    first ting i did on his portable with external
    screen computer was go into the BIOS and enable
    video BIOS shadowing. i don't rember why i did
    this but after commiting the changes the screen
    would just stay black after reboot.
    "oh-oh... now what i can't see the BIOS menu"

    luckely my friends dad still had the manual for
    the computer where all the BIOS menu and settings
    were discribed. so re-boot press delete and
    blindly navigate the BIOS menu to the shadow video
    BIOS setting ... i don't know about other people
    but i get alot of hot flashes when i screw up
    stuff on other peopes computers and i was
    definetly sweeting ... but after another commit
    and reboot the screen would start up ...

    anyway this escapade used the whole after-noon and
    i had to give up learning himem.sys and emm386.sys
    on my friends computer ...

    got a new 486 anyway and it was a breez to get
    himem.sys and emm386.sys working. 624 kb free
    memory was the record i think ...

  231. Thank goodness for operators by Ben+Jackson · · Score: 1

    I had just gotten my first job as a UNIX admin, and my make-work learning task was to resurrect a machine which had just been replaced by a new, faster machine. The old box was still in its rack next to the new one, because the new box had all the old disks cabled to it. I was supposed to be getting the old one to net-boot off a root on the new server (a great way to learn, by the way, since you have access to the root filesystem even when you screw it up so much it won't boot).

    Anyway, I hung the machine some how, hard enough that our console server's break didn't drop into the boot monitor, so I called up operations and asked them to powercycle it. I described in exquisite detail where it was, where the power switch was, etc. Took them a damn long time but finally my machine started to boot and we got off the phone. Later I mentioned how long it took to my boss and he had me repeat my explanation. "You just described the new machine," he told me. Sure enough, I had mixed up left/right because I was trying to send them to the back instead of the front. Luckily they were smart enough not to reboot the production machine.

  232. Heh...screwed myself... by way2trivial · · Score: 1
    I was trying to track down a device driver that wasn't working..
    I thought I had it, renamed aw_host5.sys to aw_host5.sys and rebooted.. turned out to be the keyboard driver.

    did I mention I have PC anywhere on this machine, so the ONLY way to boot is by hitting CTRL+ALT+DELTE (or inserting a card I don't have) at bootup?

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  233. correction- renamed it to aw_host5.old. by way2trivial · · Score: 1

    that make more sense?

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  234. TV diplomas for IT have been around since '97 by Anonymous Coward · · Score: 0

    I agree, but it's been happening for a long time now.

    The last set of ads that Sally Struthers did the voice-overs for had "PC repair" and "Computer programmer" as options.

    Not to mention the vocational-school industry's widespread expansion into IT over 98-now.

    The outsourcing of IT workers to third-world countries was something I expected to happen 5 years ago. "Taps" was appropriate in 2000, but now it would be blowing a horn over a grave.

  235. Cronjobs by solicit · · Score: 1

    Some time ago, I needed to write a cronjob on a friend's box to do nightly updates of the locate database. Not being familiar with the syntax, I looked it up quickly and wrote this cronjob:
    * 05 * * * updatedb
    I thought that this would run 'updatedb' at 5 o'clock, and the minute isn't important. What this actually means is 'starting from 5 o'clock, run updatedb EVERY minute'. Imagine my friend waking up in the middle of the night because of the disk making lots of noise, (updatedb is heavy on the hard drive) as my cronjob had generated loads of updatedb processes. The system load was 70.00 at the time my friend arrived to check out what's happening.

  236. Probably because... by Anonymous Coward · · Score: 0

    You solved their disk space problems. Definitively.

  237. A few clangers... by Chicane-UK · · Score: 1

    I only work for a college, so nothing hugely drastic has ever happened.

    But two classics do spring to mind - but whilst I Was there to witness them, neither of them were my fault.

    First one was me teaching a work collegue a bit about Linux. He'd been using it on and off for a few months and was starting to get quite comfortable and happy using it. One of the things he had learned was how to map Novell drives which was pretty handy as that was where most of our work and stuff was stored. But one day he made the fatal mistake of trying to remove a mountpoint by using rm -Rf - the mountpoint just happened to the SYS volume on one of the core servers.

    I remeber the network just stopping running, and someone coming in from the server room with a serious look of concern on his face saying "MARS is asking for its name! It won't boot up properly!" - thats when the cold sweat suddenly starts to break out :)

    Second story was.. a few of us were trying to rerack some gear in the server room, one of the items was a Cisco Callmanager. Problem was we couldn't take it offline but all we needed to do was nudge it up the rack a few U's. All going great until the guy who was trying to hold it whilst it was unbolted slipped and it just crashed to the floor from about 4ft up. It was almost like watching a Clown Car as the top lid just sprang open and bits of the chassis buckled. We all panicked and ran out of the room with the CallManager.. took it to the office to perform some corrective surgery (bending the brackets back into place, reseating stuff) and then went and plugged it back in.

    Glad to say it worked, and still does a year on.. not funny at the time tho :)

    --
    "Hey! Unless this is a nude love-in, get the hell off my property!!"
  238. My operating system and my BBS by Felinoid · · Score: 1

    I made exactly the same mistake TWICE.
    When I designed an AI operating system I made the worst mistake I could make. Designing the system assuming unliminted disk space and then using a floppy disk drive for storage.
    The database grew wildly then (per my design) when it had access problems it erased the whole database and created a fresh blank database.

    I repeated this mistake on my BBS only this time the database took months to fill up but with the same results. It couldn't modify the file so it erased it and created a new file.

    At some point I'd come it realise that having the program automaticly erase files (just becouse it couldn't write to them) was a bad idea.

    --
    I don't actually exist.
  239. YOU Killed Kenny!! YOU BASTARD!!!! by billstewart · · Score: 1
    Once when I was a newbie (i.e. using a time-sharing machine) I must have accidentally created a file named "*". So I removed it. After hitting the key I realized that that had been a stupid thing to do :-) Fortunately, the machine had administrators who did nightly backups.

    On the other hand, a coworker and I were doing some work on one of the Bell Labs Murray Hill machines that did weather, and I did a typo when removing something, and trashed some of the files that made our internal weather-report processing system work. It was in some directory like /usr/local, and we found that nobody had backed it up in five years, and the stuff was really gone. Nothing we could do about it except apologize.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  240. Re: deadlocked power control systems by billstewart · · Score: 1
    I haven't had UPSs to deal with, but back when computers were big and needed air conditioners, I had a computer room that would deadlock on temperature. If we had a power hit (thunderstorms, etc.), the Vax would wake up and start heating up the room (and maybe boot, if it was running BSD, or sit around in single-user waiting for you to run fsck, under System V), but the air conditioner would sit there beeping to tell a human to hit the On switch. This was a "feature", because big hulking air conditioners draw enough power that you don't want them to all fire up their motors at once when the power comes back on. On weekdays, this was no problem - we'd press the button and they'd start. But if the power went out on a weekend, it meant that the room kept getting warmer and warmer for a couple of days -- or until it reached 130 degrees F, that is, at which point the power controller system decided that there might be a fire or at least it was too hot to safely run computers, so it would shut down until the room cooled down. But of course the room wouldn't cool down, because we couldn't turn on the air conditioners :-) So we'd have to open the back doors and maybe steal some desk fans and wait till the room cooled down a few degrees and we could restart the AC.

    This was also the days when video projectors were big ceiling-mounted things that cost a lot of money. Ours was in the conference room attached to the computer room, and you were supposed to turn it off when you weren't using it. Usually no big deal, but somebody once forgot that after a Friday meeting and we had a Saturday power hit, so Monday morning when we came in, the projector's cooling fan was blowing 140-degree air through itself to cool itself down, and there was a puddle of oil on the table....

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks