Re: [logs] FreeBSD Syslog

From: Milos Urbanek (urbanek@zoom-int.cz)
Date: Mon Apr 29 2002 - 15:16:04 PDT


On Mon, Apr 29, 2002 at 10:00:50AM -0700, Steve Nichols wrote:
> If this is not the correct board to post this to I apologize.

I think you're right. It would be better to send a PR to freebsd.org.
Use gnats
http://www.freebsd.org/support.html#gnats

> We have a FreeBSD 4.3 server that keep rebooting.
> I am using $FreeBSD: src/etc/syslog.conf,v 1.13.2.2 2001/02/26 09:26:11
> phk Exp $
> 
> I try and log the crash, but have had no success.
> I wrote a few ksh&perl scripts to do a ps ax every 30 seconds to see
> what is running and what is killing the server.
> I also have written a few scripts that output the server life and health
> (similar to healthd) to a webpage.
> 
> There are no processes or daemons that are killing the server.
>

Probably you have a HW problem (it is mostly bad RAM when there are random repeated
reboots).
It could be an kernel bug as well. I don't know what exactly was buggy in 4.3
but it would be good idea to reinstall the server to 4.5.

Logging in this case cannot help. Ideally you could make the machine fall
into DDB if you have compiled it in your kernel.

> Anyone know of an extended logging feature that I can use in conjunction
> with syslogd to log everything that is going on?

No. You can try to compile your kernel with
option DEBUG

but still it won't generate a bunch of printk() kernel messages..

Milos
> 
> The server runs
> DNS
> SENDMAIL
> QPOPPER
> RADIUS
> APACHE (both secure and non-secure)(http&https)
> SSH
> FTPD
> MRTG
> 
> And a few custom cron jobs.
> 
> Any help would be appreciated.
> 
> 
> 
> Steven Nichols
> Network and Systems Administrator
> Internet and NOC Manager
> 
> 
>                    VALLEY INTERNET COMPANY
>                 1709 NE 27th Street, Suite C
>                   McMinnville, Oregon 97128
>            503-565-5030 or 800-909-9078 (toll-free)
>      "Pay no attention to the folks behind the curtain..."
>    PGP: www.viclink.com/~steven/steven.nichols.pgp.txt
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: loganalysis-unsubscribeat_private
> For additional commands, e-mail: loganalysis-helpat_private
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: loganalysis-unsubscribeat_private
For additional commands, e-mail: loganalysis-helpat_private



This archive was generated by hypermail 2b30 : Mon Apr 29 2002 - 15:47:05 PDT