sysklogd.xml 3.9 KB

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