So it returns an error saying that the service is deactivated when launching a systemctl status
And if you run the command manually, you will see these errors:
dualstack_ipv6 not supported on this platform. Creating not dualstack sockets...
[Errno 97] Address family not supported by protocol. Exiting...
So, If you really need to disable IPv6, the fix is to go in this folder /etc/sysctl.d and create the file 70-disable-ipv6.conf then insert these 3 lines:
Hi! Just for information: As I'm using Debian Bookworm (12.x), py-kms won't start if IPv6 is disabled through GRUB modification like this:
So it returns an error saying that the service is deactivated when launching a
systemctl status
And if you run the command manually, you will see these errors:(maybe a bit similar to this post?)
So, If you really need to disable IPv6, the fix is to go in this folder
/etc/sysctl.d
and create the file70-disable-ipv6.conf
then insert these 3 lines:Then launch
sysctl -p -f /etc/sysctl.d/70-disable-ipv6.conf
or reboot and, magic! py-kms works.Do you think to do an update? As there will be soon Windows Server 2025, Office 2025, Windows 12, etc.
Thanks a lot :)
Regards, V.