Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Technology

What is the Worst Tech Mistake You Ever Made? 503

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?"

This discussion has been archived. No new comments can be posted.

What is the Worst Tech Mistake You Ever Made?

Comments Filter:
  • File errors (Score:3, Interesting)

    by dfreed ( 40276 ) on Thursday January 08, 2004 @01:04PM (#7915885) Homepage
    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.
  • rm (Score:0, Interesting)

    by Tirel ( 692085 ) on Thursday January 08, 2004 @01:07PM (#7915928)
    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'
  • A small one (Score:5, Interesting)

    by FattMattP ( 86246 ) on Thursday January 08, 2004 @01:10PM (#7916000) Homepage
    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.

  • rm -rf * (Score:3, Interesting)

    by FunkyRat ( 36011 ) <`moc.liamg' `ta' `taryknuf'> on Thursday January 08, 2004 @01:12PM (#7916023) Journal

    ...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. :-)

  • One that I saw... (Score:5, Interesting)

    by Inexile2002 ( 540368 ) * on Thursday January 08, 2004 @01:15PM (#7916057) Homepage Journal
    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.
  • by trajano ( 220061 ) on Thursday January 08, 2004 @01:17PM (#7916089) Homepage Journal
    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.
  • by runswithd6s ( 65165 ) on Thursday January 08, 2004 @01:26PM (#7916190) Homepage
    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.

  • by Perdo ( 151843 ) on Thursday January 08, 2004 @01:27PM (#7916200) Homepage Journal
    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.
  • by tickticker ( 549972 ) <tickticker AT gmail DOT com> on Thursday January 08, 2004 @01:42PM (#7916410) Journal
    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?

  • Ahh, stories. (Score:5, Interesting)

    by Zapman ( 2662 ) on Thursday January 08, 2004 @01:42PM (#7916418)
    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!
  • Re:Damning evidence (Score:4, Interesting)

    by Jerf ( 17166 ) on Thursday January 08, 2004 @01:45PM (#7916460) Journal
    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.
  • by seanmeister ( 156224 ) on Thursday January 08, 2004 @01:47PM (#7916488)
    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!
  • by 0x0d0a ( 568518 ) on Thursday January 08, 2004 @02:19PM (#7916945) Journal
    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.
  • by chendo ( 678767 ) on Thursday January 08, 2004 @02:30PM (#7917210)
    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 :)
  • Re:Damning evidence (Score:4, Interesting)

    by bwt ( 68845 ) on Thursday January 08, 2004 @02:37PM (#7917373)
    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.
  • by nicknicknick ( 648150 ) on Thursday January 08, 2004 @03:21PM (#7918312)
    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.

  • Re:Damning evidence (Score:4, Interesting)

    by Just Some Guy ( 3352 ) <kirk+slashdot@strauser.com> on Thursday January 08, 2004 @03:25PM (#7918410) Homepage Journal
    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.

  • Re:rm (Score:3, Interesting)

    by araven ( 71003 ) on Thursday January 08, 2004 @05:42PM (#7920758)
    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.

    ~~~~~~~
  • by poofmeisterp ( 650750 ) on Thursday January 08, 2004 @10:20PM (#7923683) Journal
    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.
  • Re:A long time ago (Score:1, Interesting)

    by Anonymous Coward on Thursday January 08, 2004 @10:31PM (#7923752)
    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
  • by onallama ( 515297 ) on Friday January 09, 2004 @12:37AM (#7924725)
    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...

  • Re:easy... (Score:2, Interesting)

    by Lershac ( 240419 ) on Saturday January 10, 2004 @12:34AM (#7935775) Homepage
    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.

All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin

Working...