-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a problem with a couple of my centos servers hitting a kernel panic about once a week or so. I find them sitting at a panic screen like this: http://img228.imageshack.us/img228/1044/screenshotoakpanicma4.jpg (58k) Two questions: 1) How do I make it reboot after a panic instead of sitting in a hung state? 2) How do I turn on logging so that I can see the entire kernel panic message? I tried changing syslog.conf so that kern.* goes to /var/log/messages instead of just kern.debug, but all that did was make booting a little more verbose in the log. - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFHKK/pNTm8fWdRgmIRAjG8AKCWBUqCbl63Qrt3xjawyFeuY671vwCbBjoM +chmlC5ZHBAeh8jIMSKKKsU=nY30 -----END PGP SIGNATURE-----
----- "Andy Harrison" <aharrison at gmail.com> escreveu:> > I have a problem with a couple of my centos servers hitting a kernel > panic about once a week or so. > > 1) How do I make it reboot after a panic instead of sitting in a hung > state? >Hi, Set the "/proc" var (via /etc/sysctl.conf) kernel.panic to the amount of seconds you like the panic screen stays on. After that amount of time the server will boot :) Antonio. -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Antonio S. Martins Jr. - Support Analist | "Only The Shadow Knows | | Universidade Estadual de Maring?? - Brasil| what evil lurks in the | | NPD - N??cleo de Processamento de Dados | Heart of Men!" | | E-Mail: asmartins at uem.br / shadow at uem.br | !!! Linux User: 52392 !!! | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -- Esta mensagem foi verificada pelo sistema de antiv?rus e acredita-se estar livre de perigo.