SABnzbdplus will not start on boot but running the init.d script runs fine












9














I am running the Ubuntu 12.04 server edition (static LAN IP) and was tying to install SABnzbdplus using the apt as per instructions here:
Ubuntu PPA Repository



Installation has gone smoothly and the server downloads etc no problem! The problem is that I have edited /etc/default/sabnzbdplus as the directions provided to:



# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.

# [required] user or uid of account to run the program as:
USER=omar

# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
CONFIG=

# [optional] hostname/ip and port number to listen on:
HOST=0.0.0.0
PORT=8080

# [optional] extra command line options, if any:
EXTRAOPTS=


My (omar) runlevel is N 2.



Not quite sure what to do because executing:
/etc/init.d/sabnzbdplus
Works fine and error free.



Not sure what to do here. Advice and assistance would be greatly appreciated!



Thanks,










share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    9














    I am running the Ubuntu 12.04 server edition (static LAN IP) and was tying to install SABnzbdplus using the apt as per instructions here:
    Ubuntu PPA Repository



    Installation has gone smoothly and the server downloads etc no problem! The problem is that I have edited /etc/default/sabnzbdplus as the directions provided to:



    # This file is sourced by /etc/init.d/sabnzbdplus
    #
    # When SABnzbd+ is started using the init script, the
    # --daemon option is always used, and the program is
    # started under the account of $USER, as set below.
    #
    # Each setting is marked either "required" or "optional";
    # leaving any required setting unconfigured will cause
    # the service to not start.

    # [required] user or uid of account to run the program as:
    USER=omar

    # [optional] full path to the configuration file of your choice;
    # otherwise, the default location (in $USER's home
    # directory) is used:
    CONFIG=

    # [optional] hostname/ip and port number to listen on:
    HOST=0.0.0.0
    PORT=8080

    # [optional] extra command line options, if any:
    EXTRAOPTS=


    My (omar) runlevel is N 2.



    Not quite sure what to do because executing:
    /etc/init.d/sabnzbdplus
    Works fine and error free.



    Not sure what to do here. Advice and assistance would be greatly appreciated!



    Thanks,










    share|improve this question
















    bumped to the homepage by Community 2 days ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      9












      9








      9


      0





      I am running the Ubuntu 12.04 server edition (static LAN IP) and was tying to install SABnzbdplus using the apt as per instructions here:
      Ubuntu PPA Repository



      Installation has gone smoothly and the server downloads etc no problem! The problem is that I have edited /etc/default/sabnzbdplus as the directions provided to:



      # This file is sourced by /etc/init.d/sabnzbdplus
      #
      # When SABnzbd+ is started using the init script, the
      # --daemon option is always used, and the program is
      # started under the account of $USER, as set below.
      #
      # Each setting is marked either "required" or "optional";
      # leaving any required setting unconfigured will cause
      # the service to not start.

      # [required] user or uid of account to run the program as:
      USER=omar

      # [optional] full path to the configuration file of your choice;
      # otherwise, the default location (in $USER's home
      # directory) is used:
      CONFIG=

      # [optional] hostname/ip and port number to listen on:
      HOST=0.0.0.0
      PORT=8080

      # [optional] extra command line options, if any:
      EXTRAOPTS=


      My (omar) runlevel is N 2.



      Not quite sure what to do because executing:
      /etc/init.d/sabnzbdplus
      Works fine and error free.



      Not sure what to do here. Advice and assistance would be greatly appreciated!



      Thanks,










      share|improve this question















      I am running the Ubuntu 12.04 server edition (static LAN IP) and was tying to install SABnzbdplus using the apt as per instructions here:
      Ubuntu PPA Repository



      Installation has gone smoothly and the server downloads etc no problem! The problem is that I have edited /etc/default/sabnzbdplus as the directions provided to:



      # This file is sourced by /etc/init.d/sabnzbdplus
      #
      # When SABnzbd+ is started using the init script, the
      # --daemon option is always used, and the program is
      # started under the account of $USER, as set below.
      #
      # Each setting is marked either "required" or "optional";
      # leaving any required setting unconfigured will cause
      # the service to not start.

      # [required] user or uid of account to run the program as:
      USER=omar

      # [optional] full path to the configuration file of your choice;
      # otherwise, the default location (in $USER's home
      # directory) is used:
      CONFIG=

      # [optional] hostname/ip and port number to listen on:
      HOST=0.0.0.0
      PORT=8080

      # [optional] extra command line options, if any:
      EXTRAOPTS=


      My (omar) runlevel is N 2.



      Not quite sure what to do because executing:
      /etc/init.d/sabnzbdplus
      Works fine and error free.



      Not sure what to do here. Advice and assistance would be greatly appreciated!



      Thanks,







      init.d






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 21 '12 at 21:49









      Jorge Castro

      36k105422617




      36k105422617










      asked Jul 21 '12 at 8:49









      Omar MirOmar Mir

      203138




      203138





      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          The guide forgot



          sudo update-rc.d sabnzbdplus defaults


          This command will add the links at the correct runlevels so that sabnzbdplus starts and stops when booting, rebooting, shutting down, etc.



          edit: if you get the message that those links are already in place have a look at this question



          edit2: or this one






          share|improve this answer























          • I tried that and it didn't work. I just switched to Debian and all works well.
            – Omar Mir
            Jan 2 '13 at 1:11










          • Oh that's too bad, glad you got it working though!
            – Gerhard Burger
            Jan 2 '13 at 9:20











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f166278%2fsabnzbdplus-will-not-start-on-boot-but-running-the-init-d-script-runs-fine%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The guide forgot



          sudo update-rc.d sabnzbdplus defaults


          This command will add the links at the correct runlevels so that sabnzbdplus starts and stops when booting, rebooting, shutting down, etc.



          edit: if you get the message that those links are already in place have a look at this question



          edit2: or this one






          share|improve this answer























          • I tried that and it didn't work. I just switched to Debian and all works well.
            – Omar Mir
            Jan 2 '13 at 1:11










          • Oh that's too bad, glad you got it working though!
            – Gerhard Burger
            Jan 2 '13 at 9:20
















          0














          The guide forgot



          sudo update-rc.d sabnzbdplus defaults


          This command will add the links at the correct runlevels so that sabnzbdplus starts and stops when booting, rebooting, shutting down, etc.



          edit: if you get the message that those links are already in place have a look at this question



          edit2: or this one






          share|improve this answer























          • I tried that and it didn't work. I just switched to Debian and all works well.
            – Omar Mir
            Jan 2 '13 at 1:11










          • Oh that's too bad, glad you got it working though!
            – Gerhard Burger
            Jan 2 '13 at 9:20














          0












          0








          0






          The guide forgot



          sudo update-rc.d sabnzbdplus defaults


          This command will add the links at the correct runlevels so that sabnzbdplus starts and stops when booting, rebooting, shutting down, etc.



          edit: if you get the message that those links are already in place have a look at this question



          edit2: or this one






          share|improve this answer














          The guide forgot



          sudo update-rc.d sabnzbdplus defaults


          This command will add the links at the correct runlevels so that sabnzbdplus starts and stops when booting, rebooting, shutting down, etc.



          edit: if you get the message that those links are already in place have a look at this question



          edit2: or this one







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:24









          Community

          1




          1










          answered Jan 1 '13 at 20:53









          Gerhard BurgerGerhard Burger

          7,18333056




          7,18333056












          • I tried that and it didn't work. I just switched to Debian and all works well.
            – Omar Mir
            Jan 2 '13 at 1:11










          • Oh that's too bad, glad you got it working though!
            – Gerhard Burger
            Jan 2 '13 at 9:20


















          • I tried that and it didn't work. I just switched to Debian and all works well.
            – Omar Mir
            Jan 2 '13 at 1:11










          • Oh that's too bad, glad you got it working though!
            – Gerhard Burger
            Jan 2 '13 at 9:20
















          I tried that and it didn't work. I just switched to Debian and all works well.
          – Omar Mir
          Jan 2 '13 at 1:11




          I tried that and it didn't work. I just switched to Debian and all works well.
          – Omar Mir
          Jan 2 '13 at 1:11












          Oh that's too bad, glad you got it working though!
          – Gerhard Burger
          Jan 2 '13 at 9:20




          Oh that's too bad, glad you got it working though!
          – Gerhard Burger
          Jan 2 '13 at 9:20


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f166278%2fsabnzbdplus-will-not-start-on-boot-but-running-the-init-d-script-runs-fine%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

          is 'sed' thread safe

          How to make a Squid Proxy server?