The Perfect Server Ubuntu 18.04 Nginx

Discussion in 'Installation/Configuration' started by Angel245, Jul 6, 2019.

  1. Angel245

    Angel245 New Member

    I have followed the directions of this tutorial and receive the following error message when ISPCONFIG is installed:

    "Failed to reload php7.0-fpm.service: Unit php7.0-fpm.service not found."

    The ISPCONFIG panel is not accessible with a "502 Bad Gateway" error message. The NGINX error log states:

    2019/07/06 13:08:31 [crit] 20928#20928: *27 connect() to unix:/var/lib/php7.0-fpm/ispconfig.sock failed (2: No such file or directory) while connecting to upstream, client.
    Failed to reload php7.0-fpm.service: Unit php7.0-fpm.service not found.
    Installation completed.
    [email protected]:/tmp/ispconfig3_install/install# cat /etc/issuecat /etc/os-releasecat: /etc/issuecat: No such file or directory
    NAME="Ubuntu"
    VERSION="18.04.2 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04.2 LTS"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's ok so far. Please also post the result of the command:

    cat /etc/issue

    and do you remember which OS did ispconfig say that it had detected during install?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Just made a test install using the tutorial which you used and it worked without issues, ISPConfig recognized Ubuntu 18.04.2 correctly and configured it for PHP 7.2 and not 7.0.

    As a reference, here the content of the os-release and issue file:

    Code:
    [email protected]:/tmp# cat /etc/issue
    Ubuntu 18.04.2 LTS \n \l
    
    [email protected]:/tmp# cat /etc/os-release
    NAME="Ubuntu"
    VERSION="18.04.2 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04.2 LTS"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    And here then OS detection message from ISPConfig installer which is useful to check if ISPConfig recognized the right OS:

    Code:
    --------------------------------------------------------------------------------
     _____ ___________   _____              __ _         ____
    |_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
      | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
      | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
     _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
     \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                                  __/ |
                                                 |___/
    --------------------------------------------------------------------------------
    
    
    >> Initial configuration
    
    Operating System: Ubuntu 18.04.2 LTS (Bionic Beaver)
    
        Following will be a few questions for primary configuration so be careful.
        Default values are in [brackets] and can be accepted with <ENTER>.
        Tap in "quit" (without the quotes) to stop the installer.
     
  5. Angel245

    Angel245 New Member

    [email protected]:~# cat /etc/issue

    Ubuntu 18.04.1 LTS

    Linux ubuntu 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

    [email protected]:~# cat /etc/os-release
    NAME="Ubuntu"
    VERSION="18.04.2 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04.2 LTS"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
     
  6. Angel245

    Angel245 New Member

Share This Page