sysklogd.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 a problem that causes a segmentation fault under
  34. some conditions in klogd:</para>
  35. <screen><userinput remap="pre">sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <para>This package does not come with a test suite.</para>
  39. <para>Install the package:</para>
  40. <screen><userinput remap="install">make BINDIR=/sbin install</userinput></screen>
  41. </sect2>
  42. <sect2 id="conf-sysklogd" role="configuration">
  43. <title>Configuring Sysklogd</title>
  44. <indexterm zone="conf-sysklogd">
  45. <primary sortas="a-Sysklogd">Sysklogd</primary>
  46. <secondary>configuring</secondary>
  47. </indexterm>
  48. <indexterm zone="conf-sysklogd">
  49. <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
  50. </indexterm>
  51. <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
  52. following:</para>
  53. <screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
  54. <literal># Begin /etc/syslog.conf
  55. auth,authpriv.* -/var/log/auth.log
  56. *.*;auth,authpriv.none -/var/log/sys.log
  57. daemon.* -/var/log/daemon.log
  58. kern.* -/var/log/kern.log
  59. mail.* -/var/log/mail.log
  60. user.* -/var/log/user.log
  61. *.emerg *
  62. # End /etc/syslog.conf</literal>
  63. EOF</userinput></screen>
  64. </sect2>
  65. <sect2 id="contents-sysklogd" role="content">
  66. <title>Contents of Sysklogd</title>
  67. <segmentedlist>
  68. <segtitle>Installed programs</segtitle>
  69. <seglistitem>
  70. <seg>klogd and syslogd</seg>
  71. </seglistitem>
  72. </segmentedlist>
  73. <variablelist>
  74. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  75. <?dbfo list-presentation="list"?>
  76. <?dbhtml list-presentation="table"?>
  77. <varlistentry id="klogd">
  78. <term><command>klogd</command></term>
  79. <listitem>
  80. <para>A system daemon for intercepting and logging kernel messages</para>
  81. <indexterm zone="ch-system-sysklogd klogd">
  82. <primary sortas="b-klogd">klogd</primary>
  83. </indexterm>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry id="syslogd">
  87. <term><command>syslogd</command></term>
  88. <listitem>
  89. <para>Logs the messages that system programs offer for logging [Every
  90. logged message contains at least a date stamp and a hostname, and
  91. normally the program's name too, but that depends on how trusting the
  92. logging daemon is told to bei.]</para>
  93. <indexterm zone="ch-system-sysklogd syslogd">
  94. <primary sortas="b-syslogd">syslogd</primary>
  95. </indexterm>
  96. </listitem>
  97. </varlistentry>
  98. </variablelist>
  99. </sect2>
  100. </sect1>