Gitlab installation failure on CentOS 6.5

I tried several times to install Gitlab on my CentOS 6.5 VPS in accordance with the instructions on the Official Page and each time it does not work during the installation phase of "gitlab-ctl reconfigure". I tried searching and looking for other questions here without much success.

Error:

* execute[create gitlab database user] action run
================================================================================
Error executing action `run` on resource 'execute[create gitlab database user]'
================================================================================


---- Begin output of /opt/gitlab/embedded/bin/psql --port 5432 -d template1 -c "CREATE            USER gitlab" ----
STDOUT:
STDERR: psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
---- End output of /opt/gitlab/embedded/bin/psql --port 5432 -d template1 -c "CREATE  USER gitlab" ----
+4
source share
1 answer

This may not be directly related to GitLab, but to PostgreSQL itself. See " Chapter 17. Server setup and operation ", section " Client Connection problems ":

Unix- :

psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

, .
, Connection refused, No such file or directory, .
( , Connection , , . , 19.4.)
, Connection timed out, , .

, , .

OP Luke Usher :

PostgreSQL , gitlab, shared_buffer, .

, postgresql['shared_buffers'] = "1024MB" /etc/gitlab/gitlab.rb.

+3

Source: https://habr.com/ru/post/1545572/


All Articles