SUMMARY: logging boot errors

From: Tanya Herlick (tanya@ora.com)
Date: Thu Feb 23 1995 - 23:58:45 CST


Original question:

> I need to capture in a file some errors that show on the console
> during booting *long* before syslogd starts up.

Most people replied that dmesg would do this as it accesses the kernel
message buffer and not syslog info. Unfortunately, the messages scrolled
and scrolled so while this was somewhat helpful, I didn't get to save
the earliest messages, but what i got was sufficient.

A couple of people suggested hooking up a printer to the console port.
This would probably have been the best solution if I'd had a printer
to hook up to it.

One person suggested redirecting output and error from some of the
rc scripts.

One person suggested halting the boot for 10 seconds twice during
start up giving a chance to write down the error messages(?). LIke
this:

root# echo "sleep 10" > /etc/init.d/sleep
root# ln /etc/init.d /etc/rc2.d/S50sleep
root# ln /etc/init.d /etc/rc2.d/S99sleep

Thanks to everyone who replied:

kevin@uniq.com
Lenny Turetsky <lturetsk@econ.yale.edu>
einari@rhi.hi.is (Einar Indridason)
bern@penthesilea.uni-trier.de (Jochen Bern)
matt@uts.EDU.AU (Jas (Matthew K)
johnh@gerbil.umds.ac.uk (John Hearns - System Manager)
dbrown@lizzard.med.utah.edu (David B. Brown)
Alexander Haiut <alx@black.bgu.ac.il>
josh@quartz.pacacc.com (Josh Personius)
cjudi@nesmgr.nlm.nih.gov (Judi Connelly)

-- 
Tanya Herlick (tanya@ora.com)		
System Administrator at O'Reilly and Associates	
ph:617/354-5800 fax:617/661-1116
Check our gopher server for info and catalogs: gopher.ora.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT