<?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: start service when bootup in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262704#M11752</link>
    <description>the file /etc/rc.d/rc.local (in Redhat machines) is executed after the startup sequence. you can add your commands in this file in order to execute them at every boot.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Claudio</description>
    <pubDate>Thu, 29 Apr 2004 09:11:02 GMT</pubDate>
    <dc:creator>Claudio Cilloni</dc:creator>
    <dc:date>2004-04-29T09:11:02Z</dc:date>
    <item>
      <title>start service when bootup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262699#M11747</link>
      <description>I want to run the script when system boot up , I tried to add to the file /etc/inittab like below , but still can't do that , could suggest what is wrong ? thx.&lt;BR /&gt;&lt;BR /&gt;MFG1:3:once:/home/EE/startdb</description>
      <pubDate>Thu, 29 Apr 2004 07:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262699#M11747</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-04-29T07:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: start service when bootup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262700#M11748</link>
      <description>You have 2 ways:&lt;BR /&gt;1) add a row to inittab specifying:&lt;BR /&gt;mscl:23456:once:/path/to/script&lt;BR /&gt;&lt;BR /&gt;where "&lt;BR /&gt; mscl  - label&lt;BR /&gt; 23456 - list of runlevels where tu run file&lt;BR /&gt; once  - run this file once&lt;BR /&gt;&lt;BR /&gt;and then reload inittab issuing&lt;BR /&gt;  #init q&lt;BR /&gt;&lt;BR /&gt;2) if the script is a kind of service you may prefer to copy the script in /etc/init.d adding the following lines at the beginning of the file:&lt;BR /&gt;---begin quote---&lt;BR /&gt;#&lt;BR /&gt;# chkconfig: 235 99 02&lt;BR /&gt;#&lt;BR /&gt;---end quote---&lt;BR /&gt;The chkconfig manual says:&lt;BR /&gt;&lt;BR /&gt;This says that the random script should be started in levels 2,  3,  4,&lt;BR /&gt;       and 5, that its start priority should be 99, and that its stop priority&lt;BR /&gt;       should be 02. &lt;BR /&gt;&lt;BR /&gt;Then tell to the system to start this file at boot:&lt;BR /&gt;#chkconfig FILENAME on&lt;BR /&gt;&lt;BR /&gt;Then the system will issue a &lt;BR /&gt;#/etc/init.d/FILENAME start&lt;BR /&gt;after processing all files in /etc/rc?.d/ with start priority  less than 99&lt;BR /&gt;and a &lt;BR /&gt;#/etc/init.d/FILENAME stop&lt;BR /&gt;after processing all files in /etc/rc?.d/ with stop priority less than 02&lt;BR /&gt;&lt;BR /&gt;for further info &lt;BR /&gt;#man chkconfig&lt;BR /&gt;#man inittab&lt;BR /&gt;Peace, R</description>
      <pubDate>Thu, 29 Apr 2004 07:31:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262700#M11748</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-04-29T07:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: start service when bootup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262701#M11749</link>
      <description>Hi,&lt;BR /&gt;I don't have idea about the linux but maybe what you are doing is wrong.&lt;BR /&gt;In hp the configuration file is kept in /etc/rc.config.d/filename.&lt;BR /&gt;The execution scripts are in /sbin/init.d/filename and this (execution script) is linked to /sbin/rc3.d/S340filename&lt;BR /&gt;where S=start 340 = sequence&lt;BR /&gt;Similarly&lt;BR /&gt;The same script will be linked to &lt;BR /&gt;/sbin/rc2.d/K560filename&lt;BR /&gt;This will kill the service while restarting.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The above concept is tru for any unix but the directories are different.</description>
      <pubDate>Thu, 29 Apr 2004 07:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262701#M11749</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-04-29T07:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: start service when bootup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262702#M11750</link>
      <description>If you have some strange libs you may use onli 2 chars in the unique id field.&lt;BR /&gt;&lt;BR /&gt;Try to&lt;BR /&gt;mf:3:once:/home/EE/startdb&lt;BR /&gt;&lt;BR /&gt;and end file with a nice &lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;Peace, R.&lt;BR /&gt;&lt;BR /&gt;&lt;/ENTER&gt;</description>
      <pubDate>Thu, 29 Apr 2004 07:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262702#M11750</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-04-29T07:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: start service when bootup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262703#M11751</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Just a quick thought, but I notice that your script is in /home, normally this would be a filesystem all of its' own, if this is the case, you will want to make sure that this filesystem is mounted before it is run in the inittab. This is especially true if it's an NFS mount, like our homes as this isn't mounted until networking is started!&lt;BR /&gt;&lt;BR /&gt;Just a thought!</description>
      <pubDate>Thu, 29 Apr 2004 08:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262703#M11751</guid>
      <dc:creator>Michael Williams_6</dc:creator>
      <dc:date>2004-04-29T08:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: start service when bootup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262704#M11752</link>
      <description>the file /etc/rc.d/rc.local (in Redhat machines) is executed after the startup sequence. you can add your commands in this file in order to execute them at every boot.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Claudio</description>
      <pubDate>Thu, 29 Apr 2004 09:11:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/start-service-when-bootup/m-p/3262704#M11752</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2004-04-29T09:11:02Z</dc:date>
    </item>
  </channel>
</rss>

