<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: starting and stopping services in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889115#M3516</link>
    <description>telnet is managed by xinetd, &lt;BR /&gt;&lt;BR /&gt;to stop and start services go to /etc/rc.d/init.d/&lt;SERVICE name=""&gt; stop/start/restart&lt;BR /&gt;and to configure services on startup, use chkconfig command&lt;BR /&gt;&lt;BR /&gt;ex: chkconfig --level 2345 &lt;SERVICE name=""&gt; on&lt;BR /&gt;like nfs is by default not ON, to make activate the service you need to run the following command&lt;BR /&gt;&lt;BR /&gt;chkconfig --level 2345 nfs on&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;chakri&lt;/SERVICE&gt;&lt;/SERVICE&gt;</description>
    <pubDate>Thu, 23 Jan 2003 12:07:56 GMT</pubDate>
    <dc:creator>Chakravarthi</dc:creator>
    <dc:date>2003-01-23T12:07:56Z</dc:date>
    <item>
      <title>starting and stopping services</title>
      <link>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889113#M3514</link>
      <description>Hi,&lt;BR /&gt;How do I stop and start services in linux red hat 7.3? e.g the telnet or network service&lt;BR /&gt;&lt;BR /&gt;Also, how do I configure to start services on startup?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Trystan.</description>
      <pubDate>Thu, 23 Jan 2003 10:05:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889113#M3514</guid>
      <dc:creator>trystan macdonald_1</dc:creator>
      <dc:date>2003-01-23T10:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: starting and stopping services</title>
      <link>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889114#M3515</link>
      <description>Services are probably started via xinetd or inetd, the configuration file is in /etc called xinetd.conf or inetd.conf.&lt;BR /&gt;&lt;BR /&gt;The configuration files for individual services are in /etc/inetd.d IIRC.</description>
      <pubDate>Thu, 23 Jan 2003 11:50:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889114#M3515</guid>
      <dc:creator>Richard Slater</dc:creator>
      <dc:date>2003-01-23T11:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: starting and stopping services</title>
      <link>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889115#M3516</link>
      <description>telnet is managed by xinetd, &lt;BR /&gt;&lt;BR /&gt;to stop and start services go to /etc/rc.d/init.d/&lt;SERVICE name=""&gt; stop/start/restart&lt;BR /&gt;and to configure services on startup, use chkconfig command&lt;BR /&gt;&lt;BR /&gt;ex: chkconfig --level 2345 &lt;SERVICE name=""&gt; on&lt;BR /&gt;like nfs is by default not ON, to make activate the service you need to run the following command&lt;BR /&gt;&lt;BR /&gt;chkconfig --level 2345 nfs on&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;chakri&lt;/SERVICE&gt;&lt;/SERVICE&gt;</description>
      <pubDate>Thu, 23 Jan 2003 12:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889115#M3516</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2003-01-23T12:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: starting and stopping services</title>
      <link>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889116#M3517</link>
      <description>On many systems, the xinetd.conf file simply says to 'includes' a directory (usually /etc/xinetd.d).  xinetd is a superserver that controls other services.  You  control whether xinetd itself runs in any given runlevel through chkconfig.  However, you control what services xinetd provides by either editing the xinetd.conf file or by editing the files for individual services (like telnet) in the xinetd.d configuration directory. Each service is described by a line that says service followed by the service name then an open brace and later a closed brace.  Between the braces, you'll see a line that says ' disable = yes ' (or no).  To enable a service controlled by xinetd, you usually need to set 'disable = no'.  Also look at any defaults that might be in the xinetd.conf file.  You should probably read your man pages for xinetd or xinetd.conf to find out a bit more about all the different configuration flavors.</description>
      <pubDate>Thu, 23 Jan 2003 13:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889116#M3517</guid>
      <dc:creator>Bruce Copeland</dc:creator>
      <dc:date>2003-01-23T13:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: starting and stopping services</title>
      <link>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889117#M3518</link>
      <description>/etc/xinetd.conf&lt;BR /&gt;&lt;BR /&gt;Refers to lots of little files for individual services in the directory &lt;BR /&gt;&lt;BR /&gt;/etc/xinetd.d&lt;BR /&gt;&lt;BR /&gt;Here is an example inet file for pop3 mail.&lt;BR /&gt;&lt;BR /&gt;# default: off&lt;BR /&gt;# description: The POP3 service allows remote users to access their mail #              using an POP3 client such as Netscape Communicator, mutt, #              or fetchmail.&lt;BR /&gt;service pop3&lt;BR /&gt;{&lt;BR /&gt;        socket_type             = stream&lt;BR /&gt;        wait                    = no&lt;BR /&gt;        user                    = root&lt;BR /&gt;        server                  = /usr/sbin/ipop3d&lt;BR /&gt;        log_on_success  += HOST DURATION&lt;BR /&gt;        log_on_failure  += HOST&lt;BR /&gt;        disable                 = no&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Counter intuitive as it is the line disable = no means the pop3 service is enabled.  Its the same for all inet services.  Everything else is controlled above with the chkconfig command to enable and diable startup specifying the level.&lt;BR /&gt;&lt;BR /&gt;Lastly, you cant chkconfig a service unless its installed.&lt;BR /&gt;&lt;BR /&gt;So if you want to enable iptables and its not installed you have to get the rpm from the install cd and do this (red hat)&lt;BR /&gt;&lt;BR /&gt;rpm -i filename.rpm&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Thu, 23 Jan 2003 15:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889117#M3518</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-23T15:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: starting and stopping services</title>
      <link>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889118#M3519</link>
      <description>chkconfig is a good command line utility for configuring service runlevels. You can also use "setup" which gives you a curses interface to configure things like that. &lt;BR /&gt;&lt;BR /&gt;But for me anyway, the simplest way to start or stop a service is with the "service" command. This command will manage all services listed in /etc/rc.d/inet.d&lt;BR /&gt;&lt;BR /&gt;For instance.. to stop the network&lt;BR /&gt;&lt;BR /&gt;service network stop&lt;BR /&gt;&lt;BR /&gt;to start it&lt;BR /&gt;&lt;BR /&gt;service network start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now Telnet is controlled by the super-service xinetd, as is wu-ftpd and many others.  If you look into /etc/xinetd.d you will see all the services and configuration files that are controlled by that super-service. &lt;BR /&gt;&lt;BR /&gt;You can turn them off and on with the "disable =" line in each config file and then issue "service xinetd restart" to make the changes take place. &lt;BR /&gt;&lt;BR /&gt;-kevin</description>
      <pubDate>Thu, 23 Jan 2003 19:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/starting-and-stopping-services/m-p/2889118#M3519</guid>
      <dc:creator>Kevin Joubert</dc:creator>
      <dc:date>2003-01-23T19:49:01Z</dc:date>
    </item>
  </channel>
</rss>

