Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Gitorious fatal error on push
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Benjamin Podszun  
View profile  
 More options Aug 10 2011, 3:57 am
From: Benjamin Podszun <benjamin.pods...@gmail.com>
Date: Wed, 10 Aug 2011 10:57:43 +0300
Local: Wed, Aug 10 2011 3:57 am
Subject: Re: [gitorious] Gitorious fatal error on push

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.