glfs/server/other/xinetd/xinetd-config.xml
Tushar Teredesai ae9c5281f1 More2 bootscript changes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1941 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-03-28 01:46:42 +00:00

49 lines
1.8 KiB
XML

<sect2>
<title>Configuring <application>xinetd</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/xinetd.conf</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<para>Insure the path to all daemons are in <filename
class="directory">/usr/sbin</filename>, rather than the default path of
<filename class="directory">/usr/etc</filename>:</para>
<screen><userinput><command>sed -e 's/etc/sbin/g' xinetd/sample.conf &gt; /etc/xinetd.conf</command>
</userinput></screen>
<para>The format of the <filename>/etc/xinetd.conf</filename> is
documented in the xinetd.conf man page. Further information can be
found at <ulink url="http://www.xinetd.org"/>.</para>
<para>Install <filename>/etc/rc.d/init.d/xinetd</filename>
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>make install-xinetd</command></userinput></screen>
<para>Now, we'll use our new boot script to start <command>xinetd</command>: </para>
<screen><userinput><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
<para>Checking the <filename>/var/log/daemon.log</filename> file
should prove quite entertaining. This file may contain entries
similar to the following:</para>
<screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
executable [line=29]
Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
DISABLING SERVICE [line=29]
Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
executable [line=42]</userinput></screen>
<para>These errors are due to the fact that we don't have most of the
servers that <command>xinetd</command> is trying to control installed yet.</para>
</sect3>
</sect2>