Installing gitlab on CentOS 6

Hello,

I’m trying to install gitlab on CentOS 6 and I’m not able
to run “gitlab-ctl reconfigure”. The log-file in /var/log/gitlab/ stops
with the following error message:

# Logfile created on 2016-09-04 17:03:20 +0200 by logger.rb/54362
[2016-09-04T17:03:21+02:00] FATAL: SocketError: getaddrinfo: Name or service not known

Any ideas would be appreciated.

Thanks!

Hi,

I am having the same problem - did you get to the bottom of the problem?

Thanks

Hello bhyatm,

I managed to solve it. The error message is related to DNS lookups. Check your /etc/hosts file. Mine had some really wired entries which resulted in the above error message when Ruby tried to do DNS lookups.

Let me know if it works. Good luck!