Changeset e02afe0 for chapter06/sysklogd.xml
- Timestamp:
- 02/10/2006 07:38:49 PM (19 years ago)
- Children:
- 851829a
- Parents:
- 529c103
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/sysklogd.xml
r529c103 re02afe0 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 6 <sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">7 <title>Sysklogd-&sysklogd-version;</title>8 <?dbhtml filename="sysklogd.html"?>9 7 10 <indexterm zone="ch-system-sysklogd"><primary sortas="a-Sysklogd">Sysklogd</primary></indexterm> 8 <sect1 id="ch-system-sysklogd" role="wrap"> 9 <?dbhtml filename="sysklogd.html"?> 11 10 12 <sect2 role="package"><title/> 13 <para>The Sysklogd package contains programs for logging system messages, such 14 as those given by the kernel when unusual things happen.</para> 11 <title>Sysklogd-&sysklogd-version;</title> 15 12 16 <segmentedlist> 17 <segtitle>&buildtime;</segtitle> 18 <segtitle>&diskspace;</segtitle> 19 <seglistitem><seg>0.1 SBU</seg><seg>704 KB</seg></seglistitem> 20 </segmentedlist> 13 <indexterm zone="ch-system-sysklogd"> 14 <primary sortas="a-Sysklogd">Sysklogd</primary> 15 </indexterm> 21 16 22 <segmentedlist> 23 <segtitle>&dependencies;</segtitle> 24 <seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make, and Patch</seg></seglistitem> 25 </segmentedlist> 26 </sect2> 17 <sect2 role="package"> 18 <title/> 27 19 28 <sect2 role="installation"> 29 <title>Installation of Sysklogd</title>20 <para>The Sysklogd package contains programs for logging system messages, 21 such as those given by the kernel when unusual things happen.</para> 30 22 31 <para>The following patch fixes various issues, including a problem building 32 Sysklogd with Linux 2.6 series kernels</para> 23 <segmentedlist> 24 <segtitle>&buildtime;</segtitle> 25 <segtitle>&diskspace;</segtitle> 26 27 <seglistitem> 28 <seg>0.1 SBU</seg> 29 <seg>704 KB</seg> 30 </seglistitem> 31 </segmentedlist> 32 33 <segmentedlist> 34 <segtitle>&dependencies;</segtitle> 35 36 <seglistitem> 37 <seg>Binutils, Coreutils, GCC, Glibc, Make, and Patch</seg> 38 </seglistitem> 39 </segmentedlist> 40 41 </sect2> 42 43 <sect2 role="installation"> 44 <title>Installation of Sysklogd</title> 45 46 <para>The following patch fixes various issues, including a problem building 47 Sysklogd with Linux 2.6 series kernels</para> 33 48 34 49 <screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen> 35 50 36 <para>The following patch makes sysklogd treat bytes in the 0x80--0x9f range37 literally in the messages being logged, instead of replacing them with octal38 codes. Unpatched sysklogd would damage messages in the UTF-8 encoding.</para>51 <para>The following patch makes sysklogd treat bytes in the 0x80--0x9f range 52 literally in the messages being logged, instead of replacing them with octal 53 codes. Unpatched sysklogd would damage messages in the UTF-8 encoding.</para> 39 54 40 55 <screen><userinput>patch -Np1 -i ../&sysklogd-8bit-patch;</userinput></screen> 41 56 42 <para>Compile the package:</para>57 <para>Compile the package:</para> 43 58 44 59 <screen><userinput>make</userinput></screen> 45 60 46 <para>This package does not come with a test suite.</para>61 <para>This package does not come with a test suite.</para> 47 62 48 <para>Install the package:</para>63 <para>Install the package:</para> 49 64 50 65 <screen><userinput>make install</userinput></screen> 51 66 52 </sect2>67 </sect2> 53 68 69 <sect2 id="conf-sysklogd" role="configuration"> 70 <title>Configuring Sysklogd</title> 54 71 55 <sect2 id="conf-sysklogd" role="configuration"><title>Configuring Sysklogd</title>56 <indexterm zone="conf-sysklogd">57 <primary sortas="a-Sysklogd">Sysklogd</primary>58 <secondary>configuring</secondary></indexterm>72 <indexterm zone="conf-sysklogd"> 73 <primary sortas="a-Sysklogd">Sysklogd</primary> 74 <secondary>configuring</secondary> 75 </indexterm> 59 76 60 <indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm> 77 <indexterm zone="conf-sysklogd"> 78 <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary> 79 </indexterm> 61 80 62 <para>Create a new <filename>/etc/syslog.conf</filename> file by running the63 following:</para>81 <para>Create a new <filename>/etc/syslog.conf</filename> file by running the 82 following:</para> 64 83 65 84 <screen><userinput>cat > /etc/syslog.conf << "EOF" … … 80 99 EOF</userinput></screen> 81 100 82 </sect2>101 </sect2> 83 102 103 <sect2 id="contents-sysklogd" role="content"> 104 <title>Contents of Sysklogd</title> 84 105 85 <sect2 id="contents-sysklogd" role="content"><title>Contents of Sysklogd</title> 106 <segmentedlist> 107 <segtitle>Installed programs</segtitle> 86 108 87 <segmentedlist>88 <segtitle>Installed programs</segtitle>89 <seglistitem><seg>klogd and syslogd</seg></seglistitem>90 </segmentedlist>109 <seglistitem> 110 <seg>klogd and syslogd</seg> 111 </seglistitem> 112 </segmentedlist> 91 113 92 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 93 <?dbfo list-presentation="list"?> 94 <?dbhtml list-presentation="table"?> 114 <variablelist> 115 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 116 <?dbfo list-presentation="list"?> 117 <?dbhtml list-presentation="table"?> 95 118 96 <varlistentry id="klogd"> 97 <term><command>klogd</command></term> 98 <listitem> 99 <para>A system daemon for intercepting and logging kernel messages</para> 100 <indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm> 101 </listitem> 102 </varlistentry> 119 <varlistentry id="klogd"> 120 <term><command>klogd</command></term> 121 <listitem> 122 <para>A system daemon for intercepting and logging kernel messages</para> 123 <indexterm zone="ch-system-sysklogd klogd"> 124 <primary sortas="b-klogd">klogd</primary> 125 </indexterm> 126 </listitem> 127 </varlistentry> 103 128 104 <varlistentry id="syslogd"> 105 <term><command>syslogd</command></term> 106 <listitem> 107 <para>Logs the messages that system programs offer for logging. Every logged 108 message contains at least a date stamp and a hostname, and normally the 109 program's name too, but that depends on how trusting the logging daemon is told 110 to be</para> 111 <indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm> 112 </listitem> 113 </varlistentry> 114 </variablelist> 129 <varlistentry id="syslogd"> 130 <term><command>syslogd</command></term> 131 <listitem> 132 <para>Logs the messages that system programs offer for logging. Every 133 logged message contains at least a date stamp and a hostname, and 134 normally the program's name too, but that depends on how trusting the 135 logging daemon is told to be</para> 136 <indexterm zone="ch-system-sysklogd syslogd"> 137 <primary sortas="b-syslogd">syslogd</primary> 138 </indexterm> 139 </listitem> 140 </varlistentry> 115 141 116 </sect2> 142 </variablelist> 143 144 </sect2> 117 145 118 146 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.