Network installation broken, PHP can't resolve names

Discussion in 'ISPConfig 3 Priority Support' started by conductive, Dec 20, 2025.

  1. conductive

    conductive Member HowtoForge Supporter

    Been attempting to use this auto Installer for days. It is broken and does not work.
    Debian 12 NGINX.

    wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades

    I was able to fix one resolver issue by adding a path but now I have another.

    [INFO] Installing phpMyAdmin
    PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.phpmyadmin.net failed: Temporary failure in name resolution in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 263
    PHP Warning: file_get_contents(https://www.phpmyadmin.net/home_page/version.txt): Failed to open stream: php_network_getaddresses: getaddrinfo for www.phpmyadmin.net failed: Temporary failure in name resolution in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 263
    PHP Warning: Undefined array key 0 in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 265
    [ERROR] Exception occurred: ISPConfigOSException -> Command chown -R www-data:www-data '/var/lib/phpmyadmin' ; cd /tmp ; rm -f phpMyAdmin--all-languages.tar.gz ; wget https://files.phpmyadmin.net/phpMyAdmin//phpMyAdmin--all-languages.tar.gz 2>/dev/null && tar xfz phpMyAdmin--all-languages.tar.gz && cp -a phpMyAdmin--all-languages/* /usr/share/phpmyadmin/ && rm -f phpMyAdmin--all-languages.tar.gz && rm -rf phpMyAdmin--all-languages failed. (/ispconfig.ai.php:15)
    root@mr1:/etc# ping www.phpmyadmin.net
    PING 1115546720.rsc.cdn77.org (89.187.180.93) 56(84) bytes of data.
    64 bytes from 89.187.180.93: icmp_seq=1 ttl=53 time=12.2 ms
    64 bytes from 89.187.180.93: icmp_seq=2 ttl=53 time=12.3 ms

    Not sure what is going on with this Auto Installer but after several days of messing with it it does not appear to be working. Is there a better way to install ISP config. Not sure why the installer is more problematic than a manual install has ever been.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not the autoinstaller that is broken; it's your server that has network problems. Your system is not able to resolve names correctly. You probably have IPv6 networking enabled on your system (on the operating system/network level), but IPv6 is not working. PHP (independent of ISPConfig or the auto installer) prefers IPv6 these days. So if you have IPv6 enabled, but it's broken, PHP must fail. And that's what you see. Now. So either you fix IPv6 and name resolution on your system, or disable IPv6. But having IPv6 enabled but not working can not work.

    Nothing, it works perfectly fine. I've installed several systems yesterday and today, all installs work flawlessly as usual.

    It is not. If networking on your server is broken, and that's currently the case, then this is not even related to the use of the auto-installer. And having a server without a properly working network makes no sense as all other software that uses the network will fail too. But of course, you can install ISPConfig manually by using the old perfect server guides, just to find out that your setup will fail after the installation due to network and name resolving problems.

    If you had fixed that, as you claim, you wouldn't get name resolving errors from PHP. So whatever you fixed, it did not solved your issue. You posted the proof above:

    Code:
    PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.phpmyadmin.net failed: Temporary failure in name resolution
    So PHP (not the auto installer) is not able to open files over the network because name resolution is not working on your system.
     
    Last edited: Dec 20, 2025
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Btw. the error messages above show you even which command you can use to test if you fixed networking, create a php script like test.php with this content:

    Code:
    <?php
    echo file_get_contents("https://www.phpmyadmin.net/home_page/version.txt");
    
    and then run it with:

    Code:
    php test.php
    If it works, you will get this output:

    Code:
    5.2.3
    2025-10-08
    https://files.phpmyadmin.net/phpMyAdmin/5.2.3/phpMyAdmin-5.2.3-all-languages.zip
     
  4. conductive

    conductive Member HowtoForge Supporter

    OK, sounds like I need to get the networking in order. Had issues setting up
    204.12.225.98/29 network. Locked up the server network several times. What should the interfaces file look like?

    I currently have
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    source /etc/network/interfaces.d/*

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    allow-hotplug enp2s0
    iface enp2s0 inet static
    address 204.12.225.98/29
    gateway 204.12.225.97
    dns-nameservers 8.8.8.8
    dns-search nocix.net

    up ip addr add 204.12.225.99/29 dev enp2s0
    up ip addr add 204.12.225.100/29 dev enp2s0
    up ip addr add 204.12.225.101/29 dev enp2s0
    up ip addr add 204.12.225.102/29 dev enp2s0

    down ip addr del 204.12.225.102/29 dev enp2s0
    down ip addr del 204.12.225.101/29 dev enp2s0
    down ip addr del 204.12.225.100/29 dev enp2s0
    down ip addr del 204.12.225.99/29 dev enp2s0
     
  5. conductive

    conductive Member HowtoForge Supporter

    I am just going to reset this and get a fresh load. The only IPV6 configuration appears to be hosts file.

    root@mr1:/etc# cat hosts
    127.0.1.1 mr1.MyDomain.com mr1
    # 204.12.225.98 s254703.nocix.net s254703

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
     
  6. remkoh

    remkoh Well-Known Member HowtoForge Supporter

    You're one of many lately blaming the installer and/or ispconfig for having problems while the real problem is network issues on the server in question.
    It really puzzles me how you guys think you will ever be able to manage and troubleshoot a server when even the most basic knowledge isn't there.

    Disable ipv6 globally in your server if you have no ipv6 addresses.
    Code:
    sudo sysctl --write net.ipv6.conf.all.disable_ipv6=1
    (taken from one of the similar posts that could have been found using the search function)

    The hosts file is for nothing more than local resolving prior to dns and has nothing to do with ipv6 config of networkinterfaces.
    By the way, what happened to the line "127.0.0.1 localhost" in that file?

    If you're absolutely sure your ipv4 config is in order than you can try again and the installer will run just fine.
     
    ahrasis likes this.
  7. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Just beware that the command sudo sysctl --write net.ipv6.conf.all.disable_ipv6=1 is used in Linux only to temporarily disable IPv6 on all network interfaces.

    For thoroughness, it is often recommended to run additional commands for the default and loopback interfaces as well:
    Code:
    sudo sysctl --write net.ipv6.conf.default.disable_ipv6=1
    sudo sysctl --write net.ipv6.conf.lo.disable_ipv6=1
    Verify that IPv6 has been disabled by checking the value in the relevant /proc file via command like cat /proc/sys/net/ipv6/conf/all/disable_ipv6 and if it shows an output of 1, it confirms that it is disabled.

    However, it is pertinent to consider that the changes made with sysctl --write (or sysctl -w) are not permanent and will be reset after a system reboot, so to permanently disable IPv6, you need to edit the system configuration files, such as /etc/sysctl.conf or a file in /etc/sysctl.d/, and add the configuration lines there.

    To re-enable IPv6 after using this command, run the same commands but set the value to 0. Re-enabling may sometimes require a network service restart or a full reboot to take effect on all interfaces.

    The above is a modified answer from Google Search Ai. ;)
     
    remkoh likes this.
  8. conductive

    conductive Member HowtoForge Supporter

    Same thing and If disabling IPV6 is required perhaps it should be a script option.
    [INFO] Stopping Rspamd.
    [INFO] (Re)starting Bind.
    [INFO] Disabling spamassassin daemon.
    [ERROR] Exception occurred: ISPConfigOSException -> Command resolvconf -u 2>&1 failed. (/ispconfig.ai.php:15)
     
  9. conductive

    conductive Member HowtoForge Supporter

    root@mr1:/# cat /proc/sys/net/ipv6/conf/all/disable_ipv6

    1
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Also, you are using this exact command, no other command-line flags?

    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades
    
     
  12. conductive

    conductive Member HowtoForge Supporter

    NO I am not sure and that is why I keep posting what I have. All I know is what has worked before, It appears that things have changed and Yes confirming hosts and interfaces files is probably the right direction. Additionally I do not see multiple IP examples. AS Far as education goes I am currently in school and it is all windows and CompTIA crap. Not sure how any body with an education makes a network run.
     
  13. conductive

    conductive Member HowtoForge Supporter

    Yes and I just retried it. Same error.
    [INFO] Stopping Rspamd.
    [INFO] (Re)starting Bind.
    [INFO] Disabling spamassassin daemon.
    [ERROR] Exception occurred: ISPConfigOSException -> Command resolvconf -u 2>&1 failed. (/ispconfig.ai.php:15)
     
  14. conductive

    conductive Member HowtoForge Supporter

    root@mr1:/etc# cat network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    source /etc/network/interfaces.d/*

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # Primary interface with multiple static IPs
    auto enp2s0
    iface enp2s0 inet static
    address 204.12.225.98/29
    gateway 204.12.225.97 # Usually the provider's gateway — confirm with your ISP!
    dns-nameservers 8.8.8.8 1.1.1.1 # Optional: replace with your preferred DNS servers

    iface enp2s0 inet static
    address 204.12.225.97/29

    iface enp2s0 inet static
    address 204.12.225.99/29

    iface enp2s0 inet static
    address 204.12.225.100/29

    iface enp2s0 inet static
    address 204.12.225.101/29

    iface enp2s0 inet static
    address 204.12.225.102/29
    root@mr1:/etc#
    root@mr1:/etc# cat hosts
    127.0.1.1 mr1.MyDomain.com mr1
    # 204.12.225.98 s254703.nocix.net s254703

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
     
    Last edited: Dec 21, 2025
  15. conductive

    conductive Member HowtoForge Supporter

    root@mr1:/# resolvconf -u
    run-parts: /etc/resolvconf/update.d/unbound exited with return code 1
     
  16. conductive

    conductive Member HowtoForge Supporter

    I do not know what is going on with this script. Looks like a bunch of failed login attempts.

    root@mr1:/etc# wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades --debug

    [INFO] Stopping Rspamd.
    [INFO] (Re)starting Bind.
    [INFO] Disabling spamassassin daemon.
    [ERROR] Exception occurred: ISPConfigOSException -> Command resolvconf -u 2>&1 failed. (/ispconfig.ai.php:15)
    root@mr1:/etc#

    root@mr1:/var/log# resolvconf -u
    run-parts: /etc/resolvconf/update.d/unbound exited with return code 1
    root@mr1:/var/log#

    Failed password for invalid user username from 185.156.73.233 port 58046 ssh2
    2025-12-21T10:58:58.881157-06:00 mr1 sshd[43130]: Connection closed by invalid user username 185.156.73.233 port 58046 [preauth]
    2025-12-21T11:00:16.256772-06:00 mr1 sshd[43132]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=193.46.255.99 user=root
    2025-12-21T11:00:17.804639-06:00 mr1 sshd[43132]: Failed password for root from 193.46.255.99 port 35498 ssh2
    2025-12-21T11:00:20.364293-06:00 mr1 sshd[43132]: Failed password for root from 193.46.255.99 port 35498 ssh2
    2025-12-21T11:00:23.875916-06:00 mr1 sshd[43132]: Failed password for root from 193.46.255.99 port 35498 ssh2
    2025-12-21T11:00:25.605660-06:00 mr1 sshd[43132]: Received disconnect from 193.46.255.99 port 35498:11: [preauth]
    2025-12-21T11:00:25.605913-06:00 mr1 sshd[43132]: Disconnected from authenticating user root 193.46.255.99 port 35498 [preauth]
    2025-12-21T11:00:25.606371-06:00 mr1 sshd[43132]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=193.46.255.99 user=root
    2025-12-21T11:00:28.252246-06:00 mr1 sshd[43134]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=193.46.255.99 user=root
    2025-12-21T11:00:29.780056-06:00 mr1 sshd[43134]: Failed password for root from 193.46.255.99 port 62766 ssh2
    2025-12-21T11:00:32.735665-06:00 mr1 sshd[43134]: Failed password for root from 193.46.255.99 port 62766 ssh2
    2025-12-21T11:00:36.372471-06:00 mr1 sshd[43134]: Failed password for root from 193.46.255.99 port 62766 ssh2
    2025-12-21T11:00:37.985197-06:00 mr1 sshd[43134]: Received disconnect from 193.46.255.99 port 62766:11: [preauth]
    2025-12-21T11:00:37.985452-06:00 mr1 sshd[43134]: Disconnected from authenticating user root 193.46.255.99 port 62766 [preauth]
    2025-12-21T11:00:37.985991-06:00 mr1 sshd[43134]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=193.46.255.99 user=root
    2025-12-21T11:00:39.861081-06:00 mr1 sshd[43136]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=193.46.255.99 user=root
    2025-12-21T11:00:41.233309-06:00 mr1 sshd[43136]: Failed password for root from 193.46.255.99 port 61320 ssh2
    2025-12-21T11:00:44.156497-06:00 mr1 sshd[43136]: Failed password for root from 193.46.255.99 port 61320 ssh2
    2025-12-21T11:00:47.489102-06:00 mr1 sshd[43136]: Failed password for root from 193.46.255.99 port 61320 ssh2
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    The question that you should ask yourself is what's going on with your server and not what's going on with the auto-installer. The auto installer works perfectly fine, installed several systems today using it. You have an issue with name resolving, which makes the Linux standard command 'resolvconf' fail, which then makes the auto-installer stop. According to your error messages, the program unbound fails on your system, but the auto-installer has not installed unbound. So you or someone else must have installed it, and it fails now and blocks your server installation.

    You can try uninstalling unbound, then check that name resolving works (alternatively, try to install bind9 using the apt command as the auto-installer would install it later anyway), then run the auto-installer again. If this does not help, you can try the approach that someone described in the installer tutorial comments: https://www.howtoforge.com/comments/ispconfig-autoinstall-debian-ubuntu/

    This is in no way related to your installation problem or ISPconfig or the auto-installer, but I guess you know that? You have been registered here since 2011. What you see there is what you find in the log of any system connected to the internet. This is probably your first server or internet-connected device if you have not seen that yet. Any system with services on well-known ports, especially SSH, is contacted from other systems on the net (bots/scripts/malware), which try to break into your system, trying out common passwords etc. That's why you use a secure password for SSH root user, or even better, key-based authentication. So what you posted there is absolutely normal.
     
  18. conductive

    conductive Member HowtoForge Supporter

    Sorry Till,
    I keep trying to get this to work and am not having good luck. I started with a fresh install got all of my ip addreses working/enabled but still end up with the same problem. At one point I added resolvconf to the path but I still had issues. I figured I would stop here before I mess up this configuration.

    root@mr1:/etc# wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades --i-know-what-i-am-doing
    --2025-12-26 19:22:51-- https://get.ispconfig.org/
    Resolving get.ispconfig.org (get.ispconfig.org)... 172.67.75.112, 104.26.10.246, 104.26.11.246, ...
    Connecting to get.ispconfig.org (get.ispconfig.org)|172.67.75.112|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2037 (2.0K) [application/octet-stream]
    Saving to: 'STDOUT'

    - 100%[===================>] 1.99K --.-KB/s in 0s

    2025-12-26 19:22:52 (15.0 MB/s) - written to stdout [2037/2037]

    PHP cli missing, trying to install.
    Selecting previously unselected package dialog.
    (Reading database ... 31983 files and directories currently installed.)
    Preparing to unpack .../dialog_1.3-20230209-1_amd64.deb ...
    Unpacking dialog (1.3-20230209-1) ...
    Setting up dialog (1.3-20230209-1) ...
    Processing triggers for man-db (2.11.2-2) ...
    Selecting previously unselected package libsodium23:amd64.
    (Reading database ... 32141 files and directories currently installed.)
    Preparing to unpack .../0-libsodium23_1.0.18-1_amd64.deb ...
    Unpacking libsodium23:amd64 (1.0.18-1) ...
    Selecting previously unselected package psmisc.
    Preparing to unpack .../1-psmisc_23.6-1_amd64.deb ...
    Unpacking psmisc (23.6-1) ...
    Selecting previously unselected package php-common.
    Preparing to unpack .../2-php-common_2%3a93_all.deb ...
    Unpacking php-common (2:93) ...
    Selecting previously unselected package php8.2-common.
    Preparing to unpack .../3-php8.2-common_8.2.29-1~deb12u1_amd64.deb ...
    Unpacking php8.2-common (8.2.29-1~deb12u1) ...
    Selecting previously unselected package php8.2-opcache.
    Preparing to unpack .../4-php8.2-opcache_8.2.29-1~deb12u1_amd64.deb ...
    Unpacking php8.2-opcache (8.2.29-1~deb12u1) ...
    Selecting previously unselected package php8.2-readline.
    Preparing to unpack .../5-php8.2-readline_8.2.29-1~deb12u1_amd64.deb ...
    Unpacking php8.2-readline (8.2.29-1~deb12u1) ...
    Selecting previously unselected package php8.2-cli.
    Preparing to unpack .../6-php8.2-cli_8.2.29-1~deb12u1_amd64.deb ...
    Unpacking php8.2-cli (8.2.29-1~deb12u1) ...
    Selecting previously unselected package php-cli.
    Preparing to unpack .../7-php-cli_2%3a8.2+93_all.deb ...
    Unpacking php-cli (2:8.2+93) ...
    Setting up libsodium23:amd64 (1.0.18-1) ...
    Setting up psmisc (23.6-1) ...
    Setting up php-common (2:93) ...
    Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer -> /lib/systemd/system/phpsessionclean.timer.
    Setting up php8.2-common (8.2.29-1~deb12u1) ...

    Creating config file /etc/php/8.2/mods-available/calendar.ini with new version

    Creating config file /etc/php/8.2/mods-available/ctype.ini with new version

    Creating config file /etc/php/8.2/mods-available/exif.ini with new version

    Creating config file /etc/php/8.2/mods-available/fileinfo.ini with new version

    Creating config file /etc/php/8.2/mods-available/ffi.ini with new version

    Creating config file /etc/php/8.2/mods-available/ftp.ini with new version

    Creating config file /etc/php/8.2/mods-available/gettext.ini with new version

    Creating config file /etc/php/8.2/mods-available/iconv.ini with new version

    Creating config file /etc/php/8.2/mods-available/pdo.ini with new version

    Creating config file /etc/php/8.2/mods-available/phar.ini with new version

    Creating config file /etc/php/8.2/mods-available/posix.ini with new version

    Creating config file /etc/php/8.2/mods-available/shmop.ini with new version

    Creating config file /etc/php/8.2/mods-available/sockets.ini with new version

    Creating config file /etc/php/8.2/mods-available/sysvmsg.ini with new version

    Creating config file /etc/php/8.2/mods-available/sysvsem.ini with new version

    Creating config file /etc/php/8.2/mods-available/sysvshm.ini with new version

    Creating config file /etc/php/8.2/mods-available/tokenizer.ini with new version
    Setting up php8.2-opcache (8.2.29-1~deb12u1) ...

    Creating config file /etc/php/8.2/mods-available/opcache.ini with new version
    Setting up php8.2-readline (8.2.29-1~deb12u1) ...

    Creating config file /etc/php/8.2/mods-available/readline.ini with new version
    Setting up php8.2-cli (8.2.29-1~deb12u1) ...
    update-alternatives: using /usr/bin/php8.2 to provide /usr/bin/php (php) in auto mode
    update-alternatives: using /usr/bin/phar8.2 to provide /usr/bin/phar (phar) in auto mode
    update-alternatives: using /usr/bin/phar.phar8.2 to provide /usr/bin/phar.phar (phar.phar) in auto mode

    Creating config file /etc/php/8.2/cli/php.ini with new version
    Setting up php-cli (2:8.2+93) ...
    update-alternatives: using /usr/bin/php.default to provide /usr/bin/php (php) in auto mode
    update-alternatives: using /usr/bin/phar.default to provide /usr/bin/phar (phar) in auto mode
    update-alternatives: using /usr/bin/phar.phar.default to provide /usr/bin/phar.phar (phar.phar) in auto mode
    Processing triggers for man-db (2.11.2-2) ...
    Processing triggers for libc-bin (2.36-9+deb12u13) ...
    Processing triggers for php8.2-cli (8.2.29-1~deb12u1) ...
    Selecting previously unselected package libonig5:amd64.
    (Reading database ... 32386 files and directories currently installed.)
    Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ...
    Unpacking libonig5:amd64 (6.9.8-1) ...
    Selecting previously unselected package php8.2-mbstring.
    Preparing to unpack .../php8.2-mbstring_8.2.29-1~deb12u1_amd64.deb ...
    Unpacking php8.2-mbstring (8.2.29-1~deb12u1) ...
    Selecting previously unselected package php-mbstring.
    Preparing to unpack .../php-mbstring_2%3a8.2+93_all.deb ...
    Unpacking php-mbstring (2:8.2+93) ...
    Setting up libonig5:amd64 (6.9.8-1) ...
    Setting up php8.2-mbstring (8.2.29-1~deb12u1) ...

    Creating config file /etc/php/8.2/mods-available/mbstring.ini with new version
    Setting up php-mbstring (2:8.2+93) ...
    Processing triggers for libc-bin (2.36-9+deb12u13) ...
    Processing triggers for php8.2-cli (8.2.29-1~deb12u1) ...
    [INFO] Starting perfect server setup for Debian GNU/Linux 12 (bookworm)
    [INFO] Checking hostname.
    [INFO] Enabling contrib and non-free repositories.
    [INFO] Updating packages
    [INFO] Updated packages
    [INFO] Installing packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, ntp
    [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, ntp
    [INFO] Activating rspamd repository.
    [INFO] Activating sury php repository.
    [INFO] Activating GoAccess repository.
    [INFO] Updating packages (after enabling 3rd party repos).
    [INFO] Updated packages
    [INFO] Installing packages dbconfig-common, postfix, postfix-mysql, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail6, rsyslog
    [INFO] Installed packages dbconfig-common, postfix, postfix-mysql, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail6, rsyslog
    [INFO] Installing packages dovecot-imapd, dovecot-pop3d, dovecot-mysql, dovecot-sieve, dovecot-managesieved, dovecot-lmtpd
    [INFO] Installed packages dovecot-imapd, dovecot-pop3d, dovecot-mysql, dovecot-sieve, dovecot-managesieved, dovecot-lmtpd
    [INFO] Generating MySQL password.
    [INFO] Writing MySQL config files.
    [INFO] Configuring postfix.
    [INFO] Restarting postfix
    [INFO] Configuring rkhunter.
    [INFO] Installing packages software-properties-common, update-inetd, dnsutils, resolvconf, clamav, clamav-daemon, zip, unzip, bzip2, xz-utils, lzip, borgbackup, arj, nomarch, lzop, cabextract, apt-listchanges, libnet-ldap-perl, libauthen-sasl-perl, daemon, libio-string-perl, libio-socket-ssl-perl, libnet-ident-perl, libnet-dns-perl, libdbd-mysql-perl, bind9, rspamd, redis-server, postgrey, p7zip, p7zip-full, unrar-free, lrzip
    [INFO] Installed packages software-properties-common, update-inetd, dnsutils, resolvconf, clamav, clamav-daemon, zip, unzip, bzip2, xz-utils, lzip, borgbackup, arj, nomarch, lzop, cabextract, apt-listchanges, libnet-ldap-perl, libauthen-sasl-perl, daemon, libio-string-perl, libio-socket-ssl-perl, libnet-ident-perl, libnet-dns-perl, libdbd-mysql-perl, bind9, rspamd, redis-server, postgrey, p7zip, p7zip-full, unrar-free, lrzip
    [INFO] Stopping Rspamd.
    [INFO] (Re)starting Bind.
    [INFO] Disabling spamassassin daemon.
    [ERROR] Exception occurred: ISPConfigOSException -> Command resolvconf -u 2>&1 failed. (/ispconfig.ai.php:15)
    root@mr1:/etc#
    root@mr1:/etc# resolvconf -u
    bash: resolvconf: command not found
    root@mr1:/etc# find / -iname resolvconf
    /etc/init.d/resolvconf
    /etc/dhcp/dhclient-enter-hooks.d/resolvconf
    /etc/resolvconf
    /etc/network/if-down.d/resolvconf
    /var/lib/resolvconf
    /usr/sbin/resolvconf
    /usr/lib/resolvconf
    /usr/share/lintian/overrides/resolvconf
    /usr/share/bash-completion/completions/resolvconf
    /usr/share/doc/resolvconf
    /usr/share/resolvconf
    /run/resolvconf
    root@mr1:/etc#
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    How have you become the root user on this system? If you use sudo, take care to use:

    Code:
    sudo -s
    and not just:

    Code:
    sudo
    As your PATH variable is wrong (paths incomplete) in recent Debian versions, when using sudo without -s option. See step 1 of the tutorial: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
     
  20. conductive

    conductive Member HowtoForge Supporter

    I have tried this auto install dozens of times.

    Yes it had an issue in the beginning by using su instead of su - which messed up the paths and caused problems.

    Unfortunately it still does not work as It has a hangup with phpmyadmin or ??
    HP Warning: file_get_contents(https://www.phpmyadmin.net/home_page/version.txt): Failed to open stream: Network is unreachable in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 306
    PHP Warning: Undefined array key 0 in /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php on line 308
    [ERROR] Exception occurred: ISPConfigOSException -> Command chown -R www-data:www-data '/var/lib/phpmyadmin' ; cd /tmp ; rm -f phpMyAdmin--all-languages.tar.gz ; wget https://files.phpmyadmin.net/phpMyAdmin//phpMyAdmin--all-languages.tar.gz 2>/dev/null && tar xfz phpMyAdmin--all-languages.tar.gz && cp -a phpMyAdmin--all-languages/* /usr/share/phpmyadmin/ && rm -f phpMyAdmin--all-languages.tar.gz && rm -rf phpMyAdmin--all-languages failed. (/ispconfig.ai.php:15)

    It appears that phpmy admin is not downloading or ??
    root@mr1:/var/lib/phpmyadmin# ls
    tmp
    root@mr1:/var/lib/phpmyadmin# cd tmp
    root@mr1:/var/lib/phpmyadmin/tmp# ls
    root@mr1:/var/lib/phpmyadmin/tmp#

    Unfortunately the flags do not appear to be working properly since I did not get any meaningful error messages:
    root@mr1:~# wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades --debug --interactive
    root@mr1:/# cat /tmp/ispconfig-ai/var/log/ispconfig.log
    cat: /tmp/ispconfig-ai/var/log/ispconfig.log: No such file or directory

    There is an error log unfortunately it does not appear to provide any useful information
    /root/ispconfig-install-log/ispconfig.log
    root@mr1:/var/lib/phpmyadmin# cat /root/ispconfig-install-log/ispconfig.log
    27.12.2025-18:55:18 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigBaseOS.inc.php" for class "ISPConfigBaseOS"
    27.12.2025-18:55:18 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/class.ISPConfigFunctions.inc.php" for class "ISPConfigFunctions"
    27.12.2025-18:55:18 - /lib/class.ISPConfig.inc.php:442: [INFO] Starting perfect server setup for Debian GNU/Linux 12 (bookworm)
    27.12.2025-18:55:18 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebian12OS.inc.php" for class "ISPConfigDebian12OS"
    27.12.2025-18:55:18 - /lib/class.ISPConfig.inc.php:117: [DEBUG] Trying to autoload class file "/tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php" for class "ISPConfigDebianOS"

    About the only thing I can confirm is that I have been able to properly configure the IPV4 portion of the interfaces file for a 204.12.225.98/29 network
    I have no idea how the ipv6 should look. As the IPV6 may be messing up the phpmyadmin download.

    root@mr1:/# ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
    valid_lft forever preferred_lft forever
    2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 68:05:ca:0f:18:ba brd ff:ff:ff:ff:ff:ff
    inet 204.12.225.98/29 brd 204.12.225.103 scope global enp2s0
    valid_lft forever preferred_lft forever
    inet 204.12.225.99/29 brd 204.12.225.103 scope global secondary enp2s0:0
    valid_lft forever preferred_lft forever
    inet 204.12.225.100/29 brd 204.12.225.103 scope global secondary enp2s0:1
    valid_lft forever preferred_lft forever
    inet 204.12.225.101/29 brd 204.12.225.103 scope global secondary enp2s0:2
    valid_lft forever preferred_lft forever
    inet 204.12.225.102/29 brd 204.12.225.103 scope global secondary enp2s0:3
    valid_lft forever preferred_lft forever
    inet6 fe80::6a05:caff:fe0f:18ba/64 scope link
    valid_lft forever preferred_lft forever
     

Share This Page