Ubuntu 18.04 unable to reinstall apache2 default runlevels link removed by mistakewhile configuring apache2 server in ubuntu 12.04ltsApache, problem Failed to start LSB: Apache2 web serverJob for apache2.service failed because the control process exited with error code.Apache2 HTTP Ubuntu Won't Restartsite inaccesible when i run a vhostUbuntu 18.04 Error with apache2

Creating 123456 in the fewest number of steps

Fill your bucket with 2020

How to understand "No she bludgering well won't!"

Moving into check for a draw as black, why is it illegal? Comparison to Racing Kings

How bad is 1. e4 c5 2. Nf3 d6 3. a3?

Can every manifold be turned into a Lie group?

find ".ts" but not ".d.ts"

How can communicating in human language with an unconscious alien species be treated as an attack?

Is it possible to conserve the total kinetic energy of a system, but not its momentum?

Can a weapon be "unsheathable"?

SQL Server Truncates Transaction Logs with Copy Only Backups

Lock screen if I leave my seat?

"Government transplant" been tried? At what scale, and what were the results?

Do any printing presses exist in the Forgotten Realms?

Would it have been possible to re-fuel the planes in the air?

How are the Van der Waals constants a and b related to each other?

What is the best way to teach JavaScript functions to middle schoolers?

What sort of professional boundary should I set with other students when I am a grader for a class I will be taking?

What does it mean to play "positionally", and how do you train that?

Can I rescind my offer of working on weekends after last day?

What game has this black main menu?

How scammy are cashback sites?

Can the U.S. Senate hold an impeachment trial if the House "passes" but does not "deliver" articles of impeachment?

3.3M resistors not registering on multimeter - are they faulty?



Ubuntu 18.04 unable to reinstall apache2 default runlevels link removed by mistake


while configuring apache2 server in ubuntu 12.04ltsApache, problem Failed to start LSB: Apache2 web serverJob for apache2.service failed because the control process exited with error code.Apache2 HTTP Ubuntu Won't Restartsite inaccesible when i run a vhostUbuntu 18.04 Error with apache2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















I recently used sudo update-rc.d -f apache2 remove than I did sudo apt purge apache2 and sudo apt remove apache2. I'm trying to reinstall apache2, but I'm getting this error message:



See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, action "start" failed.
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Wed 2019-10-02 22:27:14 EDT; 4ms ago
Process: 5242 ExecStart=/usr/sbin/apachectl start (code=exited, status=127)


so I did systemctl status apache2.service and got this as the result:



Oct 02 22:27:14 user apachectl[5242]: /usr/sbin/apachectl: 174: /usr/sbin/apachectl: /usr/sbin/apache2: not found
Oct 02 22:27:14 user apachectl[5242]: Action 'start' failed.
Oct 02 22:27:14 user apachectl[5242]: The Apache error log may have more information.
Oct 02 22:27:14 user systemd[1]: apache2.service: Control process exited, code=exited status=127
Oct 02 22:27:14 user systemd[1]: apache2.service: Failed with result 'exit-code'.
Oct 02 22:27:14 user systemd[1]: Failed to start The Apache HTTP Server.


I'm not familiar with default runlevels and don't want to make things worse than they already are right now. Would any be able to provide some explanation on what I did wrong when uninstalling and removing. I know removing has something to do with the service link (not even sure what link means here). A solution to reinstall and explanation of my mistake would be appreciated, thank you in advance.










