[SOLVED] assigning IPv6 also adds /64 breaking apache

I think I reported this once before and was fixed but it seems to be back again.

When assigning any shared or private IPv6 to a domain it also wants to add the /64 to then of the address

Updating IP addresses in virtual server romulus.borgnet.us

Changing IP address of virtual website ..
.. done

Saving server details ..
.. done

Applying web server configuration ..
.. failed! An Apache configuration error was detected :

Syntax error on line 1 of /etc/apache2/sites-enabled/0-romulus.borgnet.us.conf:
The address or port is invalid
Action 'configtest' failed.
The Apache error log may have more information.

What it writes is the following which is wrong...

and
NameVirtualHost [2001:470:4b:20a::1/64]:80

Status: 
Closed (fixed)

Comments

That's odd, I wasn't able to re-produce this.

I assume that the new IP entered did not have /64 at the end?

I made sure that /64 was not added in any template

Can you grep for that address in all the domain files in /etc/webmin/virtual-server/domains and let me know what you find? I suspect that Virtualmin incorrectly thinks that the IPv6 address for some domain has a /64 at the end.

The only domain that had the /64 was the only one I activated

What i do notice is that the shared IPv6 address is ending in /64 and I can't find where to remove that.

I found it...

I added...

iface eth0 inet6 static
address 2001:470:4b:20a::1/64
netmask 64

to interfaces by mistake -- it should have been

iface eth0 inet6 static
address 2001:470:4b:20a::1
netmask 64

Ok, that would explain it.