Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've got a vSphere 4.1 ESXi test box here, and for some reason it went down at some point today. I turned it back on, but can't find out where it keeps its logs for the time when it became unavailable. Looking in /var/log every log seems to only start from the last time since it was power cycled, which is absolutely useless if I'm trying to find a log entry for the event which caused it to shut down.

Any ideas?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

We went through this with VMware support a few weeks ago, and their solution was to use an external syslog server. That obviously won't help you with this instance, but going forward you'll have all the logs.

share|improve this answer
    
Thanks. It's slightly ridiculous, but I'll just have to set up a syslog server just for this tiny environment. –  growse Apr 24 '11 at 7:08
    
Sorta ridiculous, yes, but it's generally a best practice to have a central syslog server, anyway... –  EEAA Apr 24 '11 at 15:19
    
are you saing that ESXi purges all the previous logs after reboot? –  Vick Vega Apr 25 '11 at 16:05
    
My understanding is that ESXi doesn't keep any logs on disk at all. –  EEAA Apr 25 '11 at 16:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.