<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_32188"><span style="font-family: "Courier New"; white-space: pre-wrap;">Hi,</span><br></div><div id="yui_3_16_0_ym19_1_1474997779941_32188"><span style="font-family: "Courier New"; white-space: pre-wrap;"><br></span></div><div id="yui_3_16_0_ym19_1_1474997779941_32188"><span style="font-family: "Courier New"; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1474997779941_32437">Just realized that my previous email format got messed up. I resend it. Sorry. Can someone help?</span></div><div id="yui_3_16_0_ym19_1_1474997779941_32188"><span style="font-family: "Courier New"; white-space: pre-wrap;"><br></span></div><pre id="yui_3_16_0_ym19_1_1474997779941_32180">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_32181">http://servergit/cgit.</a></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
Errors in /var/log/httpd/error_log</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
[cgi:error] [pid 27680] [client 10.76.6.235:42188] AH01215: Error opening projectsfile /home/git/projects.list: Permission denied (13)
/etc/cgitrc:</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
enable-git-config=1</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">project-list=/home/git/projects.list</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">scan-path=/home/git/repositories</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
File and folder permissions:</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
-rw-r--r--. 1 git git 61 Sep 26 16:54 /home/git/projects.list</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
drwxr-xr-x. 17 git git 4096 Sep 28 11:53 git/</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
drwxr-xr-x. 5 root root 41 Sep 6 16:38 home/</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
groups git</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">git : git root apache</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
groups apache</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">apache : apache root git</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
groups root</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">root : root git apache</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
I am clueless why it complains permission denied.
I copied projects.list to /tmp/projects.list and changed cgitrc to</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
project-list=/tmp/projects.list</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
ls -l /tmp/projects.list
-rwxrwxrwx. 1 git git 61 Sep 28 12:13 projects.list</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
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.list</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">build-scripts.git</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">build-scripts-test.git</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">testing.git</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
I do not understand why it complains "No such file or directory".
ps -ef | grep httpd</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">root 27661 1 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180"><br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">apache 27679 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180"><br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">apache 27680 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180"><br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">apache 27681 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180"><br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">apache 27682 27661 0 11:35 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
<br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
Can someone help?
<br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
Thanks,
<br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180">
Gary</pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180"><br></pre><pre id="yui_3_16_0_ym19_1_1474997779941_32180"><br></pre></div></body></html>