首页 > 解决方案 > 套接字:ninfod.service 中的协议不支持地址族

问题描述

我将使用 buildroot 2020.02 为嵌入式系统(基于 i.MX 6Quad Cortex-A9 处理器)生成操作系统。这是我的一些工具链选项:

BR2_GCC_VERSION_8_X=y
BR2_GDB_VERSION_8_3=y
BR2_BINUTILS_VERSION_2_33_X=y.

当我做 :systemctl --failed时,一项服务失败了:它是 node.service ,它的状态如下:

 ninfod.service - Respond to IPv6 Node Information Queries
 Loaded: loaded (/usr/lib/systemd/system/ninfod.service; enabled; vendor preset: enabled)
 Active: failed (Result: exit-code) since Mon 2020-07-27 08:26:32 UTC; 6min ago
 Process: 2834 ExecStart=/usr/sbin/ninfod -d (code=exited, status=1/FAILURE)
 Main PID: 2834 (code=exited, status=1/FAILURE)

当我在这里执行可执行文件时,出现消息错误:[ERR] socket: Address family not supported by protocol。所以我认为这是来自源文件 ninfod.c 的 C 错误

我对此错误没有任何精确度;有谁知道如何修理它 ?

标签: socketsserviceprotocolsbuildroot

解决方案


推荐阅读