[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webmin-l
Subject:    Re: [webmin-l] Comment on creating a new UPSTART SERVICE
From:       "Jamie Cameron" <jcameron () webmin ! com>
Date:       2013-07-30 0:00:43
Message-ID: 1375142443.3666 () webmin ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


   It's odd that the system behaves differently on reboot vs a cold boot.
   For this script that didn't start properly, was it a old-style init script
   in /etc/init.d , or an upstart script in /etc/init ?

   On 29/Jul/2013 11:28 Francisco Leovey <fleovey@yahoo.com> wrote ..

   Please google about the problem in Ubuntu 11 after a power loss - it boots
   differently
   And believe me, in Ubuntu the new service will not run as created using
   Webmin UNLESS you do manually the  update-rc.d
   From: Andrey Repin <anrdaemon@freemail.ru>
   To:   Francisco   Leovey   <fleovey@yahoo.com>;   Webmin   users  list
   <webadmin-list@lists.sourceforge.net>
   Sent: Monday, July 29, 2013 11:56 AM
   Subject: Re: [webmin-l] Comment on creating a new UPSTART SERVICE
   Greetings, Francisco Leovey!
   > Hello Jamie
   >
   > I am using Webmin 1.620 on Ubuntu 11.04
   >
   > I created a new upstart service and was surprised that in would not run on
   a reboot after power loss, but it did run after a normal reboot
   >
   > Googling I found that for Ubuntu level 11 on it seems you need to run a
   program called
   >
   >     update-rc.d <filename> defaults
   >
   > in order to make the service  work on all boots.
   >
   > Maybe you can add this for Ubuntu users?
   update-rc.d has nothing to do with upstart.
   And I fail to see, how booting system after power loss is different from
   normal booting.
   --
   WBR,
   Andrey Repin ([1]anrdaemon@freemail.ru) 29.07.2013, <18:54>
   Sorry for my terrible english...


   1. file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=anrdaemon%40freemail%2Eru

[Attachment #5 (text/html)]

<p>It's odd that the system behaves differently on reboot vs a cold boot. <br /><br \
/>For this script that didn't start properly, was it a old-style init script in \
/etc/init.d , or an upstart script in /etc/init ?&nbsp;</p>  <p>On 29/Jul/2013 11:28 \
Francisco Leovey &lt;fleovey@yahoo.com&gt; wrote .. </p>
  <blockquote type="cite"> 
    <div style="color: #000000; background-color: #ffffff; font-family: arial, \
                helvetica, sans-serif; font-size: 12pt;">
      <div sab="59796"><span sab="59797">Please google about the problem in Ubuntu 11 \
after a power loss - it boots differently</span></div>  <div sab="59796"><span \
sab="59797"></span> </div>  <div sab="59796"><span sab="59797">And believe me, in \
Ubuntu the new service will not run as created using Webmin UNLESS you do manually \
the&nbsp; update-rc.d </span></div>  <div sab="59796"><span sab="59797"></span> \
</div>  <div sab="59796"><span sab="59797"></span> </div>
      <div sab="59799"><br sab="59800" /></div> 
      <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" \
                sab="59801"> 
        <div style="font-family: 'times new roman', 'new york', times, serif; \
font-size: 12pt;" sab="59802">   <div dir="ltr" sab="59803"> 
            <div style="margin: 5px 0px; padding: 0px; border: 1px solid #cccccc; \
height: 0px; line-height: 0; font-size: 0px;" class="hr" sab="59804" \
readonly="readonly"></div> <font size="2" face="Arial" sab="59805"> <strong \
sab="59806"><span style="font-weight: bold;" sab="59807">From:</span></strong> Andrey \
Repin &lt;anrdaemon@freemail.ru&gt;<br sab="59808" /> <strong sab="59809"><span \
style="font-weight: bold;" sab="59810">To:</span></strong> Francisco Leovey \
&lt;fleovey@yahoo.com&gt;; Webmin users list \
&lt;webadmin-list@lists.sourceforge.net&gt; <br sab="59811" /> <strong \
sab="59812"><span style="font-weight: bold;" sab="59813">Sent:</span></strong> \
Monday, July 29, 2013 11:56 AM<br sab="59814" /> <strong sab="59815"><span \
style="font-weight: bold;" sab="59816">Subject:</span></strong> Re: [webmin-l] \
Comment on creating a new UPSTART SERVICE<br sab="59817" /> </font>   </div> 
          <div class="y_msg_container" sab="59818"><br sab="59819" />Greetings, \
Francisco Leovey!<br sab="59820" /><br sab="59821" />&gt; Hello Jamie<br sab="59822" \
/>&gt; &nbsp;<br sab="59823" />&gt; I am using Webmin 1.620 on Ubuntu 11.04<br \
sab="59824" />&gt; &nbsp;<br sab="59825" />&gt; I created a new upstart service and \
was surprised that in would not run on a reboot after power loss, but it did run \
after a normal reboot<br sab="59826" />&gt; &nbsp;<br sab="59827" />&gt; Googling I \
found that for Ubuntu level 11 on it seems you need to run a program called<br \
sab="59828" />&gt; &nbsp;<br sab="59829" />&gt; &nbsp;&nbsp;&nbsp; update-rc.d \
&lt;filename&gt; defaults<br sab="59830" />&gt; &nbsp;<br sab="59831" />&gt; in order \
to make&nbsp;the service &nbsp;work on all boots.<br sab="59832" />&gt; &nbsp;<br \
sab="59833" />&gt; Maybe you can add this for Ubuntu users?<br sab="59834" /><br \
sab="59835" />update-rc.d has nothing to do with upstart.<br sab="59836" />And I fail \
to s  ee, how booting system after power loss is different from<br sab="59837" \
/>normal booting.<br sab="59838" /><br sab="59839" /><br sab="59840" />--<br \
sab="59841" />WBR,<br sab="59842" />Andrey Repin (<a \
href="reply_mail.cgi?new=1&amp;to=anrdaemon%40freemail%2Eru" sab="59843" \
ymailto="mailto:anrdaemon@freemail.ru">anrdaemon@freemail.ru</a>) 29.07.2013, \
&lt;18:54&gt;<br sab="59844" /><br sab="59845" />Sorry for my terrible english...<br \
sab="59846" /><br sab="59847" /></div>   </div> 
      </div> 
    </div>
  </blockquote><br />



------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic