Hi all, Recently one my Centos 5.7 VM just crashes at least once a day randomly (hang). In /var/log/messages there is nothing at all that there is problem (no error, no failure). The log just stops. The only change I did before this crashes is I activated LDAP authentication, and also auditd. But I don't see any evidence relating to it. Any clue where to look for the cause? Thank you. Fajar
Vreme: 11/10/2011 10:03 AM, Fajar Priyanto pi?e:> Hi all, > Recently one my Centos 5.7 VM just crashes at least once a day randomly (hang). > > In /var/log/messages there is nothing at all that there is problem (no > error, no failure). The log just stops. > > The only change I did before this crashes is I activated LDAP > authentication, and also auditd. But I don't see any evidence relating > to it. > > Any clue where to look for the cause? >Best course should be to disable those apps and try without them if possible. Beside that, first find out exact time of the crash (is there any cron job associated) and check your file systems for error. Also check is you have enough free space. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant
Fajar Priyanto wrote:> Hi all, > Recently one my Centos 5.7 VM just crashes at least once a day randomly > (hang). > > In /var/log/messages there is nothing at all that there is problem (no > error, no failure). The log just stops. > > The only change I did before this crashes is I activated LDAP > authentication, and also auditd. But I don't see any evidence relating > to it. > > Any clue where to look for the cause?Two questions: is there anything on the console screen? Does it just hang, or reboot? If the latter, and there's nothing in the logs, it's possible activating openLDAP was just coincidental with the problem, and I'd start worrying about hardware problems. mark, waiting on an FE who's an hour late
On Thu, Nov 10, 2011 at 5:03 PM, Fajar Priyanto <fajarpri at arinet.org> wrote:> Hi all, > Recently one my Centos 5.7 VM just crashes at least once a day randomly (hang). > > In /var/log/messages there is nothing at all that there is problem (no > error, no failure). The log just stops. > > The only change I did before this crashes is I activated LDAP > authentication, and also auditd. But I don't see any evidence relating > to it.Hi all, I want to give update.... Removing auditd didn't solve the problem. Still hang. So, finally I create a cronjob to echo date and time into a text file every 5 minutes to find out if there is a pattern on when the hang occurs and the result is ........ It hasn't hang for more than 3 days...! Definitely there is still problem, but somehow that cronjob prevents the hang from occurring. Like as if the VM got idle, it will hang? I don't know...