Changeset 5bc2a01 for server/other/xinetd/xinetd-config.xml
- Timestamp:
- 09/17/2003 03:56:58 PM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 70919be
- Parents:
- 2da087bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/xinetd/xinetd-config.xml
r2da087bd r5bc2a01 1 1 <sect2> 2 2 <title>Configuring xinetd</title> 3 <para>Create the <filename>xinetd.conf</filename> file with the following commands: </para>4 5 <para><screen><userinput>cp /etc/xinetd.conf /etc/xinetd.conf.bak6 sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</userinput></screen></para>7 3 8 4 <sect3><title>Config files</title> 5 9 6 <para><filename>/etc/xinetd.conf</filename></para> 10 7 8 </sect3> 9 10 <sect3><title>Configuration Information</title> 11 12 <para>Create the <filename>xinetd.conf</filename> file with the following commands:</para> 13 14 <screen><userinput><command>cp /etc/xinetd.conf /etc/xinetd.conf.bak</command></userinput></screen> 15 16 <para>Insure the path to all daemons is <filename 17 class="directory">/usr/sbin</filename>, rather than the default path of 18 <filename class="directory">/usr/etc</filename>:</para> 19 20 <screen><userinput><command>sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</command> 21 </userinput></screen> 22 23 <para>The format of the <filename>/etc/xinetd.conf</filename> is 24 documented in the xinetd.conf man page. Further information can be 25 found at <ulink url="http://www.xinetd.org"/>.</para> 26 11 27 <para>Create the xinetd boot script:</para> 12 <para><screen><userinput>cat > /etc/rc.d/init.d/xinetd << "EOF"</userinput> 28 29 <screen><userinput><command>cat > /etc/rc.d/init.d/xinetd << "EOF" 13 30 #!/bin/bash 14 31 # Begin $rc_base/init.d/xinetd … … 44 61 esac 45 62 # End $rc_base/init.d/xinetd 46 <userinput>EOF</userinput></screen></para> 63 EOF 64 chmod 754 /etc/rc.d/init.d/xinetd</command></userinput></screen> 47 65 48 66 <para>Add the run level symlinks:</para> 49 67 50 <para><screen><userinput>chmod 754 /etc/rc.d/init.d/xinetd && 51 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc0.d/K49xinetd && 68 <screen><userinput><command>ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc0.d/K49xinetd && 52 69 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc1.d/K49xinetd && 53 70 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc2.d/K49xinetd && … … 55 72 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc4.d/S23xinetd && 56 73 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc5.d/S23xinetd && 57 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc6.d/K49xinetd 58 </userinput></screen></para> 74 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc6.d/K49xinetd</command></userinput></screen> 59 75 60 76 <para>Now, we'll use our new boot script to start xinetd: </para> 61 <para><screen><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen></para> 77 78 <screen><userinput><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen> 62 79 63 80 <para>Checking the <filename>/var/log/daemon.log</filename> file 64 should prove quite entertaining. 65 similar to the following: 81 should prove quite entertaining. This file may contain entries 82 similar to the following:</para> 66 83 67 < para><screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not84 <screen><userinput><command>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not 68 85 executable [line=29] 69 86 Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server - 70 87 DISABLING SERVICE [line=29] 71 88 Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not 72 executable [line=42]</ userinput></screen></para>89 executable [line=42]</command></userinput></screen> 73 90 74 91 <para>These errors are due to the fact that we don't have most of the 75 servers that xinetd is trying to control installed yet.</para></sect3> 92 servers that xinetd is trying to control installed yet.</para> 93 94 </sect3> 95 76 96 </sect2> 77
Note:
See TracChangeset
for help on using the changeset viewer.