sysklogd.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-sysklogd" role="wrap" revision="sysv">
  8. <?dbhtml filename="sysklogd.html"?>
  9. <sect1info condition="script">
  10. <productname>sysklogd</productname>
  11. <productnumber>&sysklogd-version;</productnumber>
  12. <address>&sysklogd-url;</address>
  13. </sect1info>
  14. <title>Sysklogd-&sysklogd-version;</title>
  15. <indexterm zone="ch-system-sysklogd">
  16. <primary sortas="a-Sysklogd">Sysklogd</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <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>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&sysklogd-ch6-sbu;</seg>
  27. <seg>&sysklogd-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Sysklogd</title>
  33. <para>First, fix problems that causes a segmentation fault under
  34. some conditions in klogd and fix an obsolete program construct:</para>
  35. <screen><userinput remap="pre">sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
  36. sed -i 's/union wait/int/' syslogd.c
  37. </userinput></screen>
  38. <para>Compile the package:</para>
  39. <screen><userinput remap="make">make</userinput></screen>
  40. <para>This package does not come with a test suite.</para>
  41. <para>Install the package:</para>
  42. <screen><userinput remap="install">make BINDIR=/sbin install</userinput></screen>
  43. </sect2>
  44. <sect2 id="conf-sysklogd" role="configuration">
  45. <title>Configuring Sysklogd</title>
  46. <indexterm zone="conf-sysklogd">
  47. <primary sortas="a-Sysklogd">Sysklogd</primary>
  48. <secondary>configuring</secondary>
  49. </indexterm>
  50. <indexterm zone="conf-sysklogd">
  51. <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
  52. </indexterm>
  53. <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
  54. following:</para>
  55. <screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
  56. <literal># Begin /etc/syslog.conf
  57. auth,authpriv.* -/var/log/auth.log
  58. *.*;auth,authpriv.none -/var/log/sys.log
  59. daemon.* -/var/log/daemon.log
  60. kern.* -/var/log/kern.log
  61. mail.* -/var/log/mail.log
  62. user.* -/var/log/user.log
  63. *.emerg *
  64. # End /etc/syslog.conf</literal>
  65. EOF</userinput></screen>
  66. </sect2>
  67. <sect2 id="contents-sysklogd" role="content">
  68. <title>Contents of Sysklogd</title>
  69. <segmentedlist>
  70. <segtitle>Installed programs</segtitle>
  71. <seglistitem>
  72. <seg>klogd and syslogd</seg>
  73. </seglistitem>
  74. </segmentedlist>
  75. <variablelist>
  76. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  77. <?dbfo list-presentation="list"?>
  78. <?dbhtml list-presentation="table"?>
  79. <varlistentry id="klogd">
  80. <term><command>klogd</command></term>
  81. <listitem>
  82. <para>A system daemon for intercepting and logging kernel messages</para>
  83. <indexterm zone="ch-system-sysklogd klogd">
  84. <primary sortas="b-klogd">klogd</primary>
  85. </indexterm>
  86. </listitem>
  87. </varlistentry>
  88. <varlistentry id="syslogd">
  89. <term><command>syslogd</command></term>
  90. <listitem>
  91. <para>Logs the messages that system programs offer for logging [Every
  92. logged message contains at least a date stamp and a hostname, and
  93. normally the program's name too, but that depends on how trusting the
  94. logging daemon is told to be.]</para>
  95. <indexterm zone="ch-system-sysklogd syslogd">
  96. <primary sortas="b-syslogd">syslogd</primary>
  97. </indexterm>
  98. </listitem>
  99. </varlistentry>
  100. </variablelist>
  101. </sect2>
  102. </sect1>