On Thursday, 8 January 2015 22:04:48 UTC+5:30, Laurent CREPET wrote: > > On Wednesday, January 7, 2015 10:13:38 AM UTC+1, vishnu prasad wrote: >>>> >>>> >>>> Hi Achilleas ,thx for close observation on my query's >>>> >>>> Yeah its owned by git .I have done with my all findings to resolve this >>>> issue .Please suggest me any new way to resolve this issue >>>> >>>> >>>> total 8 >>>> drwxr-xr-x 2 gitlab gitlab 4096 Jan 7 01:04 ./ >>>> drwxr-xr-x 7 gitlab gitlab 4096 Nov 6 16:38 ../ >>>> -rw-r--r-- 1 gitlab gitlab 0 May 1 2014 .gitkeep >>>> srwxrwxrwx 1 gitlab gitlab 0 Jan 7 01:04 gitlab.socket= >>>> >>>> >>> >>> >>> Did it work before? Or is it a new installation ? >>> Seing /srv, I suspect you are using SLES or OpenSuSE. Did you check for >>> AppArmor ? or SELinux if not using SuSE flavors ? >>> >> >>> >>> Laurent. >>> >> >> >> Hi Lauent >> >> Yes it worked before ,it not a new installation . >> >> its Ubuntu 12.04 .4 LTS My AppArmor is working fine .Please suggest me . >> >> > > I have an old manual installation which was updated multiple times. I'm > using user git as recommended. nginx is part of the git group, so it can > access the socket: > # ls -ld /home/git > drwxr-x--- 9 git git 4096 Dec 22 19:00 /home/git > # id git > uid=496(git) gid=493(git) groups=493(git),494(redis) > # id nginx > uid=495(nginx) gid=492(nginx) groups=492(nginx),493(git) > # ls -ld ~git > drwxr-x--- 9 git git 4096 Dec 22 19:00 /home/git/ > > Adding nginx to group git was suggested in GitLab CentOS recipe: > https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos > > So, I never got any permission issue accessing the socket. In addition, I > think I was previously using reverse proxy mode instead of socket. > > -- Laurent. >
Hi Laurent Am not facing issue with permission ,recently i have increased ram size from 4 gb to 6 gb and cpu 1 core to 2 core .I didn't faced any issue for 4 days but after 4 days again git was throwing the same error ******to unix:/srv/gitlab/gitlab/tmp/sockets/gitlab.socket failed (2: No such file or directory) while connecting to upstream, client: 10.128.100.5, server: gitlab.*, request: "GET /", upstream: "http://unix:/srv/gitlab/gitlab/tmp/sockets/gitlab.socket:/"************ As i can see the socket file was present at location .Please can you suggest me any other way to handle this issue . -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/4a697c89-4f7a-4453-80e0-3f91addd5e67%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.