share|improve this question































    0


















    I recently used sudo update-rc.d -f apache2 remove than I did sudo apt purge apache2 and sudo apt remove apache2. I'm trying to reinstall apache2, but I'm getting this error message:



    See "systemctl status apache2.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript apache2, action "start" failed.
    ● apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Drop-In: /lib/systemd/system/apache2.service.d
    └─apache2-systemd.conf
    Active: failed (Result: exit-code) since Wed 2019-10-02 22:27:14 EDT; 4ms ago
    Process: 5242 ExecStart=/usr/sbin/apachectl start (code=exited, status=127)


    so I did systemctl status apache2.service and got this as the result:



    Oct 02 22:27:14 user apachectl[5242]: /usr/sbin/apachectl: 174: /usr/sbin/apachectl: /usr/sbin/apache2: not found
    Oct 02 22:27:14 user apachectl[5242]: Action 'start' failed.
    Oct 02 22:27:14 user apachectl[5242]: The Apache error log may have more information.
    Oct 02 22:27:14 user systemd[1]: apache2.service: Control process exited, code=exited status=127
    Oct 02 22:27:14 user systemd[1]: apache2.service: Failed with result 'exit-code'.
    Oct 02 22:27:14 user systemd[1]: Failed to start The Apache HTTP Server.


    I'm not familiar with default runlevels and don't want to make things worse than they already are right now. Would any be able to provide some explanation on what I did wrong when uninstalling and removing. I know removing has something to do with the service link (not even sure what link means here). A solution to reinstall and explanation of my mistake would be appreciated, thank you in advance.










    share|improve this question



























      0













      0









      0








      I recently used sudo update-rc.d -f apache2 remove than I did sudo apt purge apache2 and sudo apt remove apache2. I'm trying to reinstall apache2, but I'm getting this error message:



      See "systemctl status apache2.service" and "journalctl -xe" for details.
      invoke-rc.d: initscript apache2, action "start" failed.
      ● apache2.service - The Apache HTTP Server
      Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
      Drop-In: /lib/systemd/system/apache2.service.d
      └─apache2-systemd.conf
      Active: failed (Result: exit-code) since Wed 2019-10-02 22:27:14 EDT; 4ms ago
      Process: 5242 ExecStart=/usr/sbin/apachectl start (code=exited, status=127)


      so I did systemctl status apache2.service and got this as the result:



      Oct 02 22:27:14 user apachectl[5242]: /usr/sbin/apachectl: 174: /usr/sbin/apachectl: /usr/sbin/apache2: not found
      Oct 02 22:27:14 user apachectl[5242]: Action 'start' failed.
      Oct 02 22:27:14 user apachectl[5242]: The Apache error log may have more information.
      Oct 02 22:27:14 user systemd[1]: apache2.service: Control process exited, code=exited status=127
      Oct 02 22:27:14 user systemd[1]: apache2.service: Failed with result 'exit-code'.
      Oct 02 22:27:14 user systemd[1]: Failed to start The Apache HTTP Server.


      I'm not familiar with default runlevels and don't want to make things worse than they already are right now. Would any be able to provide some explanation on what I did wrong when uninstalling and removing. I know removing has something to do with the service link (not even sure what link means here). A solution to reinstall and explanation of my mistake would be appreciated, thank you in advance.










      share|improve this question














      I recently used sudo update-rc.d -f apache2 remove than I did sudo apt purge apache2 and sudo apt remove apache2. I'm trying to reinstall apache2, but I'm getting this error message:



      See "systemctl status apache2.service" and "journalctl -xe" for details.
      invoke-rc.d: initscript apache2, action "start" failed.
      ● apache2.service - The Apache HTTP Server
      Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
      Drop-In: /lib/systemd/system/apache2.service.d
      └─apache2-systemd.conf
      Active: failed (Result: exit-code) since Wed 2019-10-02 22:27:14 EDT; 4ms ago
      Process: 5242 ExecStart=/usr/sbin/apachectl start (code=exited, status=127)


      so I did systemctl status apache2.service and got this as the result:



      Oct 02 22:27:14 user apachectl[5242]: /usr/sbin/apachectl: 174: /usr/sbin/apachectl: /usr/sbin/apache2: not found
      Oct 02 22:27:14 user apachectl[5242]: Action 'start' failed.
      Oct 02 22:27:14 user apachectl[5242]: The Apache error log may have more information.
      Oct 02 22:27:14 user systemd[1]: apache2.service: Control process exited, code=exited status=127
      Oct 02 22:27:14 user systemd[1]: apache2.service: Failed with result 'exit-code'.
      Oct 02 22:27:14 user systemd[1]: Failed to start The Apache HTTP Server.


      I'm not familiar with default runlevels and don't want to make things worse than they already are right now. Would any be able to provide some explanation on what I did wrong when uninstalling and removing. I know removing has something to do with the service link (not even sure what link means here). A solution to reinstall and explanation of my mistake would be appreciated, thank you in advance.







      18.04 software-installation apache2 runlevel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 3 at 2:45









      PachucaPachuca

      478 bronze badges




      478 bronze badges























          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/4.0/"u003ecc by-sa 4.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%2f1178233%2fubuntu-18-04-unable-to-reinstall-apache2-default-runlevels-link-removed-by-mista%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
















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1178233%2fubuntu-18-04-unable-to-reinstall-apache2-default-runlevels-link-removed-by-mista%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

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?