Submitted by sgrayban on Sat, 03/15/2014 - 03:18
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
Submitted by JamieCameron on Sat, 03/15/2014 - 20:59 Comment #1
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?
Submitted by sgrayban on Sun, 03/16/2014 - 00:22 Comment #2
I made sure that /64 was not added in any template
Submitted by JamieCameron on Sun, 03/16/2014 - 13:32 Comment #3
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.Submitted by sgrayban on Mon, 03/17/2014 - 00:00 Comment #4
The only domain that had the /64 was the only one I activated
Submitted by sgrayban on Mon, 03/17/2014 - 00:01 Comment #5
What i do notice is that the shared IPv6 address is ending in /64 and I can't find where to remove that.
Submitted by sgrayban on Mon, 03/17/2014 - 00:06 Comment #6
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
Submitted by sgrayban on Mon, 03/17/2014 - 00:07 Comment #7
Submitted by JamieCameron on Mon, 03/17/2014 - 11:08 Comment #8
Ok, that would explain it.