Error while install in both 22.04 and 24.04

Discussion in 'Installation/Configuration' started by Vogelsay, Dec 2, 2024 at 5:52 PM.

  1. Vogelsay

    Vogelsay New Member

    Followed "
    Perfect Server Automated ISPConfig 3 Installation on Debian 11 and Debian 12, Ubuntu 22.04 and Ubuntu 24.04"
    Getting the following error in both 22.04 and 24.04
    "[ERROR] Exception occurred: ISPConfigOSException -> Could not read ISPConfig settings file. (/ispconfig.ai.php:15)"
    Any advise?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be an issue with the underlying system, then. Add the following options to the install command to see more details:

    --debug --interactive
     
  3. Vogelsay

    Vogelsay New Member

    Giving new try with your instruction
     
  4. Vogelsay

    Vogelsay New Member

    I did a mistake in hosts , added domain IP address instead of 127.0.0.1
    Logged successfully
     
  5. Vogelsay

    Vogelsay New Member

    Thank you
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    But the instructions are about 127.0.1.1 for the server hostname and not 127.0.0.1. Be careful to not mix that up.
     
  7. Vogelsay

    Vogelsay New Member

    The following is the hostname
    127.0.0.1 localhost
    127.0.0.1 hosting.24x7monitor.xyz hosting

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    158.220.98.52 vmi1508005.contaboserver.net vmi1508005
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    This file is wrong; see the tutorial. As I said, you mixed up 127.0.1.1 with 127.0.0.1. That's two completely different I addresses for different purposes and mixing them up will cause a malfunction of your server.

    Correct would be:


    Code:
    The following is the hostname
    127.0.0.1 localhost
    127.0.1.1 hosting.24x7monitor.xyz hosting
    
    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    158.220.98.52 vmi1508005.contaboserver.net vmi1508005
    Assumed that hosting.24x7monitor.xyz is the server hostname which is returned when you run:

    hostname -f

    command.
     
    ahrasis likes this.
  9. Vogelsay

    Vogelsay New Member

    Thank you for clarification, modified the record
    yes hostname -f return " hosting.24x7monitor.xyz"
    hostname return "hosing"
    24x7monitor.xyz is register with whois.com and name server is ns1.whois.com , 2 and 3
    I created site 24x7monitor.xyz without client also created DNS zone nameserver ns1.24x7monitor.xyz and ns24x7monitor.xyz it looks now site accessible. I have another domain in whois.com what nameserver should to be ns1.24x7monitor.xyz or whois nameserver

    Thank your help in advance
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    The nameserver of a domain is the one that you have set at the domain registry. Do not create DNS records or a zone on a different server, like your ISPConfig server, if that server is not the authoritative DNS server of that domain.
     
    ahrasis likes this.
  11. Vogelsay

    Vogelsay New Member

    Many thanks , it working fine now, only 1 point remaining, while testing email in mail-testing it show 10/10, also tested email outgoing / incoming in odoo is passed successfully with port 993 - SSL/TLS for incoming and 465 - SSL/TLS encryption only, the point is in thunderbird giving error with port 993 and success with 143 which is not secure.

    is there any advise to solve this point?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

  13. Vogelsay

    Vogelsay New Member

    Looks I did another mistake, I obtained SSL for mail.llumu.com through certbot that is why it passed in odoo , but in thunderbird not passed as there is a mismatch between the requested name (mail.llumu.com) and the common names listed in the certificate. The common name is llumu.com, with subject alternative names (SANs) including llumu.com and www.llumu.com.
     
  14. Vogelsay

    Vogelsay New Member

    Do you think, while create a site not request for SSL and after create a site obtain SSL through certbot will be a correct action?
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    You seem to have done quite a few things wrong after installing ISPConfig. First, all recent ISPConfig systems use acme.sh and not certbot. Installing a conflicting LE client like certbot will give you all kinds of SSL cert issuing and renewal problems from now on. Then, never manually issue a cert for a website created in ISPConfig; this totally messes up the LE issuing system. Then, the LE cert of the system is for the hostname. It seems as if you also messed that up by issuing a cert manually. If you want to use the SSL cert of a website for the hostname as well, then you must follow this procedure: https://www.howtoforge.com/securing...server-with-a-valid-lets-encrypt-certificate/

    That's the direct way to destroy the system's LE issuing and website management. Never issue a website certificate manually, let ISPConfig do that, and never install a second conflicting LE client.
     
    ahrasis likes this.
  16. Vogelsay

    Vogelsay New Member

    lOl , I'm genius of destroying , Thank you for value information
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem is this: if you install a hosting control panel like ISPConfig., CPanel, Plesk, or DirectAdmin, then the panel configures and manages all services that are part of the hosting setup like mail, web, SSL certs and DNS of your system to work as a well-configured and perfectly working unit. If you start to throw out pieces or replace them with other incompatible software or settings, then the system will start to fail. Hosting control panels are meant to manage your system, so if you install one, then you should use it to configure your system and avoid messing with the services manually. On the other hand, if you want to manage everything manually like issuing SSL certs, creating websites and mailboxes, then don't install a hosting control panel. Both ways are perfectly fine and depend on what the system shall be used for and the knowledge of the admin, but it's a decision that must be made before start setting things up, as you can't alter that easily at a later stage.
     
    ahrasis likes this.
  18. Vogelsay

    Vogelsay New Member

    Totally agree, its time to destroy the server as it was for testing and prepare production one
     
  19. Vogelsay

    Vogelsay New Member

    Hello
    Is there any frontend GUI theme for customers registration ?
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page