[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SAGE] Solaris boot Console logging??
On Tue, Jul 16, 2002 at 12:05:44PM -0400, Joseph Boyer Jr. wrote:
> Thanks!
>
> I have though that, but I already have my servers connected to ANNEX
> Servers, which are supported by someone else, so reconfiguring it for
> logging is out. I am looking for some way to capture the console just a
> boot time and log it to a file, /var/adm/bootlog, and to be able to view
> it via the serial connection (if possible). Kinda the way SUSE linux
> does it.
>
> I know that i may be grasping at straws here?
The Annex doesn't support very many sensible things. We have rather a
lot of them here as well. Don't worry about administrative access to
them, it wouldn't help very much.
Running a bunch of telnet sessions to the various ports in screen(1) is
an interim solution we used until last week, when we got our first
Cyclades TS1000. So far, that's making a good impression.
Other than that, there are two different things you might be looking
for: The output of the kernel, and that of startup scripts. The former
is easy, as it's all dumped via syslog, usually to /var/adm/messages.
The latter is possible only if you rewrite the scripts to duplicate
their output to some logfile.
What Linux distributions generally do is to run dmesg in one of the
scripts to get the untagged kernel message buffer. Solaris dmesg gives
slightly different output, no different from what's logged via syslog
anyway.
screen(1) packaged for Solaris is on sunfreeware.com, and probably
elsewhere.
Gabe