From mboxrd@z Thu Jan 1 00:00:00 1970 From: garyyang6 at yahoo.com (Gary Yang) Date: Wed, 28 Sep 2016 22:08:14 +0000 (UTC) Subject: No repositories found References: <1883880790.2405652.1475100494275.ref@mail.yahoo.com> Message-ID: <1883880790.2405652.1475100494275@mail.yahoo.com> Hi, Just realized that my previous email format got messed up. I resend it. Sorry. Can someone help? After I installed and configure cgit, gitolite and apache, I got "No repositories found" when I tried to open page, http://servergit/cgit. Errors in /var/log/httpd/error_log [cgi:error] [pid 27680] [client 10.76.6.235:42188] AH01215: Error opening projectsfile /home/git/projects.list: Permission denied (13) /etc/cgitrc: enable-git-config=1project-list=/home/git/projects.listscan-path=/home/git/repositories File and folder permissions: -rw-r--r--. 1 git git 61 Sep 26 16:54 /home/git/projects.list drwxr-xr-x. 17 git git 4096 Sep 28 11:53 git/ drwxr-xr-x. ?5 root root ? ? 41 Sep 6 16:38 home/ groups gitgit : git root apache groups apacheapache : apache root git groups rootroot : root git apache I am clueless why it complains permission denied. I copied projects.list to /tmp/projects.list and changed cgitrc to project-list=/tmp/projects.list ls -l ?/tmp/projects.list -rwxrwxrwx. 1 git ?git ? ? ?61 Sep 28 12:13 projects.list drwxrwxrwt. ?13 root root ? 4096 Sep 28 14:04 /tmp Then, I got, [cgi:error] [pid 27681] [client 10.76.6.235:44747] AH01215: Error opening projectsfile /tmp/projects.list: No such file or directory cat /tmp/projects.listbuild-scripts.gitbuild-scripts-test.gittesting.git I do not understand why it complains "No such file or directory". ps -ef | grep httpdroot ? ? 27661 ? ? 1 ?0 11:35 ? ? ? ? ?00:00:00 /usr/sbin/httpd -DFOREGROUND apache ? 27679 27661 ?0 11:35 ? ? ? ? ?00:00:00 /usr/sbin/httpd -DFOREGROUND apache ? 27680 27661 ?0 11:35 ? ? ? ? ?00:00:00 /usr/sbin/httpd -DFOREGROUND apache ? 27681 27661 ?0 11:35 ? ? ? ? ?00:00:00 /usr/sbin/httpd -DFOREGROUND apache ? 27682 27661 ?0 11:35 ? ? ? ? ?00:00:00 /usr/sbin/httpd -DFOREGROUND Can someone help? Thanks, Gary -------------- next part -------------- An HTML attachment was scrubbed... URL: