Solved

Server 2008R2 reports unexpected shutdown when I did a normal restart

Posted on 2011-03-18
6
4,304 Views
Last Modified: 2012-05-11
So here is a weird one:
I uninstalled SQL2008 Express and when I restarted, it came up with the unexpected shutdown window.

I did clean restarts a couple of times and it always says windows shutdown unexpectedly.  I powered it off and restarted with the same results.

Anyone seen this yet?  Any ideas on how to fix it?  I want to put this server back into production but I am afraid I messed something up and I don't trust it anymore.

Thanks in advance for the advice!
0
Comment
Question by:Field Marshall Bob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 4

Expert Comment

by:rjpilcher
ID: 35169520
Are you shutting this down remotely or from the console?
0
 
LVL 3

Expert Comment

by:ServerGuyScott
ID: 35171456
It is possible that it is getting a stop error (or BSOD) on shutdown. I had a server do something similar to this before. I would shut it down and it would never actually shutdown, it would always just reboot.

I finally turned off the "Automatically Restart" option in System Properties --> Advanced --> System Failure and then I was able to see the actual stop message and troubleshoot from there.

Also check the event logs on the host to see if any application is crashing at the time of the reboot. The system log or application log should help.
0
 
LVL 1

Author Comment

by:Field Marshall Bob
ID: 35173052
riplicher:  I am shutting down via vCenter console.

ServerGuyScott:  nothing to really speak of in the event logs.  Other than the "shutdown was unexpected" event and a couple of problems with DoubleTake because of the missing database, the logs are pretty clean.  Also, to clarify:  I am not getting BSOD's or anything.  It seems to restart normally but when it comes back on-line it is asking for me to explain the unexpected restart.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 4

Accepted Solution

by:
rjpilcher earned 250 total points
ID: 35173276
1. Check for snapshots - look in the actual datastore not just in snapshot manager
2. Verfiy the disks for the VM are pointing to the base vmdk files and not  something that ends in 000001.vmdk
3. Are your VMware tools up to date?
4. What version of ESX are you running?
5. What version of vCenter are you running?
6. Can you disable doubletake and restart?
7. What happens if you perform a restart from vCenter? Not the console, but right click on the VM>Power>Restart Guest
0
 
LVL 3

Assisted Solution

by:ServerGuyScott
ServerGuyScott earned 250 total points
ID: 35173315
Yeah I wasn't getting a BSOD either that I could see in the situation I had - that's why I mentioned disable the auto reboot just in case because as soon as I did that I could see the BSOD.

If you shut it down rather than restart does it act the same way? What about if you do a shutdown from the command line with a shutdown -r -f -t 0

Do you have any shut down scripts that run (enforced via GPO)?

Just trying to help rule additional items in or out.

Windows Server 2008 onward Microsoft maintains has a heartbeat file to determine whether there was a clean shutdown or not.

The files are LastAlive0 or LastAlive1 in C:\windows\ServiceProfiles\LocalService\AppData\Local. If the LASTALIVESTAMP is present and if it can besuccessfully read it indicates that the previous shutdown was abnormal.

Often times if something isn't cleanly unloading these files don't get manipulated correctly. So this happened right after the SQL uninstall right? Did you make sure all the services and remnants of SQL are truly gone?

The next step I'd take is to use adplus.vbs to see if you can catch what is crashing.. it might be a lot of digging to get to the bottom of it.
0
 
LVL 1

Author Closing Comment

by:Field Marshall Bob
ID: 35217338
Sorry for the long delay in getting back to you guys.  Thanks for the input.  

It ended up being 2 parts:  I had a snapshot that was being applied that another IT guy created which I didn't know about.  It allowed me to revert but that put all my SQL stuff back.  


It no longer gave me the error so I unistalled SQL again and the error re-appeared.  It looks like the IIS site was still trying to hook into the SQL instance because I stopped the site and disabled IIS and it worked ok.  

The final answer though - I killed the VM and used a physical member server to install BUExec.  It appears that BUexec 12.5 is only 32Bit and wouldn't run on my 64bit 2008R2 anyway.  

D'Oh!

Thanks for pointing me in the right direction.  50/50 split for y'all.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question