2013-10-11 141 views
2
ssh: Could not resolve hostname mitosis.example.com: Name or service not known 
    fatal: The remote end hung up unexpectedly 

    *** [deploy:update_code] rolling back 
     * executing "rm -rf /home/httpd/h.example.com/htdocs/www/releases/20131011050831; true" 
     servers: ["stagger6.colo.example.com"] 
    ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: stagger6.colo.example.com 
      (SocketError: getaddrinfo: Name or service not known) 

    Command git ls-remote [email protected]:example-site.git master returned status code pid 4571 exit 128 

回答

0

capfile配置不正確。

[email protected]:example-site.git是示例信息。

mitosis.example.com不是一個有效的宿主。