linux - git 守护进程 : "unable to allocate any listen sockets on host (null) port 9418"

标签 linux git daemon

在 Debian squeeze 上,我收到系统日志错误:

unable to allocate any listen sockets on host (null) port 9418

而且我也不能远程克隆。

文件/etc/service/git-daemon/run:

"$(git --exec-path)"/git-daemon --verbose --base-path=/var/cache/git --detach --syslog --reuseaddr --export-all

netstat -l | grep git 输出:

tcp        0      0 *:git                   *:*                     LISTEN     
tcp6       0      0 [::]:git                [::]:*                  LISTEN

我目前正在使用 sv start/stop 命令行重新启动服务,并终止服务进程以确保它重新加载。

也许我漏掉了一些非常愚蠢的东西。 非常感谢任何帮助。

最佳答案

我认为,当你使用 git-daemon--listen 参数时,它不会提示缺少 host...

关于linux - git 守护进程 : "unable to allocate any listen sockets on host (null) port 9418",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6400151/

相关文章:

linux - SFML 2.0 Linux 安装问题

docker - 在守护程序模式下运行Docker

python - Linux shell 中 youtube-dl 的简单队列

regex - linux bash 在 awk 命令中使用变量

linux - 在 awk 中删除\r\n

linux - 了解 csync2 和 lsyncd 同步机制

git - 从 Jenkins 中删除 git 缓存

git - 我如何对分支上的所有提交进行加密签名?

git - Mercurial <--> git 备忘单?

linux - 守护进程和孤儿进程之间的区别?