Apache2 failed to start failed to start LSB The 2019 Stack Overflow Developer Survey Results Are InUbuntu upgrade from 12.0 to 14.0 failed, apache2 cannot startsmbd (samba daemon) does not listen on ports 139/445Apache, problem Failed to start LSB: Apache2 web serveran issue with apache2 restartFailed to load apache server?Failed to start raise network interface on Ubuntu 16.04services failing to start - control process exited with error codeApache2 HTTP Ubuntu Won't Restartsite inaccesible when i run a vhostUbuntu 18.04 Error with apache2

Does the shape of a die affect the probability of a number being rolled?

Can one be advised by a professor who is very far away?

How to deal with fear of taking dependencies

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Why is the maximum length of OpenWrt’s root password 8 characters?

What is the accessibility of a package's `Private` context variables?

FPGA - DIY Programming

What does ひと匙 mean in this manga and has it been used colloquially?

Shouldn't "much" here be used instead of "more"?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Did 3000BC Egyptians use meteoric iron weapons?

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

Right tool to dig six foot holes?

How to support a colleague who finds meetings extremely tiring?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

The difference between dialogue marks

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

Apparent duplicates between Haynes service instructions and MOT

Geography at the pixel level

Write faster on AT24C32

Have you ever entered Singapore using a different passport or name?

Identify boardgame from Big movie

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

Is bread bad for ducks?



Apache2 failed to start failed to start LSB



The 2019 Stack Overflow Developer Survey Results Are InUbuntu upgrade from 12.0 to 14.0 failed, apache2 cannot startsmbd (samba daemon) does not listen on ports 139/445Apache, problem Failed to start LSB: Apache2 web serveran issue with apache2 restartFailed to load apache server?Failed to start raise network interface on Ubuntu 16.04services failing to start - control process exited with error codeApache2 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















Hi folks today i lost a job because i couldn't solve this error



while i was working with laravel phpmyadmin didn't work and i got error 2002



i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore



here is the error hope you help me fast



 ● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Jul 07 03:11:31 Alex apache2[4035]: *
Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
Hint: Some lines were ellipsized, use -l to show in full.









share|improve this question














bumped to the homepage by Community 4 mins ago


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





















    0















    Hi folks today i lost a job because i couldn't solve this error



    while i was working with laravel phpmyadmin didn't work and i got error 2002



    i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore



    here is the error hope you help me fast



     ● apache2.service - LSB: Apache2 web server
    Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
    Drop-In: /lib/systemd/system/apache2.service.d
    └─apache2-systemd.conf
    Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
    Docs: man:systemd-sysv-generator(8)
    Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

    Jul 07 03:11:31 Alex apache2[4035]: *
    Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
    Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
    Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
    Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
    Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
    Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
    Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
    Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
    Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
    Hint: Some lines were ellipsized, use -l to show in full.









    share|improve this question














    bumped to the homepage by Community 4 mins ago


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

















      0












      0








      0








      Hi folks today i lost a job because i couldn't solve this error



      while i was working with laravel phpmyadmin didn't work and i got error 2002



      i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore



      here is the error hope you help me fast



       ● apache2.service - LSB: Apache2 web server
      Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
      Drop-In: /lib/systemd/system/apache2.service.d
      └─apache2-systemd.conf
      Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
      Docs: man:systemd-sysv-generator(8)
      Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

      Jul 07 03:11:31 Alex apache2[4035]: *
      Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
      Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
      Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
      Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
      Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
      Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
      Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
      Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
      Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
      Hint: Some lines were ellipsized, use -l to show in full.









      share|improve this question














      Hi folks today i lost a job because i couldn't solve this error



      while i was working with laravel phpmyadmin didn't work and i got error 2002



      i have reinstall every thing apache2 php and phpmyadmin but a problem happened with apache2 it cannot start anymore



      here is the error hope you help me fast



       ● apache2.service - LSB: Apache2 web server
      Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
      Drop-In: /lib/systemd/system/apache2.service.d
      └─apache2-systemd.conf
      Active: failed (Result: exit-code) since Fri 2017-07-07 03:11:31 EET; 6ms ago
      Docs: man:systemd-sysv-generator(8)
      Process: 4035 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

      Jul 07 03:11:31 Alex apache2[4035]: *
      Jul 07 03:11:31 Alex apache2[4035]: * The apache2 configtest failed.
      Jul 07 03:11:31 Alex apache2[4035]: Output of config test was:
      Jul 07 03:11:31 Alex apache2[4035]: apache2: Syntax error on line 140 of /e...ry
      Jul 07 03:11:31 Alex apache2[4035]: Action 'configtest' failed.
      Jul 07 03:11:31 Alex apache2[4035]: The Apache error log may have more info...n.
      Jul 07 03:11:31 Alex systemd[1]: apache2.service: Control process exited, c...=1
      Jul 07 03:11:31 Alex systemd[1]: Failed to start LSB: Apache2 web server.
      Jul 07 03:11:31 Alex systemd[1]: apache2.service: Unit entered failed state.
      Jul 07 03:11:31 Alex systemd[1]: apache2.service: Failed with result 'exit-...'.
      Hint: Some lines were ellipsized, use -l to show in full.






      server apache2 php






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 7 '17 at 1:20









      Mohamed ShaabanMohamed Shaaban

      813




      813





      bumped to the homepage by Community 4 mins 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 4 mins 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














          You have a syntax error in your .conf file in line 140.



          That's what the error tells you.



          You can see which .conf file it is if you use the -l like listed in the last line of that message.



          systemctl status apache2.service -l





          share|improve this answer























            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%2f932769%2fapache2-failed-to-start-failed-to-start-lsb%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














            You have a syntax error in your .conf file in line 140.



            That's what the error tells you.



            You can see which .conf file it is if you use the -l like listed in the last line of that message.



            systemctl status apache2.service -l





            share|improve this answer



























              0














              You have a syntax error in your .conf file in line 140.



              That's what the error tells you.



              You can see which .conf file it is if you use the -l like listed in the last line of that message.



              systemctl status apache2.service -l





              share|improve this answer

























                0












                0








                0







                You have a syntax error in your .conf file in line 140.



                That's what the error tells you.



                You can see which .conf file it is if you use the -l like listed in the last line of that message.



                systemctl status apache2.service -l





                share|improve this answer













                You have a syntax error in your .conf file in line 140.



                That's what the error tells you.



                You can see which .conf file it is if you use the -l like listed in the last line of that message.



                systemctl status apache2.service -l






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 7 '17 at 7:35









                ZiazisZiazis

                1,913419




                1,913419



























                    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%2f932769%2fapache2-failed-to-start-failed-to-start-lsb%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

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»