[ERROR] Exception occurred: ISPConfigOSException -> Command resolvconf -u ....

Discussion in 'Installation/Configuration' started by Elvé, Sep 30, 2023.

Tags:
  1. Elvé

    Elvé New Member

    Hi,

    I get the error indicated into title :
    " [ERROR] Exception occurred: ISPConfigOSException -> Command resolvconf -u 2>&1 failed. (/ispconfig.ai.php:15) "
    while i am trying to install ISPConfig 3 on a fresch debian 12. Any help will be appreciated.

    -1- What i have done :

    -a- Install a fresch debian 11 with SSH only.
    -b- upgrade from debian 11 to debian 12 according to this guide : "how-to-upgrade-from-debian-11-to-debian-12"

    -c- try to install ISPConfig via the guide and adapted command to my needs :

    GUIDE : " Perfect Server Automated ISPConfig 3 Installation on Debian 10 to Debian 12, Ubuntu 20.04 and Ubuntu 22.04 "

    I need only ISPConfig to manage web site under Ngnix i have understand that the following line could be the good one to serve my case :
    ( i have already 2 dns servers who are running fine and are accessible from this server via DIG command )

    COMMAND : get -O - https://get.ispconfig.org | sh -s -- --debug --no-dns --no-mail --no-mailman --roundcube --use-nginx --use-ftp-ports=40110-40210 --use-php=5.6,7.0,7.1,7.2,7.3,7.4,8.0 --unattended-upgrades

    -2- During the installation i get the TWO following warning and errors :

    -a-
    sh: 1: postconf: not found
    [WARN] Command postconf -e "inet_interfaces = loopback-only" failed. (/lib/os/class.ISPConfigDebianOS.inc.php:1462)

    -b-
    [ERROR] Exception occurred: ISPConfigOSException -> Command resolvconf -u 2>&1 failed. (/ispconfig.ai.php:15)

    At this level the script stopped the installation.

    -3- According to READ before posting instructions i provide the following results :
    Code:
    COMMAND : php -v
    PHP 8.2.10 (cli) (built: Sep  4 2023 08:12:29) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.2.10, Copyright (c) Zend Technologies
        with Zend OPcache v8.2.10, Copyright (c), by Zend Technologies
    
    Code:
    COMMAND : lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 12 (bookworm)
    Release:        12
    Codename:       bookworm
    
    Code:
    COMMAND : wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php" && php -q htf-common-issues.php
    
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 12 (bookworm)
    
    [INFO] uptime:  14:54:14 up 1 day, 15:41,  1 user,  load average: 0.00, 0.00, 0.00
    
    [INFO] memory:
                   total       utilisé      libre     partagé tamp/cache   disponible
    Mem:            31Gi       926Mi        29Gi       676Ki       1.8Gi        30Gi
    Échange:       974Mi          0B       974Mi
    
    [INFO] systemd failed services status:
      UNIT LOAD ACTIVE SUB DESCRIPTION
    0 loaded units listed.
    
    [INFO] No ISPConfig found.
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.2.10
    
    ##### PORT CHECK #####
    
    [WARN] Port 80 (Webserver) seems NOT to be listening
    [WARN] Port 443 (Webserver SSL) seems NOT to be listening
    [WARN] Port 143 (IMAP server) seems NOT to be listening
    [WARN] Port 993 (IMAP server SSL) seems NOT to be listening
    [WARN] Port 110 (POP3 server) seems NOT to be listening
    [WARN] Port 995 (POP3 server SSL) seems NOT to be listening
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    [WARN] Port 21 (FTP server) seems NOT to be listening
    [WARN] Port 22 (SSH server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.
    
    ##### RUNNING SERVER PROCESSES #####
    
    [WARN] I could not determine which web server is running.
    [INFO] I found the following mail server(s):
            Postfix (PID 49344)
    [WARN] I could not determine which pop3 server is running.
    [WARN] I could not determine which imap server is running.
    [WARN] I could not determine which ftp server is running.
    
    ##### LISTENING PORTS #####
    (seulement              ()
    Adresse         (distante)
    [anywhere]:3306         (49431/mariadbd)
    [anywhere]:25           (49344/master)
    [localhost]:953         (49501/named)
    [localhost]:953         (49501/named)
    [localhost]:953         (49501/named)
    [localhost]:953         (49501/named)
    [localhost]:953         (49501/named)
    [localhost]:953         (49501/named)
    [localhost]:953         (49501/named)
    [localhost]:953         (49501/named)
    [localhost]:53          (49501/named)
    [localhost]:53          (49501/named)
    [localhost]:53          (49501/named)
    [localhost]:53          (49501/named)
    [localhost]:53          (49501/named)
    [localhost]:53          (49501/named)
    [localhost]:53          (49501/named)
    [localhost]:53          (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:53              (49501/named)
    ***.***.***.***:18              (678/sshd:)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:953          (49501/named)
    *:*:*:*::*:3306         (49431/mariadbd)
    *:*:*:*::*:25           (49344/master)
    
    
    
    
    ##### IPTABLES #####
    
    
    
    
    ##### LET'S ENCRYPT #####
    
    
    I add the following information :

    ----------------
    Code:
    COMMAND : systemctl status resolvconf.service
    ● resolvconf.service - Nameserver information manager
         Loaded: loaded (/lib/systemd/system/resolvconf.service; enabled; preset: enabled)
         Active: active (exited) since Sat 2023-09-30 15:59:32 CEST; 1h 14min left
           Docs: man:resolvconf(8)
       Main PID: 44086 (code=exited, status=0/SUCCESS)
            CPU: 41ms
    
    sep 30 15:59:32 XXXXXXXXX systemd[1]: Started resolvconf.service - Nameserver information manager.
    sep 30 15:59:32 XXXXXXXXX resolvconf[44091]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
    
    ------------------

    Any help or idea will be appreciated. Thank you in advance.
    Regards,
    Elvé
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Why such a roundabout way? Why install Debian 11 when you immediately upgrade to Debian 12? Download Debian 12 installer, and install 12 directly:
    https://www.howtoforge.com/tutorial/debian-minimal-server/
    It may well be you complicated matters and thus ISPConfig fails. If you follow that minimal server guide and then use ISPConfig autoinstall you are at least using a supported system and method.
     
    ahrasis likes this.
  3. ghnet

    ghnet New Member

    Hello,
    error is due to a change in the system and a missing update in the auto-installer, so another step is needed here for debian 12.

    2 solutions:
    a) ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf + reboot
    b) apt install openresolv + reboot (my personal favorit)

    BR,
    Guenter
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    ISPConfig auto installer may only work flawlessly on clean system, thus wise, you should follow @Taleman's advice.
     

Share This Page