How about sharing your favorite lessons learned moments?
locked by Michael Mrozek♦ Sep 16 '11 at 12:17
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: FAQ.
|
When I first started working as a user consultant for the university I was attending, I was given limited |
|||||||||||||||||
|
|
Back in the mid to late 90s, a friend of mine and I were discussing the folly of |
|||||||||
|
|
Trying to get the Xwindows driver for my Nvidia card working when Fedora initially released the Nouveau driver. I had downloaded the Nvidia source to compile and install myself as I had many times in the past, but this release, I could just not get it to work. There were quite a few steps to find in the Fedora Forums to completely disable the Nouveau driver, and get the Nvidia driver working. Quite painful to say the least. |
||||
|
|
|
Not really my moment, but someone else's. Back when I worked at a nuclear sciences research facility we used to run a number of SunOS, Ultrix and Linux computers and researchers had to share the CPU on those machines. As individual research groups got their own research grants they purchased their own computers, mostly SparcStations and they did the system administration themselves. SunOS used to ship with the OpenView desktop and a nice file manager, this is what it looked like:
Most of our researchers were running as root, and more than once we had to reinstall their operating systems because someone had decided to tidy-up the root directory and moved /bin, /etc, /tmp and everything else that cluttered the view into either the Trashcan or some subfolder. Other users chose to tidy up the /bin directory and remove any command they did not know. The lucky ones had back ups, most had purchased a tape drive, but did not have a tradition of running backups themselves. |
|||||||||||||||||
|
|
Makefile:
Which, of course, makes Lesson: use version control. |
|||||||||||||
|
|
I deleted /etc and then recovered it. I don't think I learned my lesson... I've had to recover from a deleted |
|||||
|
|
Had a friend run Broken down (by request) to make it a bit more readable.
It might be easier to look at it as
|
|||||||||||||||||||||
|
|
A long time ago, I was installing MkLinux on my Mac, and I wanted to replace the file that governed command processing (not the shell, something more basic, don't remember quite what anymore). The instructions said to do |
||||
|
|
|
Not that painful... But a fun little moment: I've mistyped (already available in Debian, Ubuntu, Gentoo,... repositories) |
|||||
|
|
When my University decided to switch the wireless network to use proprietary Cisco LEAP authentication... Started a very long battle that ended well enough. Wrote up documentation for others who wanted to run Linux and have access to the internet. Six months later they decided to add PEAP support as well. face slap It is my favorite because I won. I got it to work. |
||||
|
|
|
I did this once. Amazingly, the system remained functional for months. Cronjobs ran fine, no errors stood out in the logfiles. We didn't notice this problem until we rebooted the system months later and couldn't log in at the console. You could not log in as root, nor run |
|||||||||
|
|
While in my 2nd year of studying computer science we were given a homework assignment to write a program in C that would spawn a number of subprocesses with We were still quite noobs back then and most of peple didn't have any Linux machines, so we worked on our accounts on our faculty's main server (which was hosting official site and staff accounts and sites as well). Most of the people wrote forkbombs at some stage of trying to do the homework. Over half of my group got to the |
||||
|
|
|
I had two drives installed at one point and had the root filesystem of the second drive mounted in a directory within When I realised what I'd done I immediately hit Ctrl-C but it was too late. My Now for the painful part. I go back into that directory in At least I was able to restore the system a lot quicker the second time ;) |
|||||
|
|
Surprised nobody else has mentioned this one yet:
(While attempting to remove all hidden files and subdirectories, completely forgetting that it will recurse into |
|||||||||
|
|
I meant well, I really did. Trying to As root of course, because only with root can true pain (and thus enlightenment) be achieved. |
|||||
|
As root of course.... |
||||
|
|
and
when |
|||||
|
|
Or another experience, how to feel really stupid in a few easy steps that don't seem all that stupid individually. Step one: establish an account for the kid, in case he wants to use a Linux box. Give it a trivial password, since after all this is a home system and isn't exposed to the net. Step two: allow time to elapse, so you don't remember step one. Step three: open the SSH port in the firewall (actually the NAT on the router) in order to ssh in. After all, my accounts have pretty good passwords, and it isn't like there's anything tremendously valuable. Step four: get notification from ISP that there's some sort of DOS activity going to a Swedish site. Assume it's probably the Windows boxes, and examine and harden them. Step five: get notification from ISP that it's still going on. Ask for some detail, get IP address of Swedish site, fire up Wireshark, find which box the attack is coming from. Step six: clean up Linux box, feeling stupid. Find the login came from a Romanian address. Remove accounts without good passwords. |
|||||||||||||
|
|
On a Debian installation back in 1999. 14 floppy disks for the basic installation. I tried to get xfree86 working.
But But it took me nearly a week to find out that the resolution setting (1024x768) didn't work. I had to switch it to 640x480 until the graphics card finally worked (at 1024x768... buuuuuug....). I tried to get the serial port mouse to work on COM1. So I tried to get the mouse to work. Reading a book (back then I had no usable high-speed internet), I tried with
And it didn't work and didn't work.
It took me nearly another week to find out this was because I needed to type the
It was about then when I finally realized what 'case-sensitive' really means. |
||||
|
|
|
A simple Lessons learned? The prompt of the machine now looks like
with some nice red markup ;-) |
|||||
|
|
I wiped the partition table of my main drive by accident, thinking I was working on another drive. With scrollback, careful use of |
|||||||||||||||||
|
|
I remember trying to send a SysRq key sequence to a remote machine... ...but it was captured by the local one. |
||||
|
|
|
A company that I used to work for had its product running on SCO. I was doing some debugging about applications getting very slow on our demo server and at the same time there was a bunch of customers being given a demo/lecture about upcoming new features. So, I ran the application that used to get stuck, did my stuff on it to verify the root cause, but since it was still "stuck", I tried to kill it:
What I did learn was that pkill doesn't do exactly the same on SCO as it does on linux =) ... It basically kills everything the user has access to, and with root... that's everything =) |
|||||||||
|
|
Back in the day you had to do erase the first 512 bytes of a partition to properly format FAT drives from Linux. This is done using the
Except the FAT partition was I didn't realize what had happened until after I rebooted. Luckily I was able to recover it by re-installing Lilo, or something. |
||||
|
|
|
Twenty minutes ago, I was painstakingly recreating a complex directory structure from files I had on my other PC. I decided to run On my return I noticed, to my severe dismay, that instead of running
I had absent-mindedly run
|
||||
|
|
|
I was once developing a device driver for Unix. It had a pointer problem and during testing it started to write off the end of an array in kernel memory. I was slow to spot this and didn't hit the reset button immediately. The driver had scribbled all over the disk buffer cache which was then flushed to disk before I hit reset. A lot of the blocks were inodes and directories, and I ended up with a totally trashed filesystem. I think 6000 orphaned files were put into |
||||
|
|
|
This happened to me last year. I was removing some files from the server using a temporary variable:
Guess what? The variable I almost broke the Control-C and ran to the CPU to remove the network cable!! Hahaha I'm sure someone had already done this... |
||||
|
|
|
Mine was Never did that again (and still don't know how to restore such a situation). |
|||||||||
|
|
I was a lab assistant for a Linux class. One of the students called me over because she could no longer Note the space between the directory name and the final slash. After a few minutes of "I really don't want to have her reinstall, so what is this doing and how.", I managed to find that /bin/su now had file permissions of |
|||||||||||||
|
|
I was curious if Well, flawlessly. A few minutes later I was searching for a rescue CD. |
|||||
|

