source: BOOK/final-system/common/sysklogd.xml @ 3373dd11

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 3373dd11 was 3373dd11, checked in by Jim Gifford <clfs@…>, 18 years ago

r668@server (orig r666): manuel | 2005-11-08 15:25:13 -0800
Removing SBUs and DUs. Chapter final-system, round 6.

  • Property mode set to 100644
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3  "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6  %general-entities;
7  %patches-entities;
8]>
9
10<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
11  <?dbhtml filename="sysklogd.html"?>
12
13  <title>Sysklogd-&sysklogd-version;</title>
14
15  <indexterm zone="ch-system-sysklogd">
16    <primary sortas="a-Sysklogd">Sysklogd</primary>
17  </indexterm>
18
19  <sect2 role="package">
20    <title/>
21
22    <para>The Sysklogd package contains programs for logging system messages,
23    such as those given by the kernel when unusual things happen.</para>
24
25    <segmentedlist>
26      <segtitle>&dependencies;</segtitle>
27
28      <seglistitem>
29        <seg>Binutils, Coreutils, GCC, Glibc, Make</seg>
30      </seglistitem>
31    </segmentedlist>
32
33  </sect2>
34
35  <sect2 role="installation">
36    <title>Installation of Sysklogd</title>
37
38    <para os="a">The following patch fixes various issues, including a
39    problem building Sysklogd with Linux 2.6 series kernels</para>
40
41<screen os="b"><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
42
43    <para os="c">Compile the package:</para>
44
45<screen><userinput>make</userinput></screen>
46
47    <para os="d">Install the package:</para>
48
49<screen os="e"><userinput>make install</userinput></screen>
50
51  </sect2>
52
53  <sect2 id="conf-sysklogd" role="configuration">
54    <title>Configuring Sysklogd</title>
55
56    <indexterm zone="conf-sysklogd">
57      <primary sortas="a-Sysklogd">Sysklogd</primary>
58    <secondary>configuring</secondary></indexterm>
59
60    <indexterm zone="conf-sysklogd">
61      <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
62    </indexterm>
63
64    <para>Create a new <filename>/etc/syslog.conf</filename> file by running
65    the following:</para>
66
67<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
68<literal># Begin /etc/syslog.conf
69
70auth,authpriv.* -/var/log/auth.log
71*.*;auth,authpriv.none -/var/log/sys.log
72daemon.* -/var/log/daemon.log
73kern.* -/var/log/kern.log
74mail.* -/var/log/mail.log
75user.* -/var/log/user.log
76*.emerg *
77
78# log the bootscript output:
79local2.* -/var/log/boot.log
80
81# End /etc/syslog.conf</literal>
82EOF</userinput></screen>
83
84  </sect2>
85
86  <sect2 id="contents-sysklogd" role="content">
87    <title>Contents of Sysklogd</title>
88
89    <segmentedlist>
90      <segtitle>Installed programs</segtitle>
91
92      <seglistitem>
93        <seg>klogd and syslogd</seg>
94      </seglistitem>
95    </segmentedlist>
96
97    <variablelist>
98      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
99      <?dbfo list-presentation="list"?>
100      <?dbhtml list-presentation="table"?>
101
102      <varlistentry id="klogd">
103        <term><command>klogd</command></term>
104        <listitem>
105          <para>A system daemon for intercepting and logging kernel
106          messages</para>
107          <indexterm zone="ch-system-sysklogd klogd">
108            <primary sortas="b-klogd">klogd</primary>
109          </indexterm>
110        </listitem>
111      </varlistentry>
112
113      <varlistentry id="syslogd">
114        <term><command>syslogd</command></term>
115        <listitem>
116          <para>Logs the messages that system programs offer for logging.
117          Every logged message contains at least a date stamp and a hostname,
118          and normally the program's name too, but that depends on how
119          trusting the logging daemon is told to be</para>
120          <indexterm zone="ch-system-sysklogd syslogd">
121            <primary sortas="b-syslogd">syslogd</primary>
122          </indexterm>
123        </listitem>
124      </varlistentry>
125
126    </variablelist>
127
128  </sect2>
129
130</sect1>
Note: See TracBrowser for help on using the repository browser.