source: final-system/common/sysklogd.xml@ 2ed9444

Last change on this file since 2ed9444 was 155e089, checked in by Jim Gifford <clfs@…>, 19 years ago

r1036@server (orig r1034): chris | 2006-01-10 05:02:53 -0800
Minor changes to several package instructions

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