2005-03-30 18:31:03 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2005-03-30 18:31:03 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<sect1 id="ch-system-sysklogd" role="wrap">
|
|
|
|
<?dbhtml filename="sysklogd.html"?>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2007-09-07 20:16:43 +01:00
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>sysklogd</productname>
|
|
|
|
<productnumber>&sysklogd-version;</productnumber>
|
|
|
|
<address>&sysklogd-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<title>Sysklogd-&sysklogd-version;</title>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<indexterm zone="ch-system-sysklogd">
|
|
|
|
<primary sortas="a-Sysklogd">Sysklogd</primary>
|
|
|
|
</indexterm>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<para>The Sysklogd package contains programs for logging system messages,
|
|
|
|
such as those given by the kernel when unusual things happen.</para>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2006-05-14 21:16:56 +01:00
|
|
|
<seg>&sysklogd-ch6-sbu;</seg>
|
|
|
|
<seg>&sysklogd-ch6-du;</seg>
|
2006-02-10 19:05:30 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Sysklogd</title>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<para>This package does not come with a test suite.</para>
|
2005-12-07 20:46:14 +00:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<para>Install the package:</para>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
</sect2>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<sect2 id="conf-sysklogd" role="configuration">
|
|
|
|
<title>Configuring Sysklogd</title>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<indexterm zone="conf-sysklogd">
|
|
|
|
<primary sortas="a-Sysklogd">Sysklogd</primary>
|
|
|
|
<secondary>configuring</secondary>
|
|
|
|
</indexterm>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<indexterm zone="conf-sysklogd">
|
|
|
|
<primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
|
|
|
|
</indexterm>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
|
|
|
|
following:</para>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
|
|
|
<screen><userinput>cat > /etc/syslog.conf << "EOF"
|
2005-04-11 20:26:40 +01:00
|
|
|
<literal># Begin /etc/syslog.conf
|
2005-03-30 18:31:03 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
*.emerg *
|
|
|
|
|
2005-04-11 20:26:40 +01:00
|
|
|
# End /etc/syslog.conf</literal>
|
2005-03-30 18:31:03 +01:00
|
|
|
EOF</userinput></screen>
|
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="contents-sysklogd" role="content">
|
|
|
|
<title>Contents of Sysklogd</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed programs</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>klogd and syslogd</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="klogd">
|
|
|
|
<term><command>klogd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>A system daemon for intercepting and logging kernel messages</para>
|
|
|
|
<indexterm zone="ch-system-sysklogd klogd">
|
|
|
|
<primary sortas="b-klogd">klogd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="syslogd">
|
|
|
|
<term><command>syslogd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>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</para>
|
|
|
|
<indexterm zone="ch-system-sysklogd syslogd">
|
|
|
|
<primary sortas="b-syslogd">syslogd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2005-03-30 18:31:03 +01:00
|
|
|
|
|
|
|
</sect1>
|