systemd looking for update-rc.d when I try to enable redis service in Ubuntu 14.04 The Next...

Return the Closest Prime Number

Can a single photon have an energy density?

How does practicing restraint and performing actions of merit purify the mind?

Implement the Thanos sorting algorithm

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

WOW air has ceased operation, can I get my tickets refunded?

What happens if you roll doubles 3 times then land on "Go to jail?"

How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?

Trouble understanding the speech of overseas colleagues

Where to find order of arguments for default functions

How to count occurrences of text in a file?

Why do professional authors make "consistency" mistakes? And how to avoid them?

Term for the "extreme-extension" version of a straw man fallacy?

Does it take more energy to get to Venus or to Mars?

How to use tikz in fbox?

Need some help with wall behind rangetop

How should I support this large drywall patch?

How can I quit an app using Terminal?

Why does C# sound extremely flat when saxophone is tuned to G?

What do "high sea" and "carry" mean in this sentence?

Describing a person. What needs to be mentioned?

How to make a software documentation "officially" citable?

What is the point of a new vote on May's deal when the indicative votes suggest she will not win?

Does the Brexit deal have to be agreed by both Houses?



systemd looking for update-rc.d when I try to enable redis service in Ubuntu 14.04



The Next CEO of Stack OverflowI can't figure out why my systemd service fails to create a /var/run/redisI cannot enable hibernate in Ubuntu 14.04Apache2 fails to start on boot with Ubuntu 16.04How to add commands to be run before a systemd-controlled system service?How to change path of syslog file from /var/log to /opt/log?How to change cron log level?redis-server.service: Failed with result 'timeout'. - More errors listed insidehow do I make “/sys/kernel/mm/transparent_hugepage/defrag” never status to close the THP warningInstall Redis-Server on Ubuntu 16.04 LTS minimalHow can I troubleshoot a mount issue when moving to Systemd (14.04 > 16.04)?












0















I was trying to install redis from source in Ubuntu 14.04 and Ubuntu 16.04.
I did followed everything exactly from this tutorial.



Only difference was that my logfile path was /redis/logs/redis-server.log instead of /var/log/redis.log in redis.conf file.



It worked perfectly in Ubuntu 16.04 but in Ubuntu 14.04, while enabling redis.service through command sudo systemctl enable redis, systemd started searching for init file and and tried to enable through update-rc.d rather than usual method i.e. creating a soft link of /etc/systemd/system/redis.service file in /etc/systemd/system/multi-user.target.wants directory. Of course, it couldn't because there was no init file for redis.



Later, I changed the path of logfile to /var/log/redis/redis-server.log in Ubuntu 14 only and it fixed the problem. My question is why this happened? Is there some dependency of systemd on logfile location? What changed in Ubuntu 16?









share







New contributor




adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I was trying to install redis from source in Ubuntu 14.04 and Ubuntu 16.04.
    I did followed everything exactly from this tutorial.



    Only difference was that my logfile path was /redis/logs/redis-server.log instead of /var/log/redis.log in redis.conf file.



    It worked perfectly in Ubuntu 16.04 but in Ubuntu 14.04, while enabling redis.service through command sudo systemctl enable redis, systemd started searching for init file and and tried to enable through update-rc.d rather than usual method i.e. creating a soft link of /etc/systemd/system/redis.service file in /etc/systemd/system/multi-user.target.wants directory. Of course, it couldn't because there was no init file for redis.



    Later, I changed the path of logfile to /var/log/redis/redis-server.log in Ubuntu 14 only and it fixed the problem. My question is why this happened? Is there some dependency of systemd on logfile location? What changed in Ubuntu 16?









    share







    New contributor




    adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I was trying to install redis from source in Ubuntu 14.04 and Ubuntu 16.04.
      I did followed everything exactly from this tutorial.



      Only difference was that my logfile path was /redis/logs/redis-server.log instead of /var/log/redis.log in redis.conf file.



      It worked perfectly in Ubuntu 16.04 but in Ubuntu 14.04, while enabling redis.service through command sudo systemctl enable redis, systemd started searching for init file and and tried to enable through update-rc.d rather than usual method i.e. creating a soft link of /etc/systemd/system/redis.service file in /etc/systemd/system/multi-user.target.wants directory. Of course, it couldn't because there was no init file for redis.



      Later, I changed the path of logfile to /var/log/redis/redis-server.log in Ubuntu 14 only and it fixed the problem. My question is why this happened? Is there some dependency of systemd on logfile location? What changed in Ubuntu 16?









      share







      New contributor




      adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I was trying to install redis from source in Ubuntu 14.04 and Ubuntu 16.04.
      I did followed everything exactly from this tutorial.



      Only difference was that my logfile path was /redis/logs/redis-server.log instead of /var/log/redis.log in redis.conf file.



      It worked perfectly in Ubuntu 16.04 but in Ubuntu 14.04, while enabling redis.service through command sudo systemctl enable redis, systemd started searching for init file and and tried to enable through update-rc.d rather than usual method i.e. creating a soft link of /etc/systemd/system/redis.service file in /etc/systemd/system/multi-user.target.wants directory. Of course, it couldn't because there was no init file for redis.



      Later, I changed the path of logfile to /var/log/redis/redis-server.log in Ubuntu 14 only and it fixed the problem. My question is why this happened? Is there some dependency of systemd on logfile location? What changed in Ubuntu 16?







      14.04 16.04 systemd log redis





      share







      New contributor




      adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 mins ago









      adeel109adeel109

      12




      12




      New contributor




      adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      adeel109 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          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
          });


          }
          });






          adeel109 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129593%2fsystemd-looking-for-update-rc-d-when-i-try-to-enable-redis-service-in-ubuntu-14%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          adeel109 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          adeel109 is a new contributor. Be nice, and check out our Code of Conduct.













          adeel109 is a new contributor. Be nice, and check out our Code of Conduct.












          adeel109 is a new contributor. Be nice, and check out our Code of Conduct.
















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129593%2fsystemd-looking-for-update-rc-d-when-i-try-to-enable-redis-service-in-ubuntu-14%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...