apache2.service failed to start after upgrade

Discussion in 'Installation/Configuration' started by JIMCBYRNE, Sep 28, 2019.

Tags:
  1. JIMCBYRNE

    JIMCBYRNE New Member HowtoForge Supporter

    ● apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sat 2019-09-28 18:49:06 IST; 10min ago
    Process: 13742 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS)
    Process: 15710 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

    Sep 28 18:49:06 serv1 systemd[1]: Starting The Apache HTTP Server...
    Sep 28 18:49:06 serv1 apachectl[15710]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconf
    Sep 28 18:49:06 serv1 apachectl[15710]: Action 'start' failed.
    Sep 28 18:49:06 serv1 apachectl[15710]: The Apache error log may have more information.
    Sep 28 18:49:06 serv1 systemd[1]: apache2.service: Control process exited, code=exited status=1
    Sep 28 18:49:06 serv1 systemd[1]: Failed to start The Apache HTTP Server.
    Sep 28 18:49:06 serv1 systemd[1]: apache2.service: Unit entered failed state.
    Sep 28 18:49:06 serv1 systemd[1]: apache2.service: Failed with result 'exit-code'.


    journalctl -xe
    ([email protected]::1) [ERROR] Can't open /etc/pure-ftpd/welcome.msg

    can anybody help thank you
     
  2. JIMCBYRNE

    JIMCBYRNE New Member HowtoForge Supporter

    Can anybody please help me out with the above post thank you
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the apache error.log file to see if it contains more errors. And what did you do related to the web server before apache started to fail?
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You did not say what kind of upgrade that was.
    Code:
    systemctl --state=failed
    systemctl status apache2
    systemctl start apache2
     
  5. JIMCBYRNE

    JIMCBYRNE New Member HowtoForge Supporter

    Hi
    Sorry for the delay in getting back.
    I updated ispconfig3 to the latest version and have not made any other changes to the server everything was perfect before the update.

    Reconfigure Crontab? (yes,no) [yes]:
    Updating Crontab
    Restarting services ...
    Job for apache2.service failed because the control process exited with error code.
    See "systemctl status apache2.service" and "journalctl -xe" for details.
    Update finished.
    I will check the apache logs
    thank you all
     
  6. JIMCBYRNE

    JIMCBYRNE New Member HowtoForge Supporter

    apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Wed 2019-10-02 21:38:07 IST; 3min 36s ago
    Process: 1892 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

    Oct 02 21:38:07 serv1 systemd[1]: Starting The Apache HTTP Server...
    Oct 02 21:38:07 serv1 apachectl[1892]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfi
    Oct 02 21:38:07 serv1 apachectl[1892]: Action 'start' failed.
    Oct 02 21:38:07 serv1 apachectl[1892]: The Apache error log may have more information.
    Oct 02 21:38:07 serv1 systemd[1]: apache2.service: Control process exited, code=exited status=1
    Oct 02 21:38:07 serv1 systemd[1]: Failed to start The Apache HTTP Server.
    Oct 02 21:38:07 serv1 systemd[1]: apache2.service: Unit entered failed state.
    Oct 02 21:38:07 serv1 systemd[1]: apache2.service: Failed with result 'exit-code'.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the apache error.log file to see if it contains more errors.
     

Share This Page