Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › I don't think I ever screwed up this badly before.
New Posts  All Forums:Forum Nav:

I don't think I ever screwed up this badly before.

post #1 of 10
Thread Starter 
I misinterpretted the input for the amount of time until a shutdown in regards to a command, and ultimately entered 11:00 of a 24 hour clock. Its currently 11:05, PM. I'll be waiting 720 minutes until the server shutsdown and restarts.

Whats even worse is I had everything on stop at the time, so all my services are down. T_T
post #2 of 10
Thread Starter 
Even worse, now that I realize it, is the fact that I won't be present at 11:00 to attend to my server once it restarts. T_T
post #3 of 10
reissue the command with the correct time smile.gif
ShadowForge
(12 items)
 
Defiant
(14 items)
 
CarbonCat
(13 items)
 
CPUMotherboardGraphicsRAM
Phenom II x6 1405T (unlocked Athlon II X4 640T) ASUS M5A99X EVO AM3+ Asus ENGTX470/2DI/1280MD5/V2 16 GB (4x4GB) G.Skill DDR3 1600 CAS9 1.35v 
Hard DriveHard DriveOptical DriveCooling
WD Caviar Blue 250 2.5" Laptop Drive WD Caviar Black 1TB 3.5" Pioneer BDR-203 BluRay Burner Corsair H60 push 
OSOSMonitorPower
Windows 7 Pro x64 Ubuntu 11.10 Samsung 40" 60hz  ANTEC NEO ECO 520W 
CaseMouse
NZXT Gamma Microsoft Bluetooth Notebook Mouse 5000 
CPUMotherboardGraphicsRAM
i7 - 2600k [5.0 1.42v] ASUS P8Z68 Deluxe Sapphire HD6950 2gb Dirt 3 Edition 8GB G.Skill DDR3 2133 CAS11 
Hard DriveOSMonitorKeyboard
60GB G.Skill Sniper + 2x1TB Spinpoint F3 Raid0 Win 7 Pro x64 ASUS VW266H Razer Blackwidow 
PowerCaseMouse
Seasonic X750 Gold Corsair Carbide 500R White G9 
  hide details  
Reply
ShadowForge
(12 items)
 
Defiant
(14 items)
 
CarbonCat
(13 items)
 
CPUMotherboardGraphicsRAM
Phenom II x6 1405T (unlocked Athlon II X4 640T) ASUS M5A99X EVO AM3+ Asus ENGTX470/2DI/1280MD5/V2 16 GB (4x4GB) G.Skill DDR3 1600 CAS9 1.35v 
Hard DriveHard DriveOptical DriveCooling
WD Caviar Blue 250 2.5" Laptop Drive WD Caviar Black 1TB 3.5" Pioneer BDR-203 BluRay Burner Corsair H60 push 
OSOSMonitorPower
Windows 7 Pro x64 Ubuntu 11.10 Samsung 40" 60hz  ANTEC NEO ECO 520W 
CaseMouse
NZXT Gamma Microsoft Bluetooth Notebook Mouse 5000 
CPUMotherboardGraphicsRAM
i7 - 2600k [5.0 1.42v] ASUS P8Z68 Deluxe Sapphire HD6950 2gb Dirt 3 Edition 8GB G.Skill DDR3 2133 CAS11 
Hard DriveOSMonitorKeyboard
60GB G.Skill Sniper + 2x1TB Spinpoint F3 Raid0 Win 7 Pro x64 ASUS VW266H Razer Blackwidow 
PowerCaseMouse
Seasonic X750 Gold Corsair Carbide 500R White G9 
  hide details  
Reply
post #4 of 10
Quote:
Originally Posted by selectstriker2 View Post

reissue the command with the correct time smile.gif
How is he going to remote in when his daemons are stopped?
Quote:
Originally Posted by Draton View Post

I misinterpretted the input for the amount of time until a shutdown in regards to a command, and ultimately entered 11:00 of a 24 hour clock. Its currently 11:05, PM. I'll be waiting 720 minutes until the server shutsdown and restarts.
Whats even worse is I had everything on stop at the time, so all my services are down. T_T

Why did you stop your daemons before hand?

