Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > Off-topic > The Lounge
Fluid Motor Union
User Name
Password
Member List Premier Membership Today's Posts New Posts

Xoutpost server transfer and maintenance is occurring....
Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-22-2007, 10:08 AM
GUINNESS's Avatar
Member
 
Join Date: Mar 2005
Location: between here and there
Posts: 2,141
GUINNESS is on a distinguished road
rm -R * is your friend OR how you should always check pwd first...

So I have a root session open, yes, ROOT, since I'm installing our production BI system. Well for some reason the install got hosed and we decided the best thing to do was blow the files away and start from scratch.

I start deleting the executables and realize the system is still up. Well crap, I need to stop it. So, what do I do... from the current directory, I type 'cd' bringing way to the top, then 'stopsap r3'. It doesn't work. Oh yeah, cause I'm root and it doesn't have the alias.

Jump over to my other telnet session, stop sap, then hop back over to my root session... where I procede to 'rm -R *'.

Yeah.... stopped it in time, but it still blew the important things away. You know, like everything under /home

My team is having a field day with me today, my new nickname is cannon fodder, and I walked into a magnet on my keyboard that says "You can't fix stupid".

So, always check your directory path before using rm -R *. For all you Windows folks who have no clue what I'm talking about... picture typing 'fdisk' in the command line... except on a much bigger box
__________________
Originally Posted by Roc3b "Great, so Gman landed a nympho with a brain! Damn him!
Guinness you lucky son of a byotch!!!!!!!!!!!"


http://www.bmwcca.org
http://www.sunbeltbmwcca.org
Reply With Quote

Sponsored Links

  #2  
Old 08-22-2007, 11:04 AM
GUINNESS's Avatar
Member
 
Join Date: Mar 2005
Location: between here and there
Posts: 2,141
GUINNESS is on a distinguished road
And in even better news, I just found out the entire OS needs to be reinstalled. Go Me!
Reply With Quote
  #3  
Old 08-22-2007, 11:11 AM
Quicksilver's Avatar
Premier Member and retired relic
 
Join Date: Mar 2005
Location: NORCAL
Posts: 17,184
Quicksilver will become famous soon enoughQuicksilver will become famous soon enough
I guess it's safe to say my predicament wasn't as bad as yours.

I sent out a white flag...............

OK folks here's the deal. "Parallels does not work" I got this error a few minutes ago.

"Windows could not start because the following file is missing or currupt. <windows root>\system32\ntoskrnl.exe.

Please re-install a copy of the above file.

Add to that the Windows CD is not seen by the computer and i get a few hours to figure the whole thing out.
__________________
"What you hear in a great jazz band is the sound of democracy. “The jazz band works best when participation is shaped by intelligent communication.”
Harmony happens whenever different parts get to form a whole by means of congruity, concord, symetry, consistency, conformity, correspondence, agreement, accord, unity, consonance…….
Reply With Quote
  #4  
Old 08-22-2007, 11:49 AM
Thunder22's Avatar
Wait... what?
 
Join Date: Apr 2005
Location: LI/TX
Posts: 11,154
Thunder22 is on a distinguished road
Quote:
Originally Posted by GUINNESS
And in even better news, I just found out the entire OS needs to be reinstalled. Go Me!

you should just tell your staff that like with all projects you undertake, you don't do anything half assed, when you set out to eff something up, you REALLY eff something up


re-jumpstarting the machine should take what? 15 minutes? get cracking... (assuming that you're using jumpstart, if not, ouch... you really should put the mouse down and back away from the keyboard )
__________________
You have your way. I have my way. As for the right way, the correct way, and the only way, it does not exist.
Reply With Quote
  #5  
Old 08-22-2007, 12:54 PM
GUINNESS's Avatar
Member
 
Join Date: Mar 2005
Location: between here and there
Posts: 2,141
GUINNESS is on a distinguished road
The machine is back up with a new copy of rootvg. The database guys are now checking to make sure I didn't hose any of the binary files. Granted, it was an empty db aside from what the install imports, but the physical db still needs to be there. Oops.

I told our enterprise admins to take a flash copy in case I get 'rm' happy again
Reply With Quote
  #6  
Old 08-22-2007, 02:30 PM
SANguru's Avatar
Scuderia Ferrari Tifosi
 
Join Date: Mar 2005
Location: Bay Area, CA
Posts: 6,500
SANguru is on a distinguished road
Quote:
Originally Posted by GUINNESS
The machine is back up with a new copy of rootvg. The database guys are now checking to make sure I didn't hose any of the binary files. Granted, it was an empty db aside from what the install imports, but the physical db still needs to be there. Oops.

I told our enterprise admins to take a flash copy in case I get 'rm' happy again
LOL... to that I say,

1) always take a full backup before you do anything (stupid)
2) VMware is your friend (snap it, roll it back, as long as you got your vmdk, you're all good)
3) we have/sell a BMR solution... heheh and it's good shit...
Reply With Quote
  #7  
Old 08-22-2007, 08:44 PM
SPAMMER
 
Join Date: Jun 2006
Posts: 875
alexz is on a distinguished road
rm -rf *
Ж)
Reply With Quote
  #8  
Old 08-22-2007, 09:42 PM
UCrewX5's Avatar
co-founder
 
Join Date: Mar 2005
Location: Hockeytown, USA
Posts: 9,741
UCrewX5 has disabled reputation
Gotta love the raw power of Unix
__________________

Xoutpost.com - where you come for the information but stay for the friendships
Reply With Quote
  #9  
Old 08-22-2007, 09:53 PM
SPAMMER
 
Join Date: Jun 2006
Posts: 875
alexz is on a distinguished road
couldnt you just:
ps -ef | grep sap
and then kill -9 those PID's ?
Reply With Quote
  #10  
Old 08-23-2007, 10:40 AM
GUINNESS's Avatar
Member
 
Join Date: Mar 2005
Location: between here and there
Posts: 2,141
GUINNESS is on a distinguished road
Of course I could have killed the processes... but why do that when I have another telnet window open with <sid>adm That's what I get for trying to rush and get everything removed so I can start the install from scratch It's all good now. That system completed the install last night and I'm post processing this morning. It was a fun experience and I gave my team reason to have a field day with me
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 10:45 AM.
vBulletin, Copyright 2026, Jelsoft Enterprises Ltd. SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved. Xoutpost.com is a private enthusiast site not associated with BMW AG.
The BMW name, marks, M stripe logo, and Roundel logo as well as X3, X5 and X6 designations used in the pages of this Web Site are the property of BMW AG.
This web site is not sponsored or affiliated in any way with BMW AG or any of its subsidiaries.