Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 14:34:24 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: 10.3-stable random server reboots - finding the reason
Message-ID:  <20170418123424.GD74780@home.opsec.eu>
In-Reply-To: <a7f787f8-486f-8221-ef8a-4535c4e1ae0c@zyxst.net>
References:  <a7f787f8-486f-8221-ef8a-4535c4e1ae0c@zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello stable@
> 
> I have an up-to-date 10.3 server that is randomly rebooting, after being
> up for days. Previously it had been up for many months. The problem is,
> nothing seems to be left in the logs to indicate why it's doing this. I
> have all.log and console.log enabled.
> 
> So, what I'm asking is, how can I capture its last gasp?

Do you have a serial port on that server ? Use it as a console port:

1)
    echo '-Dh -S115200' > /boot.config
2)
    vi /boot/loader.conf
------------
console="comconsole"
comconsole_speed=115200
------------

Then: connect it to some kermit session from a different box,
and write a session log. This might capture some last gasp.

-- 
pi@opsec.eu            +49 171 3101372                         3 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170418123424.GD74780>