Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-28 Thread Walter Hurry
On Wed, 28 Sep 2011 15:38:07 +1000, Andrew McGlashan wrote: (about recovering an Oracle database) Archive logging needs to be in place and the archived log files need to be available together with a hot backup of the effected database file for recovery. That's what I meant by properly

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-27 Thread Andrew McGlashan
Hi, Walter Hurry wrote: On Thu, 15 Sep 2011 20:34:38 -0300, D G Teed wrote: I was hunting for the disk hog using the curses based ncdu utility. I found a large tar file which could be deleted without issue. It was in an oracle production directory area. Due to a bug in ncdu, (

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-26 Thread Bryan Irvine
On Thu, Sep 22, 2011 at 12:57 AM, Brian Ryans brian.l.ry...@gmail.com wrote: Quoting The_Ace on 2011-09-14 03:08: drop database Live_database; Restored the previous day's backup and blamed it on a bad power supply :P You coulda blamed it on any of the outputs of fortune bofh-excuses and

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-24 Thread Brian Ryans
Quoting The_Ace on 2011-09-14 03:08: drop database Live_database; Restored the previous day's backup and blamed it on a bad power supply :P You coulda blamed it on any of the outputs of fortune bofh-excuses and most users would likely not know. My worst administration mistake? Forgetting to

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-16 Thread Brad Alexander
Thanks, Aaron...Using ssh is brilliant. I have a script I set up once called bashprompt that I stick in /etc and source from .bashrc, but this could be a more elegant solution (though somewhat higher maintenance). --b On Thu, Sep 15, 2011 at 11:53 AM, Aaron Toponce aaron.topo...@gmail.comwrote:

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-15 Thread Brad Alexander
Thanks Andrew. I started using colored prompts to give visual cues as to whether I am on a local or remote machine. This was many years ago that this happened. --b On Wed, Sep 14, 2011 at 9:53 PM, Andrew Reid rei...@bellatlantic.netwrote: I had a case where it had snowed, and instead of

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-15 Thread Bonno Bloksma
Hello Aaron, Needless to say, it was a valuable lesson, one I'll never forget. In fact, it prompted me to use LocalCommand in my ~/.ssh/config, and echo colored prompts, depending on whether or not I'm on a production (blinking bold red), staging (bold yellow) or development (bold green)

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-15 Thread Peter Beck
Aaron Toponce aaron.topo...@gmail.com quatschte am Thu, Sep 15, 2011 at 09:53:24AM -0600: I blogged about it here: http://pthree.org/?p=2007 Hi Aaron, thanks for sharing this link. I am using molly-guard since some years, but the colored shell looks just great. I love it! ;-) Cheers Peter

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-15 Thread D G Teed
On Wed, Sep 7, 2011 at 1:00 PM, Bob Proulx b...@proulx.com wrote: jacques wrote: by error most of the binaries in /usr are erased (killing rm :-( Everyone has made that mistake at some point. I know I have! I was hunting for the disk hog using the curses based ncdu utility. I found a

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-15 Thread Walter Hurry
On Thu, 15 Sep 2011 20:34:38 -0300, D G Teed wrote: I was hunting for the disk hog using the curses based ncdu utility. I found a large tar file which could be deleted without issue. It was in an oracle production directory area. Due to a bug in ncdu, ( http://sourceforge.net/tracker/?

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-15 Thread D G Teed
On Thu, Sep 15, 2011 at 8:57 PM, Walter Hurry walterhu...@lavabit.comwrote: On Thu, 15 Sep 2011 20:34:38 -0300, D G Teed wrote: I was hunting for the disk hog using the curses based ncdu utility. I found a large tar file which could be deleted without issue. It was in an oracle production

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Jochen Spieker
Bryan Irvine: Which brings me to another fun question. What's your worst administration mistake and how did you recover? I once typed mkfs instead of fsck. Well, at least the filesystem was clean afterwards. Lesson: don't start doing dangerous things just before bedtime and after 2-3

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Mihamina Rakotomandimby
On 09/14/2011 01:15 AM, Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? On ext4 resizing - I did not put a swap partition on my laptop, just / and /home - I decided to shrink /home to put a swap at the end - fdisk

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Mihamina Rakotomandimby
On 09/14/2011 02:25 AM, Andrew Reid wrote: These days, I almost always use verbose options of commands, if they exist, so I can verify that they're operating in the expected scope. You will neeed graphic acceleration, then for displaying all the verbose stuff ;-) -- RMA. -- To

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Martin Steigerwald
Am Mittwoch, 14. September 2011 schrieb Andrew Reid: On Wed, Sep 7, 2011 at 1:00 PM, Bob Proulx b...@proulx.com wrote: jacques wrote: by error most of the binaries in /usr are erased (killing rm :-( Everyone has made that mistake at some point. I know I have! Not me! Though I

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Martin Steigerwald
Am Mittwoch, 14. September 2011 schrieb Mihamina Rakotomandimby: On 09/14/2011 01:15 AM, Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? On ext4 resizing - I did not put a swap partition on my laptop, just /

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread The_Ace
On Wed, Sep 14, 2011 at 3:45 AM, Bryan Irvine sparcta...@gmail.com wrote: Which brings me to another fun question.  What's your worst administration mistake and how did you recover? -Bryan drop database Live_database; Restored the previous day's backup and blamed it on a bad power supply :P

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Miles Fidelman
Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? -Bryan Discovered the hard way the symptoms of a failing drive in a RAID array, leading to completely rebuilding an O/S install and restoring from backup. Had a

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Dave Sherohman
On Tue, Sep 13, 2011 at 03:15:13PM -0700, Bryan Irvine wrote: On Wed, Sep 7, 2011 at 1:00 PM, Bob Proulx b...@proulx.com wrote: jacques wrote: by error most of the binaries in /usr are erased (killing rm :-( Everyone has made that mistake at some point.  I know I have! Not me! Me

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Camaleón
On Tue, 13 Sep 2011 15:15:13 -0700, Bryan Irvine wrote: (...) Which brings me to another fun question. What's your worst administration mistake and how did you recover? Hum, I don't recall of any... yet. But that's because I started administering linux boxes only a lustrum+3 years ago, so

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Rob Owens
On Tue, Sep 13, 2011 at 11:32:38PM +, Walter Hurry wrote: On Tue, 13 Sep 2011 15:15:13 -0700, Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? The worst admin mistake is failure to secure proper backups.

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Bryan Irvine
On Wed, Sep 14, 2011 at 7:02 AM, Aaron Toponce aaron.topo...@gmail.com wrote: On Tue, Sep 13, 2011 at 03:15:13PM -0700, Bryan Irvine wrote: Which brings me to another fun question.  What's your worst administration mistake and how did you recover? My worst administration mistake was rebooting

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Mike McClain
On Wed, Sep 14, 2011 at 08:51:50AM -0400, Miles Fidelman wrote: Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? -Bryan snip I've never administered anyone elses system but my own but for several years was

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Brad Alexander
I had a case where it had snowed, and instead of driving 50 miles in snow and ice with dodgy DC drivers, I'd work from home. Had my laptop, was doing work. Well, they scheduled a meeting for that afternoon (at about lunch time), so I got ready and headed in to the office. I typed halt in a window

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Walter Hurry
On Wed, 14 Sep 2011 10:22:14 -0700, Mike McClain wrote: On Wed, Sep 14, 2011 at 08:51:50AM -0400, Miles Fidelman wrote: Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? -Bryan snip I've never administered

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Justin The Cynical
On 9/13/11 3:15 PM, Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? Years ago on my main workstation back in my slackware days, I was upgrading samba from the source tarballs. I had everything compiled and

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-14 Thread Andrew Reid
I had a case where it had snowed, and instead of driving 50 miles in snow and ice with dodgy DC drivers, I'd work from home. Had my laptop, was doing work. Well, they scheduled a meeting for that afternoon (at about lunch time), so I got ready and headed in to the office. I typed halt in a

Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-13 Thread Bryan Irvine
On Wed, Sep 7, 2011 at 1:00 PM, Bob Proulx b...@proulx.com wrote: jacques wrote: by error most of the binaries in /usr are erased (killing rm :-( Everyone has made that mistake at some point.  I know I have! Not me! Though I did chmod -R /usr once. I noticed it immediately and cancelled.

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-13 Thread Andrew Reid
On Wed, Sep 7, 2011 at 1:00 PM, Bob Proulx b...@proulx.com wrote: jacques wrote: by error most of the binaries in /usr are erased (killing rm :-( Everyone has made that mistake at some point. I know I have! Not me! Though I did chmod -R /usr once. I noticed it immediately and

Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-13 Thread Walter Hurry
On Tue, 13 Sep 2011 15:15:13 -0700, Bryan Irvine wrote: Which brings me to another fun question. What's your worst administration mistake and how did you recover? The worst admin mistake is failure to secure proper backups. Full stop. -- To UNSUBSCRIBE, email to

[OT] Re: Worst Admin Mistake? was -- Re: /usr broken, will the machine reboot ?

2011-09-13 Thread Scott Ferguson
On 14/09/11 08:15, Bryan Irvine wrote: On Wed, Sep 7, 2011 at 1:00 PM, Bob Proulx b...@proulx.com wrote: jacques wrote: by error most of the binaries in /usr are erased (killing rm :-( snipped Which brings me to another fun question. What's your worst administration mistake and how did