Anyway, I wouldn't worry about this mistake. Sys admins make huge cockups all the time (I've once accidentally deleted /dev on one of our works busiest servers *epic facepalm*)
post #5 of 10
Quote:
Originally Posted by Plan9 View Post

Quote:
Originally Posted by selectstriker2 View Post

reissue the command with the correct time smile.gif
How is he going to remote in when his daemons are stopped?

OP never said whether he was remoting or not when I made my post so I assumed local as he said he wouldn't be there when it rebooted. Since it now appears he's remoting in I see the dilemma.
ShadowForge
(12 items)
 
Defiant
(14 items)
 
CarbonCat
(13 items)
 
CPUMotherboardGraphicsRAM
Phenom II x6 1405T (unlocked Athlon II X4 640T) ASUS M5A99X EVO AM3+ Asus ENGTX470/2DI/1280MD5/V2 16 GB (4x4GB) G.Skill DDR3 1600 CAS9 1.35v 
Hard DriveHard DriveOptical DriveCooling
WD Caviar Blue 250 2.5" Laptop Drive WD Caviar Black 1TB 3.5" Pioneer BDR-203 BluRay Burner Corsair H60 push 
OSOSMonitorPower
Windows 7 Pro x64 Ubuntu 11.10 Samsung 40" 60hz  ANTEC NEO ECO 520W 
CaseMouse
NZXT Gamma Microsoft Bluetooth Notebook Mouse 5000 
CPUMotherboardGraphicsRAM
i7 - 2600k [5.0 1.42v] ASUS P8Z68 Deluxe Sapphire HD6950 2gb Dirt 3 Edition 8GB G.Skill DDR3 2133 CAS11 
Hard DriveOSMonitorKeyboard
60GB G.Skill Sniper + 2x1TB Spinpoint F3 Raid0 Win 7 Pro x64 ASUS VW266H Razer Blackwidow 
PowerCaseMouse
Seasonic X750 Gold Corsair Carbide 500R White G9 
  hide details  
Reply
ShadowForge
(12 items)
 
Defiant
(14 items)
 
CarbonCat
(13 items)
 
CPUMotherboardGraphicsRAM
Phenom II x6 1405T (unlocked Athlon II X4 640T) ASUS M5A99X EVO AM3+ Asus ENGTX470/2DI/1280MD5/V2 16 GB (4x4GB) G.Skill DDR3 1600 CAS9 1.35v 
Hard DriveHard DriveOptical DriveCooling
WD Caviar Blue 250 2.5" Laptop Drive WD Caviar Black 1TB 3.5" Pioneer BDR-203 BluRay Burner Corsair H60 push 
OSOSMonitorPower
Windows 7 Pro x64 Ubuntu 11.10 Samsung 40" 60hz  ANTEC NEO ECO 520W 
CaseMouse
NZXT Gamma Microsoft Bluetooth Notebook Mouse 5000 
CPUMotherboardGraphicsRAM
i7 - 2600k [5.0 1.42v] ASUS P8Z68 Deluxe Sapphire HD6950 2gb Dirt 3 Edition 8GB G.Skill DDR3 2133 CAS11 
Hard DriveOSMonitorKeyboard
60GB G.Skill Sniper + 2x1TB Spinpoint F3 Raid0 Win 7 Pro x64 ASUS VW266H Razer Blackwidow 
PowerCaseMouse
Seasonic X750 Gold Corsair Carbide 500R White G9 
  hide details  
Reply
post #6 of 10
Quote:
Originally Posted by Plan9 View Post

How is he going to remote in when his daemons are stopped?
Why did you stop your daemons before hand?
Anyway, I wouldn't worry about this mistake. Sys admins make huge cockups all the time (I've once accidentally deleted /dev on one of our works busiest servers *epic facepalm*)

Good thing /dev is self generated by the OS and you can reboot the system. Oh man, that could have been a real bad mistake if you'd have done that to another folder. =P Even still, that's a pretty big screwup LOL


Yeah OP, just wait it out as there is nothing you can do now. When it goes back online, it'll just sit there for when you can get back to it. It sucks but atm that's all you can do.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #7 of 10
Quote:
Originally Posted by mushroomboy View Post

