[solved] vhost error due to wrong ipv6 address

Discussion in 'ISPConfig 3 Priority Support' started by daniel712, Mar 31, 2023.

  1. daniel712

    daniel712 Member HowtoForge Supporter

    Hi friends,
    in one vhost (subdomain) i encountered a strange bug: When i setup the vhost or do a change: ispconfig always puts in the ipv6 prefix only (e.g. whithout the 1 at the end): Like so
    listen [2001:0db8:1234::]:80;
    Nginx rises an error and the vhost ends up in .err
    After manually insert the ::1 everything works fine.
    Anybody had that before?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. daniel712

    daniel712 Member HowtoForge Supporter

    Thanks for the hint!
    I checked all ip adresses on all websites (regarding the FAQ Topic): All are set on one unique ip (ipv4 + ipv6).
    First i thought to test without IP's set (all on *), but in any case i will need in ipv6 address to create an ipv6 vhost, so that's no solution... i will leave the IPs in and wait for further troubleshooting.

    Thanks for any further ideas!

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 11 (bullseye)
     
    [INFO] uptime:  15:18:04 up 2 days, 44 min,  5 users,  load average: 0,01, 0,01, 0,00
     
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:            31Gi       2,3Gi        23Gi       113Mi       5,5Gi        28Gi
    Swap:          975Mi          0B       975Mi    
     
    [INFO] systemd failed services status:
      UNIT LOAD ACTIVE SUB DESCRIPTION
    0 loaded units listed.
     
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.9p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.4.33
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.4.33
    
    ##### PORT CHECK #####
    
    [WARN] Port 22 (SSH server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Unknown process (nginx:) (PID 688403)
    [INFO] I found the following mail server(s):
            Postfix (PID 1312)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 890)
    [INFO] I found the following imap server(s):
            Dovecot (PID 890)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 1254)
    
           
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
    
     
    Last edited: Apr 1, 2023
  4. daniel712

    daniel712 Member HowtoForge Supporter

    Found the cause for the problem:
    I did put in my IPv6 Prefix on the Server Config page. That causes ispconfig to put in only the prefix in the listen address of new vhosts, which is not working and cause an nginx error.
    When i did remove the prefix now, which is obviously not required according to the manual, it works again without complaints.

    Inspite of that, i think, it is worth fixing this bug...
     
    Th0m likes this.

Share This Page