IP6_tables 未知符号,无法初始化表“过滤器”

IP6_tables 未知符号,无法初始化表“过滤器”

在 Debian 9 上,尝试使用 iptables 创建一组规则时,它适用于 IPv4,但不适用于 IPv6。使用 IPv6 时,我收到以下错误:

modprobe: ERROR: could not insert 'ip6_tables': Unknown symbol in module, or unknown parameter (see dmesg)
ip6tables-restore v1.6.0: ip6tables-restore: unable to initialize table 'filter'

当我查看 dmesg 时,看到以下两个错误:

ip6_tables: Unknown symbol xt_percpu_counter_free (err 0)
ip6_tables: Unknown symbol xt_percpu_counter_alloc (err 0)

这个错误到底告诉我什么以及我为什么会遇到这个错误?

这一页楼主找到了一个手动安装新 Linux 内核的解决方案。这是首选解决方案吗?当我尝试使用 apt-get 升级系统时,像这样手动安装新内核会导致问题吗?

答案1

事实证明我只需要重启服务器。这是一个新系统安装,我在上面做了一个apt-get update/apt-get upgrade以确保一切都已更新。在升级过程中,它一定为我安装了更新的内核,但我不知道我需要重启系统。

重新启动系统后一切运行正常。

相关内容