Good thing /dev is self generated by the OS and you can reboot the system. Oh man, that could have been a real bad mistake if you'd have done that to another folder. =P Even still, that's a pretty big screwup LOL
God yeah. I've never been more grateful for udev lol
I couldn't have timed it worse either - the day before go-live for a major project *facepalm*
post #8 of 10
How did you get to deleting /dev anyway? I mean, in what situation?
    
CPUMotherboardGraphicsRAM
AMD FX-8150 Asus M5A99X EVO MSI R7950 3GB Kingston DDR3 1333 
Hard DriveOSMonitorKeyboard
Western Digital Caviar Black 64MB Microsoft Windows 7 Home Premium 64bit HP w2207h Ducky 1087 
PowerCaseMouseMouse Pad
Seasonic X-Series 850w Corsair Carbide 500r Razer DeathAdder 3.5G Barracuda Neu-Edge 
AudioOther
Yamaha Studio MSP5 M-Audio Fast Track Pro 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
AMD FX-8150 Asus M5A99X EVO MSI R7950 3GB Kingston DDR3 1333 
Hard DriveOSMonitorKeyboard
Western Digital Caviar Black 64MB Microsoft Windows 7 Home Premium 64bit HP w2207h Ducky 1087 
PowerCaseMouseMouse Pad
Seasonic X-Series 850w Corsair Carbide 500r Razer DeathAdder 3.5G Barracuda Neu-Edge 
AudioOther
Yamaha Studio MSP5 M-Audio Fast Track Pro 
  hide details  
Reply
post #9 of 10
If you don't have physical access to the machine, you're stuck ... sit and wait. If you do and all of your services are gracefully stopped, alt+sysrq+(REISUB)


Not the worst thing I've ever done by any means ... but kind of along the same lines. I installed a VPN client on one of our windows servers over remote desktop .. this one machine was kind of in a special place and had "different" firewall rules and could bridge both sides as we needed. Not the right purpose for the machine at all, but pracitcally it was a good fit and would allow us to sneak around a ton of red tape bureaucrat BS.

Well, during the install of that, it temporarily kills the network connection. So I got dropped off... and before the network comes back, there's a box sitting there "restart now / restart later". I had to put in a call to have the guy walk over to it and give it the kick. rolleyes.gif production server, during hours. thumb.gif And then i had to explain to their guy what we were doing, which was sneaky to begin with, and in the wrong environment at the wrong time. He wasn't too happy, but he can't really do anything about it besides complain, so... moving on smile.gif
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #10 of 10
Quote:
Originally Posted by athwen View Post

How did you get to deleting /dev anyway? I mean, in what situation?
It was our primary development server. I was pushing some code live from it then clearing up afterwards and the development folder was named dev. Stupidly I put a preceding forward-slash (probably due to muscle memory?) when typing rm -Rv /dev.
Quote:
Originally Posted by lloyd mcclendon View Post

If you don't have physical access to the machine, you're stuck ... sit and wait. If you do and all of your services are gracefully stopped, alt+sysrq+(REISUB)
Not the worst thing I've ever done by any means ... but kind of along the same lines. I installed a VPN client on one of our windows servers over remote desktop .. this one machine was kind of in a special place and had "different" firewall rules and could bridge both sides as we needed. Not the right purpose for the machine at all, but pracitcally it was a good fit and would allow us to sneak around a ton of red tape bureaucrat BS.
Well, during the install of that, it temporarily kills the network connection. So I got dropped off... and before the network comes back, there's a box sitting there "restart now / restart later". I had to put in a call to have the guy walk over to it and give it the kick. rolleyes.gif production server, during hours. thumb.gif And then i had to explain to their guy what we were doing, which was sneaky to begin with, and in the wrong environment at the wrong time. He wasn't too happy, but he can't really do anything about it besides complain, so... moving on smile.gif

Agh I hate politics and red-tape in the work place. I've been there myself and have had to find sneaky ways to implement solutions without it being noticed by a select few managers. I know that feeling well.

Thankfully there's none of that in my current job
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › I don't think I ever screwed up this badly before.