gpt4 book ai didi

git 错误 :Unable to look up xyz. com(端口 <无>)(ai_socktype 不支持 Servname)

转载 作者:太空狗 更新时间:2023-10-29 14:28:43 24 4
gpt4 key购买 nike

我从 git 收到这条错误消息。这是什么意思?如何修复?

最佳答案

我认为这与 Git 无关,而是与运行 Git 的服务器有关。

参见 this article

what could this mean: “Servname not supported for ai_socktype“.
After some other tries I have finally seen the problem… NTP ports were not defined in /etc/services and this was the root of the error.
The system didn’t know how to make ntp connections without that. So I’ve added the following lines to /etc/services

ntp             123/tcp
ntp 123/udp

and after this ntpdate started working as expected…

在尝试对这些文件进行任何修改之前先咨询您的管理员(除非这是您的个人服务器)

关于git 错误 :Unable to look up xyz. com(端口 <无>)(ai_socktype 不支持 Servname),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2871831/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com