how to restore a ispconfig backup? No access to Ispconfig, website down

Discussion in 'Installation/Configuration' started by mitab, Jul 26, 2018.

  1. mitab

    mitab New Member

    Hi there,
    after updating to version 3.1.12 I don't have any access to ispconfig and every website is down.
    how I can restore the backup?

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The first step in such a situation is to check what the failure is and not to restore a backup. A backup is restored only if a failure is unfixable.

    As you say that neither websites nor ispconfig is reachable, then the most likely reason is that apache does not start. Try to restart apache and if this does not work, then take a look at the apache error.log to find out why it fails.
     
  3. mitab

    mitab New Member

    Thank you for your quick reply. I tried to restart apache, but I have this message

    " sudo /etc/init.d/apache2 start
    [....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
    See "systemctl status apache2.service" and "journalctl -xe" for details.
    failed! "
    But I do:
    systemctl status apache2
    ‚óŹ apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Thu 2018-07-26 12:57:23 CEST; 2min 3s ago
    Process: 27670 ExecStop=/usr/sbin/apachectl stop (code=exited, status=1/FAILURE)
    Process: 10783 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
    Process: 31659 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
    Main PID: 32052 (code=exited, status=0/SUCCESS)

    Jul 26 12:57:23 vpsxxxxx systemd[1]: Starting The Apache HTTP Server...
    Jul 26 12:57:23 vpsxxxxx apachectl[31659]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sit
    es-enabled/000-ispconfig.conf:73
    Jul 26 12:57:23 vpsxxxxx apachectl[31659]: AH00526: Syntax error on line 160 of /etc/apache2/sites-enabled/100-xxxxxxxxxxxx.ch.vhost:
    Jul 26 12:57:23 vpsxxxxxx apachectl[31659]: SSLCertificateFile: file '/var/www/clients/client1/web7/ssl/xxxxxxxxxx.ch-le.crt' does not exist
    or is empty
    Jul 26 12:57:23 vpsxxxxxx apachectl[31659]: Action 'start' failed.
    Jul 26 12:57:23 vpsxxxxxx apachectl[31659]: The Apache error log may have more information.
    Jul 26 12:57:23 vpsxxxxxx systemd[1]: apache2.service: Control process exited, code=exited status=1
    Jul 26 12:57:23 vpsxxxxxx systemd[1]: Failed to start The Apache HTTP Server.
    Jul 26 12:57:23 vpsxxxxxx systemd[1]: apache2.service: Unit entered failed state.
    Jul 26 12:57:23 vpsxxxxxx systemd[1]: apache2.service: Failed with result 'exit-code'.
     
    Last edited: Jul 26, 2018
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    rm /etc/apache2/sites-enabled/100-magiclean.ch.vhost:

    and then start apache again. This website has a n error in it's config, it seems as if someone removed the SSL cert of that site.
     
  5. mitab

    mitab New Member

    thanks all works.

    I have a question for you.
    I would like to learn how a webserver works, could you recommend to me some books or a online course? something that can give me the bases...

    thank you a lot
     

Share This Page