我碰到git.What的此錯誤消息意思(Servname不支持ai_socktype)?怎麼修?git的錯誤:無法查找xyz.com(端口<none>)
2
A
回答
4
我不認爲這是關係到Git的,而是鏈接到其Git是運行的服務器。
這到底意味着什麼:「Servname不支持ai_socktype」。
一些其他的嘗試,我終於看到了問題後... NTP端口均未/etc/services
定義,這是錯誤的根源。
該系統不知道如何讓沒有這種NTP連接。所以,我已經添加了以下行/etc/services
ntp 123/tcp
ntp 123/udp
並在此之後
ntpdate
開始嘗試這些文件的任何修改之前按預期工作...
,請與管理員(除非這是你的個人服務器)
2
我不認爲NTP的問題有一個軸承git的錯誤;至少在我的情況下。
這裏是我的情況:
[email protected]:~/src$ git clone git://http://cgit.sukimashita.com/sbmanager.git/tree sbmanager
Cloning into sbmanager...
fatal: Unable to look up http (port <none>) (Servname not supported for ai_socktype)
問題是我的git的語法。
這裏是我的解決方案:
[email protected]:~/src$ git clone git://git.sukimashita.com/sbmanager.git sbmanager
Cloning into sbmanager...
remote: Counting objects: 764, done.
remote: Compressing objects: 100% (643/643), done.
remote: Total 764 (delta 449), reused 257 (delta 118)
Receiving objects: 100% (764/764), 291.75 KiB | 261 KiB/s, done.
Resolving deltas: 100% (449/449), done.
我認爲解決的辦法是檢查git的語法。
相關問題
- 1. Git錯誤:無法找到
- 2. git存儲庫。無法找到。錯誤
- 3. git推到錯誤的端口號
- 4. SQL查詢無法找到的錯誤
- 5. 無法找到錯誤的查詢給予無效列錯誤
- 6. 錯誤:無法導入名稱查找
- 7. 端口80上的端口錯誤
- 8. Gnuwin32端口的「查找」?
- 9. git commit拋出錯誤'[< - '
- 10. 錯誤:無法當我試圖用MAC端口安裝膩子與MAC端口
- 11. 終端窗口中無法找到的git可執行文件(Rstudio 1.1.331)
- 12. 無法從RAD啓動管理控制檯。錯誤 - 未找到管理端口
- 13. 快速錯誤 - 500錯誤:無法查找視圖「索引」
- 14. 錯誤 - 無法找到「libMyGame.so」
- 15. javascript:無法找出錯誤!
- 16. XNA - 無法找到錯誤
- 17. git fetch「無法找到」「object ... not found」存儲錯誤
- 18. 如何解決錯誤「git upload-pack:無法找到對象」?
- 19. GroupLayout的錯誤:無法找到錯行
- 20. node.js <->帶串口的arduino。錯誤資源暫時不可用無法鎖定端口
- 21. Git。無法從窗口推
- 22. 無法無端口轉發
- 23. Git錯誤:無法生成〜\ .ssh
- 24. Gitlab無法打開git-upload-pack錯誤
- 25. git-p4:無法映射文件錯誤
- 26. git無法讀取對象錯誤
- 27. 硒:webdriver.PhantomJS(): 「錯誤:無法連接到GhostDriver端口51263」
- 28. 陣營機錯誤打包程序無法在端口8081
- 29. Pyserial:無法配置端口:(5,「輸入/輸出錯誤)
- 30. 錯誤:無法找到或加載主類<<<爲什麼會出現此錯誤?
它會更容易給出答案,如果你只是簡單的複製和粘貼錯誤的命令在一塊。 :) – sarnold 2011-05-27 22:56:36