New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

NetworkManager errors / warnings

Started by anandmys, April 25, 2025, 05:28:17 AM

Previous topic - Next topic

anandmys

Quote
Apr 25 00:22:01 hosting NetworkManager[676]:   [1745558521.6932] platform-linux: do-add-ip6-address[2: fe80::250:56ff:fe40:f5e8]: failure 13 (Permission denied)
Apr 25 00:22:03 hosting NetworkManager[676]:   [1745558523.6955] ipv6ll[7815b866a956efe0,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Apr 25 00:22:03 hosting NetworkManager[676]:   [1745558523.6958] platform: (eth0) route-sync: failure to add IPv6 route: type unicast fe80::1/128 dev 2 metric 100 mss 0 rt-src user: Permission denied
Apr 25 00:22:13 hosting NetworkManager[676]:   [1745558533.7064] platform-linux: do-add-ip6-address[2: fe80::250:56ff:fe40:f5e8]: failure 13 (Permission denied)
Apr 25 00:22:15 hosting NetworkManager[676]:   [1745558535.7089] ipv6ll[7815b866a956efe0,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Apr 25 00:22:15 hosting NetworkManager[676]:   [1745558535.7093] platform: (eth0) route-sync: failure to add IPv6 route: type unicast fe80::1/128 dev 2 metric 100 mss 0 rt-src user: Permission denied

Apache log file shows these lines. Should I ignore or should I fix this?

overseer


anandmys

IPV6 is already disabled in kernel

Should it be disabled in networkmanager?

overseer

If it's disabled in the kernel, there shouldn't be anything left to do (after rebooting). Can you show the results of
ip a  | grep net6

Starburst

If you don't want IPv6 and are using AlmaLinux, you can use nmtui and disable it.

anandmys

Quote from: overseer on April 25, 2025, 09:55:18 PM
If it's disabled in the kernel, there shouldn't be anything left to do (after rebooting). Can you show the results of
ip a  | grep net6

[root@hosting ~]# ip a  | grep net6
[root@hosting ~]# ip a  | grep net6

anandmys

Quote from: Starburst on April 27, 2025, 01:09:48 PM
If you don't want IPv6 and are using AlmaLinux, you can use nmtui and disable it.

#nmcli connection show

NAME         UUID                                  TYPE      DEVICE
System eth0  3521111a-4fxx-43xx-x444-1xxxxxxxxx0  ethernet  eth0

# nmcli connection modify System ipv6.method "disabled"
Error: unknown connection 'System'.

What is the connection name I should use?



anandmys

Quote from: Starburst on April 27, 2025, 01:09:48 PM
If you don't want IPv6 and are using AlmaLinux, you can use nmtui and disable it.

#nmcli conn show "System eth0"
connection.id:                          System eth0

# nmcli connection modify "System eth0" ipv6.method "disabled"
Error: Failed to modify connection 'System eth0': ipv6.addresses: this property                                                                              is not allowed for 'method=disabled'


overseer

It wouldn't appear that IPv6 is enabled on your system, but you can double check here:
sysctl -a | grep -i ipv6

nmtui is a semi-graphical utility, so the procedure is not just a single command but a series of steps.
Invoke nmtui with sudo in a root shell: nmtui
Click on Edit a connection.
Select the interface you want to edit (eth0).
Go to IPv6 with the arrow keys on the keyboard.
Then select Disabled and click OK.
Run the ip a command from the terminal to confirm that IPv6 is no longer available.

anandmys

Quote
Then select Disabled and click OK.
Run the ip a command from the terminal to confirm that IPv6 is no longer available.

Unable to save connection:        │                   │
                                          │ │ [ ] Ignore aut│ ipv6.addresses: this property is  │                   │
                                          │ │               │ not allowed for 'method=disabled' │

Starburst

Edit the file - /etc/sysctl.conf

e.g. nano /etc/sysctl.conf

Add the line:
net.ipv6.conf.all.disable_ipv6 = 1

Save, Exit and Reboot

Then IPv6 will be Disabled.

anandmys

Quote from: Starburst on May 07, 2025, 02:59:11 PM
Edit the file - /etc/sysctl.conf

e.g. nano /etc/sysctl.conf

Add the line:
net.ipv6.conf.all.disable_ipv6 = 1

Save, Exit and Reboot

Then IPv6 will be Disabled.

It is already disabled.

Starburst

So are you trying to Enable or Disable IPv6?

overseer

By default Apache will listen both on IPv6 and IPv4, as defined by the Listen directive:
Listen 80
If you want to restrict it to listen on IPv4 only, change the setting to:
Listen 0.0.0.0:80
Repeat for port 443 to stop Apache from listening for HTTPS connections on IPv6:
Listen 0.0.0.0:443

anandmys

Quote from: Starburst on May 13, 2025, 02:00:09 PM
So are you trying to Enable or Disable IPv6?

IPv6 is disabled.

Apache logs show lots of warnings like

QuoteMay 15 01:42:03 hosting NetworkManager[669]:   [1747291323.8795] platform: (eth0) route-sync: failure to add IPv6 route: type unicast fe80::1/128 dev 2 metric 100 mss 0 rt-src user: Permission denied

My initial question was

Should these warnings be ignored? Or should I work on the cause and correct it?