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;
|
|
|
|
]>
|
|
|
|
|
2016-05-26 00:16:12 +01:00
|
|
|
<sect1 id="ch-system-sysklogd" role="wrap" revision="sysv">
|
2006-02-10 19:05:30 +00:00
|
|
|
<?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
|
|
|
|
2022-12-19 19:44:36 +00:00
|
|
|
<para>The Sysklogd package contains programs for logging system messages,
|
|
|
|
such as those emitted 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>
|
2020-06-11 13:55:28 +01:00
|
|
|
<seg>&sysklogd-fin-sbu;</seg>
|
|
|
|
<seg>&sysklogd-fin-du;</seg>
|
2006-02-10 19:05:30 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Sysklogd</title>
|
|
|
|
|
2022-12-19 19:44:36 +00:00
|
|
|
<para>First, fix a problem that causes a segmentation fault in klogd
|
|
|
|
under some conditions, and fix an obsolete program construct:</para>
|
2014-05-11 01:58:48 +01:00
|
|
|
|
2016-08-06 04:53:06 +01:00
|
|
|
<screen><userinput remap="pre">sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
|
2017-02-13 03:35:42 +00:00
|
|
|
sed -i 's/union wait/int/' syslogd.c</userinput></screen>
|
2014-05-11 01:58:48 +01:00
|
|
|
|
2006-02-10 19:05:30 +00:00
|
|
|
<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
|
|
|
|
2009-02-08 21:56:17 +00:00
|
|
|
<screen><userinput remap="install">make BINDIR=/sbin 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>
|
2015-02-10 21:54:19 +00:00
|
|
|
<para>Logs the messages that system programs offer for logging [Every
|
2006-02-10 19:05:30 +00:00
|
|
|
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
|
2016-08-08 22:06:30 +01:00
|
|
|
logging daemon is told to be.]</para>
|
2006-02-10 19:05:30 +00:00
|
|
|
<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>
|