<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1474997779941_27384">Hi,</div><div id="yui_3_16_0_ym19_1_1474997779941_27384"><br></div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr">After I installed and configure cgit, gitolite and apache, I got "No repositories found" when I tried to open page, <a href="http://servergit/cgit." id="yui_3_16_0_ym19_1_1474997779941_27539">http://servergit/cgit.</a></div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr">Errors in /var/log/httpd/error_log</div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr">[cgi:error] [pid 27680] [client 10.76.6.235:42188] AH01215: Error opening projectsfile /home/git/projects.list: Permission denied (13)<br></div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr">/etc/cgitrc:</div><div id="yui_3_16_0_ym19_1_1474997779941_27384" dir="ltr"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27679">enable-git-config=1</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27680">project-list=/home/git/projects.list<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27683">scan-path=/home/git/repositories</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27683"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27683">File and folder permissions:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27683"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27684"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27731">-rw-r--r--. 1 git git 61 Sep 26 16:54 /home/git/projects.list</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27731"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27731"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27773">drwxr-xr-x. 17 git git 4096 Sep 28 11:53 git/</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27773"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27773"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27807">drwxr-xr-x. 5 root root 41 Sep 6 16:38 home/</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27807"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27807"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27866">groups git</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27867">git : git root apache</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27867"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27867"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27901">groups apache</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27902">apache : apache root git</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27902"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27902"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27947">groups root</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948">root : root git apache</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948">I am clueless why it complains permission denied.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948">I copied projects.list to /tmp/projects.list and changed cgitrc to</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948">project-list=/tmp/projects.list<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948">ls -l /tmp/projects.list<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143">-rwxrwxrwx. 1 git git 61 Sep 28 12:13 projects.list</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143">drwxrwxrwt. 13 root root 4096 Sep 28 14:04 tmp<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143">Then, I got,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143">[cgi:error] [pid 27681] [client 10.76.6.235:44747] AH01215: Error opening projectsfile /tmp/projects.list: No such file or directory<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28143"><br></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28301">cat /tmp/projects.list</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28301">build-scripts.git</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28303">build-scripts-test.git</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28304">testing.git</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br id="yui_3_16_0_ym19_1_1474997779941_28306"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305">I do not understand why it complains "No such file or directory".<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28435">ps -ef | grep httpd</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28436">root 27661 1 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28437">apache 27679 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28438">apache 27680 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28439">apache 27681 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28440">apache 27682 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28441"><br id="yui_3_16_0_ym19_1_1474997779941_28442"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28441"><br></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305">Can someone help?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305">Thanks,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305">Gary</div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_28305"><br></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474997779941_27948"><br></div></div></div></div></div></div></div></div></body></html>