Apache2 not loading

Discussion in 'ISPConfig 3 Priority Support' started by satvader, Nov 13, 2018.

  1. satvader

    satvader New Member

    n not make apache to restart and this is the current status, any help will be appreciated!

    [email protected]:/etc/apache2# service apache2 status
    ● apache2.service - LSB: Apache2 web server
    Loaded: loaded (/etc/init.d/apache2)
    Drop-In: /lib/systemd/system/apache2.service.d
    └─forking.conf
    Active: failed (Result: exit-code) since Mon 2018-11-12 20:59:01 PST; 25s ago
    Process: 17054 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

    Nov 12 20:59:01 server1 apache2[17054]: The apache2 configtest failed. ... (warning).
    Nov 12 20:59:01 server1 apache2[17054]: Output of config test was:
    Nov 12 20:59:01 server1 apache2[17054]: AH00548: NameVirtualHost has no effect and will be rem...:73
    Nov 12 20:59:01 server1 apache2[17054]: AH00112: Warning: DocumentRoot [/var/www/okrubbertires...ist
    Nov 12 20:59:01 server1 apache2[17054]: AH00543: apache2: bad user name web6
    Nov 12 20:59:01 server1 apache2[17054]: Action 'configtest' failed.
    Nov 12 20:59:01 server1 apache2[17054]: The Apache error log may have more information.
    Nov 12 20:59:01 server1 systemd[1]: apache2.service: control process exited, code=exited status=1
    Nov 12 20:59:01 server1 systemd[1]: Failed to start LSB: Apache2 web server.
    Nov 12 20:59:01 server1 systemd[1]: Unit apache2.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show in full.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to remove all symlinks with okrubbertires in their name from /etc/apache2/sites-enabled/ folder and then restart apache. Seems as if a site was deleted and a copy of a vhost file is still there.
     
  3. satvader

    satvader New Member

    Till thanks for your help the apache service is back but now I have a another problem all sites are pointing to totalindustires.com, all this happens as we were trying to renew letsencrypts certs, and the webmail is also not working I'm getting this on the page


    <?php
    /*
    +-------------------------------------------------------------------------+
    | Roundcube Webmail IMAP Client |
    | Version 1.1.3 |
    | |
    | Copyright (C) 2005-2015, The Roundcube Dev Team |
    | |
    | This program is free software: you can redistribute it and/or modify |
    | it under the terms of the GNU General Public License (with exceptions |
    | for skins & plugins) as published by the Free Software Foundation, |
    | either version 3 of the License, or (at your option) any later version. |
    | |
    | This file forms part of the Roundcube Webmail Software for which the |
    | following exception is added: Plugins and Skins which merely make |
    | function calls to the Roundcube Webmail Software, and for that purpose |
    | include it by reference shall not be considered modifications of |
    | the software. |
    | |
    | If you wish to use this file in another project or create a modified |
    | version that will not be part of the Roundcube Webmail Software, you |
    | may remove the exception above and use this source code under the |
    | original version of the license. |
    | |
    | This program is distributed in the hope that it will be useful, |
    | but WITHOUT ANY WARRANTY; without even the implied warranty of |
    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
    | GNU General Public License for more details. |
    | |
    | You should have received a copy of the GNU General Public License |
    | along with this program. If not, see http://www.gnu.org/licenses/. |
    | |
    +-------------------------------------------------------------------------+
    | Author: Thomas Bruederli <[email protected]> |
    | Author: Aleksander Machniak <[email protected]> |
    +-------------------------------------------------------------------------+
    */

    // include environment
    require_once 'program/include/iniset.php';

    // init application, start session, init output class, etc.
    $RCMAIL = rcmail::get_instance($GLOBALS['env']);

    // Make the whole PHP output non-cacheable (#1487797)
    $RCMAIL->output->nocacheing_headers();
    $RCMAIL->output->common_headers();

    // turn on output buffering
    ob_start();

    // check if config files had errors
    if ($err_str = $RCMAIL->config->get_error()) {
    rcmail::raise_error(array(
    'code' => 601,
    'type' => 'php',
    'message' => $err_str), false, true);
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ensure that all sites use * or all sites use the IPv4 address in the IPv4 field, don't mix it. If one site has the ipv4 address assigned and all other sites have *, then the site with the IPv4 address will get all traffic. Another possibility for that behavior is that the site which gets all traffic has SSL enabled and working and the other sites do not have active or working SSL, in that case, the site will get all SSL traffic of other sites as well.

    Regarding webmail, seems as if mod_php is not active in apache.
     
  5. satvader

    satvader New Member

    Thanks Till web and mail is working now!!!
     
    till likes this.

Share This Page