P. 1
CLFS SPARC-64 Multilib

CLFS SPARC-64 Multilib

|Views: 40|Likes:
Published by aqua01

More info:

Published by: aqua01 on Sep 21, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/01/2011

pdf

text

original

The Sysklogd package contains programs for logging system messages, such as those given by the kernel when
unusual things happen.

10.61.1. Installation of Sysklogd

Compile the package:

make CC="gcc ${BUILD64}"

This package does not come with a test suite.

Install the package:

make install

10.61.2. Configuring Sysklogd

Create a new / etc/ syslog. conf file by running the following:

cat > /etc/syslog.conf << "EOF"

# Begin /etc/syslog.conf

auth,authpriv.* -/var/log/auth.log
*.*;auth,authpriv.none -/var/log/sys.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
*.info;mail.none;authpriv.none;cron.none -/var/log/messages
*.emerg *

# log the bootscript output:
local2.* -/var/log/boot.log

# End /etc/syslog.conf

EOF

10.61.3. Contents of Sysklogd

Installed programs:

klogd and syslogd

Short Descriptions

klogd

A system daemon for intercepting and logging kernel messages

syslogd

Logs the messages that system programs offer for logging. Every logged message contains at least a
date stamp and a hostname, and normally the program's name too, but that depends on how trusting the
logging daemon is told to be.

Cross-Compiled Linux From Scratch - Version 1.1.0-Sparc64-Multilib

211

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->