1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
8 <sect1 id="ch-system-sysklogd" role="wrap" revision="sysv">
9 <?dbhtml filename="sysklogd.html"?>
11 <sect1info condition="script">
12 <productname>sysklogd</productname>
13 <productnumber>&sysklogd-version;</productnumber>
14 <address>&sysklogd-url;</address>
17 <title>Sysklogd-&sysklogd-version;</title>
19 <indexterm zone="ch-system-sysklogd">
20 <primary sortas="a-Sysklogd">Sysklogd</primary>
23 <sect2 role="package">
26 <para>The sysklogd package contains programs for logging system messages,
27 such as those given by the kernel when unusual things happen.</para>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
34 <seg>&sysklogd-fin-sbu;</seg>
35 <seg>&sysklogd-fin-du;</seg>
41 <sect2 role="installation">
42 <title>Installation of Sysklogd</title>
44 <para>First, fix problems that causes a segmentation fault under
45 some conditions in klogd and fix an obsolete program construct:</para>
47 <screen><userinput remap="pre">sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
48 sed -i 's/union wait/int/' syslogd.c</userinput></screen>
50 <para>Compile the package:</para>
52 <screen><userinput remap="make">make</userinput></screen>
54 <para>This package does not come with a test suite.</para>
56 <para>Install the package:</para>
58 <screen><userinput remap="install">make BINDIR=/sbin install</userinput></screen>
62 <sect2 id="conf-sysklogd" role="configuration">
63 <title>Configuring Sysklogd</title>
65 <indexterm zone="conf-sysklogd">
66 <primary sortas="a-Sysklogd">Sysklogd</primary>
67 <secondary>configuring</secondary>
70 <indexterm zone="conf-sysklogd">
71 <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
74 <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
77 <screen><userinput>cat > /etc/syslog.conf << "EOF"
78 <literal># Begin /etc/syslog.conf
80 auth,authpriv.* -/var/log/auth.log
81 *.*;auth,authpriv.none -/var/log/sys.log
82 daemon.* -/var/log/daemon.log
83 kern.* -/var/log/kern.log
84 mail.* -/var/log/mail.log
85 user.* -/var/log/user.log
88 # End /etc/syslog.conf</literal>
89 EOF</userinput></screen>
93 <sect2 id="contents-sysklogd" role="content">
94 <title>Contents of Sysklogd</title>
97 <segtitle>Installed programs</segtitle>
100 <seg>klogd and syslogd</seg>
105 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
106 <?dbfo list-presentation="list"?>
107 <?dbhtml list-presentation="table"?>
109 <varlistentry id="klogd">
110 <term><command>klogd</command></term>
112 <para>A system daemon for intercepting and logging kernel messages</para>
113 <indexterm zone="ch-system-sysklogd klogd">
114 <primary sortas="b-klogd">klogd</primary>
119 <varlistentry id="syslogd">
120 <term><command>syslogd</command></term>
122 <para>Logs the messages that system programs offer for logging [Every
123 logged message contains at least a date stamp and a hostname, and
124 normally the program's name too, but that depends on how trusting the
125 logging daemon is told to be.]</para>
126 <indexterm zone="ch-system-sysklogd syslogd">
127 <primary sortas="b-syslogd">syslogd</primary>