sysklogd.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-sysklogd" xreflabel="Sysklogd">
  7. <title>Sysklogd-&sysklogd-version;</title>
  8. <?dbhtml filename="sysklogd.html"?>
  9. <indexterm zone="ch-system-sysklogd"><primary sortas="a-Sysklogd">Sysklogd</primary></indexterm>
  10. <para>The Sysklogd package contains programs for logging system messages, such
  11. as those given by the kernel when unusual things happen.</para>
  12. <screen>&buildtime; 0.1 SBU
  13. &diskspace; 0.5 MB</screen>
  14. <para>Sysklogd installation depends on: Binutils, Coreutils, GCC, Glibc, Make.</para>
  15. <sect2>
  16. <title>Installation of Sysklogd</title>
  17. <para>Sysklogd has issues with the Linux 2.6 kernel series - fix these isues
  18. by applying the following patch:</para>
  19. <screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel_header.patch</userinput></screen>
  20. <para>Compile Sysklogd:</para>
  21. <screen><userinput>make</userinput></screen>
  22. <para>Now install it:</para>
  23. <screen><userinput>make install</userinput></screen>
  24. </sect2>
  25. <sect2 id="conf-sysklogd"><title>Configuring Sysklogd</title>
  26. <indexterm zone="conf-sysklogd">
  27. <primary sortas="a-Sysklogd">Sysklogd</primary>
  28. <secondary>configuring</secondary></indexterm>
  29. <indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
  30. <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
  31. following:</para>
  32. <screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
  33. # Begin /etc/syslog.conf
  34. auth,authpriv.* -/var/log/auth.log
  35. *.*;auth,authpriv.none -/var/log/sys.log
  36. daemon.* -/var/log/daemon.log
  37. kern.* -/var/log/kern.log
  38. mail.* -/var/log/mail.log
  39. user.* -/var/log/user.log
  40. *.emerg *
  41. # End /etc/syslog.conf
  42. <userinput>EOF</userinput></screen>
  43. </sect2>
  44. <sect2 id="contents-sysklogd"><title>Contents of Sysklogd</title>
  45. <para><emphasis>Installed programs</emphasis>: klogd and syslogd</para>
  46. </sect2>
  47. <sect2><title>Short descriptions</title>
  48. <indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
  49. <para id="klogd"><command>klogd</command> is a system daemon for intercepting and
  50. logging kernel messages.</para>
  51. <indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
  52. <para id="syslogd"><command>syslogd</command> logs the messages that system programs
  53. offer for logging. Every logged message contains at least a date stamp and a
  54. hostname, and normally the program's name too, but that depends on how
  55. trusting the logging daemon is told to be.</para>
  56. </sect2>
  57. </sect1>