On Wed, Aug 10, 2011 at 1:53 AM, haydenm...@yahoo.com
<haydenm...@yahoo.com>wrote:

> Ah, OK. I didn't know what logs to look in, or where they were. All I could
> find at first were the apache2 logs.
>
> I rotated gitorious_auth.log and production.log in order to start with a
> clean history. When I try to do a push, I still get the same error, and only
> gitorious_auth.log gets anything written to it. Here is what the log looks
> like for a single failed push.
>
>
> F, [2011-08-09 15:43:13#8967] FATAL -- : SocketError getaddrinfo: Name or
> service not known: /usr/lib/ruby/1.8
>

This is, as far as I can tell, a problem in name resolution. Check your
gitorious configuration: You have two hostnames in there. One is used
internally, by the gitorious script called from ssh, to do connect to the
rails application (in other words: Everytime you push a script makes an http
connection. Caught me off-guard the first time I learned that). It uses the
hostname you specify in gitorious.yaml.

Make sure that this is correct _and_ resolveable from the machine. If it
makes your life easier you could add an entry to the hosts file as well, to
fake a DNS entry that somehow matches the rest of your infrastructure.

Ben

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to