I am trying to set up IPv6 on my VPS using the guides for my host (OVH). I have edited my interfaces.d/xxx.cfg file correctly but when I try to use:
service networking restart
I get a failure with this message:
Job for networking.service failed because the control process exited with error code.
See “systemctl status networking.service” and “journalctl -xe” for details.
root@xerxes:/etc/network# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-05-16 08:42:20 CEST; 11s ago
Docs: man:interfaces(5)
Process: 21154 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 21154 (code=exited, status=1/FAILURE)
May 16 08:42:20 xerxes ifup[21154]: ifup: failed to bring up eth0
May 16 08:42:20 xerxes ifup[21154]: postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
May 16 08:42:20 xerxes ifup[21154]: postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
May 16 08:42:20 xerxes ifup[21154]: postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
May 16 08:42:20 xerxes ifup[21154]: postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
May 16 08:42:20 xerxes ifup[21154]: postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
May 16 08:42:20 xerxes ifup[21154]: postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
May 16 08:42:20 xerxes systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
May 16 08:42:20 xerxes systemd[1]: networking.service: Failed with result ‘exit-code’.
May 16 08:42:20 xerxes systemd[1]: Failed to start Raise network interfaces.
When I look at /etc/postfix/master.cf file, all of these parameters are commented out and there is no other line calling for them. IPv4 continues to work even with this reported problem but my /etc/network/interfaces file is not being amended to allow the IPv6 connection (or if it is, it is not working properly).
Can anyone help me sort this?
Let me know if I need to post more snippets from files.